Searched refs:rightButton (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamConfirmDialogTest.java | 151 View rightButton = dialog.findViewById(R.id.right_button); in showDialog_unsupported() local 152 assertThat(rightButton).isNotNull(); in showDialog_unsupported() 153 assertThat(rightButton.getVisibility()).isEqualTo(View.VISIBLE); in showDialog_unsupported() 154 assertThat(rightButton.hasOnClickListeners()).isTrue(); in showDialog_unsupported() 187 Button rightButton = dialog.findViewById(R.id.right_button); in showDialog_noLeDevice() local 188 assertThat(rightButton).isNotNull(); in showDialog_noLeDevice() 189 assertThat(rightButton.getText()) in showDialog_noLeDevice() 191 assertThat(rightButton.hasOnClickListeners()).isTrue(); in showDialog_noLeDevice() 230 View rightButton = dialog.findViewById(R.id.right_button); in showDialog_noMetadata() local 231 assertThat(rightButton).isNotNull(); in showDialog_noMetadata() [all …]
|
/packages/apps/DeskClock/tests/src/com/android/deskclock/widget/ |
D | MockFabContainer.java | 39 private Button rightButton; field in MockFabContainer 45 rightButton = new Button(context); in MockFabContainer() 61 rightButton.setOnClickListener(new View.OnClickListener() { in MockFabContainer() 64 deskClockFragment.onRightButtonClick(rightButton); in MockFabContainer() 78 deskClockFragment.onUpdateFabButtons(leftButton, rightButton); in updateFab() 82 rightButton.setClickable(false); in updateFab() 95 return rightButton; in getRightButton()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactEditorAccountsChangedActivity.java | 153 final Button rightButton = (Button) view.findViewById(R.id.right_button); in updateDisplayedAccounts() local 166 rightButton.setText(getString(android.R.string.ok)); in updateDisplayedAccounts() 167 rightButton.setOnClickListener(new OnClickListener() { in updateDisplayedAccounts() 181 final Button rightButton = (Button) view.findViewById(R.id.right_button); in updateDisplayedAccounts() local 200 rightButton.setText(getString(R.string.add_account)); in updateDisplayedAccounts() 201 rightButton.setOnClickListener(mAddAccountClickListener); in updateDisplayedAccounts()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DropTargetBar.java | 260 ButtonDropTarget rightButton = mTempTargets[1]; in onLayout() local 264 rightButton.layout(barCenter + (buttonGap / 2), 0, in onLayout() 265 barCenter + (buttonGap / 2) + rightButton.getMeasuredWidth(), in onLayout() 266 rightButton.getMeasuredHeight()); in onLayout() 271 int rightButtonWidth = rightButton.getMeasuredWidth(); in onLayout() 281 rightButton.layout(rightButtonStart, 0, rightButtonEnd, in onLayout() 282 rightButton.getMeasuredHeight()); in onLayout()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsDialogFragment.java | 238 Button rightButton = rootView.requireViewById(R.id.right_button); in build() local 239 rightButton.setText(mRightButtonText); in build() 240 rightButton.setVisibility(View.VISIBLE); in build() 241 rightButton.setOnClickListener( in build()
|
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/ |
D | TimerSetupViewTest.java | 253 final TextView rightButton = fabContainer.getRightButton(); in assertIsReset() local 264 assertEquals(INVISIBLE, rightButton.getVisibility()); in assertIsReset() 283 final TextView rightButton = fabContainer.getRightButton(); in assertHasValue() local 294 assertEquals(INVISIBLE, rightButton.getVisibility()); in assertHasValue()
|
D | TimerFragmentTest.java | 74 private Button rightButton; field in TimerFragmentTest 126 rightButton = fabContainer.getRightButton(); in setUpFragment() 141 rightButton = null; in tearDown()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | WarningDialogFragment.java | 82 String rightButton = getArguments().getString(ARG_NEG_BUTTON_STRING); in onCreateDialog() local 87 .setPositiveButton(rightButton, this) in onCreateDialog()
|
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/ |
D | HomeCardFragment.java | 263 DescriptiveTextWithControlsView.Control rightButton) { in updateDescriptiveTextWithControlsView() argument 277 updateControlBarButton(rightButton, mControlBarRightButton); in updateDescriptiveTextWithControlsView()
|