/frameworks/base/core/java/android/util/ |
XmlPullAttributes.java | 58 String[] options, int defaultValue) { 60 getAttributeValue(namespace, attribute), options, defaultValue); 64 boolean defaultValue) { 66 getAttributeValue(namespace, attribute), defaultValue); 70 int defaultValue) { 72 getAttributeValue(namespace, attribute), defaultValue); 76 int defaultValue) { 78 getAttributeValue(namespace, attribute), defaultValue); 82 int defaultValue) { 84 getAttributeValue(namespace, attribute), defaultValue); [all...] |
AttributeSet.java | 130 * @param defaultValue Value returned if attribute doesn't exist or no 133 * @return Index in to 'options' or defaultValue. 136 String[] options, int defaultValue); 143 * @param defaultValue What to return if the attribute isn't found. 148 boolean defaultValue); 161 * @param defaultValue What to return if the attribute isn't found. 166 int defaultValue); 173 * @param defaultValue What to return if the attribute isn't found. 178 int defaultValue); 187 * @param defaultValue What to return if the attribute isn't found [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
DefaultsTest.java | 28 assertEquals(false, Defaults.defaultValue(boolean.class).booleanValue()); 29 assertEquals('\0', Defaults.defaultValue(char.class).charValue()); 30 assertEquals(0, Defaults.defaultValue(byte.class).byteValue()); 31 assertEquals(0, Defaults.defaultValue(short.class).shortValue()); 32 assertEquals(0, Defaults.defaultValue(int.class).intValue()); 33 assertEquals(0, Defaults.defaultValue(long.class).longValue()); 34 assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue()); 35 assertEquals(0.0d, Defaults.defaultValue(double.class).doubleValue()); 36 assertNull(Defaults.defaultValue(void.class)); 37 assertNull(Defaults.defaultValue(String.class)) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
BridgeXmlPullAttributes.java | 83 String[] options, int defaultValue) { 92 return XmlUtils.convertValueToList(value, options, defaultValue); 95 return defaultValue; 100 boolean defaultValue) { 109 return XmlUtils.convertValueToBoolean(value, defaultValue); 112 return defaultValue; 116 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { 119 return resolveResourceValue(value, defaultValue); 124 int defaultValue) { 133 return XmlUtils.convertValueToInt(value, defaultValue); [all...] |
/cts/tools/signature-tools/src/signature/model/impl/ |
SigAnnotationField.java | 27 private Object defaultValue = Uninitialized.unset(); 34 return defaultValue; 37 public void setDefaultValue(Object defaultValue) { 38 this.defaultValue = defaultValue;
|
/packages/apps/Browser/res/xml/ |
debug_preferences.xml | 22 android:defaultValue="true" 27 android:defaultValue="false" 36 android:defaultValue="0"/> 40 android:defaultValue="false" 45 android:defaultValue="false" 52 android:defaultValue="true" 57 android:defaultValue="false" 62 android:defaultValue="true" 67 android:defaultValue="false" 72 android:defaultValue="false [all...] |
advanced_preferences.xml | 24 android:defaultValue="google" 30 android:defaultValue="false" 36 android:defaultValue="true" 41 android:defaultValue="false" 47 android:defaultValue="ON" 62 android:defaultValue="MEDIUM" 69 android:defaultValue="true" 75 android:defaultValue="true" 81 android:defaultValue="true" 87 android:defaultValue="@string/pref_default_text_encoding_default [all...] |
accessibility_preferences.xml | 23 android:defaultValue="false" /> 32 android:defaultValue="10" 38 android:defaultValue="5" 44 android:defaultValue="0" 55 android:defaultValue="false" 63 android:defaultValue="0"
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeLayoutParamsMapAttributes.java | 80 String[] options, int defaultValue) { 86 boolean defaultValue) { 92 int defaultValue) { 98 int defaultValue) { 104 int defaultValue) { 110 float defaultValue) { 116 String[] options, int defaultValue) { 121 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { 126 public int getAttributeResourceValue(int index, int defaultValue) { 131 public int getAttributeIntValue(int index, int defaultValue) { [all...] |
BridgeXmlBlockParser.java | 409 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { 410 return mAttrib.getAttributeBooleanValue(index, defaultValue); 415 boolean defaultValue) { 416 return mAttrib.getAttributeBooleanValue(namespace, attribute, defaultValue); 420 public float getAttributeFloatValue(int index, float defaultValue) { 421 return mAttrib.getAttributeFloatValue(index, defaultValue); 425 public float getAttributeFloatValue(String namespace, String attribute, float defaultValue) { 426 return mAttrib.getAttributeFloatValue(namespace, attribute, defaultValue); 430 public int getAttributeIntValue(int index, int defaultValue) { 431 return mAttrib.getAttributeIntValue(index, defaultValue); [all...] |
/libcore/luni/src/main/java/java/io/ |
EmulatedFieldsForLoading.java | 83 * default value <code>defaultValue</code> is returned instead. 87 * @param defaultValue 98 public byte get(String name, byte defaultValue) throws IOException, 100 return emulatedFields.get(name, defaultValue); 106 * default value <code>defaultValue</code> is returned instead. 110 * @param defaultValue 121 public char get(String name, char defaultValue) throws IOException, 123 return emulatedFields.get(name, defaultValue); 129 * default value <code>defaultValue</code> is returned instead. 133 * @param defaultValue [all...] |
/frameworks/base/tests/LocationTracker/res/xml/ |
preferences.xml | 23 android:defaultValue="0" 29 android:defaultValue="0" 39 android:defaultValue="true" 44 android:defaultValue="true" 49 android:defaultValue="false" 58 android:defaultValue="false"
|
/cts/tools/signature-tools/test/signature/converter/ |
ConvertAnnotationTest.java | 129 // tests whether default int value has the correct type and defaultValue
150 Integer defaultValue = (Integer)annotationField.getDefaultValue();
151 assertEquals(1, defaultValue.intValue());
154 // tests whether default int[] value has the correct type and defaultValue
174 Object[] defaultValue = (Object[])field.getDefaultValue();
175 assertEquals(0, defaultValue.length);
178 // tests whether default int[] value has the correct type and defaultValue
198 Object[] defaultValue = (Object[])field.getDefaultValue();
199 assertEquals(2, defaultValue.length);
201 Object defaultValue0 = defaultValue[0]; [all...] |
/packages/apps/Camera/res/xml/ |
camera_preferences.xml | 22 camera:defaultValue="@string/pref_camera_flashmode_default" 30 camera:defaultValue="@string/pref_exposure_default" 35 camera:defaultValue="@string/pref_camera_scenemode_default" 42 camera:defaultValue="@string/pref_camera_whitebalance_default" 50 camera:defaultValue="@string/pref_camera_recordlocation_default" 63 camera:defaultValue="@array/pref_camera_focusmode_default_array" 69 camera:defaultValue="@string/pref_camera_id_default"
|
/packages/apps/LegacyCamera/res/xml/ |
camera_preferences.xml | 22 camera:defaultValue="@string/pref_camera_flashmode_default" 30 camera:defaultValue="@string/pref_exposure_default" 35 camera:defaultValue="@string/pref_camera_scenemode_default" 42 camera:defaultValue="@string/pref_camera_whitebalance_default" 50 camera:defaultValue="@string/pref_camera_recordlocation_default" 63 camera:defaultValue="@array/pref_camera_focusmode_default_array" 69 camera:defaultValue="@string/pref_camera_id_default"
|
/packages/apps/Calendar/res/xml/ |
general_preferences.xml | 21 android:defaultValue="false" 25 android:defaultValue="false" 29 android:defaultValue="@string/preferences_week_start_day_default" 36 android:defaultValue="false" 42 android:defaultValue="@string/preferences_home_tz_default" 57 android:defaultValue="true" 65 android:defaultValue="content://settings/system/notification_sound" /> 73 android:defaultValue="@string/prefDefault_alerts_vibrateWhen" 79 android:defaultValue="false" 84 android:defaultValue="@string/preferences_default_reminder_default [all...] |
/external/proguard/src/proguard/classfile/attribute/annotation/ |
AnnotationDefaultAttribute.java | 35 public ElementValue defaultValue; 50 ElementValue defaultValue) 54 this.defaultValue = defaultValue; 63 defaultValue.accept(clazz, null, elementValueVisitor);
|
/packages/apps/Browser/res/xml-sw600dp/ |
advanced_preferences.xml | 24 android:defaultValue="google" 30 android:defaultValue="false" 36 android:defaultValue="true" 42 android:defaultValue="ON" 57 android:defaultValue="MEDIUM" 64 android:defaultValue="true" 70 android:defaultValue="true" 76 android:defaultValue="true" 82 android:defaultValue="@string/pref_default_text_encoding_default"
|
/packages/apps/CellBroadcastReceiver/res/xml/ |
preferences.xml | 26 <CheckBoxPreference android:defaultValue="true" 32 <CheckBoxPreference android:defaultValue="true" 38 <CheckBoxPreference android:defaultValue="true" 43 <CheckBoxPreference android:defaultValue="true" 52 android:defaultValue="4" 55 <CheckBoxPreference android:defaultValue="true" 66 <CheckBoxPreference android:defaultValue="false" 78 <CheckBoxPreference android:defaultValue="true" 89 <CheckBoxPreference android:defaultValue="false"
|
/packages/apps/Mms/res/xml/ |
preferences.xml | 28 <CheckBoxPreference android:defaultValue="false" 45 <CheckBoxPreference android:defaultValue="false" 55 <CheckBoxPreference android:defaultValue="false" 59 <CheckBoxPreference android:defaultValue="false" 63 <CheckBoxPreference android:defaultValue="true" 69 android:defaultValue="false" 78 android:defaultValue="true" /> 84 android:defaultValue="content://settings/system/notification_sound" /> 88 android:defaultValue="@string/prefDefault_vibrateWhen"
|
/packages/inputmethods/LatinIME/java/res/xml/ |
prefs.xml | 28 android:defaultValue="true" /> 32 android:defaultValue="@bool/config_default_vibration_enabled" 37 android:defaultValue="@bool/config_default_sound_enabled" 43 android:defaultValue="@bool/config_default_popup_preview" /> 50 android:defaultValue="@string/voice_mode_main" /> 70 android:defaultValue="@string/auto_correction_threshold_mode_index_modest" /> 78 android:defaultValue="@string/prefs_suggestion_visibility_default_value" /> 87 android:defaultValue="false" /> 96 android:defaultValue="false" /> 102 android:defaultValue="false" / [all...] |
/external/apache-http/src/org/apache/http/params/ |
AbstractHttpParams.java | 56 public long getLongParameter(final String name, long defaultValue) { 59 return defaultValue; 69 public int getIntParameter(final String name, int defaultValue) { 72 return defaultValue; 82 public double getDoubleParameter(final String name, double defaultValue) { 85 return defaultValue; 95 public boolean getBooleanParameter(final String name, boolean defaultValue) { 98 return defaultValue;
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Exceptions/ |
exception-007.js | 6 * DefaultValue error. 28 * Getting the [[DefaultValue]] of any instances of MyObject
|
/external/webkit/Source/WebCore/webaudio/ |
AudioGain.h | 39 static PassRefPtr<AudioGain> create(const char* name, double defaultValue, double minValue, double maxValue) 41 return adoptRef(new AudioGain(name, defaultValue, minValue, maxValue)); 45 AudioGain(const char* name, double defaultValue, double minValue, double maxValue) 46 : AudioParam(name, defaultValue, minValue, maxValue)
|
/frameworks/base/core/java/android/app/ |
AppGlobals.java | 54 * @param defaultValue The setting default value. 57 public static int getIntCoreSetting(String key, int defaultValue) { 60 return currentActivityThread.getIntCoreSetting(key, defaultValue); 62 return defaultValue;
|