/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...] |
/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...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
BugleGservicesImpl.java | 40 public long getLong(final String key, final long defaultValue) { 42 return defaultValue; 46 public int getInt(final String key, final int defaultValue) { 48 return defaultValue; 52 public boolean getBoolean(final String key, final boolean defaultValue) { 54 return defaultValue; 58 public String getString(final String key, final String defaultValue) { 60 return defaultValue; 64 public float getFloat(final String key, final float defaultValue) { 66 return defaultValue; [all...] |
BugleGservices.java | 38 * @param defaultValue The default value if value in GServices is null or if 42 public abstract long getLong(final String key, final long defaultValue); 46 * @param defaultValue The default value if value in GServices is null or if 50 public abstract int getInt(final String key, final int defaultValue); 54 * @param defaultValue The default value if value in GServices is null. 57 public abstract boolean getBoolean(final String key, final boolean defaultValue); 61 * @param defaultValue The default value if value in GServices is null. 64 public abstract String getString(final String key, final String defaultValue); 68 * @param defaultValue The default value if value in GServices is null. 71 public abstract float getFloat(final String key, final float defaultValue); [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/util/ |
FakeBugleGservices.java | 31 public long getLong(final String key, final long defaultValue) { 32 return defaultValue; 36 public int getInt(final String key, final int defaultValue) { 37 return defaultValue; 41 public boolean getBoolean(final String key, final boolean defaultValue) { 42 return defaultValue; 46 public String getString(final String key, final String defaultValue) { 47 return defaultValue; 51 public float getFloat(String key, float defaultValue) { 52 return defaultValue; [all...] |
FakeBuglePrefs.java | 28 public int getInt(final String key, final int defaultValue) { 29 return defaultValue; 33 public long getLong(final String key, final long defaultValue) { 34 return defaultValue; 38 public boolean getBoolean(final String key, final boolean defaultValue) { 39 return defaultValue; 43 public String getString(final String key, final String defaultValue) { 44 return defaultValue;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
IntHashtable.java | 20 public IntHashtable (int defaultValue) { 21 this.defaultValue = defaultValue; 25 if (value == defaultValue) { 34 if (value == null) return defaultValue; 38 private int defaultValue;
|
IntStringHashtable.java | 20 public IntStringHashtable (String defaultValue) { 21 this.defaultValue = defaultValue; 25 if (value == defaultValue) { 34 if (value == null) return defaultValue; 38 private String defaultValue;
|
LongHashtable.java | 19 public LongHashtable (int defaultValue) { 20 this.defaultValue = defaultValue; 24 if (value == defaultValue) { 33 if (value == null) return defaultValue; 37 private int defaultValue;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
IntHashtable.java | 19 public IntHashtable (int defaultValue) { 20 this.defaultValue = defaultValue; 24 if (value == defaultValue) { 33 if (value == null) return defaultValue; 37 private int defaultValue;
|
IntStringHashtable.java | 19 public IntStringHashtable (String defaultValue) { 20 this.defaultValue = defaultValue; 24 if (value == defaultValue) { 33 if (value == null) return defaultValue; 37 private String defaultValue;
|
LongHashtable.java | 18 public LongHashtable (int defaultValue) { 19 this.defaultValue = defaultValue; 23 if (value == defaultValue) { 32 if (value == null) return defaultValue; 36 private int defaultValue;
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
TypedArrayUtils.java | 28 int resId, float defaultValue) { 31 return defaultValue; 33 return a.getFloat(resId, defaultValue); 38 int resId, boolean defaultValue) { 41 return defaultValue; 43 return a.getBoolean(resId, defaultValue); 48 int resId, int defaultValue) { 51 return defaultValue; 53 return a.getInt(resId, defaultValue); 58 int resId, int defaultValue) { [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
BridgeXmlPullAttributes.java | 84 String[] options, int defaultValue) { 93 return XmlUtils.convertValueToList(value, options, defaultValue); 96 return defaultValue; 101 boolean defaultValue) { 110 return XmlUtils.convertValueToBoolean(value, defaultValue); 113 return defaultValue; 117 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { 120 return resolveResourceValue(value, defaultValue); 125 int defaultValue) { 134 return XmlUtils.convertValueToInt(value, defaultValue); [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/pyasn1/codec/ber/ |
eoo.py | 4 defaultValue = 0
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
CompatUtils.java | 93 public static Object invoke(final Object receiver, final Object defaultValue, 96 return defaultValue; 104 return defaultValue; 107 public static Object getFieldValue(final Object receiver, final Object defaultValue, 110 return defaultValue; 117 return defaultValue; 146 final T defaultValue, final Class<?>... parameterTypes) { 148 defaultValue); 151 public ToIntMethodWrapper getPrimitiveMethod(final String name, final int defaultValue, 154 defaultValue); [all...] |
/external/libgdx/tests/gdx-tests-android/assets/data/g3d/shaders/ |
common.glsl | 93 #define fetchColorDiffuseTD(texCoord, defaultValue) texture2D(u_diffuseTexture, texCoord) * u_diffuseColor 95 #define fetchColorDiffuseTD(texCoord, defaultValue) texture2D(u_diffuseTexture, texCoord) 97 #define fetchColorDiffuseTD(texCoord, defaultValue) u_diffuseColor 99 #define fetchColorDiffuseTD(texCoord, defaultValue) (defaultValue) 106 #define fetchColorDiffuseD(defaultValue) fetchColorDiffuseTD(g_texCoord0, defaultValue) 120 #define fetchColorSpecularTD(texCoord, defaultValue) (texture2D(u_specularTexture, texCoord).rgb * u_specularColor.rgb) 122 #define fetchColorSpecularTD(texCoord, defaultValue) texture2D(u_specularTexture, texCoord).rgb 124 #define fetchColorSpecularTD(texCoord, defaultValue) u_specularColor.rg [all...] |
/packages/apps/TvSettings/QuickSettings/res/xml/ |
quick_settings.xml | 27 app:defaultValue="standard" 32 app:defaultValue="@integer/standard_setting_backlight" 37 app:defaultValue="@integer/standard_setting_contrast" 42 app:defaultValue="@integer/standard_setting_brightness" 47 app:defaultValue="@integer/standard_setting_sharpness" 52 app:defaultValue="@integer/standard_setting_color" 57 app:defaultValue="@integer/standard_setting_tint"
|
/external/guice/core/src/com/google/inject/internal/ |
InternalFlags.java | 94 NullableProvidesOption defaultValue) { 95 return getSystemOption("guice_check_nullable_provides_params", defaultValue); 102 * @param defaultValue if the option is not set 104 * @return value of the option, defaultValue if not set 106 private static <T extends Enum<T>> T getSystemOption(final String name, T defaultValue) { 107 return getSystemOption(name, defaultValue, defaultValue); 114 * @param defaultValue if the option is not set 117 * @return value of the option, defaultValue if not set, secureValue if no access 119 private static <T extends Enum<T>> T getSystemOption(final String name, T defaultValue, [all...] |
/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...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/util/ |
TestAttributeSet.java | 54 public boolean getAttributeBooleanValue(String namespace, String attribute, boolean defaultValue) { 56 return (value != null) ? Boolean.valueOf(value) : defaultValue; 65 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { 72 return (value != null) ? Integer.valueOf(value) : defaultValue; 101 public int getAttributeListValue(String namespace, String attribute, String[] options, int defaultValue) { 106 public int getAttributeUnsignedIntValue(String namespace, String attribute, int defaultValue) { 111 public float getAttributeFloatValue(String namespace, String attribute, float defaultValue) { 118 return (value != null) ? Float.valueOf(value) : defaultValue; 122 public int getAttributeListValue(int index, String[] options, int defaultValue) { 127 public boolean getAttributeBooleanValue(int resourceId, boolean 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"
|
/packages/inputmethods/LatinIME/java/res/xml/ |
prefs_screen_preferences.xml | 25 android:defaultValue="true" 31 android:defaultValue="true" 36 android:defaultValue="@bool/config_default_vibration_enabled" 41 android:defaultValue="@bool/config_default_sound_enabled" 46 android:defaultValue="@bool/config_default_key_preview_popup" 51 android:defaultValue="true"
|
/cts/apps/CtsVerifier/res/xml/ |
camera_fov_calibration_preferences.xml | 8 android:defaultValue="36.8" 14 android:defaultValue="99.7"
|
/external/sl4a/ScriptingLayerForAndroid/res/xml/ |
preferences.xml | 24 <EditTextPreference android:summary="Port to use for running server. Leave at 0 for random selection." android:key="use_service_port" android:title="Server Port" android:defaultValue="0" android:numeric="integer"></EditTextPreference> 31 android:defaultValue="false" /> 37 android:defaultValue="@string/default_value_fontsize_preference" 43 <CheckBoxPreference android:title="@string/help_force_browser" android:key="helpForceBrowser" android:defaultValue="true" android:summary="Force API Help to use default Android Browser"></CheckBoxPreference> 44 <CheckBoxPreference android:summary="When enabled, quotes and brackets are automatically completed." android:key="enableAutoClose" android:title="@string/enable_auto_close" android:defaultValue="true"></CheckBoxPreference> 46 <CheckBoxPreference android:key="editor_auto_indent" android:defaultValue="false" android:summaryOff="Auto Indent Disabled" android:summaryOn="Auto Indent Enabled" android:title="Auto Indent"></CheckBoxPreference> 54 android:defaultValue="140" /> 58 android:defaultValue="10" /> 69 android:defaultValue="Default" /> 81 android:defaultValue="false" / [all...] |