/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 | 83 String[] options, int defaultValue) { in getAttributeListValue() argument 92 return XmlUtils.convertValueToList(value, options, defaultValue); in getAttributeListValue() 95 return defaultValue; in getAttributeListValue() 100 boolean defaultValue) { in getAttributeBooleanValue() argument 109 return XmlUtils.convertValueToBoolean(value, defaultValue); in getAttributeBooleanValue() 112 return defaultValue; in getAttributeBooleanValue() 116 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue() argument 119 return resolveResourceValue(value, defaultValue); in getAttributeResourceValue() 124 int defaultValue) { in getAttributeIntValue() argument 133 return XmlUtils.convertValueToInt(value, defaultValue); in getAttributeIntValue() [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 | Bundle.java | 829 Object defaultValue, ClassCastException e) { in typeWarning() argument 838 sb.append(defaultValue); in typeWarning() 857 public boolean getBoolean(String key, boolean defaultValue) { in getBoolean() argument 861 return defaultValue; in getBoolean() 866 typeWarning(key, o, "Boolean", defaultValue, e); in getBoolean() 867 return defaultValue; in getBoolean() 891 public Byte getByte(String key, byte defaultValue) { in getByte() argument 895 return defaultValue; in getByte() 900 typeWarning(key, o, "Byte", defaultValue, e); in getByte() 901 return defaultValue; in getByte() [all …]
|
D | UEventObserver.java | 153 public String get(String key, String defaultValue) { in get() argument 155 return (result == null ? defaultValue : result); in get()
|
/frameworks/base/media/java/android/media/ |
D | MediaMetadataEditor.java | 324 public synchronized long getLong(int key, long defaultValue) in getLong() argument 329 return mEditorMetadata.getLong(String.valueOf(key), defaultValue); in getLong() 340 public synchronized String getString(int key, String defaultValue) in getString() argument 345 return mEditorMetadata.getString(String.valueOf(key), defaultValue); in getString() 356 public synchronized Bitmap getBitmap(int key, Bitmap defaultValue) in getBitmap() argument 361 return (mEditorArtwork != null ? mEditorArtwork : defaultValue); in getBitmap() 373 public synchronized Object getObject(int key, Object defaultValue) in getObject() argument 380 return defaultValue; in getObject() 386 return defaultValue; in getObject() 392 return defaultValue; in getObject() [all …]
|
D | ExifInterface.java | 145 public int getAttributeInt(String tag, int defaultValue) { in getAttributeInt() argument 147 if (value == null) return defaultValue; in getAttributeInt() 151 return defaultValue; in getAttributeInt() 163 public double getAttributeDouble(String tag, double defaultValue) { in getAttributeDouble() argument 165 if (value == null) return defaultValue; in getAttributeDouble() 168 if (index == -1) return defaultValue; in getAttributeDouble() 170 if (denom == 0) return defaultValue; in getAttributeDouble() 174 return defaultValue; in getAttributeDouble() 337 public double getAltitude(double defaultValue) { in getAltitude() argument 344 return defaultValue; in getAltitude()
|
D | MediaFormat.java | 290 public final int getInteger(String name, int defaultValue) { in getInteger() argument 296 return defaultValue; in getInteger()
|
/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/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/com/android/internal/widget/ |
D | ILockSettings.aidl | 24 boolean getBoolean(in String key, in boolean defaultValue, in int userId); in getBoolean() argument 25 long getLong(in String key, in long defaultValue, in int userId); in getLong() argument 26 String getString(in String key, in String defaultValue, in int userId); in getString() argument
|
/frameworks/av/media/mtp/ |
D | MtpProperty.cpp | 49 int defaultValue) in MtpProperty() argument 67 if (defaultValue) { in MtpProperty() 70 mDefaultValue.u.i8 = defaultValue; in MtpProperty() 73 mDefaultValue.u.u8 = defaultValue; in MtpProperty() 76 mDefaultValue.u.i16 = defaultValue; in MtpProperty() 79 mDefaultValue.u.u16 = defaultValue; in MtpProperty() 82 mDefaultValue.u.i32 = defaultValue; in MtpProperty() 85 mDefaultValue.u.u32 = defaultValue; in MtpProperty() 88 mDefaultValue.u.i64 = defaultValue; in MtpProperty() 91 mDefaultValue.u.u64 = defaultValue; in MtpProperty()
|
/frameworks/base/services/input/ |
D | InputApplication.h | 53 inline nsecs_t getDispatchingTimeout(nsecs_t defaultValue) const { in getDispatchingTimeout() argument 54 return mInfo ? mInfo->dispatchingTimeout : defaultValue; in getDispatchingTimeout()
|
D | InputWindow.h | 176 inline nsecs_t getDispatchingTimeout(nsecs_t defaultValue) const { in getDispatchingTimeout() argument 177 return mInfo ? mInfo->dispatchingTimeout : defaultValue; in getDispatchingTimeout()
|
/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/base/tools/layoutlib/bridge/src/com/android/internal/util/ |
D | XmlUtils_Delegate.java | 32 /*package*/ static final int convertValueToInt(CharSequence charSeq, int defaultValue) { in convertValueToInt() argument 34 return defaultValue; in convertValueToInt()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeechService.java | 227 private int getSecureSettingInt(String name, int defaultValue) { in getSecureSettingInt() argument 228 return Settings.Secure.getInt(getContentResolver(), name, defaultValue); in getSecureSettingInt() 537 protected String getStringParam(String key, String defaultValue) { in getStringParam() argument 538 return mParams == null ? defaultValue : mParams.getString(key, defaultValue); in getStringParam() 541 protected int getIntParam(String key, int defaultValue) { in getIntParam() argument 542 return mParams == null ? defaultValue : mParams.getInt(key, defaultValue); in getIntParam() 545 protected float getFloatParam(String key, float defaultValue) { in getFloatParam() argument 546 return mParams == null ? defaultValue : mParams.getFloat(key, defaultValue); in getFloatParam()
|
/frameworks/base/core/java/android/preference/ |
D | RingtonePreference.java | 203 String defaultValue = (String) defaultValueObj; in onSetInitialValue() local 217 if (!TextUtils.isEmpty(defaultValue)) { in onSetInitialValue() 218 onSaveRingtone(Uri.parse(defaultValue)); in onSetInitialValue()
|
/frameworks/base/services/java/com/android/server/ |
D | LockSettingsService.java | 199 public boolean getBoolean(String key, boolean defaultValue, int userId) throws RemoteException { in getBoolean() argument 204 defaultValue : (value.equals("1") || value.equals("true")); in getBoolean() 208 public long getLong(String key, long defaultValue, int userId) throws RemoteException { in getLong() argument 212 return TextUtils.isEmpty(value) ? defaultValue : Long.parseLong(value); in getLong() 216 public String getString(String key, String defaultValue, int userId) throws RemoteException { in getString() argument 219 return readFromDb(key, defaultValue, userId); in getString() 412 private String readFromDb(String key, String defaultValue, int userId) { in readFromDb() argument 414 String result = defaultValue; in readFromDb()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | XmlUtils.java | 51 convertValueToList(CharSequence value, String[] options, int defaultValue) in convertValueToList() argument 60 return defaultValue; in convertValueToList() 64 convertValueToBoolean(CharSequence value, boolean defaultValue) in convertValueToBoolean() argument 69 return defaultValue; in convertValueToBoolean() 80 convertValueToInt(CharSequence charSeq, int defaultValue) in convertValueToInt() argument 83 return defaultValue; in convertValueToInt() 125 public static int convertValueToUnsignedInt(String value, int defaultValue) { in convertValueToUnsignedInt() argument 127 return defaultValue; in convertValueToUnsignedInt() 934 public static long readLongAttribute(XmlPullParser in, String name, long defaultValue) { in readLongAttribute() argument 939 return defaultValue; in readLongAttribute()
|
/frameworks/base/core/java/android/content/ |
D | Intent.java | 4489 public boolean getBooleanExtra(String name, boolean defaultValue) { in getBooleanExtra() argument 4490 return mExtras == null ? defaultValue : in getBooleanExtra() 4491 mExtras.getBoolean(name, defaultValue); in getBooleanExtra() 4506 public byte getByteExtra(String name, byte defaultValue) { in getByteExtra() argument 4507 return mExtras == null ? defaultValue : in getByteExtra() 4508 mExtras.getByte(name, defaultValue); in getByteExtra() 4523 public short getShortExtra(String name, short defaultValue) { in getShortExtra() argument 4524 return mExtras == null ? defaultValue : in getShortExtra() 4525 mExtras.getShort(name, defaultValue); in getShortExtra() 4540 public char getCharExtra(String name, char defaultValue) { in getCharExtra() argument [all …]
|
/frameworks/base/core/java/com/android/internal/preference/ |
D | YesNoPreference.java | 85 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValue) { in onSetInitialValue() argument 87 (Boolean) defaultValue); in onSetInitialValue()
|