Home
last modified time | relevance | path

Searched refs:setOnClickListener (Results 1 – 25 of 1043) sorted by relevance

12345678910>>...42

/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestBroadcastActivity.java125 etwsEarthquakeTypeButton.setOnClickListener(new OnClickListener() { in onCreate()
140 etwsTsunamiTypeButton.setOnClickListener(new OnClickListener() { in onCreate()
156 etwsEarthquakeTsunamiTypeButton.setOnClickListener(new OnClickListener() { in onCreate()
171 etwsOtherTypeButton.setOnClickListener(new OnClickListener() { in onCreate()
186 etwsCancelTypeButton.setOnClickListener(new OnClickListener() { in onCreate()
201 etwsTestTypeButton.setOnClickListener(new OnClickListener() { in onCreate()
216 CdmaCmasPresAlertButton.setOnClickListener(new OnClickListener() { in onCreate()
231 CdmaCmasExtremeAlertButton.setOnClickListener(new OnClickListener() { in onCreate()
246 CdmaCmasSevereAlertButton.setOnClickListener(new OnClickListener() { in onCreate()
261 CdmaCmasAmberAlertButton.setOnClickListener(new OnClickListener() { in onCreate()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/telemetry/
DCarTelemetryTestFragment.java555 mTootleConfigsBtn.setOnClickListener(this::toggleMetricsConfigButtons); in onCreateView()
557 mEnableReportNotificationButton.setOnClickListener(this::enableReportNotification); in onCreateView()
563 .setOnClickListener(this::onSendGearChangeConfigBtnClick); in onCreateView()
565 .setOnClickListener(this::onRemoveGearChangeConfigBtnClick); in onCreateView()
567 .setOnClickListener(this::onGetGearChangeReportBtnClick); in onCreateView()
570 .setOnClickListener(this::onSendProcessMemoryConfigBtnClick); in onCreateView()
572 .setOnClickListener(this::onRemoveProcessMemoryConfigBtnClick); in onCreateView()
574 .setOnClickListener(this::onGetProcessMemoryReportBtnClick); in onCreateView()
577 .setOnClickListener(this::onSendAppStartMemoryStateCapturedConfigBtnClick); in onCreateView()
579 .setOnClickListener(this::onRemoveAppStartMemoryStateCapturedConfigBtnClick); in onCreateView()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/systembars/
DSystemBarsFragment.java65 view.findViewById(R.id.show_status_bar_insets).setOnClickListener( in initStatusBarInsetsButtons()
67 view.findViewById(R.id.hide_status_bar_insets).setOnClickListener( in initStatusBarInsetsButtons()
72 view.findViewById(R.id.show_nav_bar_insets).setOnClickListener( in initNavigationBarInsetsButtons()
74 view.findViewById(R.id.hide_nav_bar_insets).setOnClickListener( in initNavigationBarInsetsButtons()
79 view.findViewById(R.id.show_system_bar_insets).setOnClickListener( in initSystemBarInsetsButtons()
81 view.findViewById(R.id.hide_system_bar_insets).setOnClickListener( in initSystemBarInsetsButtons()
86 view.findViewById(R.id.show_bars_by_touch).setOnClickListener( in initSystemBarBehaviorButtons()
89 view.findViewById(R.id.show_bars_by_swipe).setOnClickListener( in initSystemBarBehaviorButtons()
92 view.findViewById(R.id.show_transient_bars_by_swipe).setOnClickListener( in initSystemBarBehaviorButtons()
98 view.findViewById(R.id.color_status_bars).setOnClickListener( in initSystemBarColorButtons()
[all …]
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ui/
DHomeFragment.kt110 view.findViewById<Button>(R.id.launch_health_connect_button).setOnClickListener { in <lambda>()
113 view.findViewById<Button>(R.id.request_data_type_permissions_button).setOnClickListener { in <lambda>()
116 view.findViewById<Button>(R.id.request_route_button).setOnClickListener { in <lambda>()
119 view.findViewById<Button>(R.id.insert_update_data_button).setOnClickListener { in <lambda>()
122 view.findViewById<Button>(R.id.seed_random_data_button).setOnClickListener { in <lambda>()
125 view.findViewById<Button>(R.id.seed_performance_read_data_button).setOnClickListener { in <lambda>()
128 view.findViewById<Button>(R.id.seed_performance_insert_data_button).setOnClickListener { in <lambda>()
131 view.findViewById<Button>(R.id.toggle_permission_intent_filter).setOnClickListener { in <lambda>()
134 view.requireViewById<Button>(R.id.read_data_in_background_button).setOnClickListener { in <lambda>()
137 view.requireViewById<Button>(R.id.read_data_in_foreground_button).setOnClickListener { in <lambda>()
[all …]
/packages/services/Telephony/testapps/TestSatelliteApp/src/com/android/phone/testapps/satellitetestapp/
DTestSatelliteWrapper.java73 .setOnClickListener(this::requestNtnSignalStrength); in onCreate()
75 .setOnClickListener(this::registerForNtnSignalStrengthChanged); in onCreate()
77 .setOnClickListener(this::unregisterForNtnSignalStrengthChanged); in onCreate()
79 .setOnClickListener(this::isOnlyNonTerrestrialNetworkSubscription); in onCreate()
81 .setOnClickListener(this::registerForCapabilitiesChanged); in onCreate()
83 .setOnClickListener(this::unregisterForCapabilitiesChanged); in onCreate()
85 .setOnClickListener(this::isNonTerrestrialNetwork); in onCreate()
87 .setOnClickListener(this::getAvailableServices); in onCreate()
89 .setOnClickListener(this::isUsingNonTerrestrialNetwork); in onCreate()
91 .setOnClickListener(this::requestAttachEnabledForCarrier_enable); in onCreate()
[all …]
DSatelliteControl.java57 .setOnClickListener(this::enableSatelliteApp); in onCreate()
59 .setOnClickListener(this::disableSatelliteApp); in onCreate()
61 .setOnClickListener(this::requestIsEnabledApp); in onCreate()
63 .setOnClickListener(this::requestIsDemoModeEnabledApp); in onCreate()
65 .setOnClickListener(this::requestIsSupportedApp); in onCreate()
67 .setOnClickListener(this::requestCapabilitiesApp); in onCreate()
69 .setOnClickListener(this::requestIsCommunicationAllowedForCurrentLocationApp); in onCreate()
71 .setOnClickListener(this::requestTimeForNextSatelliteVisibilityApp); in onCreate()
73 .setOnClickListener(this::removeUserRestrictReasonApp); in onCreate()
75 .setOnClickListener(this::addUserRestrictReasonApp); in onCreate()
[all …]
DSatelliteTestApp.java57 findViewById(R.id.SatelliteControl).setOnClickListener(new OnClickListener() { in onCreate()
64 findViewById(R.id.Datagram).setOnClickListener(new OnClickListener() { in onCreate()
71 findViewById(R.id.Provisioning).setOnClickListener(new OnClickListener() { in onCreate()
78 findViewById(R.id.MultipleSendReceive).setOnClickListener(new OnClickListener() { in onCreate()
85 findViewById(R.id.SendReceive).setOnClickListener(new OnClickListener() { in onCreate()
92 findViewById(R.id.NbIotSatellite).setOnClickListener(new OnClickListener() { in onCreate()
99 findViewById(R.id.TestSatelliteWrapper).setOnClickListener(new OnClickListener() { in onCreate()
DNbIotSatellite.java58 .setOnClickListener(this::testRegisterForSupportedStateChanged); in onCreate()
60 .setOnClickListener(this::testUnregisterForSupportedStateChanged); in onCreate()
62 .setOnClickListener(this::testRequestIsSupported); in onCreate()
64 .setOnClickListener(this::reportSatelliteSupportedFromModem); in onCreate()
66 .setOnClickListener(this::reportSatelliteNotSupportedFromModem); in onCreate()
68 .setOnClickListener(this::showCurrentSatelliteSupportedStated); in onCreate()
69 findViewById(R.id.Back).setOnClickListener(new OnClickListener() { in onCreate()
DProvisioning.java58 .setOnClickListener(this::provisionServiceApp); in onCreate()
60 .setOnClickListener(this::deprovisionServiceApp); in onCreate()
62 .setOnClickListener(this::requestIsProvisionedApp); in onCreate()
64 .setOnClickListener(this::registerForProvisionStateChangedApp); in onCreate()
66 .setOnClickListener(this::unregisterForProvisionStateChangedApp); in onCreate()
68 .setOnClickListener(this::showCurrentSatelliteProvisionStateApp); in onCreate()
69 findViewById(R.id.Back).setOnClickListener(new OnClickListener() { in onCreate()
DDatagram.java86 .setOnClickListener(this::startTransmissionUpdatesApp); in onCreate()
88 .setOnClickListener(this::stopTransmissionUpdatesApp); in onCreate()
90 .setOnClickListener(this::pollPendingDatagramsApp); in onCreate()
92 .setOnClickListener(this::sendDatagramApp); in onCreate()
94 .setOnClickListener(this::registerForIncomingDatagramApp); in onCreate()
96 .setOnClickListener(this::unregisterForIncomingDatagramApp); in onCreate()
98 .setOnClickListener(this::showDatagramSendStateTransitionApp); in onCreate()
100 .setOnClickListener(this::showDatagramReceiveStateTransitionApp); in onCreate()
102 .setOnClickListener(this::registerForModemStateChangedApp); in onCreate()
104 .setOnClickListener(this::unregisterForModemStateChangedApp); in onCreate()
[all …]
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestInCallUI.java142 endCallButton.setOnClickListener(new OnClickListener() { in onCreate()
151 holdButton.setOnClickListener(new OnClickListener() { in onCreate()
164 muteButton.setOnClickListener(new OnClickListener() { in onCreate()
174 rttIfaceButton.setOnClickListener((view) -> { in onCreate()
183 answerButton.setOnClickListener(view -> { in onCreate()
191 startRttButton.setOnClickListener(view -> { in onCreate()
198 earpieceButton.setOnClickListener(view -> { in onCreate()
202 speakerButton.setOnClickListener(view -> { in onCreate()
206 setBtDeviceButton.setOnClickListener(view -> { in onCreate()
214 acceptRttButton.setOnClickListener(view -> { in onCreate()
[all …]
DTestDialerActivity.java56 findViewById(R.id.set_default_button).setOnClickListener(new OnClickListener() { in onCreate()
63 findViewById(R.id.submit_composer_value).setOnClickListener(new OnClickListener() { in onCreate()
70 findViewById(R.id.place_call_button).setOnClickListener(new OnClickListener() { in onCreate()
77 findViewById(R.id.test_voicemail_button).setOnClickListener(new OnClickListener() { in onCreate()
84 findViewById(R.id.cancel_missed_button).setOnClickListener(new OnClickListener() { in onCreate()
95 findViewById(R.id.enable_car_mode).setOnClickListener(new OnClickListener() { in onCreate()
101 findViewById(R.id.disable_car_mode).setOnClickListener(new OnClickListener() { in onCreate()
107 findViewById(R.id.toggle_incallservice).setOnClickListener(new OnClickListener() { in onCreate()
115 discoveryButton.setOnClickListener(v -> sendContactDiscoveryIntent()); in onCreate()
DSelfManagedCallListAdapter.java227 activeButton.setOnClickListener(mActiveListener); in setInfoForRow()
229 disconnectButton.setOnClickListener(mDisconnectListener); in setInfoForRow()
231 setHeldButton.setOnClickListener(mHeldListener); in setInfoForRow()
233 speakerButton.setOnClickListener(mSpeakerListener); in setInfoForRow()
235 earpieceButton.setOnClickListener(mEarpieceListener); in setInfoForRow()
237 bluetoothButton.setOnClickListener(mBluetoothListener); in setInfoForRow()
239 missedButton.setOnClickListener(mMissedListener); in setInfoForRow()
244 holdableCheckbox.setOnClickListener(mHoldableListener); in setInfoForRow()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java307 view.findViewById(R.id.button_media_play_start).setOnClickListener(v -> { in onCreateView()
312 view.findViewById(R.id.button_media_play_once).setOnClickListener(v -> { in onCreateView()
316 view.findViewById(R.id.button_media_play_stop).setOnClickListener(v -> mMusicPlayer.stop()); in onCreateView()
317 view.findViewById(R.id.button_wav_play_start).setOnClickListener( in onCreateView()
319 view.findViewById(R.id.button_wav_play_stop).setOnClickListener(v -> mWavPlayer.stop()); in onCreateView()
320 view.findViewById(R.id.button_nav_play_once).setOnClickListener(v -> { in onCreateView()
334 view.findViewById(R.id.button_vr_play_once).setOnClickListener(v -> { in onCreateView()
348 view.findViewById(R.id.button_system_play_once).setOnClickListener(v -> { in onCreateView()
357 view.findViewById(R.id.button_nav_start).setOnClickListener(v -> handleNavStart()); in onCreateView()
358 view.findViewById(R.id.button_nav_end).setOnClickListener(v -> handleNavEnd()); in onCreateView()
[all …]
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/carrierLock/
DCarrieLockModeListActivity.java39 noLockModeBtn.setOnClickListener(view -> { in onCreate()
46 vzwLockModeBtn.setOnClickListener(view -> { in onCreate()
53 attLockModeBtn.setOnClickListener(view -> { in onCreate()
60 tmoLockModeBtn.setOnClickListener(view -> { in onCreate()
67 koodoLockModeBtn.setOnClickListener(view -> { in onCreate()
74 telusLockModeBtn.setOnClickListener(view -> { in onCreate()
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DMainActivity.java63 mProvisionButton.setOnClickListener(view -> { in onCreate()
68 mDelegateButton.setOnClickListener(view -> { in onCreate()
73 mUceButton.setOnClickListener(view -> { in onCreate()
78 mGbaButton.setOnClickListener(view -> { in onCreate()
82 mMessageClientButton.setOnClickListener(view -> { in onCreate()
86 mFileUploadButton.setOnClickListener(view -> { in onCreate()
98 mCarrierLockModeListBtn.setOnClickListener(view -> { in onCreate()
/packages/services/Telecomm/testapps/transactionalVoipApp/src/com/android/server/telecom/transactionalVoipApp/
DInCallActivity.java78 findViewById(R.id.set_call_active_button).setOnClickListener(new View.OnClickListener() { in onCreate()
92 findViewById(R.id.answer_button).setOnClickListener(new View.OnClickListener() { in onCreate()
106 findViewById(R.id.set_call_inactive_button).setOnClickListener(new View.OnClickListener() { in onCreate()
118 findViewById(R.id.disconnect_call_button).setOnClickListener(new View.OnClickListener() { in onCreate()
126 findViewById(R.id.start_stream_button).setOnClickListener(new View.OnClickListener() { in onCreate()
136 findViewById(R.id.request_earpiece).setOnClickListener(new View.OnClickListener() { in onCreate()
146 findViewById(R.id.request_speaker).setOnClickListener(new View.OnClickListener() { in onCreate()
156 findViewById(R.id.request_bluetooth).setOnClickListener(new View.OnClickListener() { in onCreate()
166 findViewById(R.id.crash_app).setOnClickListener(new View.OnClickListener() { in onCreate()
176 findViewById(R.id.updateCallStyleNotification).setOnClickListener( in onCreate()
/packages/apps/DevCamera/src/com/android/devcamera/
DDevCameraActivity.java178 mAfTriggerButton.setOnClickListener(new View.OnClickListener() { in onCreate()
184 mGetJpegButton.setOnClickListener(new View.OnClickListener() { in onCreate()
190 mGalleryButton.setOnClickListener(new View.OnClickListener() { in onCreate()
196 mToggleFrontCam.setOnClickListener(new View.OnClickListener() { in onCreate()
206 mToggleYuvFull.setOnClickListener(mTransferUiStateToCameraState); in onCreate()
207 mToggleYuvVga.setOnClickListener(mTransferUiStateToCameraState); in onCreate()
208 mToggleRaw.setOnClickListener(mTransferUiStateToCameraState); in onCreate()
209 mButtonNoiseMode.setOnClickListener(mTransferUiStateToCameraState); in onCreate()
210 mButtonEdgeMode.setOnClickListener(mTransferUiStateToCameraState); in onCreate()
211 mButtonNoiseModeReprocess.setOnClickListener(mTransferUiStateToCameraState); in onCreate()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
DHvacTestFragment.java291 mTbDual.setOnClickListener(view -> { in configureDualOn()
304 mTbAc.setOnClickListener(view -> { in configureAcOn()
316 mTbAuto.setOnClickListener(view -> { in configureAutoModeOn()
399 btnFanSpeedUp.setOnClickListener(view -> changeFanSpeed(1)); in configureFanSpeed()
403 btnFanSpeedDn.setOnClickListener(view -> changeFanSpeed(-1)); in configureFanSpeed()
465 btnDTempUp.setOnClickListener(view -> changeDriverTemperature(TEMP_STEP)); in configureTempSetpoint()
469 btnDTempDn.setOnClickListener(view -> changeDriverTemperature(-TEMP_STEP)); in configureTempSetpoint()
491 btnPTempUp.setOnClickListener(view -> changePassengerTemperature(TEMP_STEP)); in configureTempSetpoint()
495 btnPTempDn.setOnClickListener(view -> changePassengerTemperature(-TEMP_STEP)); in configureTempSetpoint()
503 btnATempUp.setOnClickListener(view -> { in configureTempSetpoint()
[all …]
/packages/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/
DDialogSamples.java42 showDialogButton.setOnClickListener(v -> openDialog(false)); in onCreate()
43 showDialogOnlyPositiveButton.setOnClickListener(v -> openDialogWithOnlyPositiveButton()); in onCreate()
44 showDialogWithoutTitleButton.setOnClickListener(v -> openDialogWithoutTitle()); in onCreate()
45 showDialogWithCheckboxButton.setOnClickListener(v -> openDialog(true)); in onCreate()
47 showToast.setOnClickListener(v -> showToast()); in onCreate()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
DNotificationFragment.java140 view.findViewById(R.id.cancel_all_button).setOnClickListener(v -> { in initCancelAllButton()
150 view.findViewById(R.id.category_car_emergency_button).setOnClickListener(v -> { in initCarCategoriesButton()
161 view.findViewById(R.id.category_car_warning_button).setOnClickListener(v -> { in initCarCategoriesButton()
177 view.findViewById(R.id.category_car_info_button).setOnClickListener(v -> { in initCarCategoriesButton()
218 view.findViewById(R.id.importance_high_button).setOnClickListener( in initImportanceHighBotton()
224 view.findViewById(R.id.importance_default_button).setOnClickListener(v -> { in initImportanceDefaultButton()
235 view.findViewById(R.id.importance_low_button).setOnClickListener(v -> { in initImportanceLowButton()
247 view.findViewById(R.id.importance_min_button).setOnClickListener(v -> { in initImportanceMinButton()
270 view.findViewById(R.id.incoming_notificationbuilder_button).setOnClickListener(v -> { in initIncomingButton()
284 view.findViewById(R.id.incoming_forIncomingCall_button).setOnClickListener(v -> { in initIncomingButton()
[all …]
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
DEmbmsTestDownloadApp.java209 bindButton.setOnClickListener((view) -> { in onCreate()
215 setTempFileRootButtonExternal.setOnClickListener((view) -> { in onCreate()
227 setTempFileRootButtonInternal.setOnClickListener((view) -> { in onCreate()
238 getFileServicesButton.setOnClickListener((view) -> mHandler.post(() -> { in onCreate()
246 requestDlButton.setOnClickListener((view) -> { in onCreate()
264 requestCleanupButton.setOnClickListener((view) -> in onCreate()
269 requestSpuriousTempFilesButton.setOnClickListener((view) -> in onCreate()
277 delayDownloadButton.setOnClickListener((view) -> in onCreate()
285 cancelDownloadButton.setOnClickListener((view) -> { in onCreate()
299 registerProgressCallback.setOnClickListener((view) -> { in onCreate()
[all …]
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCarModeInCallUI.java122 endCallButton.setOnClickListener(new OnClickListener() { in onCreate()
131 holdButton.setOnClickListener(new OnClickListener() { in onCreate()
144 muteButton.setOnClickListener(new OnClickListener() { in onCreate()
154 answerButton.setOnClickListener(view -> { in onCreate()
161 earpieceButton.setOnClickListener(view -> { in onCreate()
165 speakerButton.setOnClickListener(view -> { in onCreate()
169 setBtDeviceButton.setOnClickListener(view -> { in onCreate()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/admin/
DDevicePolicyFragment.java144 mRemoveUserButton.setOnClickListener((v) -> removeUser()); in onViewCreated()
145 mCreateUserButton.setOnClickListener((v) -> createUser()); in onViewCreated()
146 mStartUserInBackgroundButton.setOnClickListener((v) -> startUserInBackground()); in onViewCreated()
147 mStopUserButton.setOnClickListener((v) -> stopUser()); in onViewCreated()
151 mResetPasswordButton.setOnClickListener((v) -> resetPassword()); in onViewCreated()
154 mLockNowButton.setOnClickListener((v) -> lockNow()); in onViewCreated()
158 mWipeDataButton.setOnClickListener((v) -> wipeData()); in onViewCreated()
161 mCheckLockTasksButton.setOnClickListener((v) -> checkLockTasks()); in onViewCreated()
164 mStartLockTasksButton.setOnClickListener((v) -> startLockTask()); in onViewCreated()
167 mStopLockTasksButton.setOnClickListener((v) -> stopLockTasks()); in onViewCreated()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DMenuFragment.java52 root.findViewById(R.id.gesture_tutorial_menu_home_button).setOnClickListener( in onCreateView()
54 root.findViewById(R.id.gesture_tutorial_menu_back_button).setOnClickListener( in onCreateView()
56 root.findViewById(R.id.gesture_tutorial_menu_overview_button).setOnClickListener( in onCreateView()
58 root.findViewById(R.id.gesture_tutorial_menu_done_button).setOnClickListener( in onCreateView()

12345678910>>...42