Home | History | Annotate | Download | only in camera

Lines Matching refs:mPrefGlobal

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;
156 return mPrefGlobal.getString(key, defValue);
165 return mPrefGlobal.getInt(key, defValue);
174 return mPrefGlobal.getLong(key, defValue);
183 return mPrefGlobal.getFloat(key, defValue);
192 return mPrefGlobal.getBoolean(key, defValue);
207 if (mPrefGlobal.contains(key)) return true;
216 mEditorGlobal = mPrefGlobal.edit();