Home
last modified time | relevance | path

Searched refs:leftButton (Results 1 – 4 of 4) sorted by relevance

/packages/apps/DeskClock/tests/src/com/android/deskclock/widget/
DMockFabContainer.java38 private Button leftButton; field in MockFabContainer
44 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()
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DTimerSetupViewTest.java251 final TextView leftButton = fabContainer.getLeftButton(); in assertIsReset() local
255 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() local
285 assertEquals(INVISIBLE, leftButton.getVisibility()); in assertHasValue()
287 assertEquals(VISIBLE, leftButton.getVisibility()); in assertHasValue()
288 assertTrue(TextUtils.equals("Cancel", leftButton.getText())); in assertHasValue()
DTimerFragmentTest.java73 private Button leftButton; field in TimerFragmentTest
125 leftButton = fabContainer.getLeftButton(); in setUpFragment()
140 leftButton = null; in tearDown()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorAccountsChangedActivity.java151 final Button leftButton = (Button) view.findViewById(R.id.left_button); in updateDisplayedAccounts() local
160 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() local
186 leftButton.setText(getString(android.R.string.cancel)); in updateDisplayedAccounts()
187 leftButton.setOnClickListener(new OnClickListener() { in updateDisplayedAccounts()