/frameworks/base/core/java/android/app/ |
H A D | AppGlobals.java | 54 * @param defaultValue The setting default value. 57 public static int getIntCoreSetting(String key, int defaultValue) { argument 60 return currentActivityThread.getIntCoreSetting(key, defaultValue); 62 return defaultValue;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/util/ |
H A D | XmlUtils_Delegate.java | 32 /*package*/ static final int convertValueToInt(CharSequence charSeq, int defaultValue) { argument 34 return defaultValue;
|
/frameworks/base/core/java/android/util/ |
H A D | 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 Wha 135 getAttributeListValue(String namespace, String attribute, String[] options, int defaultValue) argument 147 getAttributeBooleanValue(String namespace, String attribute, boolean defaultValue) argument 165 getAttributeResourceValue(String namespace, String attribute, int defaultValue) argument 177 getAttributeIntValue(String namespace, String attribute, int defaultValue) argument 191 getAttributeUnsignedIntValue(String namespace, String attribute, int defaultValue) argument 203 getAttributeFloatValue(String namespace, String attribute, float defaultValue) argument 217 getAttributeListValue(int index, String[] options, int defaultValue) argument 227 getAttributeBooleanValue(int index, boolean defaultValue) argument 243 getAttributeResourceValue(int index, int defaultValue) argument 253 getAttributeIntValue(int index, int defaultValue) argument 265 getAttributeUnsignedIntValue(int index, int defaultValue) argument 275 getAttributeFloatValue(int index, float defaultValue) argument 301 getIdAttributeResourceValue(int defaultValue) argument [all...] |
H A D | 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); 57 getAttributeListValue(String namespace, String attribute, String[] options, int defaultValue) argument 63 getAttributeBooleanValue(String namespace, String attribute, boolean defaultValue) argument 69 getAttributeResourceValue(String namespace, String attribute, int defaultValue) argument 75 getAttributeIntValue(String namespace, String attribute, int defaultValue) argument 81 getAttributeUnsignedIntValue(String namespace, String attribute, int defaultValue) argument 87 getAttributeFloatValue(String namespace, String attribute, float defaultValue) argument 96 getAttributeListValue(int index, String[] options, int defaultValue) argument 102 getAttributeBooleanValue(int index, boolean defaultValue) argument 107 getAttributeResourceValue(int index, int defaultValue) argument 112 getAttributeIntValue(int index, int defaultValue) argument 117 getAttributeUnsignedIntValue(int index, int defaultValue) argument 122 getAttributeFloatValue(int index, float defaultValue) argument 138 getIdAttributeResourceValue(int defaultValue) argument [all...] |
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | AdditionalTextOutput.java | 99 public void appendJsPrompt(String message, String defaultValue) { argument 105 output.append(defaultValue);
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | 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) { argument 119 return resolveResourceValue(value, defaultValue); 124 int defaultValue) { 133 return XmlUtils.convertValueToInt(value, defaultValue); 82 getAttributeListValue(String namespace, String attribute, String[] options, int defaultValue) argument 99 getAttributeBooleanValue(String namespace, String attribute, boolean defaultValue) argument 123 getAttributeIntValue(String namespace, String attribute, int defaultValue) argument 140 getAttributeUnsignedIntValue(String namespace, String attribute, int defaultValue) argument 157 getAttributeFloatValue(String namespace, String attribute, float defaultValue) argument 174 getAttributeListValue(int index, String[] options, int defaultValue) argument 181 getAttributeBooleanValue(int index, boolean defaultValue) argument 197 getAttributeResourceValue(int index, int defaultValue) argument 204 getAttributeIntValue(int index, int defaultValue) argument 220 getAttributeUnsignedIntValue(int index, int defaultValue) argument 236 getAttributeFloatValue(int index, float defaultValue) argument 265 resolveResourceValue(String value, int defaultValue) argument [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpProperty.cpp | 49 int defaultValue) 67 if (defaultValue) { 70 mDefaultValue.u.i8 = defaultValue; 73 mDefaultValue.u.u8 = defaultValue; 76 mDefaultValue.u.i16 = defaultValue; 79 mDefaultValue.u.u16 = defaultValue; 82 mDefaultValue.u.i32 = defaultValue; 85 mDefaultValue.u.u32 = defaultValue; 88 mDefaultValue.u.i64 = defaultValue; 91 mDefaultValue.u.u64 = defaultValue; 46 MtpProperty(MtpPropertyCode propCode, MtpDataType type, bool writeable, int defaultValue) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | UEventObserver.java | 153 public String get(String key, String defaultValue) { argument 155 return (result == null ? defaultValue : result);
|
/frameworks/base/core/java/android/preference/ |
H A D | EditTextPreference.java | 153 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { argument 154 setText(restoreValue ? getPersistedString(mText) : (String) defaultValue);
|
H A D | ListPreference.java | 277 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { argument 278 setValue(restoreValue ? getPersistedString(mValue) : (String) defaultValue);
|
H A D | MultiCheckPreference.java | 268 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { argument
|
H A D | MultiSelectListPreference.java | 223 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { argument 224 setValues(restoreValue ? getPersistedStringSet(mValues) : (Set<String>) defaultValue);
|
H A D | SeekBarPreference.java | 74 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { argument 76 : (Integer) defaultValue);
|
H A D | TwoStatePreference.java | 189 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { argument 191 : (Boolean) defaultValue);
|
/frameworks/base/core/java/com/android/internal/preference/ |
H A D | YesNoPreference.java | 85 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValue) { argument 87 (Boolean) defaultValue);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | 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) { argument 126 public int getAttributeResourceValue(int index, int defaultValue) { argument 131 public int getAttributeIntValue(int index, int defaultValue) { argument 79 getAttributeListValue(String namespace, String attribute, String[] options, int defaultValue) argument 85 getAttributeBooleanValue(String namespace, String attribute, boolean defaultValue) argument 91 getAttributeResourceValue(String namespace, String attribute, int defaultValue) argument 97 getAttributeIntValue(String namespace, String attribute, int defaultValue) argument 103 getAttributeUnsignedIntValue(String namespace, String attribute, int defaultValue) argument 109 getAttributeFloatValue(String namespace, String attribute, float defaultValue) argument 115 getAttributeListValue(int index, String[] options, int defaultValue) argument 136 getAttributeUnsignedIntValue(int index, int defaultValue) argument 141 getAttributeFloatValue(int index, float defaultValue) argument 156 getIdAttributeResourceValue(int defaultValue) argument [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | Converter.cpp | 97 static int32_t getBitrate(const char *propName, int32_t defaultValue) { argument 108 return defaultValue;
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebChromeClient.java | 187 * @param defaultValue The default value displayed in the prompt dialog. 193 String defaultValue, JsPromptResult result) { 192 onJsPrompt(WebView view, String url, String message, String defaultValue, JsPromptResult result) argument
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | XmlUtils.java | 52 convertValueToList(CharSequence value, String[] options, int defaultValue) argument 61 return defaultValue; 65 convertValueToBoolean(CharSequence value, boolean defaultValue) argument 70 return defaultValue; 81 convertValueToInt(CharSequence charSeq, int defaultValue) argument 84 return defaultValue; 127 convertValueToUnsignedInt(String value, int defaultValue) argument 130 return defaultValue;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockSettingsService.java | 146 public boolean getBoolean(String key, boolean defaultValue, int userId) throws RemoteException { argument 151 defaultValue : (value.equals("1") || value.equals("true")); 155 public long getLong(String key, long defaultValue, int userId) throws RemoteException { argument 159 return TextUtils.isEmpty(value) ? defaultValue : Long.parseLong(value); 163 public String getString(String key, String defaultValue, int userId) throws RemoteException { argument 166 return readFromDb(key, defaultValue, userId); 330 private String readFromDb(String key, String defaultValue, int userId) { argument 332 String result = defaultValue;
|
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/ |
H A D | GL2JNIView.java | 169 EGLConfig config, int attribute, int defaultValue) { 174 return defaultValue; 168 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument
|
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/ |
H A D | GLPerfView.java | 169 EGLConfig config, int attribute, int defaultValue) { 174 return defaultValue; 168 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument
|
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
H A D | GLDualGL2View.java | 172 EGLConfig config, int attribute, int defaultValue) { 177 return defaultValue; 171 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | ReliabilityTestActivity.java | 259 public boolean onJsPrompt(WebView view, String url, String message, String defaultValue, argument
|
/frameworks/base/media/java/android/media/ |
H A D | ExifInterface.java | 137 * <var>defaultValue</var>. 140 * @param defaultValue the value to return if the tag is not available. 142 public int getAttributeInt(String tag, int defaultValue) { argument 144 if (value == null) return defaultValue; 148 return defaultValue; 155 * <var>defaultValue</var>. 158 * @param defaultValue the value to return if the tag is not available. 160 public double getAttributeDouble(String tag, double defaultValue) { argument 162 if (value == null) return defaultValue; 165 if (index == -1) return defaultValue; 320 getAltitude(double defaultValue) argument [all...] |