/packages/apps/ContactsCommon/src/com/android/contacts/commonbind/experiments/ |
D | Flags.java | 38 public boolean getBoolean(String flagName, boolean defValue) { in getBoolean() argument 39 return defValue; in getBoolean() 42 public byte[] getBytes(String flagName, byte[] defValue) { in getBytes() argument 43 return defValue; in getBytes() 46 public double getDouble(String flagName, double defValue) { in getDouble() argument 47 return defValue; in getDouble() 50 public int getInt(String flagName, int defValue) { in getInt() argument 51 return defValue; in getInt() 54 public long getLong(String flagName, long defValue) { in getLong() argument 55 return defValue; in getLong() [all …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | ComboPreferences.java | 84 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/Email/tests/src/com/android/email/ |
D | MockSharedPreferences.java | 50 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument 54 return defValue; in getBoolean() 57 public float getFloat(String key, float defValue) { in getFloat() argument 61 return defValue; in getFloat() 64 public int getInt(String key, int defValue) { in getInt() argument 68 return defValue; in getInt() 71 public long getLong(String key, long defValue) { in getLong() argument 75 return defValue; in getLong() 78 public String getString(String key, String defValue) { in getString() argument 81 return defValue; in getString()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | MockSharedPreferences.java | 48 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/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
D | MockSharedPreferences.java | 48 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/ |
D | FakeSharedPreferences.java | 48 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/apps/Settings/src/com/android/settings/ |
D | SharedPreferencesLogger.java | 48 public String getString(String key, @Nullable String defValue) { in getString() argument 49 return defValue; in getString() 58 public int getInt(String key, int defValue) { in getInt() argument 59 return defValue; in getInt() 63 public long getLong(String key, long defValue) { in getLong() argument 64 return defValue; in getLong() 68 public float getFloat(String key, float defValue) { in getFloat() argument 69 return defValue; in getFloat() 73 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument 74 return defValue; in getBoolean()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ResourceUtils.java | 242 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/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | Keyboard.java | 851 static int getDimensionOrFraction(TypedArray a, int index, int base, int defValue) { in getDimensionOrFraction() argument 853 if (value == null) return defValue; in getDimensionOrFraction() 855 return a.getDimensionPixelOffset(index, defValue); in getDimensionOrFraction() 857 return Math.round(a.getFraction(index, base, base, defValue)); in getDimensionOrFraction() 859 return defValue; in getDimensionOrFraction()
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | AlertServiceTest.java | 81 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument 107 public String getString(String key, String defValue) { in getString() argument 133 public int getInt(String key, int defValue) { in getInt() argument 138 public long getLong(String key, long defValue) { in getLong() argument 143 public float getFloat(String key, float defValue) { in getFloat() argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | Settings.java | 438 final SharedPreferences prefs, final int defValue) { in readLastShownEmojiCategoryId() argument 439 return prefs.getInt(PREF_LAST_SHOWN_EMOJI_CATEGORY_ID, defValue); in readLastShownEmojiCategoryId()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | Utils.java | 607 public static int obtainStyledColor(Context context, int attr, int defValue) { in obtainStyledColor() argument 611 return a.getColor(0, defValue); in obtainStyledColor()
|