/frameworks/base/core/java/android/util/ |
D | XmlPullAttributes.java | 58 String[] options, int defaultValue) { in getAttributeListValue() argument 60 getAttributeValue(namespace, attribute), options, defaultValue); in getAttributeListValue() 64 boolean defaultValue) { in getAttributeBooleanValue() argument 66 getAttributeValue(namespace, attribute), defaultValue); in getAttributeBooleanValue() 70 int defaultValue) { in getAttributeResourceValue() argument 72 getAttributeValue(namespace, attribute), defaultValue); in getAttributeResourceValue() 76 int defaultValue) { in getAttributeIntValue() argument 78 getAttributeValue(namespace, attribute), defaultValue); in getAttributeIntValue() 82 int defaultValue) { in getAttributeUnsignedIntValue() argument 84 getAttributeValue(namespace, attribute), defaultValue); in getAttributeUnsignedIntValue() [all …]
|
D | AttributeSet.java | 136 String[] options, int defaultValue); in getAttributeListValue() argument 148 boolean defaultValue); in getAttributeBooleanValue() argument 166 int defaultValue); in getAttributeResourceValue() argument 178 int defaultValue); in getAttributeIntValue() argument 192 int defaultValue); in getAttributeUnsignedIntValue() argument 204 float defaultValue); in getAttributeFloatValue() argument 217 public int getAttributeListValue(int index, String[] options, int defaultValue); in getAttributeListValue() argument 227 public boolean getAttributeBooleanValue(int index, boolean defaultValue); in getAttributeBooleanValue() argument 243 public int getAttributeResourceValue(int index, int defaultValue); in getAttributeResourceValue() argument 253 public int getAttributeIntValue(int index, int defaultValue); in getAttributeIntValue() argument [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
D | BridgeXmlPullAttributes.java | 84 String[] options, int defaultValue) { in getAttributeListValue() argument 93 return XmlUtils.convertValueToList(value, options, defaultValue); in getAttributeListValue() 96 return defaultValue; in getAttributeListValue() 101 boolean defaultValue) { in getAttributeBooleanValue() argument 110 return XmlUtils.convertValueToBoolean(value, defaultValue); in getAttributeBooleanValue() 113 return defaultValue; in getAttributeBooleanValue() 117 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue() argument 120 return resolveResourceValue(value, defaultValue); in getAttributeResourceValue() 125 int defaultValue) { in getAttributeIntValue() argument 134 return XmlUtils.convertValueToInt(value, defaultValue); in getAttributeIntValue() [all …]
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | TypedArrayUtils.java | 28 int resId, float defaultValue) { in getNamedFloat() argument 31 return defaultValue; in getNamedFloat() 33 return a.getFloat(resId, defaultValue); in getNamedFloat() 38 int resId, boolean defaultValue) { in getNamedBoolean() argument 41 return defaultValue; in getNamedBoolean() 43 return a.getBoolean(resId, defaultValue); in getNamedBoolean() 48 int resId, int defaultValue) { in getNamedInt() argument 51 return defaultValue; in getNamedInt() 53 return a.getInt(resId, defaultValue); in getNamedInt() 58 int resId, int defaultValue) { in getNamedColor() argument [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeLayoutParamsMapAttributes.java | 80 String[] options, int defaultValue) { in getAttributeListValue() argument 86 boolean defaultValue) { in getAttributeBooleanValue() argument 92 int defaultValue) { in getAttributeResourceValue() argument 98 int defaultValue) { in getAttributeIntValue() argument 104 int defaultValue) { in getAttributeUnsignedIntValue() argument 110 float defaultValue) { in getAttributeFloatValue() argument 116 String[] options, int defaultValue) { in getAttributeListValue() argument 121 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue() argument 126 public int getAttributeResourceValue(int index, int defaultValue) { in getAttributeResourceValue() argument 131 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue() argument [all …]
|
D | BridgeXmlBlockParser.java | 409 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue() argument 410 return mAttrib.getAttributeBooleanValue(index, defaultValue); in getAttributeBooleanValue() 415 boolean defaultValue) { in getAttributeBooleanValue() argument 416 return mAttrib.getAttributeBooleanValue(namespace, attribute, defaultValue); in getAttributeBooleanValue() 420 public float getAttributeFloatValue(int index, float defaultValue) { in getAttributeFloatValue() argument 421 return mAttrib.getAttributeFloatValue(index, defaultValue); in getAttributeFloatValue() 425 public float getAttributeFloatValue(String namespace, String attribute, float defaultValue) { in getAttributeFloatValue() argument 426 return mAttrib.getAttributeFloatValue(namespace, attribute, defaultValue); in getAttributeFloatValue() 430 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue() argument 431 return mAttrib.getAttributeIntValue(index, defaultValue); in getAttributeIntValue() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | XmlBlock.java | 315 String[] options, int defaultValue) { in getAttributeListValue() argument 318 return getAttributeListValue(idx, options, defaultValue); in getAttributeListValue() 320 return defaultValue; in getAttributeListValue() 323 boolean defaultValue) { in getAttributeBooleanValue() argument 326 return getAttributeBooleanValue(idx, defaultValue); in getAttributeBooleanValue() 328 return defaultValue; in getAttributeBooleanValue() 331 int defaultValue) { in getAttributeResourceValue() argument 334 return getAttributeResourceValue(idx, defaultValue); in getAttributeResourceValue() 336 return defaultValue; in getAttributeResourceValue() 339 int defaultValue) { in getAttributeIntValue() argument [all …]
|
/frameworks/base/core/java/android/os/ |
D | BaseBundle.java | 702 Object defaultValue, ClassCastException e) { in typeWarning() argument 711 sb.append(defaultValue); in typeWarning() 730 public boolean getBoolean(String key, boolean defaultValue) { in getBoolean() argument 734 return defaultValue; in getBoolean() 739 typeWarning(key, o, "Boolean", defaultValue, e); in getBoolean() 740 return defaultValue; in getBoolean() 764 Byte getByte(String key, byte defaultValue) { in getByte() argument 768 return defaultValue; in getByte() 773 typeWarning(key, o, "Byte", defaultValue, e); in getByte() 774 return defaultValue; in getByte() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaMetadataEditor.java | 332 public synchronized long getLong(int key, long defaultValue) in getLong() argument 337 return mEditorMetadata.getLong(String.valueOf(key), defaultValue); in getLong() 348 public synchronized String getString(int key, String defaultValue) in getString() argument 353 return mEditorMetadata.getString(String.valueOf(key), defaultValue); in getString() 364 public synchronized Bitmap getBitmap(int key, Bitmap defaultValue) in getBitmap() argument 369 return (mEditorArtwork != null ? mEditorArtwork : defaultValue); in getBitmap() 381 public synchronized Object getObject(int key, Object defaultValue) in getObject() argument 388 return defaultValue; in getObject() 394 return defaultValue; in getObject() 400 return defaultValue; in getObject() [all …]
|
D | AudioGain.java | 73 int minValue, int maxValue, int defaultValue, int stepValue, in AudioGain() argument 80 mDefaultValue = defaultValue; in AudioGain() 118 public int defaultValue() { in defaultValue() method in AudioGain
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Prefs.java | 71 public static boolean getBoolean(Context context, @Key String key, boolean defaultValue) { in getBoolean() argument 72 return get(context).getBoolean(key, defaultValue); in getBoolean() 79 public static int getInt(Context context, @Key String key, int defaultValue) { in getInt() argument 80 return get(context).getInt(key, defaultValue); in getInt() 87 public static long getLong(Context context, @Key String key, long defaultValue) { in getLong() argument 88 return get(context).getLong(key, defaultValue); in getLong() 95 public static String getString(Context context, @Key String key, String defaultValue) { in getString() argument 96 return get(context).getString(key, defaultValue); in getString()
|
/frameworks/support/core-utils/java/android/support/v4/content/res/ |
D | TypedArrayUtils.java | 32 @StyleableRes int fallbackIndex, boolean defaultValue) { in getBoolean() argument 33 boolean val = a.getBoolean(fallbackIndex, defaultValue); in getBoolean() 47 @StyleableRes int fallbackIndex, int defaultValue) { in getInt() argument 48 int val = a.getInt(fallbackIndex, defaultValue); in getInt() 53 @StyleableRes int fallbackIndex, @AnyRes int defaultValue) { in getResourceId() argument 54 int val = a.getResourceId(fallbackIndex, defaultValue); in getResourceId()
|
/frameworks/base/core/java/org/apache/http/params/ |
D | HttpParams.java | 98 long getLongParameter(String name, long defaultValue); in getLongParameter() argument 119 int getIntParameter(String name, int defaultValue); in getIntParameter() argument 140 double getDoubleParameter(String name, double defaultValue); in getDoubleParameter() argument 161 boolean getBooleanParameter(String name, boolean defaultValue); in getBooleanParameter() argument
|
/frameworks/base/telephony/java/com/android/ims/ |
D | ImsCallProfile.java | 244 public String getCallExtra(String name, String defaultValue) { in getCallExtra() argument 246 return defaultValue; in getCallExtra() 249 return mCallExtras.getString(name, defaultValue); in getCallExtra() 256 public boolean getCallExtraBoolean(String name, boolean defaultValue) { in getCallExtraBoolean() argument 258 return defaultValue; in getCallExtraBoolean() 261 return mCallExtras.getBoolean(name, defaultValue); in getCallExtraBoolean() 268 public int getCallExtraInt(String name, int defaultValue) { in getCallExtraInt() argument 270 return defaultValue; in getCallExtraInt() 273 return mCallExtras.getInt(name, defaultValue); in getCallExtraInt()
|
/frameworks/support/core-utils/kitkat/android/support/v4/provider/ |
D | DocumentsContractApi19.java | 143 String defaultValue) { in queryForString() argument 152 return defaultValue; in queryForString() 156 return defaultValue; in queryForString() 163 int defaultValue) { in queryForInt() argument 164 return (int) queryForLong(context, self, column, defaultValue); in queryForInt() 168 long defaultValue) { in queryForLong() argument 177 return defaultValue; in queryForLong() 181 return defaultValue; in queryForLong()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifTag.java | 559 public String getValueAsString(String defaultValue) { in getValueAsString() argument 562 return defaultValue; in getValueAsString() 590 public byte getValueAsByte(byte defaultValue) { in getValueAsByte() argument 593 return defaultValue; in getValueAsByte() 621 public Rational getValueAsRational(Rational defaultValue) { in getValueAsRational() argument 624 return defaultValue; in getValueAsRational() 639 public Rational getValueAsRational(long defaultValue) { in getValueAsRational() argument 640 Rational defaultVal = new Rational(defaultValue, 1); in getValueAsRational() 674 public int getValueAsInt(int defaultValue) { in getValueAsInt() argument 677 return defaultValue; in getValueAsInt() [all …]
|
/frameworks/base/core/java/android/app/ |
D | AppGlobals.java | 57 public static int getIntCoreSetting(String key, int defaultValue) { in getIntCoreSetting() argument 60 return currentActivityThread.getIntCoreSetting(key, defaultValue); in getIntCoreSetting() 62 return defaultValue; in getIntCoreSetting()
|
/frameworks/base/core/java/android/security/keymaster/ |
D | KeymasterArguments.java | 97 public int getEnum(int tag, int defaultValue) { in getEnum() argument 103 return defaultValue; in getEnum() 158 public long getUnsignedInt(int tag, long defaultValue) { in getUnsignedInt() argument 164 return defaultValue; in getUnsignedInt() 266 public byte[] getBytes(int tag, byte[] defaultValue) { in getBytes() argument 272 return defaultValue; in getBytes() 322 public Date getDate(int tag, Date defaultValue) { in getDate() argument 328 return defaultValue; in getDate()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/util/ |
D | SystemProperties.java | 37 public static String get(String key, String defaultValue) { in get() argument 41 return (String) get.invoke(null, key, defaultValue); in get() 45 return defaultValue; in get()
|
/frameworks/av/media/mtp/ |
D | MtpProperty.cpp | 51 int defaultValue) in MtpProperty() argument 69 if (defaultValue) { in MtpProperty() 72 mDefaultValue.u.i8 = defaultValue; in MtpProperty() 75 mDefaultValue.u.u8 = defaultValue; in MtpProperty() 78 mDefaultValue.u.i16 = defaultValue; in MtpProperty() 81 mDefaultValue.u.u16 = defaultValue; in MtpProperty() 84 mDefaultValue.u.i32 = defaultValue; in MtpProperty() 87 mDefaultValue.u.u32 = defaultValue; in MtpProperty() 90 mDefaultValue.u.i64 = defaultValue; in MtpProperty() 93 mDefaultValue.u.u64 = defaultValue; in MtpProperty()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileIntentFilter.java | 101 String getStringFromXml(XmlPullParser parser, String attribute, String defaultValue) { in getStringFromXml() argument 107 return defaultValue; in getStringFromXml() 113 int getIntFromXml(XmlPullParser parser, String attribute, int defaultValue) { in getIntFromXml() argument 118 return defaultValue; in getIntFromXml()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
D | Utils.java | 240 public static float parseFloatSafely(String content, float defaultValue) { in parseFloatSafely() argument 241 if (content == null) return defaultValue; in parseFloatSafely() 245 return defaultValue; in parseFloatSafely() 249 public static int parseIntSafely(String content, int defaultValue) { in parseIntSafely() argument 250 if (content == null) return defaultValue; in parseIntSafely() 254 return defaultValue; in parseIntSafely()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SystemPropertyService.java | 22 public String get(String key, String defaultValue) { in get() argument 23 return android.os.SystemProperties.get(key, defaultValue); in get()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ILockSettings.aidl | 28 boolean getBoolean(in String key, in boolean defaultValue, in int userId); in getBoolean() argument 29 long getLong(in String key, in long defaultValue, in int userId); in getLong() argument 30 String getString(in String key, in String defaultValue, in int userId); in getString() argument
|
/frameworks/native/services/inputflinger/ |
D | InputApplication.h | 53 inline nsecs_t getDispatchingTimeout(nsecs_t defaultValue) const { in getDispatchingTimeout() argument 54 return mInfo ? mInfo->dispatchingTimeout : defaultValue; in getDispatchingTimeout()
|