Home
last modified time | relevance | path

Searched refs:INSTANCE (Results 1 – 25 of 236) sorted by relevance

12345678910

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTouchInteractionService.java153 SystemUiProxy.INSTANCE.get(TouchInteractionService.this).setProxy(proxy);
238 MAIN_EXECUTOR.execute(() -> SplitScreenBounds.INSTANCE.setSecondaryWindowBounds(wb));
301 ProtoTracer.INSTANCE.get(this).add(this); in onCreate()
319 if (mDeviceState.isButtonNavMode() || !SystemUiProxy.INSTANCE.get(this).isActive()) { in initInputMonitor()
323 Bundle bundle = SystemUiProxy.INSTANCE.get(this).monitorGestureInput("swipe-up", in initInputMonitor()
358 PluginManagerWrapper.INSTANCE.get(getBaseContext()).addPluginListener(this, in onUserUnlocked()
403 SystemUiProxy.INSTANCE.get(this).setLastSystemUiStateFlags( in onSystemUiFlagsChanged()
409 ProtoTracer.INSTANCE.get(TouchInteractionService.this).start(); in onSystemUiFlagsChanged()
411 ProtoTracer.INSTANCE.get(TouchInteractionService.this).stop(); in onSystemUiFlagsChanged()
430 PluginManagerWrapper.INSTANCE.get(getBaseContext()).removePluginListener(this); in onDestroy()
[all …]
DBaseSwipeUpHandlerV2.java365 Object traceToken = TraceHelper.INSTANCE.beginSection("WTS-init"); in onLauncherStart()
377 TraceHelper.INSTANCE.endSection(traceToken); in onLauncherStart()
436 Object traceToken = TraceHelper.INSTANCE.beginSection("logToggleRecents", in initializeLauncherAnimationController()
443 TraceHelper.INSTANCE.endSection(traceToken); in initializeLauncherAnimationController()
447 RecentsModel.INSTANCE.get(mContext).getThumbnailCache() in initializeLauncherAnimationController()
560 LiveTileOverlay.INSTANCE.update( in updateFinalShift()
615 ActiveGestureLog.INSTANCE.addLog("startRecentsAnimationCallback", targets.apps.length); in onRecentsAnimationStart()
628 ActiveGestureLog.INSTANCE.addLog("cancelRecentsAnimation"); in onRecentsAnimationCanceled()
716 SystemUiProxy.INSTANCE.get(mContext).notifySwipeToHomeFinished();
729 ActiveGestureLog.INSTANCE.addLog("onSettledOnEndTarget " + mGestureState.getEndTarget());
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppState.java53 public static final MainThreadInitializedObject<LauncherAppState> INSTANCE = field in LauncherAppState
70 return INSTANCE.get(context); in getInstance()
74 return INSTANCE.getNoCreate(); in getInstanceNoCreate()
100 CustomWidgetManager.INSTANCE.get(mContext) in LauncherAppState()
103 mUserChangeListener = UserCache.INSTANCE.get(mContext) in LauncherAppState()
109 mInstallSessionTracker = InstallSessionHelper.INSTANCE.get(context) in LauncherAppState()
128 mInvariantDeviceProfile = InvariantDeviceProfile.INSTANCE.get(context); in LauncherAppState()
173 CustomWidgetManager.INSTANCE.get(mContext).setWidgetRefreshCallback(null); in onTerminate()
204 return InvariantDeviceProfile.INSTANCE.get(context); in getIDP()
DBaseDraggingActivity.java87 DefaultDisplay.INSTANCE.get(this).addChangeListener(this); in onCreate()
90 WallpaperColorInfo.INSTANCE.get(this).addOnChangeListener(this); in onCreate()
183 AppLaunchTracker.INSTANCE.get(this).onStartApp(intent.getComponent(), in startActivitySafely()
188 AppLaunchTracker.INSTANCE.get(this).onStartApp(intent.getComponent(), user, in startActivitySafely()
224 AppLaunchTracker.INSTANCE.get(this).onStartShortcut(packageName, id, info.user, in startShortcutIntentSafely()
257 WallpaperColorInfo.INSTANCE.get(this).removeOnChangeListener(this); in onDestroy()
258 DefaultDisplay.INSTANCE.get(this).removeChangeListener(this); in onDestroy()
283 return ItemClickHandler.INSTANCE; in getItemOnClickListener()
DLauncher.java348 Object traceToken = TraceHelper.INSTANCE.beginSection(ON_CREATE_EVT, in onCreate()
440 PluginManagerWrapper.INSTANCE.get(this).addPluginListener(this, in onCreate()
462 TraceHelper.INSTANCE.endSection(traceToken); in onCreate()
464 mUserChangedCallbackCloseable = UserCache.INSTANCE.get(this).addUserChangeListener( in onCreate()
894 Object traceToken = TraceHelper.INSTANCE.beginSection(ON_START_EVT, in onStart()
902 TraceHelper.INSTANCE.endSection(traceToken); in onStart()
911 AppLaunchTracker.INSTANCE.get(this).onReturnedToHome(); in onDeferredResumed()
1042 Object traceToken = TraceHelper.INSTANCE.beginSection(ON_RESUME_EVT, in onResume()
1061 TraceHelper.INSTANCE.endSection(traceToken); in onResume()
1178 favorite.setOnClickListener(ItemClickHandler.INSTANCE); in createShortcut()
[all …]
/packages/apps/TV/libs/m2/
Dauto-common-0.10.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
Ddagger-android-processor-2.23.jarjava/dagger/android/processor/META-INF/gradle/incremental.annotation.processors ...
Ddagger-spi-2.23.jardagger/spi/package-info.class package-info.java package dagger.spi abstract ...
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DAppPredictionsUITests.java70 AppLaunchTracker.INSTANCE.initializeForTesting(new AppLaunchTracker()); in setUp()
71 PredictionUiStateManager.INSTANCE.initializeForTesting(null); in setUp()
73 mCallback = PredictionUiStateManager.INSTANCE.get(mTargetContext).appPredictorCallback( in setUp()
81 AppLaunchTracker.INSTANCE.initializeForTesting(null); in tearDown()
82 PredictionUiStateManager.INSTANCE.initializeForTesting(null); in tearDown()
129 assertFalse(PredictionUiStateManager.INSTANCE.get(mTargetContext) in testPredictionsDisabled()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DBaseQuickstepLauncher.java73 (context, arg1, arg2) -> SystemUiProxy.INSTANCE.get(context).setBackButtonAlpha(
85 SysUINavigationMode.INSTANCE.get(this).addModeChangeListener(this); in onCreate()
91 SysUINavigationMode.INSTANCE.get(this).removeModeChangeListener(this); in onDestroy()
109 RecentsModel.INSTANCE.get(this).getThumbnailCache() in onEnterAnimationComplete()
116 RecentsModel.INSTANCE.get(this).onTrimMemory(level); in onTrimMemory()
173 SysUINavigationMode.INSTANCE.get(this).updateMode(); in setupViews()
298 WellbeingModel.INSTANCE.get(this); in finishBindingItems()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DAllAppPermissionsFragment.java181 Drawable icon = KotlinUtils.INSTANCE.getBadgedPackageIcon(getActivity().getApplication(), in updateUi()
183 CharSequence label = KotlinUtils.INSTANCE.getPackageLabel(getActivity().getApplication(), in updateUi()
210 KotlinUtils.INSTANCE.sortPreferenceGroup(getPreferenceScreen(), this::comparePreferences, in updateUi()
240 pref.setTitle(KotlinUtils.INSTANCE.getPermGroupLabel(getContext(), groupName)); in findOrCreatePrefGroup()
262 pref.setIcon(KotlinUtils.INSTANCE.getPermInfoIcon(context, permName)); in getPreference()
263 pref.setTitle(KotlinUtils.INSTANCE.getPermInfoLabel(context, permName)); in getPreference()
265 final CharSequence desc = KotlinUtils.INSTANCE.getPermInfoDescription(context, in getPreference()
DPermissionAppsFragment.java195 Drawable icon = KotlinUtils.INSTANCE.getPermGroupIcon(context, groupName); in bindUi()
197 CharSequence label = KotlinUtils.INSTANCE.getPermGroupLabel(context, groupName); in bindUi()
198 CharSequence description = KotlinUtils.INSTANCE.getPermGroupDescription(context, groupName); in bindUi()
299 pref.setTitle(KotlinUtils.INSTANCE.getPackageLabel(getActivity().getApplication(), in onPackagesLoaded()
337 KotlinUtils.INSTANCE.sortPreferenceGroup(full, this::comparePreference, false); in onPackagesLoaded()
338 KotlinUtils.INSTANCE.sortPreferenceGroup(scoped, this::comparePreference, false); in onPackagesLoaded()
340 KotlinUtils.INSTANCE.sortPreferenceGroup(category, this::comparePreference, false); in onPackagesLoaded()
371 Integer uid = KotlinUtils.INSTANCE.getPackageUid(getActivity().getApplication(), in logPermissionAppsFragmentCreated()
/packages/apps/Camera2/src/com/android/camera/one/v1/
DLegacyOneCameraManagerImpl.java41 private static Optional<LegacyOneCameraManagerImpl> INSTANCE; field in LegacyOneCameraManagerImpl
51 if (INSTANCE != null) { in instance()
52 return INSTANCE; in instance()
87 INSTANCE = Optional.of(cameraManager); in instance()
88 return INSTANCE; in instance()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DAssistantInputConsumer.java204 SystemUiProxy.INSTANCE.get(mContext).onAssistantProgress(progress); in onMotionEvent()
225 SystemUiProxy.INSTANCE.get(mContext).onAssistantGestureCompletion(0); in updateAssistantProgress()
231 SystemUiProxy.INSTANCE.get(mContext).startAssistant(args); in updateAssistantProgress()
234 SystemUiProxy.INSTANCE.get(mContext).onAssistantProgress(mLastProgress); in updateAssistantProgress()
273 SystemUiProxy.INSTANCE.get(mContext).onAssistantGestureCompletion( in onFling()
279 SystemUiProxy.INSTANCE.get(mContext).startAssistant(args); in onFling()
DOtherActivityInputConsumer.java214 Object traceToken = TraceHelper.INSTANCE.beginSection(DOWN_EVT, in onMotionEvent()
226 TraceHelper.INSTANCE.endSection(traceToken); in onMotionEvent()
344 ActiveGestureLog.INSTANCE.addLog("startQuickstep");
360 ActiveGestureLog.INSTANCE.addLog("startRecentsAnimation");
386 Object traceToken = TraceHelper.INSTANCE.beginSection(UP_EVT,
422 TraceHelper.INSTANCE.endSection(traceToken);
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java127 Arrays.asList(UserCache.INSTANCE, InstallSessionHelper.INSTANCE,
128 LauncherAppState.INSTANCE, InvariantDeviceProfile.INSTANCE,
129 CustomWidgetManager.INSTANCE, PluginManagerWrapper.INSTANCE));
148 CustomWidgetManager.INSTANCE); in onDestroy()
163 if (mainThreadInitializedObject == LauncherAppState.INSTANCE) { in getObject()
168 if (mainThreadInitializedObject == InvariantDeviceProfile.INSTANCE) { in getObject()
/packages/apps/Camera2/src/com/android/camera/debug/
DLoggers.java61 private static final NoOpLoggerFactory INSTANCE = new NoOpLoggerFactory();
65 return Singleton.INSTANCE;
86 private static final TagLoggerFactory INSTANCE = new TagLoggerFactory();
90 return Singleton.INSTANCE;
/packages/apps/TV/common/src/com/android/tv/common/buildtype/
DBuildTypeFactory.java28 private static final HasBuildType INSTANCE = new AospBuildTypeProvider(); field in BuildTypeFactory
34 return INSTANCE; in create()
39 return INSTANCE; in get()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DClock.java20 private static final Clock INSTANCE = new Clock(); field in Clock
22 private static Clock sInstance = INSTANCE;
35 sInstance = INSTANCE; in resetInstance()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetManagerHelper.java68 return CustomWidgetManager.INSTANCE.get(mContext).getWidgetProvider(appWidgetId); in getLauncherAppWidgetInfo()
100 ? CustomWidgetManager.INSTANCE.get(mContext).stream() in getAllProviders()
153 UserCache.INSTANCE.get(context) in allWidgetsSteam()
157 CustomWidgetManager.INSTANCE.get(context).stream()); in allWidgetsSteam()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DTraceHelper.java47 public static TraceHelper INSTANCE = new TraceHelper(); field in TraceHelper
82 Object traceToken = INSTANCE.beginSection(rpcName, FLAG_IGNORE_BINDERS); in whitelistIpcs()
86 INSTANCE.endSection(traceToken); in whitelistIpcs()
DDynamicResource.java39 private static final MainThreadInitializedObject<DynamicResource> INSTANCE = field in DynamicResource
47 PluginManagerWrapper.INSTANCE.get(context).addPluginListener(this, in DynamicResource()
90 DynamicResource dr = DynamicResource.INSTANCE.get(context); in provider()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridBackupTable.java99 doBackup(UserCache.INSTANCE.get(mContext).getSerialNumberForUser( in backupOrRestoreAsNeeded()
118 long userSerial = UserCache.INSTANCE.get(mContext).getSerialNumberForUser( in restoreIfBackupExists()
134 long profileId = UserCache.INSTANCE.get(mContext).getSerialNumberForUser( in createCustomBackupTable()
149 long userSerial = UserCache.INSTANCE.get(mContext).getSerialNumberForUser( in restoreFromCustomBackupTable()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DLauncherRecentsView.java96 super(context, attrs, defStyleAttr, LauncherActivityInterface.INSTANCE); in LauncherRecentsView()
186 AppLaunchTracker.INSTANCE.get(getContext()).onStartApp(task.getTopComponent(), user, in onTaskLaunched()
242 PredictionUiStateManager.INSTANCE.get(getContext()).switchClient(Client.HOME); in reset()
287 PluginManagerWrapper.INSTANCE.get(getContext()).addPluginListener( in onAttachedToWindow()
294 PluginManagerWrapper.INSTANCE.get(getContext()).removePluginListener( in onDetachedFromWindow()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionAppTracker.java77 InvariantDeviceProfile.INSTANCE.get(mContext).addOnChangeListener(this::onIdpChanged); in PredictionAppTracker()
82 PluginManagerWrapper.INSTANCE.get(context) in PredictionAppTracker()
121 PredictionUiStateManager.INSTANCE.get(mContext).appPredictorCallback(client)); in createPredictor()
143 int count = InvariantDeviceProfile.INSTANCE.get(mContext).numAllAppsColumns; in handleMessage()

12345678910