Home
last modified time | relevance | path

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

123456

/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()
130 assertFalse(PredictionUiStateManager.INSTANCE.get(mTargetContext) in testPredictionsDisabled()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppState.java47 private static final MainThreadInitializedObject<LauncherAppState> INSTANCE = field in LauncherAppState
58 return INSTANCE.get(context); in getInstance()
62 return INSTANCE.getNoCreate(); in getInstanceNoCreate()
78 mInvariantDeviceProfile = InvariantDeviceProfile.INSTANCE.get(mContext); in LauncherAppState()
153 CustomWidgetManager.INSTANCE.get(launcher) in setLauncher()
178 return InvariantDeviceProfile.INSTANCE.get(context); in getIDP()
DBaseDraggingActivity.java166 AppLaunchTracker.INSTANCE.get(this).onStartApp(intent.getComponent(), in startActivitySafely()
171 AppLaunchTracker.INSTANCE.get(this).onStartApp(intent.getComponent(), user, in startActivitySafely()
200 AppLaunchTracker.INSTANCE.get(this).onStartShortcut(packageName, id, info.user, in startShortcutIntentSafely()
/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/
DTouchInteractionService.java326 mDefaultDisplayId = DefaultDisplay.INSTANCE.get(this).getInfo().id; in onCreate()
340 onNavigationModeChanged(SysUINavigationMode.INSTANCE.get(this).addModeChangeListener(this)); in onCreate()
393 DefaultDisplay.Info displayInfo = DefaultDisplay.INSTANCE.get(this).getInfo(); in initTouchBounds()
439 DefaultDisplay.INSTANCE.get(this).addChangeListener(this); in onNavigationModeChanged()
441 DefaultDisplay.INSTANCE.get(this).removeChangeListener(this); in onNavigationModeChanged()
466 mRecentsModel = RecentsModel.INSTANCE.get(this); in initWhenUserUnlocked()
470 mOverviewInteractionState = OverviewInteractionState.INSTANCE.get(this); in initWhenUserUnlocked()
472 mTaskOverlayFactory = TaskOverlayFactory.INSTANCE.get(this); in initWhenUserUnlocked()
523 DefaultDisplay.INSTANCE.get(this).removeChangeListener(this); in onDestroy()
528 SysUINavigationMode.INSTANCE.get(this).removeModeChangeListener(this); in onDestroy()
[all …]
/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/quickstep/src/com/android/launcher3/uioverrides/
DUiFactory.java75 SysUINavigationMode mode = SysUINavigationMode.INSTANCE.get(launcher); in enableLiveUIChanges()
101 OverviewInteractionState.INSTANCE.get(launcher) in onLauncherStateOrFocusChanged()
117 boolean swipeUpEnabled = SysUINavigationMode.INSTANCE.get(launcher).getMode() in onCreate()
155 RecentsModel.INSTANCE.get(context).getThumbnailCache() in onEnterAnimationComplete()
160 RecentsModel model = RecentsModel.INSTANCE.get(context); in onTrimMemory()
/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()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomSystem.java109 private static TelecomSystem INSTANCE = null; field in TelecomSystem
176 return INSTANCE; in getInstance()
180 if (INSTANCE != null) { in setInstance()
184 INSTANCE = instance; in setInstance()
/packages/apps/Camera2/src_pd/com/android/camera/debug/
DLogHelper.java20 private static final LogHelper INSTANCE = new LogHelper(); field in LogHelper.Singleton
24 return Singleton.INSTANCE; in instance()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DManagedProfileUtils.java24 private static ManagedProfileUtils INSTANCE = new ManagedProfileUtils(); field in ManagedProfileUtils
37 return sTestInstance == null ? INSTANCE : sTestInstance; in getInstance()
/packages/apps/TV/src/com/android/tv/perf/
DStartupMeasureFactory.java30 private static final StartupMeasureFactory INSTANCE = new StartupMeasureFactory(); field in StartupMeasureFactory
36 return INSTANCE.get(); in create()
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
DGlobalMeteringParameters.java32 private static final GlobalMeteringParameters INSTANCE = new GlobalMeteringParameters(); field in GlobalMeteringParameters.Singleton
36 return Singleton.INSTANCE; in create()
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/
DMenuItemControllerFactory.java29 private static final MenuItemControllerFactory INSTANCE = new MenuItemControllerFactory(); field in MenuItemControllerFactory
32 return INSTANCE; in getInstance()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/
DContactAvatarOutputlineProvider.java30 private static final ContactAvatarOutputlineProvider INSTANCE = field in ContactAvatarOutputlineProvider
35 return INSTANCE; in get()
/packages/apps/TV/src/com/android/tv/util/
DMainThreadExecutor.java32 private static final MainThreadExecutor INSTANCE = new MainThreadExecutor(); field in MainThreadExecutor
35 return INSTANCE; in getInstance()
/packages/apps/Camera2/src/com/android/camera/device/
DActiveCameraDeviceTracker.java38 public static final ActiveCameraDeviceTracker INSTANCE = new ActiveCameraDeviceTracker(); field in ActiveCameraDeviceTracker.Singleton
42 return Singleton.INSTANCE; in instance()
/packages/apps/Camera2/src/com/android/camera/app/
DFirstRunDetector.java33 private static final FirstRunDetector INSTANCE = new FirstRunDetector( field in FirstRunDetector.Singleton
38 return Singleton.INSTANCE; in instance()
/packages/apps/Nfc/src/com/android/nfc/
DNfcUnlockManager.java32 return Singleton.INSTANCE; in getInstance()
91 private static final NfcUnlockManager INSTANCE = new NfcUnlockManager(); field in NfcUnlockManager.Singleton
/packages/apps/Contacts/src/com/android/contacts/util/
DStopWatch.java90 return NullStopWatch.INSTANCE; in getNullStopWatch()
94 public static final NullStopWatch INSTANCE = new NullStopWatch(); field in StopWatch.NullStopWatch
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAppWidgetHostView.java83 setOnClickListener(ItemClickHandler.INSTANCE); in PendingAppWidgetHostView()
136 DrawableFactory drawableFactory = DrawableFactory.INSTANCE.get(getContext()); in reapplyItemInfo()
147 mCenterDrawable = DrawableFactory.INSTANCE.get(getContext()) in reapplyItemInfo()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java66 private PopupDataChangeListener mChangeListener = PopupDataChangeListener.INSTANCE;
220 mChangeListener = listener == null ? PopupDataChangeListener.INSTANCE : listener; in setChangeListener()
267 PopupDataChangeListener INSTANCE = new PopupDataChangeListener() { };
/packages/apps/Camera2/src/com/android/camera/processing/
DProcessingServiceManager.java40 private static final ProcessingServiceManager INSTANCE = new ProcessingServiceManager( field in ProcessingServiceManager.Singleton
45 return Singleton.INSTANCE; in instance()

123456