Home
last modified time | relevance | path

Searched refs:leftButton (Results 1 – 6 of 6) 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.java252 final TextView leftButton = fabContainer.getLeftButton(); in assertIsReset() local
256 assertEquals(INVISIBLE, leftButton.getVisibility()); in assertIsReset()
258 assertEquals(VISIBLE, leftButton.getVisibility()); in assertIsReset()
259 assertTrue(TextUtils.equals("Cancel", leftButton.getText())); in assertIsReset()
282 final TextView leftButton = fabContainer.getLeftButton(); in assertHasValue() local
286 assertEquals(INVISIBLE, leftButton.getVisibility()); in assertHasValue()
288 assertEquals(VISIBLE, leftButton.getVisibility()); in assertHasValue()
289 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.java152 final Button leftButton = (Button) view.findViewById(R.id.left_button); in updateDisplayedAccounts() local
161 leftButton.setText(getString(R.string.add_new_account)); in updateDisplayedAccounts()
162 leftButton.setOnClickListener(mAddAccountClickListener); in updateDisplayedAccounts()
180 final Button leftButton = (Button) view.findViewById(R.id.left_button); in updateDisplayedAccounts() local
187 leftButton.setText(getString(android.R.string.cancel)); in updateDisplayedAccounts()
188 leftButton.setOnClickListener(new OnClickListener() { in updateDisplayedAccounts()
/packages/apps/Launcher3/src/com/android/launcher3/
DDropTargetBar.java269 ButtonDropTarget leftButton = mTempTargets[0]; in onLayout() local
272 leftButton.layout(barCenter - leftButton.getMeasuredWidth() - (buttonGap / 2), 0, in onLayout()
273 barCenter - (buttonGap / 2), leftButton.getMeasuredHeight()); in onLayout()
280 int leftButtonWidth = leftButton.getMeasuredWidth(); in onLayout()
289 leftButton.layout(leftButtonStart, 0, leftButtonEnd, in onLayout()
290 leftButton.getMeasuredHeight()); in onLayout()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/
DHomeCardFragment.java203 DescriptiveTextWithControlsView.Control leftButton, in updateDescriptiveTextWithControlsView() argument
213 updateControlBarButton(leftButton, mControlBarLeftButton); in updateDescriptiveTextWithControlsView()