Searched refs:mPrefs (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | PrefState.java | 38 private final SharedPreferences mPrefs; field in PrefState 43 mPrefs = mContext.getSharedPreferences(FILE_NAME, 0); in PrefState() 48 mPrefs.edit() in addCat() 54 mPrefs.edit().remove(CAT_KEY_PREFIX + String.valueOf(cat.getSeed())).apply(); in removeCat() 59 Map<String, ?> map = mPrefs.getAll(); in getCats() 72 return mPrefs.getInt(FOOD_STATE, 0); in getFoodState() 76 mPrefs.edit().putInt(FOOD_STATE, foodState).apply(); in setFoodState() 80 return mPrefs.getFloat(WATER_STATE, 0f); in getWaterState() 84 mPrefs.edit().putFloat(WATER_STATE, waterState).apply(); in setWaterState() 90 mPrefs.registerOnSharedPreferenceChangeListener(this); in setListener() [all …]
|
D | NekoTile.java | 31 private PrefState mPrefs; field in NekoTile 36 mPrefs = new PrefState(this); in onCreate() 42 mPrefs.setListener(this); in onStartListening() 49 mPrefs.setListener(null); in onStopListening() 71 int foodState = mPrefs.getFoodState(); in updateState() 84 if (mPrefs.getFoodState() != 0) { in onClick() 87 mPrefs.setFoodState(0); in onClick()
|
D | NekoLand.java | 72 private PrefState mPrefs; field in NekoLand 88 mPrefs = new PrefState(this); in onCreate() 89 mPrefs.setListener(this); in onCreate() 101 mPrefs.setListener(null); in onDestroy() 113 List<Cat> list = mPrefs.getCats(); in updateCats() 132 mPrefs.addCat(cat); in onCatClick() 144 mPrefs.removeCat(cat); in onCatRemove() 167 mPrefs.addCat(cat); in showNameDialog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/ |
D | WalletScreenController.java | 74 private final SharedPreferences mPrefs; field in WalletScreenController 107 mPrefs = userTracker.getUserContext().getSharedPreferences(TAG, Context.MODE_PRIVATE); in WalletScreenController() 297 mPrefs.edit().putInt(PREFS_WALLET_VIEW_HEIGHT, 0).apply(); in showEmptyStateView() 308 int expectedHeight = mPrefs.getInt(PREFS_WALLET_VIEW_HEIGHT, -1); in getExpectedMinHeight() 323 mPrefs.edit().putInt(PREFS_WALLET_VIEW_HEIGHT, bottom - top).apply(); in removeMinHeightAndRecordHeightOnLayout()
|
/frameworks/base/core/java/android/text/method/ |
D | TextKeyListener.java | 58 private int mPrefs; field in TextKeyListener 301 mPrefs = (cap ? AUTO_CAP : 0) | in updatePrefs() 314 return mPrefs; in getPrefs()
|
/frameworks/base/services/core/java/com/android/server/recoverysystem/ |
D | RecoverySystemService.java | 257 protected final PreferencesManager mPrefs; field in RecoverySystemService.Injector 261 mPrefs = new PreferencesManager(context); in Injector() 338 return mPrefs; in getMetricsPrefs()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 56460 Landroid/text/method/TextKeyListener;->mPrefs:I
|