/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | ButtonPreferenceTest.java | 64 final Button button = mPreference.getButton(); in onBindViewHolder_whenTitleSet_shouldSetButtonText() 75 final Button button = mPreference.getButton(); in onBindViewHolder_whenIconSet_shouldSetIcon() 87 final Button button = mPreference.getButton(); in onBindViewHolder_setEnable_shouldSetButtonEnabled() 97 final Button button = mPreference.getButton(); in onBindViewHolder_setDisable_shouldSetButtonDisabled() 105 final Button button = mPreference.getButton(); in onBindViewHolder_default_shouldReturnButtonGravityStart() 116 final Button button = mPreference.getButton(); in onBindViewHolder_setGravityStart_shouldReturnButtonGravityStart() 127 final Button button = mPreference.getButton(); in onBindViewHolder_setGravityCenter_shouldReturnButtonGravityCenterHorizontal() 146 final Button button = mPreference.getButton(); in onBindViewHolder_setUnsupportedGravity_shouldReturnButtonGravityStart() 156 final Button button = mPreference.getButton(); in setButtonOnClickListener_setsClickListener()
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
D | ScrollViewButtonsAndLabelsTest.java | 68 Button firstButtonOffScreen = getActivity().getButton(offScreenIndex); in testArrowScrollDownOffScreenVerticalFadingEdge() 70 getActivity().runOnUiThread(() -> getActivity().getButton(0).requestFocus()); in testArrowScrollDownOffScreenVerticalFadingEdge() 102 Button lastButton = getActivity().getButton(numGroups - 1); in testArrowScrollDownToBottomElementOnScreen() 129 Button offScreenButton = getActivity().getButton(offScreenIndex); in testArrowScrollUpOffScreenVerticalFadingEdge() 156 Button topButton = getActivity().getButton(0); in testArrowScrollUpToTopElementOnScreen() 169 Button lastButton = getActivity().getButton(numButtons - 1); in goToBottomButton() 188 Button button = getActivity().getButton(i); in findFirstButtonOffScreenTop2Bottom() 206 Button button = getActivity().getButton(i); in findFirstButtonOffScreenBottom2Top()
|
D | ScrollViewButtonsAndLabels.java | 51 public Button getButton(int groupNum) { in getButton() method in ScrollViewButtonsAndLabels
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/ui/fragments/ |
D | AnonymousSourceFragment.java | 73 mDialog.getButton(DialogInterface.BUTTON_POSITIVE).setFilterTouchesWhenObscured(true); in onStart() 81 mDialog.getButton(DialogInterface.BUTTON_POSITIVE).setEnabled(false); in onPause() 87 mDialog.getButton(DialogInterface.BUTTON_POSITIVE).setEnabled(true); in onResume()
|
D | ExternalSourcesBlockedFragment.java | 83 mDialog.getButton(DialogInterface.BUTTON_POSITIVE).setFilterTouchesWhenObscured(true); in onStart() 91 mDialog.getButton(DialogInterface.BUTTON_POSITIVE).setEnabled(false); in onPause() 97 mDialog.getButton(DialogInterface.BUTTON_POSITIVE).setEnabled(true); in onResume()
|
D | InstallConfirmationFragment.java | 113 mDialog.getButton(DialogInterface.BUTTON_POSITIVE).setFilterTouchesWhenObscured(true); in onStart() 121 mDialog.getButton(DialogInterface.BUTTON_POSITIVE).setEnabled(false); in onPause() 127 mDialog.getButton(DialogInterface.BUTTON_POSITIVE).setEnabled(true); in onResume()
|
D | InstallInstallingFragment.java | 65 mDialog.getButton(DialogInterface.BUTTON_NEGATIVE).setEnabled(false); in onStart()
|
D | InstallStagingFragment.java | 59 mDialog.getButton(DialogInterface.BUTTON_NEGATIVE).setEnabled(false); in onStart()
|
D | InstallSuccessFragment.java | 83 Button launchButton = mDialog.getButton(DialogInterface.BUTTON_POSITIVE); in onStart()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | GoneParentFocusedChildTest.java | 41 assertNotNull(getActivity().getButton()); in testPreconditinos() 43 getActivity().getButton().hasFocus()); in testPreconditinos()
|
D | GoneParentFocusedChild.java | 51 public Button getButton() { in getButton() method in GoneParentFocusedChild
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/recordissue/ |
D | RecordIssueDialogDelegateTest.kt | 142 assertThat(dialog.getButton(Dialog.BUTTON_POSITIVE).text) in dialog_hasCorrectUiElements_afterCreation() 144 assertThat(dialog.getButton(Dialog.BUTTON_NEGATIVE).text) in dialog_hasCorrectUiElements_afterCreation() 150 dialog.getButton(Dialog.BUTTON_POSITIVE).callOnClick() in onStarted_isCalled_afterStartButtonIsClicked() 221 assertThat(dialog.getButton(Dialog.BUTTON_POSITIVE).isEnabled).isFalse() in startButton_isDisabled_beforeIssueTypeIsSelected()
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
D | MenuWith1Item.java | 33 public Button getButton() { in getButton() method in MenuWith1Item
|
D | MenuLayout.java | 51 public Button getButton() { in getButton() method in MenuLayout
|
D | MenuWith1ItemTest.java | 42 assertFalse(mActivity.getButton().isInTouchMode()); in testPreconditions()
|
/frameworks/base/core/java/com/android/internal/accessibility/dialog/ |
D | AccessibilityShortcutChooserActivity.java | 194 mMenuDialog.getButton(DialogInterface.BUTTON_POSITIVE).setText( in onDoneButtonClicked() 206 mMenuDialog.getButton(DialogInterface.BUTTON_POSITIVE).setText( in onEditButtonClicked() 222 mMenuDialog.getButton(DialogInterface.BUTTON_POSITIVE).setOnClickListener( in updateDialogListeners()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
D | LLEditTextThenButton.java | 52 public Button getButton() { in getButton() method in LLEditTextThenButton
|
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/ |
D | StartInTouchWithViewInFocusTest.java | 45 mButton = getActivity().getButton(); in setUp()
|
D | TouchModeFocusableTest.java | 47 mButton = getActivity().getButton(); in setUp()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListSetSelection.java | 59 public Button getButton() { in getButton() method in ListSetSelection
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/ |
D | MediaOutputBroadcastDialog.java | 125 Button positiveBtn = mAlertDialog.getButton(AlertDialog.BUTTON_POSITIVE); 160 Button positiveBtn = mAlertDialog.getButton(AlertDialog.BUTTON_POSITIVE); 469 Button positiveBtn = mAlertDialog.getButton(AlertDialog.BUTTON_POSITIVE); in updateBroadcastInfo() 587 final Button positiveBtn = mAlertDialog.getButton(AlertDialog.BUTTON_POSITIVE); in handleUpdateFailedUi()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/dialog/ |
D | UserSwitchDialog.kt | 42 getButton(BUTTON_NEUTRAL) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/user/ |
D | UserSwitchDialogController.kt | 79 getButton(BUTTON_NEUTRAL) in <lambda>()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallSuccess.java | 122 Button launchButton = mDialog.getButton(DialogInterface.BUTTON_POSITIVE); in bindUi()
|
/frameworks/base/core/java/android/app/ |
D | TimePickerDialog.java | 152 getButton(BUTTON_POSITIVE).setOnClickListener(new View.OnClickListener() { in show()
|