Home
last modified time | relevance | path

Searched refs:onClick (Results 1 – 25 of 797) sorted by relevance

12345678910>>...32

/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestBroadcastActivity.java53 pendingButtonClick.onClick(null);
108 public void onClick(View v) { in onCreate()
122 public void onClick(View v) { in onCreate()
137 public void onClick(View v) { in onCreate()
151 public void onClick(View v) { in onCreate()
165 public void onClick(View v) { in onCreate()
179 public void onClick(View v) { in onCreate()
193 public void onClick(View v) { in onCreate()
207 public void onClick(View v) { in onCreate()
221 public void onClick(View v) { in onCreate()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchViewManagerTest.java195 mSearchViewManager.onClick(null); in testIsExpanded_ExpandsOnClick()
201 mSearchViewManager.onClick(null); in testIsExpanded_CollapsesOnMenuItemActionCollapse()
214 mSearchViewManager.onClick(null); in testIsSearching_FalseOnClick()
220 mSearchViewManager.onClick(null); in testIsSearching_TrueOnQueryTextSubmit()
227 mSearchViewManager.onClick(null); in testIsSearching_FalseImmediatelyAfterOnQueryTextChange()
234 mSearchViewManager.onClick(null); in testIsSearching_TrueAfterOnQueryTextChangeAndWait()
242 mSearchViewManager.onClick(null); in testIsSearching_FalseWhenSecondOnQueryTextChangeResetsTimer()
252 mSearchViewManager.onClick(null); in testIsSearching_TrueAfterSecondOnQueryTextChangeResetsTimer()
262 mSearchViewManager.onClick(null); in testIsSearching_FalseIfSearchCanceled()
271 mSearchViewManager.onClick(null); in testOnSearchChanged_CalledAfterOnQueryTextSubmit()
[all …]
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DNotificationClickHandlerFactoryTest.java154 mNotificationClickHandlerFactory.getClickHandler(mAlertEntry1).onClick(mView); in onClickClickHandler_noIntent_returnsImmediately()
169 mNotificationClickHandlerFactory.getClickHandler(mAlertEntry1).onClick(mView); in onClickClickHandler_intentExists_callsBarServiceNotificationClicked()
183 mNotificationClickHandlerFactory.getClickHandler(mAlertEntry1).onClick(mView); in onClickClickHandler_intentExists_invokesRegisteredClickListeners()
194 mNotificationClickHandlerFactory.getClickHandler(mAlertEntry1).onClick(mView); in onClickClickHandler_shouldAutoCancel_callsBarServiceOnNotificationClear()
219 0).onClick(mView); in onClickActionClickHandler_isReplyAction_sendsPendingIntent()
236 0).onClick(mView); in onClickActionClickHandler_isReplyAction_doesNotInvokeRegisteredClickListeners()
256 0).onClick(mView); in onClickActionClickHandler_notCarCompatibleMessage_sendsPendingIntent()
281 0).onClick(mView); in onClickActionClickHandler_notCarCompatibleMessage_invokesRegisteredListeners()
288 mNotificationClickHandlerFactory.getPlayClickHandler(mAlertEntry1).onClick(mView); in onClickPlayClickHandler_notCarCompatibleMessage_returnsImmediately()
295 mNotificationClickHandlerFactory.getPlayClickHandler(mAlertEntryMessageHeadsUp).onClick( in onClickPlayClickHandler_isCarCompatibleMessage_requestsAssistantVoiceAction()
[all …]
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DMainActivity.java41 void add(String text, ClickHandler onClick) {
42 add(new OnClickMenuEntry(text, onClick));
53 mMenuEntries.get(0).onClick(); in onCreate()
55 findViewById(R.id.offcar_test_btn).setOnClickListener((v) -> mMenuEntries.get(0).onClick()); in onCreate()
57 (v) -> mMenuEntries.get(1).onClick()); in onCreate()
71 void onClick(); in onClick() method
93 public void onClick() { in onClick() method in MainActivity.OnClickMenuEntry
94 mClickHandler.onClick(); in onClick()
133 public void onClick() { in onClick() method in MainActivity.FragmentMenuEntry
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/
DMainActivity.java44 void add(String text, ClickHandler onClick) {
45 add(new OnClickMenuEntry(text, onClick));
56 mMenuEntries.get(0).onClick(); in onCreate()
58 findViewById(R.id.manager_btn).setOnClickListener((v) -> mMenuEntries.get(0).onClick()); in onCreate()
60 .setOnClickListener((v) -> mMenuEntries.get(1).onClick()); in onCreate()
64 void onClick(); in onClick() method
86 public void onClick() { in onClick() method in MainActivity.OnClickMenuEntry
87 mClickHandler.onClick(); in onClick()
127 public void onClick() { in onClick() method in MainActivity.FragmentMenuEntry
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/alertdialog/
DAlertDialogTestFragment.java55 public void onClick(View v) { in onCreateView()
62 public void onClick(DialogInterface dialog, int which) { in onCreateView()
68 public void onClick(DialogInterface dialog, int which) { in onCreateView()
79 public void onClick(View v) { in onCreateView()
86 public void onClick(DialogInterface dialog, int which) { in onCreateView()
92 public void onClick(DialogInterface dialog, int which) { in onCreateView()
103 public void onClick(View v) { in onCreateView()
110 public void onClick(DialogInterface dialog, int which) { in onCreateView()
116 public void onClick(DialogInterface dialog, int which) { in onCreateView()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DBluetoothHeadsetFragment.java107 public void onClick(View view) { in onCreateView()
115 public void onClick(View view) { in onCreateView()
123 public void onClick(View view) { in onCreateView()
131 public void onClick(View view) { in onCreateView()
139 public void onClick(View view) { in onCreateView()
147 public void onClick(View view) { in onCreateView()
155 public void onClick(View view) { in onCreateView()
163 public void onClick(View view) { in onCreateView()
171 public void onClick(View view) { in onCreateView()
179 public void onClick(View view) { in onCreateView()
[all …]
DMapMceTestFragment.java165 public void onClick(View view) { in onCreateView()
174 public void onClick(View view) { in onCreateView()
182 public void onClick(View view) { in onCreateView()
189 public void onClick(View view) { in onCreateView()
196 public void onClick(View view) { in onCreateView()
204 public void onClick(View view) { in onCreateView()
212 public void onClick(View view) { in onCreateView()
218 public void onClick(View view) { in onCreateView()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/
DKeyboardManagementPreferenceControllerTest.java384 dialogFragment.onClick(null, DialogInterface.BUTTON_POSITIVE); in performClick_toggleTrue_showSecurityDialog_positive_noOtherPreferenceAdded()
409 dialogFragment.onClick(null, DialogInterface.BUTTON_POSITIVE); in performClick_toggleTrue_showSecurityDialog_positive_preferenceChecked()
433 dialogFragment.onClick(null, DialogInterface.BUTTON_POSITIVE); in performClick_toggleTrue_showSecurityDialog_positive_preferenceEnabled()
456 dialogFragment.onClick(null, DialogInterface.BUTTON_POSITIVE); in performClick_toggleTrue_showSecurityDialog_positive_inputMethodEnabled()
480 dialogFragment.onClick(null, DialogInterface.BUTTON_NEGATIVE); in performClick_toggleTrue_showSecurityDialog_negative_noOtherPreferenceAdded()
505 dialogFragment.onClick(null, DialogInterface.BUTTON_NEGATIVE); in performClick_toggleTrue_showSecurityDialog_negative_preferenceEnabled()
528 dialogFragment.onClick(null, DialogInterface.BUTTON_NEGATIVE); in performClick_toggleTrue_showSecurityDialog_negative_inputMethodDisabled()
553 dialogFragment.onClick(null, DialogInterface.BUTTON_POSITIVE); in performClick_toggleTrue_directBootWarningShown()
580 dialogFragment.onClick(null, DialogInterface.BUTTON_POSITIVE); in performClick_toggleTrue_showDirectBootDialog_positive_noOtherPreferenceAdded()
588 dialogFragment.onClick(null, DialogInterface.BUTTON_POSITIVE); in performClick_toggleTrue_showDirectBootDialog_positive_noOtherPreferenceAdded()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DDisabledCheckBoxPreferenceTest.java74 Preference.OnPreferenceClickListener onClick = in checkboxOnClick_checkboxDisabled() local
76 mPref.setOnPreferenceClickListener(onClick); in checkboxOnClick_checkboxDisabled()
82 verify(onClick, never()).onPreferenceClick(any()); in checkboxOnClick_checkboxDisabled()
87 Preference.OnPreferenceClickListener onClick = in checkboxOnClick_checkboxEnabled() local
89 mPref.setOnPreferenceClickListener(onClick); in checkboxOnClick_checkboxEnabled()
95 verify(onClick, times(1)).onPreferenceClick(any()); in checkboxOnClick_checkboxEnabled()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/toolbar/
DToolbarMenuItemsTest.java120 verify(callback).onClick(menuItem[0]); in menuItems_text_shouldShow()
147 verify(callback).onClick(menuItem[0]); in menuItems_icon_shouldShow()
167 verify(callback).onClick(menuItem[0]); in menuItems_textAndIcon_shouldShow()
216 verify(callback).onClick(menuItem[0]); in menuItems_switch_shouldShow()
240 verify(callback).onClick(menuItem[0]); in menuItems_overflowText_shouldWork()
248 verify(callback, times(2)).onClick(menuItem[0]); in menuItems_overflowText_shouldWork()
271 verify(callback).onClick(menuItem[0]); in menuItems_overflowIconAndText_shouldWork()
353 verify(callback, times(1)).onClick(menuItem[0]); in menuItems_setEnabled_shouldDisable()
359 verify(callback, times(1)).onClick(menuItem[0]); in menuItems_setEnabled_shouldDisable()
400 verify(callback1, times(1)).onClick(menuItem[0]); in menuItems_changeOnClickListener_shouldCallNewListener()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModePrioritySendersPreferenceControllerTest.java112 allSendersRb.onClick(); in clickAnySenders()
125 starredRb.onClick(); in clickStarredSenders()
138 contactsRb.onClick(); in clickContactsSenders()
151 noSenders.onClick(); in clickNoSenders()
164 anySenders.onClick(); in clickSameOptionMultipleTimes()
165 anySenders.onClick(); in clickSameOptionMultipleTimes()
166 anySenders.onClick(); in clickSameOptionMultipleTimes()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallListAdapter.java43 public void onClick(View v) {
56 public void onClick(View v) {
69 public void onClick(View v) {
79 public void onClick(View v) {
89 public void onClick(View v) {
99 public void onClick(View v) {
109 public void onClick(View v) {
119 public void onClick (View v) {
DTestDialerActivity.java54 public void onClick(View v) { in onCreate()
61 public void onClick(View v) { in onCreate()
68 public void onClick(View v) { in onCreate()
75 public void onClick(View v) { in onCreate()
85 public void onClick(View v) { in onCreate()
91 public void onClick(View v) { in onCreate()
97 public void onClick(View v) { in onCreate()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/
DVoicemailErrorMessage.java134 public void onClick(View v) { in createChangeAirplaneModeAction()
150 public void onClick(View v) {
167 public void onClick(View v) {
183 public void onClick(View v) {
198 public void onClick(View v) {
219 public void onClick(View v) {
245 public void onClick(View v) {
DVoicemailTosMessageCreator.java95 public void onClick(View v) { in getTosMessage()
109 public void onClick(View v) { in getTosMessage() method
137 public void onClick(View v) {
163 public void onClick(View v) {
272 public void onClick(DialogInterface dialog, int which) {
287 public void onClick(DialogInterface dialog, int which) {
303 public void onClick(DialogInterface dialog, int which) {
316 public void onClick(DialogInterface dialog, int which) {
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DButtonController.java402 public void onClick(View v) { in onClick() method in ButtonController.SpeakerButtonController
463 public void onClick(View view) { in onClick() method in ButtonController.AddCallButtonController
481 public void onClick(View view) { in onClick() method in ButtonController.SwapButtonController
499 public void onClick(View view) { in onClick() method in ButtonController.MergeButtonController
517 public void onClick(View view) { in onClick() method in ButtonController.UpgradeToVideoButtonController
535 public void onClick(View view) { in onClick() method in ButtonController.UpgradeToRttButtonController
556 public void onClick(View view) { in onClick() method in ButtonController.ManageConferenceButtonController
577 public void onClick(View view) { in onClick() method in ButtonController.SwitchToSecondaryButtonController
594 public void onClick(View view) { in onClick() method in ButtonController.SwapSimButtonController
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationLockscreenPreference.java62 protected void onClick() { in onClick() method in NotificationLockscreenPreference
67 super.onClick(); in onClick()
148 public void onClick(DialogInterface dialog, int which) { in onClick() method in NotificationLockscreenPreference.Listener
149 mInner.onClick(dialog, which); in onClick()
168 public void onClick(View v) { in onClick() method in NotificationLockscreenPreference.Listener
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DStorageManagerUpsellDialogTest.java49 fragment.onClick(null, BUTTON_NEGATIVE); in testNoThanksMaximumShownTimes()
55 fragment.onClick(null, BUTTON_NEGATIVE); in testNoThanksMaximumShownTimes()
61 fragment.onClick(null, BUTTON_NEGATIVE); in testNoThanksMaximumShownTimes()
67 fragment.onClick(null, BUTTON_NEGATIVE); in testNoThanksMaximumShownTimes()
/packages/apps/Dialer/java/com/android/dialer/historyitemactions/
DBlockReportSpamModules.java48 public boolean onClick() { in moduleForMarkingNumberAsNotSpam() method in BlockReportSpamModules
75 public boolean onClick() {
102 public boolean onClick() {
129 public boolean onClick() {
/packages/services/Telephony/testapps/GbaTestApp/src/com/android/phone/testapps/gbatestapp/ui/main/
DMainFragment.java70 public void onClick(View v) { in onCreateView()
88 public void onClick(View v) { in onCreateView()
106 public void onClick(View v) { in onCreateView()
125 public void onClick(View v) { in onCreateView()
135 public void onClick(View v) { in onCreateView()
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamNotificationActivity.java228 public void onClick() { in maybeShowNotSpamDialog() method
255 public void onClick(boolean isSpamChecked) { in maybeShowBlockReportSpamDialog()
416 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
424 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() method
438 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() method
509 public void onClick(DialogInterface dialog, int which) {
517 public void onClick(DialogInterface dialog, int which) {
529 public void onClick(DialogInterface dialog, int which) {
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiAPITest.java116 public void onClick(DialogInterface dialog, int whichButton) { in onPreferenceClick()
129 public void onClick(DialogInterface dialog, int whichButton) { in onPreferenceClick()
142 public void onClick(DialogInterface dialog, int whichButton) { in onPreferenceClick()
149 public void onClick(DialogInterface dialog, int whichButton) { in onPreferenceClick()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTtsEnginePreference.java81 protected void onClick() { in onClick() method in TtsEnginePreference
82 super.onClick(); in onClick()
121 public void onClick(DialogInterface dialog, int which) { in onRadioButtonClicked()
127 public void onClick(DialogInterface dialog, int which) { in onRadioButtonClicked()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DContactBadge.java45 public void onClick(View v) { in onClick() method in ContactBadge
46 super.onClick(v); in onClick()
48 mExtraOnClickListener.onClick(v); in onClick()

12345678910>>...32