Home
last modified time | relevance | path

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

/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DPinnedAppListViewModel.java19 import static com.example.android.multidisplay.launcher.PinnedAppListViewModel.PINNED_APPS_KEY;
44 final static String PINNED_APPS_KEY = "pinned_apps"; field in PinnedAppListViewModel
70 final SharedPreferences prefs = context.getSharedPreferences(PINNED_APPS_KEY, 0); in PinnedAppListLiveData()
87 final SharedPreferences sp = mContext.getSharedPreferences(PINNED_APPS_KEY, 0); in loadData()
88 final Set<String> pinnedAppsComponents = sp.getStringSet(PINNED_APPS_KEY, null); in loadData()
DLauncherActivity.java19 import static com.example.android.multidisplay.launcher.PinnedAppListViewModel.PINNED_APPS_KEY;
255 final SharedPreferences sp = getSharedPreferences(PINNED_APPS_KEY, 0); in onAppPicked()
256 Set<String> pinnedApps = sp.getStringSet(PINNED_APPS_KEY, null); in onAppPicked()
266 editor.putStringSet(PINNED_APPS_KEY, pinnedApps); in onAppPicked()