Home
last modified time | relevance | path

Searched refs:runOnUiThread (Results 1 – 25 of 64) sorted by relevance

123

/packages/apps/Car/libs/car-ui-lib/tests/unit/src/com/android/car/ui/recyclerview/
DCarUiRecyclerViewTest.java218 mActivity.runOnUiThread( in testOnHeightChanged_shouldAddTheValueToInitialTopValue()
230 mActivity.runOnUiThread(() -> carUiRecyclerView.onHeightChanged(10)); in testOnHeightChanged_shouldAddTheValueToInitialTopValue()
241 mActivity.runOnUiThread( in testVisibility_goneAtInflationWithChangeToVisible()
249 mActivity.runOnUiThread(() -> { in testVisibility_goneAtInflationWithChangeToVisible()
262 mActivity.runOnUiThread( in testVisibility_invisibleAtInflationWithChangeToVisible()
270 mActivity.runOnUiThread(() -> { in testVisibility_invisibleAtInflationWithChangeToVisible()
283 mActivity.runOnUiThread( in testFirstItemAtTop_onInitialLoad()
290 mActivity.runOnUiThread(() -> { in testFirstItemAtTop_onInitialLoad()
303 mActivity.runOnUiThread( in testPageUpAndDownMoveSameDistance()
310 mActivity.runOnUiThread(() -> { in testPageUpAndDownMoveSameDistance()
[all …]
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/activity/
DAssociationActivity.java98 runOnUiThread(this::showTurnOnBluetoothFragment); in observeViewModel()
103 runOnUiThread(() -> Toast.makeText(getApplicationContext(), in observeViewModel()
109 runOnUiThread(this::showAssociationErrorFragment); in observeViewModel()
123 runOnUiThread(this::showTurnOnBluetoothDialog); in observeViewModel()
129 runOnUiThread(() -> showAddAssociatedDeviceFragment(name)); in observeViewModel()
134 runOnUiThread(() -> showConfirmPairingCodeFragment(code)); in observeViewModel()
145 runOnUiThread(this::showAssociatedDeviceDetailFragment); in observeViewModel()
151 runOnUiThread(() -> showRemoveDeviceDialog(device)); in observeViewModel()
157 runOnUiThread(() -> Toast.makeText(getApplicationContext(), in observeViewModel()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DDialogUiTest.java88 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShows()
99 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShowsDismiss()
107 mActivityTestRule.runOnUiThread(() -> mCreateDirectoryFragment.getDialog().dismiss()); in testCreateDialogShowsDismiss()
116 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShows_textInputEditText_shouldNotTruncateOnPortrait()
136 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargeDensity()
157 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargerDensity()
177 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargestDensity()
198 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDirectoryFragmentShows_textInputEditText_shouldNotTruncateOnLandscape()
/packages/services/Telephony/testapps/EmbmsTestStreamingApp/src/com/android/phone/testapps/embmsfrontend/
DEmbmsTestStreamingApp.java49 EmbmsTestStreamingApp.this.runOnUiThread(() ->
58 runOnUiThread(() -> Toast.makeText(EmbmsTestStreamingApp.this, "Successfully bound",
246 runOnUiThread(() -> mStreamingServicesDisplayAdapter.update(services)); in updateStreamingServicesList()
255 runOnUiThread(() -> { in setUriDisplay() method
262 runOnUiThread(() -> { in setStreamStateDisplay() method
269 runOnUiThread(() -> { in setStreamMethodDisplay() method
DStreamingServiceTracker.java31 mActivity.runOnUiThread(() -> in onError()
95 mActivity.runOnUiThread(() -> in onStreamStateUpdated()
/packages/services/Telephony/tests/src/com/android/phone/
DCallFeaturesSettingTest.java76 mActivity.runOnUiThread(() -> mActivity.onResume()); in onResume_fdnIsAvailable_shouldShowFdnMenu()
91 mActivity.runOnUiThread(() -> mActivity.onResume()); in onResume_iccCardIsNull_shouldNotShowFdnMenu()
107 mActivity.runOnUiThread(() -> mActivity.onResume()); in onResume_fdnIsNotAvailable_shouldNotShowFdnMenu()
124 activityTestRule.runOnUiThread(() -> { in keepScreenOn()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/
DFragmentTestCase.java61 getActivity().runOnUiThread(new Runnable() { in attachFragment()
98 getActivity().runOnUiThread(new Runnable() { in clickButton()
108 getActivity().runOnUiThread(new Runnable() { in setFocus()
DViewTest.java56 getActivity().runOnUiThread(new Runnable() { in clickButton()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java251 mActivityRule.runOnUiThread(() -> { in testSavedInstanceState()
271 mActivityRule.runOnUiThread(() -> { in testPause()
296 mActivityRule.runOnUiThread(() -> mActivityRule.getActivity().onBackPressed()); in testCancelProfileOwner_CompProvisioningWithSkipConsent()
320 mActivityRule.runOnUiThread(() -> mActivityRule.getActivity().onBackPressed()); in testCancelProfileOwner_CompProvisioningWithoutSkipConsent()
374 mActivityRule.runOnUiThread(() -> mActivityRule.getActivity().preFinalizationCompleted()); in testSuccess()
407 mActivityRule.runOnUiThread(() -> mActivityRule.getActivity().preFinalizationCompleted()); in testSuccess_Nfc()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbHostManagementActivity.java157 runOnUiThread(new Runnable() { in shutdown()
168 runOnUiThread(new Runnable() { in processingStarted()
180 runOnUiThread(() -> mHandlerTitle.setText(title)); in titleChanged()
186 runOnUiThread(new Runnable() { in optionsUpdated()
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
DEmbmsTestDownloadApp.java162 runOnUiThread(() -> Toast.makeText(EmbmsTestDownloadApp.this,
168 EmbmsTestDownloadApp.this.runOnUiThread(() ->
177 runOnUiThread(() -> Toast.makeText(EmbmsTestDownloadApp.this,
404 runOnUiThread(() -> in onDownloadFailed()
421 runOnUiThread(() -> mFileServiceInfoAdapter.update(services)); in updateFileServicesList()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/individual/
DIndividualPickerActivityTest.java289 mActivityRule.runOnUiThread(activity::recreate); in testActivityRestarted_RotationStateChanges_StartRotationTileUpdates()
360 mActivityRule.runOnUiThread(() -> { in testShowStartRotationDialog_WifiOnly_ClickOK_StartsRotation()
414 mActivityRule.runOnUiThread(() -> { in testStartRotation_WifiOnly_FailOnce_Retry()
439 mActivityRule.runOnUiThread(() -> { in testShowStartRotationDialog_TurnOffWifiOnly_ClickOK_StartsRotation()
470 mActivityRule.runOnUiThread(() -> { in testStartRotation_WifiOnly_FailOnce_Retry_ShouldStillHaveWifiTurnedOff()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
DContactPickerFragmentTest.java88 getActivity().runOnUiThread(new Runnable() { in initFragment()
112 getActivity().runOnUiThread(new Runnable() { in loadWithAllContactsCursor()
129 getActivity().runOnUiThread(new Runnable() { in loadWithFrequentContactsCursor()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DDragHost.java54 public void runOnUiThread(Runnable runnable) { in runOnUiThread() method in DragHost
55 mActivity.runOnUiThread(runnable); in runOnUiThread()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DItemDragListener.java134 mDragHost.runOnUiThread(() -> { in createOpenTask()
162 void runOnUiThread(Runnable runnable); in runOnUiThread() method
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionarySettingsFragment.java193 activity.runOnUiThread(new Runnable() { in wordListDownloadFinished()
239 activity.runOnUiThread(new Runnable() { in refreshInterface()
420 activity.runOnUiThread(new Runnable() { in stopLoadingAnimation()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDragHost.java90 public void runOnUiThread(Runnable runnable) { in runOnUiThread() method in DragHost
91 mActivity.runOnUiThread(runnable); in runOnUiThread()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DConversationFragmentTest.java116 getActivity().runOnUiThread(new Runnable() { in loadWith()
130 getActivity().runOnUiThread(new Runnable() { in loadWith()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/attachmentchooser/
DAttachmentChooserFragmentTest.java117 getActivity().runOnUiThread(new Runnable() { in loadWith()
130 getActivity().runOnUiThread(new Runnable() { in loadWith()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestCertActivity.java189 runOnUiThread(new Runnable() { in doInBackground()
201 runOnUiThread(new Runnable() { in doInBackground()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DImportVCardActivity.java283 runOnUiThread(new DialogDisplayer( in run()
288 runOnUiThread(new DialogDisplayer( in run()
404 runOnUiThread(new Runnable() { in importVCard()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilter.java52 sActivity.runOnUiThread(new Runnable() { in displayLowMemoryToast()
/packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/
DMainActivity.java93 runOnUiThread(() -> ((TextView) findViewById(R.id.statusBar)).setText(status)); in notify()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java461 runOnUiThread(new Runnable() { in onMosaicSurfaceChanged()
477 runOnUiThread(new Runnable() { in onMosaicSurfaceCreated()
797 runOnUiThread(new Runnable() { in reportProgress()
/packages/apps/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/ui/handheld/
DManageCustomPermissionsFragmentTest.kt68 runOnUiThread { in getActivityIntent()

123