/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | AppPredictionsUITests.java | 70 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/ |
D | LauncherAppState.java | 47 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()
|
D | BaseDraggingActivity.java | 166 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/ |
D | LegacyOneCameraManagerImpl.java | 41 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/ |
D | TouchInteractionService.java | 326 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/ |
D | Loggers.java | 61 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/ |
D | BuildTypeFactory.java | 28 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/ |
D | Clock.java | 20 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/ |
D | UiFactory.java | 75 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/ |
D | PredictionAppTracker.java | 77 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/ |
D | TelecomSystem.java | 109 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/ |
D | LogHelper.java | 20 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/ |
D | ManagedProfileUtils.java | 24 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/ |
D | StartupMeasureFactory.java | 30 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/ |
D | GlobalMeteringParameters.java | 32 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/ |
D | MenuItemControllerFactory.java | 29 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/ |
D | ContactAvatarOutputlineProvider.java | 30 private static final ContactAvatarOutputlineProvider INSTANCE = field in ContactAvatarOutputlineProvider 35 return INSTANCE; in get()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | MainThreadExecutor.java | 32 private static final MainThreadExecutor INSTANCE = new MainThreadExecutor(); field in MainThreadExecutor 35 return INSTANCE; in getInstance()
|
/packages/apps/Camera2/src/com/android/camera/device/ |
D | ActiveCameraDeviceTracker.java | 38 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/ |
D | FirstRunDetector.java | 33 private static final FirstRunDetector INSTANCE = new FirstRunDetector( field in FirstRunDetector.Singleton 38 return Singleton.INSTANCE; in instance()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcUnlockManager.java | 32 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/ |
D | StopWatch.java | 90 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/ |
D | PendingAppWidgetHostView.java | 83 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/ |
D | PopupDataProvider.java | 66 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/ |
D | ProcessingServiceManager.java | 40 private static final ProcessingServiceManager INSTANCE = new ProcessingServiceManager( field in ProcessingServiceManager.Singleton 45 return Singleton.INSTANCE; in instance()
|