Home
last modified time | relevance | path

Searched refs:getPreferences (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/TV/common/src/com/android/tv/common/dev/
DDeveloperPreference.java40 static final SharedPreferences getPreferences(Context context) { in getPreferences() method in DeveloperPreference
91 getPreferences(context).edit().remove(mKey).apply(); in clear()
107 getPreferences(context).edit().putBoolean(mKey, value).apply(); in storeValue()
112 return getPreferences(context).getBoolean(mKey, mDefaultValue); in getStoredValue()
124 getPreferences(context).edit().putInt(mKey, value).apply(); in storeValue()
129 return getPreferences(context).getInt(mKey, mDefaultValue); in getStoredValue()
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/dev/
DDeveloperPreferenceTest.java37 DeveloperPreference.getPreferences(RuntimeEnvironment.systemContext) in createBoolean_default_true()
49 DeveloperPreference.getPreferences(RuntimeEnvironment.systemContext) in create_integer_default_one()
/packages/apps/ThemePicker/src/com/android/customization/module/
DDefaultCustomizationInjector.java46 public synchronized WallpaperPreferences getPreferences(Context context) { in getPreferences() method in DefaultCustomizationInjector
56 return (CustomizationPreferences) getPreferences(context); in getCustomizationPreferences()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDailyLoggingAlarmReceiver.java56 WallpaperPreferences preferences = injector.getPreferences(appContext); in onReceive()
98 WallpaperPreferences preferences = injector.getPreferences(appContext); in logDailyWallpaperRotationStatus()
DDailyLoggingAlarmScheduler.java42 WallpaperPreferences preferences = injector.getPreferences(appContext); in setAlarm()
DInjector.java65 WallpaperPreferences getPreferences(Context context); in getPreferences() method
DRotationWallpaperUpdateReceiver.java92 WallpaperPreferences wallpaperPreferences = injector.getPreferences(appContext); in switchToStaticWallpaper()
DBaseWallpaperInjector.java63 public synchronized WallpaperPreferences getPreferences(Context context) { in getPreferences() method in BaseWallpaperInjector
DDefaultWallpaperRefresher.java60 mWallpaperPreferences = injector.getPreferences(mAppContext); in DefaultWallpaperRefresher()
DDefaultWallpaperPersister.java82 mWallpaperPreferences = injector.getPreferences(context); in DefaultWallpaperPersister()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPickerDelegate.java93 mPreferences = injector.getPreferences(activity); in WallpaperPickerDelegate()
374 public WallpaperPreferences getPreferences() { in getPreferences() method in WallpaperPickerDelegate
DWallpaperDisabledFragment.java83 … WallpaperPreferences preferences = InjectorProvider.getInjector().getPreferences(getActivity()); in onResume()
DTopLevelPickerActivity.java653 String currentlySetCollectionId = mDelegate.getPreferences().getHomeWallpaperCollectionId(); in populateCategoryTabs()
892 mDelegate.getPreferences().setPendingWallpaperSetStatus( in setCustomPhotoWallpaper()
918 mDelegate.getPreferences().setPendingWallpaperSetStatus( in setCustomPhotoWallpaper()
DPreviewFragment.java187 injector.getPreferences(appContext), mUserEventLogger, mTestingModeEnabled); in onCreate()
319 InjectorProvider.getInjector().getPreferences(getActivity()); in onResume()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/backup/
DMissingHashCodeGenerator.java58 WallpaperPreferences wallpaperPreferences = injector.getPreferences(context); in onReceive()
DMissingHashCodeGeneratorJobService.java86 WallpaperPreferences wallpaperPreferences = injector.getPreferences(context); in onStartJob()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment.java245 mWallpaperPreferences = injector.getPreferences(appContext); in onCreate()
444 .getPreferences(getActivity()); in onResume()
1032 … WallpaperPreferences prefs = InjectorProvider.getInjector().getPreferences(getContext());
DDesktopRotationHolder.java55 mWallpaperPreferences = InjectorProvider.getInjector().getPreferences(hostActivity); in DesktopRotationHolder()
DSetIndividualHolder.java63 String remoteWallpaperId = InjectorProvider.getInjector().getPreferences( in bindWallpaper()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestWallpaperRefresher.java46 WallpaperPreferences prefs = InjectorProvider.getInjector().getPreferences(mAppContext); in refresh()
DTestWallpaperRotationInitializer.java66 InjectorProvider.getInjector().getPreferences(appContext); in startRotation()
DTestWallpaperPersister.java60 mPrefs = InjectorProvider.getInjector().getPreferences(appContext); in TestWallpaperPersister()
DTestInjector.java98 public WallpaperPreferences getPreferences(Context context) { in getPreferences() method in TestInjector
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DCustomThemeActivity.java110 injector.getPreferences(this), mUserEventLogger, false), in onCreate()
/packages/apps/ThemePicker/src/com/android/customization/picker/
DCustomizationPickerActivity.java197 injector.getPreferences(this), mUserEventLogger, false); in initSections()

12