/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
JSONObject.java | 801 * It returns the defaultValue if there is no such key, or if it is not 805 * @param defaultValue The default. 808 public boolean optBoolean(String key, boolean defaultValue) { 812 return defaultValue; 847 * defaultValue if there is no such key or if its value is not a number. 852 * @param defaultValue The default. 855 public double optDouble(String key, double defaultValue) { 861 return defaultValue; 887 * @param defaultValue The default. 890 public int optInt(String key, int defaultValue) { [all...] |
/prebuilts/tools/common/m2/repository/org/codehaus/gmaven/feature/gmaven-feature-api/1.5/ |
gmaven-feature-api-1.5.jar | |
/external/jsoncpp/include/json/ |
value.h | 341 /// otherwise returns defaultValue. 342 Value get(ArrayIndex index, const Value& defaultValue) const; 380 /// Return the member named key if it exist, defaultValue otherwise. 381 Value get(const char* key, const Value& defaultValue) const; 382 /// Return the member named key if it exist, defaultValue otherwise. 383 Value get(const std::string& key, const Value& defaultValue) const; 385 /// Return the member named key if it exist, defaultValue otherwise. 386 Value get(const CppTL::ConstString& key, const Value& defaultValue) const; 549 Value resolve(const Value& root, const Value& defaultValue) const;
|
/external/guava/guava/src/com/google/common/base/ |
Optional.java | 115 * Returns the contained instance if it is present; {@code defaultValue} otherwise. If 119 * <p>Note about generics: The signature {@code public T or(T defaultValue)} is overly 143 public abstract T or(T defaultValue);
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
Json.java | 268 Object defaultValue = defaultValues[i++]; 269 if (value == null && defaultValue == null) continue; 270 if (value != null && defaultValue != null) { 271 if (value.equals(defaultValue)) continue; 272 if (value.getClass().isArray() && defaultValue.getClass().isArray()) { 274 equals2[0] = defaultValue; 820 public <T> T readValue (String name, Class<T> type, T defaultValue, JsonValue jsonMap) { 822 if (jsonValue == null) return defaultValue; 836 public <T> T readValue (String name, Class<T> type, Class elementType, T defaultValue, JsonValue jsonMap) { 838 return (T)readValue(type, elementType, defaultValue, jsonValue) [all...] |
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
SmaliAnnotationTest.java | 269 PsiAnnotationMemberValue defaultValue = method.getDefaultValue(); 270 Assert.assertTrue(defaultValue instanceof SmaliLiteral); 271 Assert.assertEquals(4, ((SmaliLiteral)defaultValue).getIntegralValue());
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
ScaleDrawable.java | 171 private static float getPercent(TypedArray a, int index, float defaultValue) { 174 return a.getFraction(index, 1, 1, defaultValue); 186 return defaultValue;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
MoreKeySpec.java | 314 final int defaultValue) { 316 return defaultValue; 320 int value = defaultValue;
|
/developers/samples/android/admin/AppRestrictionSchema/ |
template-params.xml | 80 android:defaultValue="false"
|
/external/chromium-trace/catapult/third_party/flot/ |
jquery.flot.categories.min.js | 7 (function($){var options={xaxis:{categories:null},yaxis:{categories:null}};function processRawData(plot,series,data,datapoints){var xCategories=series.xaxis.options.mode=="categories",yCategories=series.yaxis.options.mode=="categories";if(!(xCategories||yCategories))return;var format=datapoints.format;if(!format){var s=series;format=[];format.push({x:true,number:true,required:true});format.push({y:true,number:true,required:true});if(s.bars.show||s.lines.show&&s.lines.fill){var autoscale=!!(s.bars.show&&s.bars.zero||s.lines.show&&s.lines.zero);format.push({y:true,number:true,required:false,defaultValue:0,autoscale:autoscale});if(s.bars.horizontal){delete format[format.length-1].y;format[format.lengt (…)
|
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/jsdoc-template/ |
class.tmpl | 217 <if test="member.defaultValue"> 221 {+resolveLinks(member.defaultValue)+} 262 <if test="item.isOptional"><i>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></i></if>
|
/external/deqp/framework/delibs/decpp/ |
deCommandLine.cpp | 145 if (opt.defaultValue) 146 opt.dispatchParse(&opt, opt.defaultValue, &dst->m_options); 282 if (opt.defaultValue) 283 str << " default: '" << opt.defaultValue << "'\n";
|
/external/libxml2/include/libxml/ |
SAX.h | 80 const xmlChar *defaultValue,
|
SAX2.h | 78 const xmlChar *defaultValue,
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3dapi/ |
d3d11shader.idl | 74 LPVOID DefaultValue;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
SuggestionSpanUtils.java | 45 null /* receiver */, null /* defaultValue */, FIELD_FLAG_AUTO_CORRECTION);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/ |
BaseBuilder.java | 297 * @param defaultValue The default value to return if the property was not found. 300 protected boolean loadProjectBooleanProperty(String propertyName, boolean defaultValue) { 302 return ProjectHelper.loadBooleanProperty(project, propertyName, defaultValue); 372 int severity = marker.getAttribute(IMarker.SEVERITY, -1 /*defaultValue*/);
|
/frameworks/base/core/java/android/speech/tts/ |
TextToSpeechService.java | 420 private int getSecureSettingInt(String name, int defaultValue) { 421 return Settings.Secure.getInt(getContentResolver(), name, defaultValue); [all...] |
/external/chromium-trace/catapult/tracing/tracing/ui/tracks/ |
process_track_base.html | 69 var defaultValue = this.processBase_.important; 71 this.processBase_, 'expanded', defaultValue);
|
/external/gmock/include/gmock/ |
gmock-actions.h | 153 // The DefaultValue<T> class allows a user to specify the 159 // DefaultValue<T>::Set(foo); 161 class DefaultValue { 200 class DefaultValue<T&> { 233 // This specialization allows DefaultValue<void>::Get() to 236 class DefaultValue<void> { 244 const T* DefaultValue<T>::value_ = NULL; 248 T* DefaultValue<T&>::address_ = NULL; [all...] |
/external/google-breakpad/src/testing/include/gmock/ |
gmock-actions.h | 153 // The DefaultValue<T> class allows a user to specify the 159 // DefaultValue<T>::Set(foo); 161 class DefaultValue { 200 class DefaultValue<T&> { 233 // This specialization allows DefaultValue<void>::Get() to 236 class DefaultValue<void> { 244 const T* DefaultValue<T>::value_ = NULL; 248 T* DefaultValue<T&>::address_ = NULL; [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ICUCurrencyMetaInfo.java | 167 private long getDate(ICUResourceBundle b, long defaultValue, boolean endOfDay) { 169 return defaultValue;
|
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ |
ICUCurrencyMetaInfo.java | 165 private long getDate(ICUResourceBundle b, long defaultValue, boolean endOfDay) { 167 return defaultValue;
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
Data.java | 211 String getValue(String path, String defaultValue); 217 int getIntValue(String path, int defaultValue);
|
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/surfaceview/ |
GdxEglConfigChooser.java | 149 private int findConfigAttrib (EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) {
153 return defaultValue;
|