Home
last modified time | relevance | path

Searched refs:INSTANCE (Results 1 – 25 of 133) 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/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/src/com/android/launcher3/
DLauncherAppState.java48 private static final MainThreadInitializedObject<LauncherAppState> INSTANCE = field in LauncherAppState
59 return INSTANCE.get(context); in getInstance()
63 return INSTANCE.getNoCreate(); in getInstanceNoCreate()
79 mInvariantDeviceProfile = InvariantDeviceProfile.INSTANCE.get(mContext); in LauncherAppState()
176 return InvariantDeviceProfile.INSTANCE.get(context); in getIDP()
DBaseDraggingActivity.java170 AppLaunchTracker.INSTANCE.get(this).onStartApp(intent.getComponent(), in startActivitySafely()
175 AppLaunchTracker.INSTANCE.get(this).onStartApp(intent.getComponent(), user, in startActivitySafely()
204 AppLaunchTracker.INSTANCE.get(this).onStartShortcut(packageName, id, info.user, in startShortcutIntentSafely()
/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/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.java71 SysUINavigationMode mode = SysUINavigationMode.INSTANCE.get(launcher); in enableLiveUIChanges()
97 OverviewInteractionState.INSTANCE.get(launcher) in onLauncherStateOrFocusChanged()
113 boolean swipeUpEnabled = SysUINavigationMode.INSTANCE.get(launcher).getMode() in onCreate()
151 RecentsModel.INSTANCE.get(context).getThumbnailCache() in onEnterAnimationComplete()
156 RecentsModel model = RecentsModel.INSTANCE.get(context); in onTrimMemory()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomSystem.java104 private static TelecomSystem INSTANCE = null; field in TelecomSystem
171 return INSTANCE; in getInstance()
175 if (INSTANCE != null) { in setInstance()
179 INSTANCE = instance; in setInstance()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionAppTracker.java69 InvariantDeviceProfile.INSTANCE.get(mContext).addOnChangeListener(this::onIdpChanged); in PredictionAppTracker()
105 PredictionUiStateManager.INSTANCE.get(mContext).appPredictorCallback(client)); in createPredictor()
127 int count = InvariantDeviceProfile.INSTANCE.get(mContext).numColumns; in handleMessage()
/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/apps/TV/src/com/android/tv/perf/
DPerformanceMonitorManagerFactory.java22 private static final PerformanceMonitorManagerFactory INSTANCE = field in PerformanceMonitorManagerFactory
29 return INSTANCE.get(); in create()
/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/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/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java61 private PopupDataChangeListener mChangeListener = PopupDataChangeListener.INSTANCE;
205 mChangeListener = listener == null ? PopupDataChangeListener.INSTANCE : listener; in setChangeListener()
231 PopupDataChangeListener INSTANCE = new PopupDataChangeListener() { }; field
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileSystemUtils.java52 private static final FileSystemUtils INSTANCE = new FileSystemUtils(); field in FileSystemUtils
138 return INSTANCE.freeSpaceOS(path, OS, false); in freeSpace()
167 return INSTANCE.freeSpaceOS(path, OS, true); in freeSpaceKb()
DFileUtils.java305 FileFilterUtils.notFileFilter(DirectoryFileFilter.INSTANCE)); in listFiles()
310 effDirFilter = FalseFileFilter.INSTANCE; in listFiles()
313 DirectoryFileFilter.INSTANCE); in listFiles()
376 filter = TrueFileFilter.INSTANCE; in listFiles()
382 (recursive ? TrueFileFilter.INSTANCE : FalseFileFilter.INSTANCE)); in listFiles()
/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/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTouchInteractionService.java314 onNavigationModeChanged(SysUINavigationMode.INSTANCE.get(this).addModeChangeListener(this)); in onCreate()
433 mRecentsModel = RecentsModel.INSTANCE.get(this); in initWhenUserUnlocked()
437 mOverviewInteractionState = OverviewInteractionState.INSTANCE.get(this); in initWhenUserUnlocked()
439 mTaskOverlayFactory = TaskOverlayFactory.INSTANCE.get(this); in initWhenUserUnlocked()
492 SysUINavigationMode.INSTANCE.get(this).removeModeChangeListener(this); in onDestroy()
/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/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/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

123456