Searched refs:settingsCache (Results 1 – 2 of 2) sorted by relevance
201 SettingsCache settingsCache = SettingsCache.INSTANCE.get(mContext); in RecentsAnimationDeviceState() local206 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()
127 SettingsCache settingsCache = SettingsCache.INSTANCE.get(mContext); in LauncherAppState() local129 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()