/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/ |
GLSparseArrayProperty.java | 32 public GLSparseArrayProperty(GLStateType type, IGLProperty defaultValue) { 33 this(type, defaultValue, false); 39 * @param defaultValue default value of each item 42 public GLSparseArrayProperty(GLStateType type, IGLProperty defaultValue, 45 mDefaultValue = defaultValue; 50 private GLSparseArrayProperty(GLStateType type, IGLProperty defaultValue, 53 mDefaultValue = defaultValue;
|
/external/skia/tools/flags/ |
SkCommandLineFlags.h | 20 * DEFINE_bool(name, defaultValue, helpString); 21 * DEFINE_string(name, defaultValue, helpString); 22 * DEFINE_int32(name, defaultValue, helpString); 23 * DEFINE_double(name, defaultValue, helpString); 177 #define DEFINE_bool(name, defaultValue, helpString) \ 182 defaultValue, \ 187 #define DEFINE_bool2(name, shortName, defaultValue, helpString) \ 192 defaultValue, \ 197 #define DEFINE_string(name, defaultValue, helpString) \ 202 defaultValue, \ [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBundle.java | 55 public String getString(String key, String defaultValue) { 60 return value == null || !(value instanceof String) ? defaultValue : (String) value; 74 public long getLong(String key, long defaultValue) { 76 return value == null || !(value instanceof Long) ? defaultValue : (Long) value; 90 public int getInt(String key, int defaultValue) { 92 return value == null || !(value instanceof Integer) ? defaultValue : (Integer) value; 106 public double getDouble(String key, double defaultValue) { 108 return value == null || !(value instanceof Double) ? defaultValue : (Double) value; 122 public Byte getByte(String key, byte defaultValue) { 124 return value == null || !(value instanceof Byte) ? defaultValue : (Byte) value [all...] |
/libcore/json/src/test/java/org/json/ |
SelfUseTest.java | 55 @Override public boolean optBoolean(String key, boolean defaultValue) { 57 return super.optBoolean(key, defaultValue); 59 @Override public double optDouble(String key, double defaultValue) { 61 return super.optDouble(key, defaultValue); 63 @Override public int optInt(String key, int defaultValue) { 65 return super.optInt(key, defaultValue); 67 @Override public long optLong(String key, long defaultValue) { 69 return super.optLong(key, defaultValue); 71 @Override public String optString(String key, String defaultValue) { 73 return super.optString(key, defaultValue); [all...] |
/packages/apps/Mms/res/xml/ |
preferences.xml | 50 <CheckBoxPreference android:defaultValue="false" 67 <CheckBoxPreference android:defaultValue="false" 77 <CheckBoxPreference android:defaultValue="true" 81 <CheckBoxPreference android:defaultValue="false" 85 <CheckBoxPreference android:defaultValue="false" 89 <CheckBoxPreference android:defaultValue="true" 95 android:defaultValue="false" 104 android:defaultValue="true" /> 109 android:defaultValue="content://settings/system/notification_sound" /> 113 android:defaultValue="false" / [all...] |
/cts/libs/vogar-expect/src/vogar/ |
AnnotatedOutcome.java | 84 public ResultValue getMostRecentResultValue(ResultValue defaultValue) { 87 defaultValue : 137 * Returns a Long representing the time the outcome was last run. Returns {@code defaultValue} 140 public Long lastRun(Long defaultValue) { 142 return defaultValue; 145 return runTimes.isEmpty() ? defaultValue : runTimes.get(runTimes.size() - 1);
|
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
autofill_pop_up_button.mm | 61 - (NSString*)defaultValue { 62 return [[self cell] defaultValue]; 65 - (void)setDefaultValue:(NSString*)defaultValue { 66 [[self cell] setDefaultValue:defaultValue]; 70 return [[[self cell] fieldValue] isEqualToString:[[self cell] defaultValue]]; 84 @synthesize defaultValue = defaultValue_;
|
/packages/apps/Camera2/res/xml/ |
video_preferences.xml | 27 camera:defaultValue="@string/pref_video_time_lapse_frame_interval_default" 34 camera:defaultValue="@string/pref_camera_video_flashmode_default" 43 camera:defaultValue="@string/pref_camera_whitebalance_default" 52 camera:defaultValue="@string/pref_camera_id_default" 60 camera:defaultValue="@string/pref_video_effect_default" 68 camera:defaultValue="@string/pref_camera_recordlocation_default"
|
/packages/apps/Gallery2/res/xml/ |
video_preferences.xml | 27 camera:defaultValue="@string/pref_video_time_lapse_frame_interval_default" 34 camera:defaultValue="@string/pref_camera_video_flashmode_default" 43 camera:defaultValue="@string/pref_camera_whitebalance_default" 52 camera:defaultValue="@string/pref_camera_id_default" 60 camera:defaultValue="@string/pref_video_effect_default" 68 camera:defaultValue="@string/pref_camera_recordlocation_default"
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
CompatUtils.java | 89 public static Object invoke(final Object receiver, final Object defaultValue, 91 if (method == null) return defaultValue; 97 return defaultValue; 100 public static Object getFieldValue(final Object receiver, final Object defaultValue, 102 if (field == null) return defaultValue; 108 return defaultValue;
|
/packages/inputmethods/OpenWnn/res/xml-sw768dp/ |
openwnn_pref_ja.xml | 31 android:defaultValue="true" /> 38 android:defaultValue="keyboard_android_default" /> 45 android:defaultValue="true" /> 49 android:defaultValue="true" /> 56 android:defaultValue="true" /> 60 android:defaultValue="false" />
|
/development/samples/ApiDemos/res/xml/ |
default_values.xml | 24 android:defaultValue="true" 30 android:defaultValue="@string/default_value_edittext_preference" 37 android:defaultValue="@string/default_value_list_preference"
|
/external/eigen/Eigen/src/SparseCore/ |
CompressedStorage.h | 141 * If the value does not exist, then the value \a defaultValue is returned without any insertion. */ 142 inline Scalar at(Index key, Scalar defaultValue = Scalar(0)) const 145 return defaultValue; 151 return ((id<m_size) && (m_indices[id]==key)) ? m_values[id] : defaultValue; 155 inline Scalar atInRange(size_t start, size_t end, Index key, Scalar defaultValue = Scalar(0)) const 164 return ((id<end) && (m_indices[id]==key)) ? m_values[id] : defaultValue; 168 * If the value does not exist, then the value \a defaultValue is inserted 170 inline Scalar& atWithInsertion(Index key, Scalar defaultValue = Scalar(0)) 182 m_values[id] = defaultValue;
|
/external/replicaisland/res/xml/ |
preferences.xml | 28 android:defaultValue="true" 41 android:defaultValue="true" 61 android:defaultValue="100" 73 android:defaultValue="false" 83 android:defaultValue="false" 90 android:defaultValue="50" 105 android:defaultValue="false" 128 android:defaultValue="true" 154 android:defaultValue="false"
|
/libcore/luni/src/main/java/java/io/ |
EmulatedFields.java | 196 * default value {@code defaultValue} is returned instead. 200 * @param defaultValue 208 public byte get(String name, byte defaultValue) throws IllegalArgumentException { 210 return slot.defaulted ? defaultValue : ((Byte) slot.fieldValue).byteValue(); 216 * value {@code defaultValue} is returned instead. 220 * @param defaultValue 228 public char get(String name, char defaultValue) throws IllegalArgumentException { 230 return slot.defaulted ? defaultValue : ((Character) slot.fieldValue).charValue(); 236 * default value {@code defaultValue} is returned instead. 240 * @param defaultValue [all...] |
/packages/inputmethods/OpenWnn/res/xml/ |
openwnn_pref_ja.xml | 27 android:defaultValue="true" /> 31 android:defaultValue="true" /> 35 android:defaultValue="true" /> 42 android:defaultValue="keyboard_android_default" /> 49 android:defaultValue="true" /> 53 android:defaultValue="true" /> 60 android:defaultValue="true" /> 64 android:defaultValue="false" /> 68 android:defaultValue="true"
|
/packages/services/Telephony/res/xml/ |
respond_via_sms_settings.xml | 40 android:defaultValue="@string/respond_via_sms_canned_response_1" 45 android:defaultValue="@string/respond_via_sms_canned_response_2" 50 android:defaultValue="@string/respond_via_sms_canned_response_3" 55 android:defaultValue="@string/respond_via_sms_canned_response_4"
|
/external/guava/guava/src/com/google/common/base/ |
Functions.java | 135 * this method returns {@code defaultValue} for all inputs that do not belong to the map's key 139 * @param defaultValue the value to return for inputs that aren't map keys 141 * defaultValue} otherwise 143 public static <K, V> Function<K, V> forMap(Map<K, ? extends V> map, @Nullable V defaultValue) { 144 return new ForMapWithDefault<K, V>(map, defaultValue); 149 final V defaultValue; 151 ForMapWithDefault(Map<K, ? extends V> map, @Nullable V defaultValue) { 153 this.defaultValue = defaultValue; 159 return (result != null || map.containsKey(key)) ? result : defaultValue; [all...] |
/frameworks/base/core/java/android/os/ |
Bundle.java | 829 Object defaultValue, ClassCastException e) { 838 sb.append(defaultValue); 850 * Returns the value associated with the given key, or defaultValue if 854 * @param defaultValue Value to return if key does not exist 857 public boolean getBoolean(String key, boolean defaultValue) { 861 return defaultValue; 866 typeWarning(key, o, "Boolean", defaultValue, e); 867 return defaultValue; 884 * Returns the value associated with the given key, or defaultValue if 888 * @param defaultValue Value to return if key does not exis [all...] |
/external/chromium/testing/gmock/test/ |
gmock-actions_test.cc | 60 using testing::DefaultValue; 220 // Tests that DefaultValue<T>::IsSet() is false initially. 222 EXPECT_FALSE(DefaultValue<int>::IsSet()); 223 EXPECT_FALSE(DefaultValue<const UserType>::IsSet()); 226 // Tests that DefaultValue<T> can be set and then unset. 228 EXPECT_TRUE(DefaultValue<int>::Exists()); 229 EXPECT_FALSE(DefaultValue<const UserType>::Exists()); 231 DefaultValue<int>::Set(1); 232 DefaultValue<const UserType>::Set(UserType()); 234 EXPECT_EQ(1, DefaultValue<int>::Get()) [all...] |
/development/samples/training/network-usage/res/xml/ |
preferences.xml | 24 android:defaultValue="Wi-Fi" 30 android:defaultValue="false"
|
/external/apache-http/src/org/apache/http/params/ |
HttpParams.java | 87 * @param defaultValue the default value. 93 long getLongParameter(String name, long defaultValue); 108 * @param defaultValue the default value. 114 int getIntParameter(String name, int defaultValue); 129 * @param defaultValue the default value. 135 double getDoubleParameter(String name, double defaultValue); 150 * @param defaultValue the default value. 156 boolean getBooleanParameter(String name, boolean defaultValue);
|
/external/chromium_org/third_party/skia/include/utils/ |
SkRTConf.h | 39 SkRTConf(const char *name, const T &defaultValue, const char *description); 54 #define SK_CONF_DECLARE(confType, varName, confName, defaultValue, description) static SkRTConf<confType> varName(confName, defaultValue, description) 63 #define SK_CONF_DECLARE(confType, varName, confName, defaultValue, description) static confType varName = defaultValue 107 SkRTConf<T>::SkRTConf(const char *name, const T &defaultValue, const char *description) 109 , fValue(defaultValue) 110 , fDefault(defaultValue)
|
/external/skia/include/utils/ |
SkRTConf.h | 39 SkRTConf(const char *name, const T &defaultValue, const char *description); 54 #define SK_CONF_DECLARE(confType, varName, confName, defaultValue, description) static SkRTConf<confType> varName(confName, defaultValue, description) 63 #define SK_CONF_DECLARE(confType, varName, confName, defaultValue, description) static confType varName = defaultValue 107 SkRTConf<T>::SkRTConf(const char *name, const T &defaultValue, const char *description) 109 , fValue(defaultValue) 110 , fDefault(defaultValue)
|
/frameworks/base/packages/DocumentsUI/res/xml/ |
preferences.xml | 20 android:defaultValue="false" 24 android:defaultValue="false"
|