Home
last modified time | relevance | path

Searched defs:defaultValue (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/base/core/java/android/util/
DAttributeSet.java136 String[] options, int defaultValue); in getAttributeListValue()
148 boolean defaultValue); in getAttributeBooleanValue()
166 int defaultValue); in getAttributeResourceValue()
178 int defaultValue); in getAttributeIntValue()
192 int defaultValue); in getAttributeUnsignedIntValue()
204 float defaultValue); in getAttributeFloatValue()
217 public int getAttributeListValue(int index, String[] options, int defaultValue); in getAttributeListValue()
227 public boolean getAttributeBooleanValue(int index, boolean defaultValue); in getAttributeBooleanValue()
243 public int getAttributeResourceValue(int index, int defaultValue); in getAttributeResourceValue()
253 public int getAttributeIntValue(int index, int defaultValue); in getAttributeIntValue()
[all …]
DXmlPullAttributes.java58 String[] options, int defaultValue) { in getAttributeListValue()
64 boolean defaultValue) { in getAttributeBooleanValue()
70 int defaultValue) { in getAttributeResourceValue()
76 int defaultValue) { in getAttributeIntValue()
82 int defaultValue) { in getAttributeUnsignedIntValue()
88 float defaultValue) { in getAttributeFloatValue()
97 String[] options, int defaultValue) { in getAttributeListValue()
102 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue()
107 public int getAttributeResourceValue(int index, int defaultValue) { in getAttributeResourceValue()
112 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeLayoutParamsMapAttributes.java80 String[] options, int defaultValue) { in getAttributeListValue()
86 boolean defaultValue) { in getAttributeBooleanValue()
92 int defaultValue) { in getAttributeResourceValue()
98 int defaultValue) { in getAttributeIntValue()
104 int defaultValue) { in getAttributeUnsignedIntValue()
110 float defaultValue) { in getAttributeFloatValue()
116 String[] options, int defaultValue) { in getAttributeListValue()
121 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue()
126 public int getAttributeResourceValue(int index, int defaultValue) { in getAttributeResourceValue()
131 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue()
[all …]
DBridgeXmlBlockParser.java409 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue()
415 boolean defaultValue) { in getAttributeBooleanValue()
420 public float getAttributeFloatValue(int index, float defaultValue) { in getAttributeFloatValue()
425 public float getAttributeFloatValue(String namespace, String attribute, float defaultValue) { in getAttributeFloatValue()
430 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue()
435 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue()
440 public int getAttributeListValue(int index, String[] options, int defaultValue) { in getAttributeListValue()
446 String[] options, int defaultValue) { in getAttributeListValue()
456 public int getAttributeResourceValue(int index, int defaultValue) { in getAttributeResourceValue()
461 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java84 String[] options, int defaultValue) { in getAttributeListValue()
101 boolean defaultValue) { in getAttributeBooleanValue()
117 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue()
125 int defaultValue) { in getAttributeIntValue()
142 int defaultValue) { in getAttributeUnsignedIntValue()
159 float defaultValue) { in getAttributeFloatValue()
176 String[] options, int defaultValue) { in getAttributeListValue()
182 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue()
198 public int getAttributeResourceValue(int index, int defaultValue) { in getAttributeResourceValue()
205 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue()
[all …]
/frameworks/base/core/java/android/content/res/
DXmlBlock.java315 String[] options, int defaultValue) { in getAttributeListValue()
323 boolean defaultValue) { in getAttributeBooleanValue()
331 int defaultValue) { in getAttributeResourceValue()
339 int defaultValue) { in getAttributeIntValue()
347 int defaultValue) in getAttributeUnsignedIntValue()
356 float defaultValue) { in getAttributeFloatValue()
365 String[] options, int defaultValue) { in getAttributeListValue()
375 boolean defaultValue) { in getAttributeBooleanValue()
385 public int getAttributeResourceValue(int idx, int defaultValue) { in getAttributeResourceValue()
394 public int getAttributeIntValue(int idx, int defaultValue) { in getAttributeIntValue()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DILockSettings.aidl24 boolean getBoolean(in String key, in boolean defaultValue, in int userId); in getBoolean()
25 long getLong(in String key, in long defaultValue, in int userId); in getLong()
26 String getString(in String key, in String defaultValue, in int userId); in getString()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifTag.java559 public String getValueAsString(String defaultValue) { in getValueAsString()
590 public byte getValueAsByte(byte defaultValue) { in getValueAsByte()
621 public Rational getValueAsRational(Rational defaultValue) { in getValueAsRational()
639 public Rational getValueAsRational(long defaultValue) { in getValueAsRational()
674 public int getValueAsInt(int defaultValue) { in getValueAsInt()
705 public long getValueAsLong(long defaultValue) { in getValueAsLong()
728 public long forceGetValueAsLong(long defaultValue) { in forceGetValueAsLong()
/frameworks/base/core/java/android/os/
DBaseBundle.java629 Object defaultValue, ClassCastException e) { in typeWarning()
657 public boolean getBoolean(String key, boolean defaultValue) { in getBoolean()
691 Byte getByte(String key, byte defaultValue) { in getByte()
725 char getChar(String key, char defaultValue) { in getChar()
759 short getShort(String key, short defaultValue) { in getShort()
793 public int getInt(String key, int defaultValue) { in getInt()
827 public long getLong(String key, long defaultValue) { in getLong()
861 float getFloat(String key, float defaultValue) { in getFloat()
895 public double getDouble(String key, double defaultValue) { in getDouble()
939 public String getString(String key, String defaultValue) { in getString()
[all …]
DBundle.java578 public Byte getByte(String key, byte defaultValue) { in getByte()
603 public char getChar(String key, char defaultValue) { in getChar()
628 public short getShort(String key, short defaultValue) { in getShort()
653 public float getFloat(String key, float defaultValue) { in getFloat()
682 public CharSequence getCharSequence(String key, CharSequence defaultValue) { in getCharSequence()
/frameworks/support/v4/kitkat/android/support/v4/provider/
DDocumentsContractApi19.java143 String defaultValue) { in queryForString()
163 int defaultValue) { in queryForInt()
168 long defaultValue) { in queryForLong()
/frameworks/base/media/java/android/media/
DAudioGain.java73 int minValue, int maxValue, int defaultValue, int stepValue, in AudioGain()
118 public int defaultValue() { in defaultValue() method in AudioGain
DMediaMetadataEditor.java331 public synchronized long getLong(int key, long defaultValue) in getLong()
347 public synchronized String getString(int key, String defaultValue) in getString()
363 public synchronized Bitmap getBitmap(int key, Bitmap defaultValue) in getBitmap()
380 public synchronized Object getObject(int key, Object defaultValue) in getObject()
DExifInterface.java145 public int getAttributeInt(String tag, int defaultValue) { in getAttributeInt()
163 public double getAttributeDouble(String tag, double defaultValue) { in getAttributeDouble()
337 public double getAltitude(double defaultValue) { in getAltitude()
/frameworks/base/core/java/android/app/
DAppGlobals.java57 public static int getIntCoreSetting(String key, int defaultValue) { in getIntCoreSetting()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/util/
DSystemProperties.java37 public static String get(String key, String defaultValue) { in get()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileIntentFilter.java109 String getStringFromXml(XmlPullParser parser, String attribute, String defaultValue) { in getStringFromXml()
121 int getIntFromXml(XmlPullParser parser, String attribute, int defaultValue) { in getIntFromXml()
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/util/
DXmlUtils_Delegate.java32 /*package*/ static final int convertValueToInt(CharSequence charSeq, int defaultValue) { in convertValueToInt()
/frameworks/native/services/inputflinger/
DInputApplication.h53 inline nsecs_t getDispatchingTimeout(nsecs_t defaultValue) const { in getDispatchingTimeout()
/frameworks/base/telephony/java/com/android/ims/
DImsCallProfile.java209 public String getCallExtra(String name, String defaultValue) { in getCallExtra()
221 public boolean getCallExtraBoolean(String name, boolean defaultValue) { in getCallExtraBoolean()
233 public int getCallExtraInt(String name, int defaultValue) { in getCallExtraInt()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsService.java231 public boolean getBoolean(String key, boolean defaultValue, int userId) throws RemoteException { in getBoolean()
240 public long getLong(String key, long defaultValue, int userId) throws RemoteException { in getLong()
248 public String getString(String key, String defaultValue, int userId) throws RemoteException { in getString()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java57 convertValueToList(CharSequence value, String[] options, int defaultValue) in convertValueToList()
70 convertValueToBoolean(CharSequence value, boolean defaultValue) in convertValueToBoolean()
86 convertValueToInt(CharSequence charSeq, int defaultValue) in convertValueToInt()
131 public static int convertValueToUnsignedInt(String value, int defaultValue) { in convertValueToUnsignedInt()
1485 public static int readIntAttribute(XmlPullParser in, String name, int defaultValue) { in readIntAttribute()
1508 public static long readLongAttribute(XmlPullParser in, String name, long defaultValue) { in readLongAttribute()
1551 boolean defaultValue) { in readBooleanAttribute()
/frameworks/base/core/java/android/hardware/camera2/utils/
DParamsUtils.java184 public static <T> T getOrDefault(CaptureRequest r, CaptureRequest.Key<T> key, T defaultValue) { in getOrDefault()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DUtils.java240 public static float parseFloatSafely(String content, float defaultValue) { in parseFloatSafely()
249 public static int parseIntSafely(String content, int defaultValue) { in parseIntSafely()
/frameworks/base/core/java/com/android/internal/preference/
DYesNoPreference.java89 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValue) { in onSetInitialValue()

123