/packages/apps/DeskClock/tests/src/com/android/deskclock/widget/ |
D | MockFabContainer.java | 38 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/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamConfirmDialogTest.java | 147 View leftButton = dialog.findViewById(R.id.left_button); in showDialog_unsupported() local 148 assertThat(leftButton).isNotNull(); in showDialog_unsupported() 149 assertThat(leftButton.getVisibility()).isEqualTo(View.GONE); in showDialog_unsupported() 150 assertThat(leftButton.hasOnClickListeners()).isFalse(); in showDialog_unsupported() 184 View leftButton = dialog.findViewById(R.id.left_button); in showDialog_noLeDevice() local 185 assertThat(leftButton).isNotNull(); in showDialog_noLeDevice() 186 assertThat(leftButton.getVisibility()).isEqualTo(View.VISIBLE); in showDialog_noLeDevice() 226 View leftButton = dialog.findViewById(R.id.left_button); in showDialog_noMetadata() local 227 assertThat(leftButton).isNotNull(); in showDialog_noMetadata() 228 assertThat(leftButton.getVisibility()).isEqualTo(View.GONE); in showDialog_noMetadata() [all …]
|
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/ |
D | TimerSetupViewTest.java | 252 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()
|
D | TimerFragmentTest.java | 73 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/ |
D | ContactEditorAccountsChangedActivity.java | 152 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/ |
D | DropTargetBar.java | 259 ButtonDropTarget leftButton = mTempTargets[0]; in onLayout() local 262 leftButton.layout(barCenter - leftButton.getMeasuredWidth() - (buttonGap / 2), 0, in onLayout() 263 barCenter - (buttonGap / 2), leftButton.getMeasuredHeight()); in onLayout() 270 int leftButtonWidth = leftButton.getMeasuredWidth(); in onLayout() 279 leftButton.layout(leftButtonStart, 0, leftButtonEnd, in onLayout() 280 leftButton.getMeasuredHeight()); in onLayout()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsDialogFragment.java | 227 Button leftButton = rootView.requireViewById(R.id.left_button); in build() local 228 leftButton.setText(mLeftButtonText); in build() 229 leftButton.setVisibility(View.VISIBLE); in build() 230 leftButton.setOnClickListener( in build()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | WarningDialogFragment.java | 81 String leftButton = getArguments().getString(ARG_POS_BUTTON_STRING); in onCreateDialog() local 88 .setNegativeButton(leftButton, this); in onCreateDialog()
|
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/ |
D | HomeCardFragment.java | 261 DescriptiveTextWithControlsView.Control leftButton, in updateDescriptiveTextWithControlsView() argument 275 updateControlBarButton(leftButton, mControlBarLeftButton); in updateDescriptiveTextWithControlsView()
|