Home
last modified time | relevance | path

Searched refs:mPrefs (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DPrefState.java34 private final SharedPreferences mPrefs; field in PrefState
39 mPrefs = mContext.getSharedPreferences(FILE_NAME, 0); in PrefState()
44 mPrefs.edit() in addCat()
50 mPrefs.edit() in removeCat()
57 Map<String, ?> map = mPrefs.getAll(); in getCats()
70 return mPrefs.getInt(FOOD_STATE, 0); in getFoodState()
74 mPrefs.edit().putInt(FOOD_STATE, foodState).commit(); in setFoodState()
80 mPrefs.registerOnSharedPreferenceChangeListener(this); in setListener()
82 mPrefs.unregisterOnSharedPreferenceChangeListener(this); in setListener()
DNekoTile.java28 private PrefState mPrefs; field in NekoTile
33 mPrefs = new PrefState(this); in onCreate()
39 mPrefs.setListener(this); in onStartListening()
46 mPrefs.setListener(null); in onStopListening()
56 int foodState = mPrefs.getFoodState(); in updateState()
66 if (mPrefs.getFoodState() != 0) { in onClick()
68 mPrefs.setFoodState(0); in onClick()
DNekoLand.java60 private PrefState mPrefs; field in NekoLand
76 mPrefs = new PrefState(this); in onCreate()
77 mPrefs.setListener(this); in onCreate()
88 mPrefs.setListener(null); in onDestroy()
99 cats = mPrefs.getCats().toArray(new Cat[0]); in updateCats()
106 mPrefs.addCat(cat); in onCatClick()
118 mPrefs.removeCat(cat); in onCatRemove()
138 mPrefs.addCat(cat); in showNameDialog()
/frameworks/base/core/java/android/text/method/
DTextKeyListener.java53 private int mPrefs; field in TextKeyListener
296 mPrefs = (cap ? AUTO_CAP : 0) | in updatePrefs()
309 return mPrefs; in getPrefs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java92 private final ZenPrefs mPrefs; field in ZenModePanel
128 mPrefs = new ZenPrefs(); in ZenModePanel()
146 pw.println(mPrefs.mConfirmedPriorityIntroduction); in dump()
148 pw.println(mPrefs.mConfirmedSilenceIntroduction); in dump()
274 mPrefs.trackNoneSelected(); in checkForAttachedZenChange()
428 final boolean introduction = (zenImportant && !mPrefs.mConfirmedPriorityIntroduction in updateWidgets()
429 || zenNone && !mPrefs.mConfirmedSilenceIntroduction); in updateWidgets()
595 final int favoriteIndex = mPrefs.getMinuteIndex(); in ensureSelection()
797 mPrefs.setMinuteIndex(-1); in select()
799 mPrefs.setMinuteIndex(mBucketIndex); in select()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DStubProvider.java92 private SharedPreferences mPrefs; field in StubProvider
114 mPrefs = getContext().getSharedPreferences( in clearCacheAndBuildRoots()
116 Collection<String> rootIds = mPrefs.getStringSet("roots", null); in clearCacheAndBuildRoots()
144 return mPrefs.getLong(key, DEFAULT_ROOT_SIZE); in getSize()
634 SharedPreferences.Editor editor = mPrefs.edit(); in setSize()