Searched refs:mPrefs (Results 1 – 6 of 6) sorted by relevance
34 private final SharedPreferences mPrefs; field in PrefState39 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()
28 private PrefState mPrefs; field in NekoTile33 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()
60 private PrefState mPrefs; field in NekoLand76 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()
53 private int mPrefs; field in TextKeyListener296 mPrefs = (cap ? AUTO_CAP : 0) | in updatePrefs()309 return mPrefs; in getPrefs()
92 private final ZenPrefs mPrefs; field in ZenModePanel128 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()
92 private SharedPreferences mPrefs; field in StubProvider114 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()