/packages/apps/TV/common/src/com/android/tv/common/feature/ |
GServiceFeature.java | 30 public GServiceFeature(String key, boolean defaultValue) { 32 mDefaultValue = defaultValue;
|
SharedPreferencesFeature.java | 42 * @param defaultValue the value to return if the property is undefined or empty. 45 public SharedPreferencesFeature(String key, boolean defaultValue, Feature baseFeature) { 47 mDefaultValue = defaultValue;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/ |
GLBooleanProperty.java | 25 public GLBooleanProperty(GLStateType name, Boolean defaultValue) { 28 mDefaultValue = mCurrentValue = defaultValue;
|
GLEnumProperty.java | 26 public GLEnumProperty(GLStateType name, GLEnum defaultValue) { 29 mCurrentValue = mDefaultValue = defaultValue;
|
GLFloatProperty.java | 24 public GLFloatProperty(GLStateType name, Float defaultValue) { 27 mDefaultValue = mCurrentValue = defaultValue;
|
GLStringProperty.java | 23 public GLStringProperty(GLStateType type, String defaultValue) { 26 mDefaultValue = mCurrentValue = defaultValue;
|
/system/connectivity/shill/ |
mock_device.cc | 31 using ::testing::DefaultValue; 50 DefaultValue<Technology::Identifier>::Set(Technology::kUnknown);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPreference.java | 24 protected Object defaultValue; 153 public void setDefaultValue(Object defaultValue) { 154 this.defaultValue = defaultValue; 158 return defaultValue;
|
/external/vogar/src/vogar/ |
AnnotatedOutcome.java | 76 public ResultValue getMostRecentResultValue(ResultValue defaultValue) { 79 defaultValue : 102 * Returns a Long representing the time the outcome was last run. Returns {@code defaultValue} 105 public Long lastRun(Long defaultValue) { 107 return runTimes.isEmpty() ? defaultValue : runTimes.get(runTimes.size() - 1);
|
/frameworks/base/core/java/android/security/keymaster/ |
KeyCharacteristics.java | 70 * Returns the value of the specified enum tag or {@code defaultValue} if the tag is not 98 * Returns the value of the specified unsigned 32-bit int tag or {@code defaultValue} if the tag 103 public long getUnsignedInt(int tag, long defaultValue) { 105 return hwEnforced.getUnsignedInt(tag, defaultValue); 107 return swEnforced.getUnsignedInt(tag, defaultValue);
|
KeymasterArguments.java | 92 * Returns the value of the specified enum tag or {@code defaultValue} if the tag is not 97 public int getEnum(int tag, int defaultValue) { 103 return defaultValue; 153 * Returns the value of the specified unsigned 32-bit int tag or {@code defaultValue} if the tag 158 public long getUnsignedInt(int tag, long defaultValue) { 164 return defaultValue; 261 * Returns the value of the specified bytes tag or {@code defaultValue} if the tag is not 266 public byte[] getBytes(int tag, byte[] defaultValue) { 272 return defaultValue; 315 * Returns the value of the specified date tag or {@code defaultValue} if the tag is no [all...] |
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/res/xml/ |
prefs.xml | 14 android:defaultValue="-1" 35 android:defaultValue="true" 52 android:defaultValue="true" 63 android:defaultValue="everyone" 105 android:defaultValue="everyone"
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
arguments_parser.h | 36 static OptionSpec keyValueOption(const std::string &valueName, const std::string &defaultValue, 38 return OptionSpec(true /* needsValue */, valueName, defaultValue, description); 42 return OptionSpec(false /* needsValue */, "" /* valueName */, "" /* defaultValue */, 52 OptionSpec(const bool needsValue, const std::string &valueName, const std::string &defaultValue, 54 : mNeedsValue(needsValue), mValueName(valueName), mDefaultValue(defaultValue),
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
BaseDatabaseHelperUpgradeTest.java | 59 public TableColumn(String name, String type, boolean notnull, String defaultValue) { 63 this.dflt_value = defaultValue; 105 String defaultValue) { 118 if (defaultValue == null) { 121 + " defaultValue: " + column.dflt_value + ", null expected"); 123 } else if (!defaultValue.equals(column.dflt_value)) { 125 + " defaultValue:" + column.dflt_value + ", " + defaultValue + " expected"); 280 String defaultValue) { 282 table.addColumn(new TableColumn(name, type, notnull, defaultValue)); [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
PreferenceTest.java | 128 Object defaultValue = "Zoodles was here"; 131 preference.setDefaultValue(defaultValue); 132 assertThat(shadow.getDefaultValue(), sameInstance(defaultValue)); 169 int defaultValue = 727; 176 assertThat(preference.getPersistedInt(defaultValue), equalTo(defaultValue)); 179 assertThat(preference.getPersistedInt(defaultValue), equalTo(persistedInt));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
DebugSettingsFragment.java | 153 private void setupKeyPreviewAnimationScale(final String prefKey, final float defaultValue) { 184 Settings.readKeyPreviewAnimationScale(prefs, key, defaultValue)); 189 return getPercentageFromValue(defaultValue); 205 private void setupKeyPreviewAnimationDuration(final String prefKey, final int defaultValue) { 225 return Settings.readKeyPreviewAnimationDuration(prefs, key, defaultValue); 230 return defaultValue; 243 private void setupKeyboardHeight(final String prefKey, final float defaultValue) { 271 return getPercentageFromValue(Settings.readKeyboardHeight(prefs, defaultValue)); 276 return getPercentageFromValue(defaultValue);
|
/external/clang/unittests/StaticAnalyzer/ |
AnalyzerOptionsTest.cpp | 69 Opts.getOptionAsString("Option", "DefaultValue", &CheckerOne)); 70 EXPECT_TRUE("DefaultValue" == 71 Opts.getOptionAsString("Option2", "DefaultValue", &CheckerOne));
|
/external/compiler-rt/lib/ubsan/ |
ubsan_flags.cc | 30 #define UBSAN_FLAG(Type, Name, DefaultValue, Description) Name = DefaultValue; 36 #define UBSAN_FLAG(Type, Name, DefaultValue, Description) \
|
/external/replicaisland/src/com/replica/replicaisland/ |
SliderPreference.java | 105 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { 106 mValue = defaultValue != null ? (Integer)defaultValue : INITIAL_VALUE;
|
/packages/apps/Messaging/res/xml/ |
preferences_per_subscription.xml | 36 android:defaultValue="@bool/auto_retrieve_mms_pref_default" /> 43 android:defaultValue="@bool/auto_retrieve_mms_when_roaming_pref_default" /> 55 android:defaultValue="@bool/delivery_reports_pref_default" />
|
/packages/apps/Messaging/res/xml-v21/ |
preferences_per_subscription.xml | 36 android:defaultValue="@bool/auto_retrieve_mms_pref_default" /> 43 android:defaultValue="@bool/auto_retrieve_mms_when_roaming_pref_default" /> 55 android:defaultValue="@bool/delivery_reports_pref_default" />
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
AnnotationsTest.java | 84 assertEquals((byte) 5, defaultValue("a")); 85 assertEquals((short) 6, defaultValue("b")); 86 assertEquals(7, defaultValue("c")); 87 assertEquals(8L, defaultValue("d")); 88 assertEquals(9.0f, defaultValue("e")); 89 assertEquals(10.0, defaultValue("f")); 90 assertEquals('k', defaultValue("g")); 91 assertEquals(true, defaultValue("h")); 92 assertEquals(Breakfast.WAFFLES, defaultValue("i")); 93 assertEquals("@" + AnnotationA.class.getName() + "()", defaultValue("j").toString()) [all...] |
/cts/tests/tests/preference/res/xml/ |
preferences_from_intent.xml | 19 android:defaultValue="false"
|
preferences_from_resource.xml | 19 android:defaultValue="false"
|
/developers/build/prebuilts/gradle/AsymmetricFingerprintDialog/Application/src/main/res/xml/ |
preferences.xml | 22 android:defaultValue="true" />
|