Home
last modified time | relevance | path

Searched refs:mDefaultValue (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DKeyValueListParser.java222 private final int mDefaultValue; field in KeyValueListParser.IntValue
228 mDefaultValue = defaultValue; in IntValue()
229 mValue = mDefaultValue; in IntValue()
234 mValue = parser.getInt(mKey, mDefaultValue); in parse()
244 return mDefaultValue; in getDefaultValue()
270 private final long mDefaultValue; field in KeyValueListParser.LongValue
276 mDefaultValue = defaultValue; in LongValue()
277 mValue = mDefaultValue; in LongValue()
282 mValue = parser.getLong(mKey, mDefaultValue); in parse()
292 return mDefaultValue; in getDefaultValue()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java172 private final T mDefaultValue; field in CompatUtils.ToObjectMethodWrapper
175 mDefaultValue = defaultValue; in ToObjectMethodWrapper()
179 return (T) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args); in invoke()
185 private final int mDefaultValue; field in CompatUtils.ToIntMethodWrapper
188 mDefaultValue = defaultValue; in ToIntMethodWrapper()
191 return (int) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args); in invoke()
197 private final float mDefaultValue; field in CompatUtils.ToFloatMethodWrapper
200 mDefaultValue = defaultValue; in ToFloatMethodWrapper()
203 return (float) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args); in invoke()
209 private final boolean mDefaultValue; field in CompatUtils.ToBooleanMethodWrapper
[all …]
/packages/apps/TV/common/src/com/android/tv/common/dev/
DDeveloperPreference.java55 final T mDefaultValue; field in DeveloperPreference
61 mDefaultValue = defaultValue; in DeveloperPreference()
80 return context == null ? mDefaultValue : getStoredValue(context); in getDefaultIfContextNull()
96 return "[" + mKey + "]=" + mValue + " Default value : " + mDefaultValue; in toString()
112 return getPreferences(context).getBoolean(mKey, mDefaultValue); in getStoredValue()
129 return getPreferences(context).getInt(mKey, mDefaultValue); in getStoredValue()
/packages/apps/Settings/src/com/android/settings/development/autofill/
DAbstractGlobalSettingsPreference.java37 private final int mDefaultValue; field in AbstractGlobalSettingsPreference
46 mDefaultValue = defaultValue; in AbstractGlobalSettingsPreference()
67 mKey, mDefaultValue); in getCurrentValue()
93 int newValue = mDefaultValue; in onDialogClosed()
98 + mDefaultValue + " instead"); in onDialogClosed()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterBasicRepresentation.java32 private int mDefaultValue; field in FilterBasicRepresentation
85 && basic.mDefaultValue == mDefaultValue in equals()
128 mDefaultValue = defaultValue; in setDefaultValue()
133 return mDefaultValue; in getDefaultValue()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
DBasicParameterInt.java26 protected int mDefaultValue; field in BasicParameterInt
40 mDefaultValue = p.mDefaultValue; in copyFrom()
88 return mDefaultValue; in getDefaultValue()
/packages/apps/Camera2/src/com/android/camera/settings/
DDefaultsStore.java45 private String mDefaultValue; field in DefaultsStore.Defaults
49 mDefaultValue = defaultValue; in Defaults()
54 return mDefaultValue; in getDefaultValue()
/packages/apps/TV/common/src/com/android/tv/common/
DBooleanSystemProperty.java37 private final boolean mDefaultValue; field in BooleanSystemProperty
48 mDefaultValue = defaultValue; in BooleanSystemProperty()
94 mValue = getBoolean(mKey, mDefaultValue); in getValue()
/packages/apps/TV/common/src/com/android/tv/common/feature/
DSharedPreferencesFeature.java31 private final boolean mDefaultValue; field in SharedPreferencesFeature
44 mDefaultValue = defaultValue; in SharedPreferencesFeature()
57 mEnabled = mSharedPreferences.getBoolean(mKey, mDefaultValue); in isEnabled()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Darguments_parser.h48 const std::string &getDefaultValue() const { return mDefaultValue; } in getDefaultValue()
54 : mNeedsValue(needsValue), mValueName(valueName), mDefaultValue(defaultValue), in OptionSpec()
63 std::string mDefaultValue; variable
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
DDiagnosticEventBuilder.java42 private final T mDefaultValue; field in DiagnosticEventBuilder.DefaultedArray
46 mDefaultValue = defaultValue; in DefaultedArray()
64 return mElements.get(index, mDefaultValue); in get()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/prefs/
DTmaPrefs.java155 private final T mDefaultValue; field in TmaPrefs.EnumPrefEntry
160 mDefaultValue = defaultValue; in EnumPrefEntry()
173 return mDefaultValue; in getValue()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioDeviceInfoTest.java248 int mDefaultValue = DEFAULT_GAIN; field in CarAudioDeviceInfoTest.GainBuilder
267 mDefaultValue = defaultValue; in setDefaultValue()
281 when(mockGain.defaultValue()).thenReturn(mDefaultValue); in build()