Home
last modified time | relevance | path

Searched refs:defValue (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/common/
DPerAccountSharedPreferences.java99 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument
100 return getValue(key, defValue); in getBoolean()
103 public float getFloat(String key, float defValue) { in getFloat() argument
104 return getValue(key, defValue); in getFloat()
107 public int getInt(String key, int defValue) { in getInt() argument
108 return getValue(key, defValue); in getInt()
111 public long getLong(String key, long defValue) { in getLong() argument
112 return getValue(key, defValue); in getLong()
115 public String getString(String key, String defValue) { in getString() argument
116 return getValue(key, defValue); in getString()
[all …]
/packages/services/Telephony/src/com/android/phone/vvm/
DVisualVoicemailPreferences.java96 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument
97 return getValue(key, defValue); in getBoolean()
101 public float getFloat(String key, float defValue) { in getFloat() argument
102 return getValue(key, defValue); in getFloat()
105 public int getInt(String key, int defValue) { in getInt() argument
106 return getValue(key, defValue); in getInt()
110 public long getLong(String key, long defValue) { in getLong() argument
111 return getValue(key, defValue); in getLong()
114 public String getString(String key, String defValue) { in getString() argument
115 return getValue(key, defValue); in getString()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/
DComboPreferences.java84 public String getString(String key, String defValue) { in getString() argument
86 return mPrefGlobal.getString(key, defValue); in getString()
88 return mPrefLocal.getString(key, defValue); in getString()
92 public int getInt(String key, int defValue) { in getInt() argument
94 return mPrefGlobal.getInt(key, defValue); in getInt()
96 return mPrefLocal.getInt(key, defValue); in getInt()
100 public long getLong(String key, long defValue) { in getLong() argument
102 return mPrefGlobal.getLong(key, defValue); in getLong()
104 return mPrefLocal.getLong(key, defValue); in getLong()
108 public float getFloat(String key, float defValue) { in getFloat() argument
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockSharedPreferences.java48 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument
52 return defValue; in getBoolean()
55 public float getFloat(String key, float defValue) { in getFloat() argument
59 return defValue; in getFloat()
62 public int getInt(String key, int defValue) { in getInt() argument
66 return defValue; in getInt()
69 public long getLong(String key, long defValue) { in getLong() argument
73 return defValue; in getLong()
76 public String getString(String key, String defValue) { in getString() argument
79 return defValue; in getString()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DMockSharedPreferences.java48 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument
52 return defValue; in getBoolean()
55 public float getFloat(String key, float defValue) { in getFloat() argument
59 return defValue; in getFloat()
62 public int getInt(String key, int defValue) { in getInt() argument
66 return defValue; in getInt()
69 public long getLong(String key, long defValue) { in getLong() argument
73 return defValue; in getLong()
76 public String getString(String key, String defValue) { in getString() argument
79 return defValue; in getString()
/packages/apps/Calendar/tests/src/com/android/calendar/
DFakeSharedPreferences.java48 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument
52 return defValue; in getBoolean()
56 public float getFloat(String key, float defValue) { in getFloat() argument
60 return defValue; in getFloat()
64 public int getInt(String key, int defValue) { in getInt() argument
68 return defValue; in getInt()
72 public long getLong(String key, long defValue) { in getLong() argument
76 return defValue; in getLong()
80 public String getString(String key, String defValue) { in getString() argument
83 return defValue; in getString()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DResourceUtils.java242 public static float getFraction(final TypedArray a, final int index, final float defValue) { in getFraction() argument
245 return defValue; in getFraction()
247 return a.getFraction(index, 1, 1, defValue); in getFraction()
263 final float defValue) { in getDimensionOrFraction() argument
266 return defValue; in getDimensionOrFraction()
269 return a.getFraction(index, base, base, defValue); in getDimensionOrFraction()
271 return a.getDimension(index, defValue); in getDimensionOrFraction()
273 return defValue; in getDimensionOrFraction()
276 public static int getEnumValue(final TypedArray a, final int index, final int defValue) { in getEnumValue() argument
279 return defValue; in getEnumValue()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/plugins/
DPluginEnablerImpl.java66 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument
67 return mSharedPrefs.getBoolean(key, defValue); in getBoolean()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DDisclaimerItem.java120 private boolean getBooleanSharedPrefs(String key, boolean defValue) { in getBooleanSharedPrefs() argument
123 return prefs.getBoolean(key + mSubId, defValue); in getBooleanSharedPrefs()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DDisclaimerItem.java120 private boolean getBooleanSharedPrefs(String key, boolean defValue) { in getBooleanSharedPrefs() argument
123 return prefs.getBoolean(key + mSubId, defValue); in getBooleanSharedPrefs()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DThemes.java122 public static float getFloat(Context context, int attr, float defValue) { in getFloat() argument
124 float value = ta.getFloat(0, defValue); in getFloat()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettings.java438 final SharedPreferences prefs, final int defValue) { in readLastShownEmojiCategoryId() argument
439 return prefs.getInt(PREF_LAST_SHOWN_EMOJI_CATEGORY_ID, defValue); in readLastShownEmojiCategoryId()
/packages/services/Car/tests/BugReportApp/libs/
Djackson-core-2.9.9.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/LICENSE META-INF ...