Searched refs:leftButton (Results 1 – 4 of 4) sorted by relevance
38 private Button leftButton; field in MockFabContainer44 leftButton = new Button(context); in MockFabContainer()55 leftButton.setOnClickListener(new View.OnClickListener() { in MockFabContainer()58 deskClockFragment.onLeftButtonClick(leftButton); in MockFabContainer()78 deskClockFragment.onUpdateFabButtons(leftButton, rightButton); in updateFab()81 leftButton.setClickable(false); in updateFab()91 return leftButton; in getLeftButton()
251 final TextView leftButton = fabContainer.getLeftButton(); in assertIsReset() local255 assertEquals(INVISIBLE, leftButton.getVisibility()); in assertIsReset()257 assertEquals(VISIBLE, leftButton.getVisibility()); in assertIsReset()258 assertTrue(TextUtils.equals("Cancel", leftButton.getText())); in assertIsReset()281 final TextView leftButton = fabContainer.getLeftButton(); in assertHasValue() local285 assertEquals(INVISIBLE, leftButton.getVisibility()); in assertHasValue()287 assertEquals(VISIBLE, leftButton.getVisibility()); in assertHasValue()288 assertTrue(TextUtils.equals("Cancel", leftButton.getText())); in assertHasValue()
73 private Button leftButton; field in TimerFragmentTest125 leftButton = fabContainer.getLeftButton(); in setUpFragment()140 leftButton = null; in tearDown()
151 final Button leftButton = (Button) view.findViewById(R.id.left_button); in updateDisplayedAccounts() local160 leftButton.setText(getString(R.string.add_new_account)); in updateDisplayedAccounts()161 leftButton.setOnClickListener(mAddAccountClickListener); in updateDisplayedAccounts()179 final Button leftButton = (Button) view.findViewById(R.id.left_button); in updateDisplayedAccounts() local186 leftButton.setText(getString(android.R.string.cancel)); in updateDisplayedAccounts()187 leftButton.setOnClickListener(new OnClickListener() { in updateDisplayedAccounts()