/frameworks/base/core/java/com/android/internal/util/ |
D | ParseUtils.java | 31 public static int parseInt(@Nullable String value, int defValue) { in parseInt() 36 public static int parseIntWithBase(@Nullable String value, int base, int defValue) { in parseIntWithBase() 48 public static long parseLong(@Nullable String value, long defValue) { in parseLong() 53 public static long parseLongWithBase(@Nullable String value, int base, long defValue) { in parseLongWithBase() 65 public static float parseFloat(@Nullable String value, float defValue) { in parseFloat() 77 public static double parseDouble(@Nullable String value, double defValue) { in parseDouble() 89 public static boolean parseBoolean(@Nullable String value, boolean defValue) { in parseBoolean()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeSharedPreferences.java | 37 public String getString(String key, String defValue) { in getString() 47 public int getInt(String key, int defValue) { in getInt() 52 public long getLong(String key, long defValue) { in getLong() 57 public float getFloat(String key, float defValue) { in getFloat() 62 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
D | TintTypedArray.java | 150 public boolean getBoolean(int index, boolean defValue) { in getBoolean() 154 public int getInt(int index, int defValue) { in getInt() 158 public float getFloat(int index, float defValue) { in getFloat() 162 public int getColor(int index, int defValue) { in getColor() 180 public int getInteger(int index, int defValue) { in getInteger() 184 public float getDimension(int index, float defValue) { in getDimension() 188 public int getDimensionPixelOffset(int index, int defValue) { in getDimensionPixelOffset() 192 public int getDimensionPixelSize(int index, int defValue) { in getDimensionPixelSize() 200 public int getLayoutDimension(int index, int defValue) { in getLayoutDimension() 204 public float getFraction(int index, int base, int pbase, float defValue) { in getFraction() [all …]
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceDataStore.java | 131 default String getString(String key, @Nullable String defValue) { in getString() 154 default int getInt(String key, int defValue) { in getInt() 165 default long getLong(String key, long defValue) { in getLong() 176 default float getFloat(String key, float defValue) { in getFloat() 187 default boolean getBoolean(String key, boolean defValue) { in getBoolean()
|
/frameworks/support/preference/src/main/java/androidx/preference/ |
D | PreferenceDataStore.java | 132 public String getString(String key, @Nullable String defValue) { in getString() 157 public int getInt(String key, int defValue) { in getInt() 169 public long getLong(String key, long defValue) { in getLong() 181 public float getFloat(String key, float defValue) { in getFloat() 193 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 226 public boolean getBoolean(int index, boolean defValue) { in getBoolean() 241 public int getInt(int index, int defValue) { in getInt() 262 public float getFloat(int index, float defValue) { in getFloat() 290 public int getColor(int index, int defValue) { in getColor() 336 public int getInteger(int index, int defValue) { in getInteger() 357 public float getDimension(int index, float defValue) { in getDimension() 397 public int getDimensionPixelOffset(int index, int defValue) { in getDimensionPixelOffset() 420 public int getDimensionPixelSize(int index, int defValue) { in getDimensionPixelSize() 468 public int getLayoutDimension(int index, int defValue) { in getLayoutDimension() 518 public float getFraction(int index, int base, int pbase, float defValue) { in getFraction() [all …]
|
/frameworks/base/core/java/android/content/ |
D | SharedPreferences.java | 264 String getString(String key, @Nullable String defValue); in getString() 297 int getInt(String key, int defValue); in getInt() 311 long getLong(String key, long defValue); in getLong() 325 float getFloat(String key, float defValue); in getFloat() 339 boolean getBoolean(String key, boolean defValue); in getBoolean()
|
/frameworks/base/core/java/android/content/res/ |
D | TypedArray.java | 326 public boolean getBoolean(@StyleableRes int index, boolean defValue) { in getBoolean() 365 public int getInt(@StyleableRes int index, int defValue) { in getInt() 402 public float getFloat(@StyleableRes int index, float defValue) { in getFloat() 451 public int getColor(@StyleableRes int index, @ColorInt int defValue) { in getColor() 569 public int getInteger(@StyleableRes int index, int defValue) { in getInteger() 617 public float getDimension(@StyleableRes int index, float defValue) { in getDimension() 665 public int getDimensionPixelOffset(@StyleableRes int index, int defValue) { in getDimensionPixelOffset() 714 public int getDimensionPixelSize(@StyleableRes int index, int defValue) { in getDimensionPixelSize() 797 public int getLayoutDimension(@StyleableRes int index, int defValue) { in getLayoutDimension() 833 public float getFraction(@StyleableRes int index, int base, int pbase, float defValue) { in getFraction() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
D | SharedPreferencesLogger.java | 57 public String getString(String key, @Nullable String defValue) { in getString() 67 public int getInt(String key, int defValue) { in getInt() 72 public long getLong(String key, long defValue) { in getLong() 77 public float getFloat(String key, float defValue) { in getFloat() 82 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
|
/frameworks/base/tools/aapt/ |
D | AaptXml.cpp | 49 int32_t defValue, String8* outError) { in getIntegerAttributeAtIndex() 140 const char* attr, int32_t defValue, String8* outError) { in getIntegerAttribute() 148 int32_t getIntegerAttribute(const ResXMLTree& tree, uint32_t attrRes, int32_t defValue, in getIntegerAttribute() 158 uint32_t attrRes, int32_t defValue, String8* outError) { in getResolvedIntegerAttribute()
|
/frameworks/base/core/tests/systemproperties/src/android/os/ |
D | SystemPropertiesTest.java | 83 private static void testInt(String setVal, int defValue, int expected) { in testInt() 89 private static void testLong(String setVal, long defValue, long expected) { in testLong()
|
/frameworks/base/core/java/android/app/ |
D | SharedPreferencesImpl.java | 280 public String getString(String key, @Nullable String defValue) { in getString() 299 public int getInt(String key, int defValue) { in getInt() 307 public long getLong(String key, long defValue) { in getLong() 315 public float getFloat(String key, float defValue) { in getFloat() 323 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
|
D | NotificationChannel.java | 823 private static int safeInt(XmlPullParser parser, String att, int defValue) { in safeInt() 828 private static int tryParseInt(String value, int defValue) { in tryParseInt() 837 private static boolean safeBool(XmlPullParser parser, String att, boolean defValue) { in safeBool() 843 private static long[] safeLongArray(XmlPullParser parser, String att, long[] defValue) { in safeLongArray()
|
D | NotificationChannelGroup.java | 197 private static boolean safeBool(XmlPullParser parser, String att, boolean defValue) { in safeBool()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachineTest.java | 118 public int getGlobalSetting(String key, int defValue) { in getGlobalSetting() 140 protected int getGlobalSetting(String key, int defValue) { in getGlobalSetting()
|
/frameworks/base/packages/ExtServices/src/android/ext/services/notification/ |
D | ChannelImpressions.java | 196 private static int safeInt(XmlPullParser parser, String att, int defValue) { in safeInt() 201 private static int tryParseInt(String value, int defValue) { in tryParseInt()
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/view/ |
D | ContextThemeWrapperTest.java | 151 final int defValue = -1; in verifyIdenticalTextAppearanceStyle() local
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 434 private static int tryParseInt(String value, int defValue) { in tryParseInt() 443 private static long tryParseLong(String value, long defValue) { in tryParseLong() 683 private static boolean safeBoolean(XmlPullParser parser, String att, boolean defValue) { in safeBoolean() 688 private static boolean safeBoolean(String val, boolean defValue) { in safeBoolean() 693 private static int safeInt(XmlPullParser parser, String att, int defValue) { in safeInt() 710 private static long safeLong(XmlPullParser parser, String att, long defValue) { in safeLong() 1179 private static int tryParseZenMode(String value, int defValue) { in tryParseZenMode()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachine.java | 412 protected int getGlobalSetting(String key, int defValue) { in getGlobalSetting()
|
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgent.java | 335 private int getAttributeInt(XmlPullParser parser, String name, int defValue) { in getAttributeInt()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | BasePermission.java | 471 private static int readInt(XmlPullParser parser, String ns, String name, int defValue) { in readInt()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionManager.java | 1640 boolean defValue, Context context) { in getBooleanSubscriptionProperty() 1660 public static int getIntegerSubscriptionProperty(int subId, String propKey, int defValue, in getIntegerSubscriptionProperty()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 927 private void appendUnless(boolean defValue, int prop, StringBuilder builder) { in appendUnless()
|
/frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/ |
D | VectorDrawableCompat.java | 1679 private Paint.Cap getStrokeLineCap(int id, Paint.Cap defValue) { in getStrokeLineCap() 1692 private Paint.Join getStrokeLineJoin(int id, Paint.Join defValue) { in getStrokeLineJoin()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 896 static int getDimensionOrFraction(TypedArray a, int index, int base, int defValue) { in getDimensionOrFraction()
|