Home
last modified time | relevance | path

Searched refs:getButton (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DButtonPreferenceTest.java64 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/
DScrollViewButtonsAndLabelsTest.java68 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()
DScrollViewButtonsAndLabels.java51 public Button getButton(int groupNum) { in getButton() method in ScrollViewButtonsAndLabels
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/ui/fragments/
DAnonymousSourceFragment.java73 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()
DExternalSourcesBlockedFragment.java83 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()
DInstallConfirmationFragment.java113 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()
DInstallInstallingFragment.java65 mDialog.getButton(DialogInterface.BUTTON_NEGATIVE).setEnabled(false); in onStart()
DInstallStagingFragment.java59 mDialog.getButton(DialogInterface.BUTTON_NEGATIVE).setEnabled(false); in onStart()
DInstallSuccessFragment.java83 Button launchButton = mDialog.getButton(DialogInterface.BUTTON_POSITIVE); in onStart()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DGoneParentFocusedChildTest.java41 assertNotNull(getActivity().getButton()); in testPreconditinos()
43 getActivity().getButton().hasFocus()); in testPreconditinos()
DGoneParentFocusedChild.java51 public Button getButton() { in getButton() method in GoneParentFocusedChild
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/recordissue/
DRecordIssueDialogDelegateTest.kt142 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/
DMenuWith1Item.java33 public Button getButton() { in getButton() method in MenuWith1Item
DMenuLayout.java51 public Button getButton() { in getButton() method in MenuLayout
DMenuWith1ItemTest.java42 assertFalse(mActivity.getButton().isInTouchMode()); in testPreconditions()
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityShortcutChooserActivity.java194 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/
DLLEditTextThenButton.java52 public Button getButton() { in getButton() method in LLEditTextThenButton
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/
DStartInTouchWithViewInFocusTest.java45 mButton = getActivity().getButton(); in setUp()
DTouchModeFocusableTest.java47 mButton = getActivity().getButton(); in setUp()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListSetSelection.java59 public Button getButton() { in getButton() method in ListSetSelection
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputBroadcastDialog.java125 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/
DUserSwitchDialog.kt42 getButton(BUTTON_NEUTRAL) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/user/
DUserSwitchDialogController.kt79 getButton(BUTTON_NEUTRAL) in <lambda>()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallSuccess.java122 Button launchButton = mDialog.getButton(DialogInterface.BUTTON_POSITIVE); in bindUi()
/frameworks/base/core/java/android/app/
DTimePickerDialog.java152 getButton(BUTTON_POSITIVE).setOnClickListener(new View.OnClickListener() { in show()

12