Home
last modified time | relevance | path

Searched refs:settingsCache (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRecentsAnimationDeviceState.java201 SettingsCache settingsCache = SettingsCache.INSTANCE.get(mContext); in RecentsAnimationDeviceState() local
206 settingsCache.register(oneHandedUri, onChangeListener); in RecentsAnimationDeviceState()
207 mIsOneHandedModeEnabled = settingsCache.getValue(oneHandedUri); in RecentsAnimationDeviceState()
208 runOnDestroy(() -> settingsCache.unregister(oneHandedUri, onChangeListener)); in RecentsAnimationDeviceState()
217 settingsCache.register(swipeBottomNotificationUri, onChangeListener); in RecentsAnimationDeviceState()
218 mIsSwipeToNotificationEnabled = settingsCache.getValue(swipeBottomNotificationUri); in RecentsAnimationDeviceState()
219 runOnDestroy(() -> settingsCache.unregister(swipeBottomNotificationUri, onChangeListener)); in RecentsAnimationDeviceState()
222 mIsUserSetupComplete = settingsCache.getValue(setupCompleteUri, 0); in RecentsAnimationDeviceState()
225 settingsCache.register(setupCompleteUri, userSetupChangeListener); in RecentsAnimationDeviceState()
226 runOnDestroy(() -> settingsCache.unregister(setupCompleteUri, userSetupChangeListener)); in RecentsAnimationDeviceState()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppState.java127 SettingsCache settingsCache = SettingsCache.INSTANCE.get(mContext); in LauncherAppState() local
129 settingsCache.register(NOTIFICATION_BADGING_URI, notificationLister); in LauncherAppState()
130 onNotificationSettingsChanged(settingsCache.getValue(NOTIFICATION_BADGING_URI)); in LauncherAppState()
132 settingsCache.unregister(NOTIFICATION_BADGING_URI, notificationLister)); in LauncherAppState()