Home
last modified time | relevance | path

Searched refs:mUiHandler (Results 1 – 17 of 17) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAbstractMailActivity.java42 private final UiHandler mUiHandler = new UiHandler(); field in AbstractMailActivity
64 mUiHandler.setEnabled(true); in onCreate()
71 mUiHandler.setEnabled(true); in onStart()
78 mUiHandler.setEnabled(false); in onSaveInstanceState()
85 mUiHandler.setEnabled(true); in onResume()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DVolumeSettingsRingtoneManager.java39 private final Handler mUiHandler; field in VolumeSettingsRingtoneManager
47 mUiHandler = new Handler(Looper.getMainLooper()); in VolumeSettingsRingtoneManager()
61 mUiHandler.removeCallbacksAndMessages(null); in playAudioFeedback()
64 mUiHandler.postDelayed(() -> { in playAudioFeedback()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDiscoverableEnabler.java63 private final Handler mUiHandler; field in BluetoothDiscoverableEnabler
95 mUiHandler = new Handler(); in BluetoothDiscoverableEnabler()
122 mUiHandler.removeCallbacks(mUpdateCountdownSummaryRunnable); in pause()
293 mUiHandler.removeCallbacks(mUpdateCountdownSummaryRunnable); in updateCountdownSummary()
294 mUiHandler.postDelayed(mUpdateCountdownSummaryRunnable, 1000); in updateCountdownSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothDiscoverableEnabler.java63 private final Handler mUiHandler; field in BluetoothDiscoverableEnabler
95 mUiHandler = new Handler(); in BluetoothDiscoverableEnabler()
122 mUiHandler.removeCallbacks(mUpdateCountdownSummaryRunnable); in pause()
293 mUiHandler.removeCallbacks(mUpdateCountdownSummaryRunnable); in updateCountdownSummary()
294 mUiHandler.postDelayed(mUpdateCountdownSummaryRunnable, 1000); in updateCountdownSummary()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DOverviewInteractionState.java49 private final Handler mUiHandler; field in OverviewInteractionState
64 mUiHandler = new Handler(this::handleUiMessage); in OverviewInteractionState()
79 mUiHandler.removeMessages(MSG_SET_BACK_BUTTON_ALPHA); in setBackButtonAlpha()
80 mUiHandler.obtainMessage(MSG_SET_BACK_BUTTON_ALPHA, animate ? 1 : 0, 0, alpha) in setBackButtonAlpha()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java70 private final Handler mUiHandler; field in NotificationListener
87 mUiHandler.obtainMessage(message.what, message.obj).sendToTarget();
90 mUiHandler.obtainMessage(message.what, message.obj).sendToTarget();
106 mUiHandler.obtainMessage(message.what, activeNotifications).sendToTarget();
145 mUiHandler = new Handler(Looper.getMainLooper(), mUiCallback); in NotificationListener()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DDynamicItemCache.java71 private final Handler mUiHandler; field in DynamicItemCache
81 mUiHandler = new Handler(Looper.getMainLooper(), this::handleUiMessage); in DynamicItemCache()
112 Message.obtain(mUiHandler, UI_MSG_UPDATE_SHORTCUTS, shortcutKeyAndInfos) in handleWorkerMessage()
126 Message.obtain(mUiHandler, UI_MSG_UPDATE_INSTANT_APPS, instantAppItemInfos) in handleWorkerMessage()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DProvisioningManagerHelper.java50 private final Handler mUiHandler; field in ProvisioningManagerHelper
61 mUiHandler = new Handler(Looper.getMainLooper()); in ProvisioningManagerHelper()
158 mUiHandler.post(() -> { in postCallbackToUiHandler()
/packages/services/Car/car-lib/src/android/car/cluster/renderer/
DInstrumentClusterRenderingService.java99 private Handler mUiHandler = new Handler(Looper.getMainLooper()); field in InstrumentClusterRenderingService
414 mUiHandler.post(InstrumentClusterRenderingService.this::updateNavigationActivity); in setNavigationContextOwner()
419 mUiHandler.post(() -> InstrumentClusterRenderingService.this.onKeyEvent(keyEvent)); in onKeyEvent()
435 mUiHandler.post(() -> { in onNavigationStateChanged()
474 mUiHandler.post(() -> { in runAndWaitResult()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningManagerTest.java77 @Mock private Handler mUiHandler; field in ProvisioningManagerTest
88 when(mUiHandler.sendMessageAtTime(any(Message.class), anyLong())).thenAnswer( in setUp()
94 mManager = new ProvisioningManager(mContext, mUiHandler, mFactory, mAnalyticsTracker, in setUp()
/packages/apps/Settings/src/com/android/settings/network/telephony/gsm/
DAutoSelectPreferenceController.java54 private final Handler mUiHandler; field in AutoSelectPreferenceController
68 mUiHandler = new Handler(Looper.getMainLooper()); in AutoSelectPreferenceController()
120 mUiHandler.postDelayed(() -> { in setChecked()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/gsm/
DAutoSelectPreferenceController.java54 private final Handler mUiHandler; field in AutoSelectPreferenceController
69 mUiHandler = new Handler(Looper.getMainLooper()); in AutoSelectPreferenceController()
121 mUiHandler.postDelayed(() -> { in setChecked()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java80 private final Handler mUiHandler; field in LauncherPreviewRenderer
89 mUiHandler = new Handler(Looper.getMainLooper()); in LauncherPreviewRenderer()
122 Utilities.postAsyncCallback(mUiHandler, () -> { in call() argument
175 return mUiHandler;
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java74 private final Handler mUiHandler; field in SearchViewManager
117 mUiHandler = handler; in SearchViewManager()
346 mUiHandler.removeCallbacks(mQueuedSearchRunnable); in cancelQueuedSearch()
483 mUiHandler.post(mQueuedSearchRunnable); in createSearchTask()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherStateManager.java110 private final Handler mUiHandler; field in LauncherStateManager
126 mUiHandler = new Handler(Looper.getMainLooper()); in LauncherStateManager()
276 mUiHandler.postDelayed(() -> { in goToState()
296 mUiHandler.post(new StartAnimRunnable(animation)); in goToStateAnimated()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DRecentsActivity.java57 private Handler mUiHandler = new Handler(Looper.getMainLooper()); field in RecentsActivity
122 RemoteAnimationRunnerCompat runner = new LauncherAnimationRunner(mUiHandler, in getActivityLaunchOptions()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelWriter.java62 private final Handler mUiHandler; field in ModelWriter
80 mUiHandler = new Handler(Looper.getMainLooper()); in ModelWriter()
476 mUiHandler.post(() -> { in verifyModel()