HomeSort by relevance Sort by last modified time
    Searched full:defaultvalue (Results 51 - 75 of 1710) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/app/
AppGlobals.java 54 * @param defaultValue The setting default value.
57 public static int getIntCoreSetting(String key, int defaultValue) {
60 return currentActivityThread.getIntCoreSetting(key, defaultValue);
62 return defaultValue;
  /frameworks/base/core/tests/coretests/res/xml/
app_restrictions.xml 21 android:defaultValue="true"
27 android:defaultValue="test"
33 android:defaultValue="15"/>
40 android:defaultValue="true"
  /frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/util/
SystemProperties.java 33 * @param defaultValue the value to return if the property is undefined or empty (this parameter
37 public static String get(String key, String defaultValue) {
41 return (String) get.invoke(null, key, defaultValue);
45 return defaultValue;
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
GLIntegerProperty.java 25 public GLIntegerProperty(GLStateType name, Integer defaultValue, DisplayRadix radix) {
28 mDefaultValue = mCurrentValue = defaultValue;
32 public GLIntegerProperty(GLStateType name, Integer defaultValue) {
33 this(name, defaultValue, DisplayRadix.DECIMAL);
GLLongProperty.java 25 public GLLongProperty(GLStateType name, Long defaultValue, DisplayRadix radix) {
28 mDefaultValue = mCurrentValue = defaultValue;
32 public GLLongProperty(GLStateType name, Long defaultValue) {
33 this(name, defaultValue, DisplayRadix.DECIMAL);
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;
  /frameworks/base/core/java/android/content/res/
XmlBlock.java 315 String[] options, int defaultValue) {
318 return getAttributeListValue(idx, options, defaultValue);
320 return defaultValue;
323 boolean defaultValue) {
326 return getAttributeBooleanValue(idx, defaultValue);
328 return defaultValue;
331 int defaultValue) {
334 return getAttributeResourceValue(idx, defaultValue);
336 return defaultValue;
339 int defaultValue) {
    [all...]
  /development/samples/SipDemo/res/xml/
preferences.xml 22 android:defaultValue=""
28 android:defaultValue=""
34 android:defaultValue=""
  /external/chromium-trace/catapult/tracing/third_party/gl-matrix/jsdoc-template/
symbol.tmpl 20 <defaultValue>{+param.defaultValue+}</defaultValue>
  /packages/inputmethods/LatinIME/java/res/xml/
prefs_screen_gesture.xml 25 android:defaultValue="true"
32 android:defaultValue="true"
38 android:defaultValue="true"
prefs_screen_debug.xml 26 android:defaultValue="false"
31 android:defaultValue="false"
36 android:defaultValue="true"
42 android:defaultValue="true"
47 android:defaultValue="false"
82 android:defaultValue="false"
  /external/jsilver/src/com/google/clearsilver/jsilver/data/
AbstractData.java 51 public String getValue(String path, String defaultValue) {
54 return defaultValue;
57 return result == null ? defaultValue : result;
67 public int getIntValue(String path, int defaultValue) {
70 return defaultValue;
74 return result == null ? defaultValue : TypeConverter.parseNumber(result);
76 return defaultValue;
  /packages/apps/DeskClock/res/xml/
settings.xml 25 android:defaultValue="@string/default_clock_style"
32 android:defaultValue="true" />
53 android:defaultValue="10"
59 android:defaultValue="10"/>
68 android:defaultValue="0"/>
76 android:defaultValue="0" />
96 android:defaultValue="0"/>
  /packages/apps/Gallery/res/xml/
gallery_preferences.xml 32 android:defaultValue="@string/default_value_pref_gallery_size" />
42 android:defaultValue="@string/default_value_pref_gallery_sort" />
49 android:defaultValue="true"/>
63 android:defaultValue="@string/default_value_pref_gallery_slideshow_interval" />
73 android:defaultValue="@string/default_value_pref_gallery_slideshow_transition" />
80 android:defaultValue="false"/>
87 android:defaultValue="false"/>
  /packages/apps/LegacyCamera/res/xml/
video_preferences.xml 22 camera:defaultValue="@string/pref_video_quality_default"
29 camera:defaultValue="@string/pref_video_time_lapse_frame_interval_default"
36 camera:defaultValue="@string/pref_camera_video_flashmode_default"
44 camera:defaultValue="@string/pref_camera_whitebalance_default"
52 camera:defaultValue="@string/pref_camera_id_default"
59 camera:defaultValue="@string/pref_video_effect_default"
67 camera:defaultValue="@string/pref_camera_recordlocation_default"
  /packages/apps/TV/common/src/com/android/tv/common/
BooleanSystemProperty.java 47 * @param defaultValue the value to return if the property is undefined or empty.
49 public BooleanSystemProperty(String key, boolean defaultValue) {
50 mDefaultValue = defaultValue;
65 * @param defaultValue the value to return if the property is undefined or empty.
68 private static boolean getBoolean(String key, boolean defaultValue) {
72 return (boolean) get.invoke(null, key, defaultValue);
76 return defaultValue;
  /external/robolectric/v1/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...]
  /art/tools/ahat/src/
Query.java 58 public String get(String name, String defaultValue) {
60 return (value == null) ? defaultValue : value;
66 public long getLong(String name, long defaultValue) {
68 return value == null ? defaultValue : Long.parseLong(value);
74 public int getInt(String name, int defaultValue) {
76 return value == null ? defaultValue : Integer.parseInt(value);
  /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);
  /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/apps/Messaging/res/xml/
preferences_application.xml 42 android:defaultValue="@bool/send_sound_pref_default"
48 android:defaultValue="@bool/notifications_enabled_pref_default"
59 android:defaultValue=""
65 android:defaultValue="@bool/notification_vibration_pref_default"
81 android:defaultValue="@bool/dump_sms_pref_default" />
87 android:defaultValue="@bool/dump_mms_pref_default" />
  /packages/apps/Messaging/res/xml-v21/
preferences_application.xml 42 android:defaultValue="@bool/send_sound_pref_default"
48 android:defaultValue="@bool/notifications_enabled_pref_default"
59 android:defaultValue=""
65 android:defaultValue="@bool/notification_vibration_pref_default"
81 android:defaultValue="@bool/dump_sms_pref_default" />
87 android:defaultValue="@bool/dump_mms_pref_default" />
  /packages/apps/Messaging/res/xml-v23/
preferences_application.xml 43 android:defaultValue="@bool/send_sound_pref_default"
49 android:defaultValue="@bool/notifications_enabled_pref_default"
60 android:defaultValue=""
66 android:defaultValue="@bool/notification_vibration_pref_default"
82 android:defaultValue="@bool/dump_sms_pref_default" />
88 android:defaultValue="@bool/dump_mms_pref_default" />
  /packages/apps/Messaging/src/com/android/messaging/util/
BugleSubscriptionPrefs.java 76 final boolean defaultValue = resources.getBoolean(defaultValueResId);
77 final boolean oldValue = oldPrefs.getBoolean(oldKey, defaultValue);
80 if (oldValue != defaultValue) {
86 final int newKeyResId, final String defaultValue) {
88 final String oldValue = oldPrefs.getString(oldKey, defaultValue);
91 if (!TextUtils.equals(oldValue, defaultValue)) {

Completed in 4157 milliseconds

1 23 4 5 6 7 8 91011>>