HomeSort by relevance Sort by last modified time
    Searched refs:mPrefGlobal (Results 1 - 2 of 2) sorted by null

  /packages/apps/Camera/src/com/android/camera/
ComboPreferences.java 33 private SharedPreferences mPrefGlobal; // global preferences
41 mPrefGlobal = context.getSharedPreferences(
43 mPrefGlobal.registerOnSharedPreferenceChangeListener(this);
56 if (!mPrefGlobal.contains(CameraSettings.KEY_VERSION)
82 mPrefGlobal.edit().putString(key, (String) v).apply();
84 mPrefGlobal.edit().putInt(key, (Integer) v).apply();
86 mPrefGlobal.edit().putLong(key, (Long) v).apply();
88 mPrefGlobal.edit().putFloat(key, (Float) v).apply();
90 mPrefGlobal.edit().putBoolean(key, (Boolean) v).apply();
130 return mPrefGlobal;
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/
ComboPreferences.java 30 private SharedPreferences mPrefGlobal; // global preferences
37 mPrefGlobal = PreferenceManager.getDefaultSharedPreferences(context);
38 mPrefGlobal.registerOnSharedPreferenceChangeListener(this);
64 return mPrefGlobal;
86 return mPrefGlobal.getString(key, defValue);
94 return mPrefGlobal.getInt(key, defValue);
102 return mPrefGlobal.getLong(key, defValue);
110 return mPrefGlobal.getFloat(key, defValue);
118 return mPrefGlobal.getBoolean(key, defValue);
131 if (mPrefGlobal.contains(key)) return true
    [all...]

Completed in 528 milliseconds