Home
last modified time | relevance | path

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

12345678910>>...35

/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestBroadcastActivity.java53 pendingButtonClick.onClick(null);
126 public void onClick(View v) { in onCreate()
141 public void onClick(View v) { in onCreate()
157 public void onClick(View v) { in onCreate()
172 public void onClick(View v) { in onCreate()
187 public void onClick(View v) { in onCreate()
202 public void onClick(View v) { in onCreate()
217 public void onClick(View v) { in onCreate()
232 public void onClick(View v) { in onCreate()
247 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/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DMainActivity.java40 void add(String text, ClickHandler onClick) {
41 add(new OnClickMenuEntry(text, onClick));
52 mMenuEntries.get(0).onClick(); in onCreate()
54 findViewById(R.id.offcar_test_btn).setOnClickListener((v) -> mMenuEntries.get(0).onClick()); in onCreate()
56 (v) -> mMenuEntries.get(1).onClick()); in onCreate()
60 void onClick(); in onClick() method
82 public void onClick() { in onClick() method in MainActivity.OnClickMenuEntry
83 mClickHandler.onClick(); in onClick()
122 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/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DNotificationClickHandlerFactoryTest.java182 mNotificationClickHandlerFactory.getClickHandler(mAlertEntry1).onClick(mView); in onClickClickHandler_noIntent_returnsImmediately()
197 mNotificationClickHandlerFactory.getClickHandler(mAlertEntry1).onClick(mView); in onClickClickHandler_intentExists_callsBarServiceNotificationClicked()
211 mNotificationClickHandlerFactory.getClickHandler(mAlertEntry1).onClick(mView); in onClickClickHandler_intentExists_invokesRegisteredClickListeners()
222 mNotificationClickHandlerFactory.getClickHandler(mAlertEntry1).onClick(mView); in onClickClickHandler_shouldAutoCancel_callsBarServiceOnNotificationClear()
247 0).onClick(mView); in onClickActionClickHandler_isReplyAction_sendsPendingIntent()
263 0).onClick(mView); in onClickActionClickHandler_isReplyAction_doesNotInvokeRegisteredClickListeners()
283 0).onClick(mView); in onClickActionClickHandler_notCarCompatibleMessage_sendsPendingIntent()
308 0).onClick(mView); in onClickActionClickHandler_notCarCompatibleMessage_invokesRegisteredListeners()
315 mNotificationClickHandlerFactory.getPlayClickHandler(mAlertEntry1).onClick(mView); in onClickPlayClickHandler_notCarCompatibleMessage_returnsImmediately()
322 mNotificationClickHandlerFactory.getPlayClickHandler(mAlertEntryMessageHeadsUp).onClick( in onClickPlayClickHandler_isCarCompatibleMessage_requestsAssistantVoiceAction()
[all …]
/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/Telecomm/testapps/transactionalVoipApp/src/com/android/server/telecom/transactionalVoipApp/
DInCallActivity.java80 public void onClick(View v) { in onCreate()
94 public void onClick(View v) { in onCreate()
108 public void onClick(View v) { in onCreate()
120 public void onClick(View v) { in onCreate()
128 public void onClick(View v) { in onCreate()
138 public void onClick(View v) { in onCreate()
148 public void onClick(View v) { in onCreate()
158 public void onClick(View v) { in onCreate()
168 public void onClick(View v) { in onCreate()
179 public void onClick(View v) { in onCreate()
DVoipAppMainActivity.java65 public void onClick(View v) { in onCreate()
75 public void onClick(View v) { in onCreate()
86 public void onClick(View v) { in onCreate()
94 public void onClick(View v) { in onCreate()
/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/Settings/tests/unit/src/com/android/car/settings/inputmethod/
DKeyboardManagementPreferenceControllerTest.java408 dialogFragment.onClick(null, DialogInterface.BUTTON_POSITIVE); in performClick_toggleTrue_showSecurityDialog_positive_noOtherPreferenceAdded()
434 dialogFragment.onClick(null, DialogInterface.BUTTON_POSITIVE); in performClick_toggleTrue_showSecurityDialog_positive_preferenceChecked()
459 dialogFragment.onClick(null, DialogInterface.BUTTON_POSITIVE); in performClick_toggleTrue_showSecurityDialog_positive_preferenceEnabled()
483 dialogFragment.onClick(null, DialogInterface.BUTTON_POSITIVE); in performClick_toggleTrue_showSecurityDialog_positive_inputMethodEnabled()
508 dialogFragment.onClick(null, DialogInterface.BUTTON_NEGATIVE); in performClick_toggleTrue_showSecurityDialog_negative_noOtherPreferenceAdded()
534 dialogFragment.onClick(null, DialogInterface.BUTTON_NEGATIVE); in performClick_toggleTrue_showSecurityDialog_negative_preferenceEnabled()
558 dialogFragment.onClick(null, DialogInterface.BUTTON_NEGATIVE); in performClick_toggleTrue_showSecurityDialog_negative_inputMethodDisabled()
584 dialogFragment.onClick(null, DialogInterface.BUTTON_POSITIVE); in performClick_toggleTrue_directBootWarningShown()
612 dialogFragment.onClick(null, DialogInterface.BUTTON_POSITIVE); in performClick_toggleTrue_showDirectBootDialog_positive_noOtherPreferenceAdded()
620 dialogFragment.onClick(null, DialogInterface.BUTTON_POSITIVE); in performClick_toggleTrue_showDirectBootDialog_positive_noOtherPreferenceAdded()
[all …]
/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.java55 public void onClick(View v) { in onCreate()
62 public void onClick(View v) { in onCreate()
69 public void onClick(View v) { in onCreate()
76 public void onClick(View v) { in onCreate()
86 public void onClick(View v) { in onCreate()
92 public void onClick(View v) { in onCreate()
98 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/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/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/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/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/QuickSearchBox/src/com/android/quicksearchbox/ui/
DContactBadge.kt42 override fun onClick(v: View?) { in onClick() method in com.android.quicksearchbox.ui.ContactBadge
43 super.onClick(v) in onClick()
45 mExtraOnClickListener?.onClick(v) in onClick()
/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/modules/IntentResolver/java/src/com/android/intentresolver/grid/
DItemViewHolder.java43 @Nullable Consumer<Integer> onClick, in ItemViewHolder() argument
48 if (onClick != null) { in ItemViewHolder()
49 itemView.setOnClickListener(v -> onClick.accept(mListPosition)); in ItemViewHolder()
/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/Dialer/java/com/android/dialer/app/calllog/
DDialerQuickContactBadge.java46 public void onClick(View v) { in onClick() method in DialerQuickContactBadge
51 extraOnClickListener.onClick(v); in onClick()
53 super.onClick(v); in onClick()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/view/
DClockSizeRadioButtonGroup.kt34 fun onClick(size: ClockSize) in onClick() method
45 buttonDynamic.setOnClickListener { onRadioButtonClickListener?.onClick(ClockSize.DYNAMIC) } in onClick()
48 buttonLarge.setOnClickListener { onRadioButtonClickListener?.onClick(ClockSize.SMALL) } in onClick()
/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) {

12345678910>>...35