HomeSort by relevance Sort by last modified time
    Searched full:defaultvalue (Results 176 - 200 of 675) sorted by null

1 2 3 4 5 6 78 91011>>

  /cts/tests/tests/preference2/src/android/preference2/cts/
CustomPreference.java 146 Object defaultValue) {
147 super.onSetInitialValue(restorePersistedValue, defaultValue);
  /development/samples/ApiDemos/src/com/example/android/apis/preference/
MyPreference.java 84 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) {
90 int value = (Integer) defaultValue;
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorState.h 62 long getLong(const String& propertyName, long defaultValue);
64 double getDouble(const String& propertyName, double defaultValue);
  /frameworks/base/core/java/com/android/internal/preference/
YesNoPreference.java 85 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValue) {
87 (Boolean) defaultValue);
  /frameworks/base/services/java/com/android/server/
LockSettingsService.java 199 public boolean getBoolean(String key, boolean defaultValue, int userId) throws RemoteException {
204 defaultValue : (value.equals("1") || value.equals("true"));
208 public long getLong(String key, long defaultValue, int userId) throws RemoteException {
212 return TextUtils.isEmpty(value) ? defaultValue : Long.parseLong(value);
216 public String getString(String key, String defaultValue, int userId) throws RemoteException {
219 return readFromDb(key, defaultValue, userId);
412 private String readFromDb(String key, String defaultValue, int userId) {
414 String result = defaultValue;
  /libcore/luni/src/main/java/java/net/
ProxySelectorImpl.java 104 private int getSystemPropertyInt(String key, int defaultValue) {
112 return defaultValue;
  /packages/apps/Browser/tests/src/com/android/browser/
TestWebChromeClient.java 121 String defaultValue, JsPromptResult result) {
122 return mWrappedClient.onJsPrompt(view, url, message, defaultValue, result);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
FilterBasicRepresentation.java 127 public void setDefaultValue(int defaultValue) {
128 mDefaultValue = defaultValue;
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLOutputElement.idl 31 attribute DOMString defaultValue;
HTMLTextAreaElement.idl 38 attribute DOMString defaultValue;
  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
InputType.h 117 virtual String defaultValue() const; // Checked after even fallbackValue, only when the valueWithDefault function is called.
201 // succeeds; Returns defaultValue otherwise. This function can
202 // return NaN or Infinity only if defaultValue is NaN or Infinity.
203 virtual Decimal parseToNumber(const String&, const Decimal& defaultValue) const;
ResetInputType.h 47 virtual String defaultValue() const OVERRIDE;
SubmitInputType.h 49 virtual String defaultValue() const OVERRIDE;
StepRange.cpp 101 return stepDescription.defaultValue();
108 return stepDescription.defaultValue();
116 return stepDescription.defaultValue();
  /external/guava/guava/src/com/google/common/base/
Defaults.java 56 public static <T> T defaultValue(Class<T> type) {
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
HttpsURLConnectionImpl.java 229 @Override public long getHeaderFieldDate(String field, long defaultValue) {
230 return delegate.getHeaderFieldDate(field, defaultValue);
233 @Override public int getHeaderFieldInt(String field, int defaultValue) {
234 return delegate.getHeaderFieldInt(field, defaultValue);
  /frameworks/av/media/mtp/
MtpProperty.h 81 int defaultValue = 0);
  /packages/apps/Camera2/res/values/
attrs.xml 29 <attr name="defaultValue" format="string|reference" />
  /packages/apps/Gallery2/res/values/
attrs.xml 29 <attr name="defaultValue" format="string|reference" />
  /external/chromium_org/third_party/WebKit/Source/core/page/
WindowFeatures.cpp 209 bool WindowFeatures::boolFeature(const DialogFeaturesMap& features, const char* key, bool defaultValue)
213 return defaultValue;
218 float WindowFeatures::floatFeature(const DialogFeaturesMap& features, const char* key, float min, float max, float defaultValue)
222 return defaultValue;
228 return defaultValue;
  /external/guava/guava/src/com/google/common/collect/
Iterables.java 273 * defaultValue} if the iterable is empty.
279 Iterable<T> iterable, @Nullable T defaultValue) {
280 return Iterators.getOnlyElement(iterable.iterator(), defaultValue);
648 * predicate, or {@code defaultValue} if none found. Note that this can
650 * tryFind(iterable, predicate).or(defaultValue)}.
655 Predicate<? super T> predicate, @Nullable T defaultValue) {
656 return Iterators.find(iterable.iterator(), predicate, defaultValue);
751 * @param defaultValue the default value to return if {@code position} is
754 * {@code defaultValue} if {@code iterable} contains fewer than
760 @Nullable T defaultValue) {
    [all...]
Iterators.java 317 * defaultValue} if the iterator is empty.
323 Iterator<T> iterator, @Nullable T defaultValue) {
324 return iterator.hasNext() ? getOnlyElement(iterator) : defaultValue;
727 * predicate. If no such element is found, {@code defaultValue} will be
731 * tryFind(iterator, predicate).or(defaultValue)}.
736 @Nullable T defaultValue) {
738 return filteredIterator.hasNext() ? filteredIterator.next() : defaultValue;
856 * element at the {@code position}th position or {@code defaultValue}
860 * @param defaultValue the default value to return if the iterator is empty
864 * {@code defaultValue} if {@code iterator} produces fewer tha
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
Iterables.java 270 * defaultValue} if the iterable is empty.
276 Iterable<T> iterable, @Nullable T defaultValue) {
277 return Iterators.getOnlyElement(iterable.iterator(), defaultValue);
606 * predicate, or {@code defaultValue} if none found. Note that this can
608 * tryFind(iterable, predicate).or(defaultValue)}.
613 Predicate<? super T> predicate, @Nullable T defaultValue) {
614 return Iterators.find(iterable.iterator(), predicate, defaultValue);
709 * @param defaultValue the default value to return if {@code position} is
712 * {@code defaultValue} if {@code iterable} contains fewer than
718 @Nullable T defaultValue) {
    [all...]
Iterators.java 315 * defaultValue} if the iterator is empty.
321 Iterator<T> iterator, @Nullable T defaultValue) {
322 return iterator.hasNext() ? getOnlyElement(iterator) : defaultValue;
691 * predicate. If no such element is found, {@code defaultValue} will be
695 * tryFind(iterator, predicate).or(defaultValue)}.
700 @Nullable T defaultValue) {
702 return filteredIterator.hasNext() ? filteredIterator.next() : defaultValue;
820 * element at the {@code position}th position or {@code defaultValue}
824 * @param defaultValue the default value to return if the iterator is empty
828 * {@code defaultValue} if {@code iterator} produces fewer tha
    [all...]
  /frameworks/base/core/java/android/speech/tts/
TextToSpeechService.java 227 private int getSecureSettingInt(String name, int defaultValue) {
228 return Settings.Secure.getInt(getContentResolver(), name, defaultValue);
537 protected String getStringParam(String key, String defaultValue) {
538 return mParams == null ? defaultValue : mParams.getString(key, defaultValue);
541 protected int getIntParam(String key, int defaultValue) {
542 return mParams == null ? defaultValue : mParams.getInt(key, defaultValue);
545 protected float getFloatParam(String key, float defaultValue) {
546 return mParams == null ? defaultValue : mParams.getFloat(key, defaultValue)
    [all...]

Completed in 343 milliseconds

1 2 3 4 5 6 78 91011>>