Searched refs:value (Results 201 - 225 of 845) sorted by path

1234567891011>>

/frameworks/base/core/java/android/os/
H A DPowerManager.java106 * value can be used.
226 * a negative value.
233 * Brightness value for fully on.
239 * Brightness value for fully off.
306 * The screen may be allowed to become dimmer than this value but
307 * this is the minimum value that can be set by the user.
317 * The screen may be allowed to become dimmer than this value but
318 * this is the maximum value that can be set by the user.
542 * @param brightness The brightness value from 0 to 255.
666 * @param value Tru
669 setReferenceCounted(boolean value) argument
[all...]
H A DSELinux.java51 public static final native boolean setSELinuxEnforce(boolean value); argument
104 * Gets the value for the given SELinux boolean name.
111 * Sets the value for the given SELinux boolean name.
113 * @param Boolean The new value of the SELinux boolean.
116 public static final native boolean setBooleanValue(String name, boolean value); argument
H A DStrictMode.java754 // Binder in order to propagate the value across Binder calls,
981 * getMessage() String value. Kinda gross, but least
1679 * policy value and synchronize it to libcore's (Java)
1680 * thread-local policy value.
2004 * via Binder calls). The value is 0 if the root caller wasn't on a Looper
2198 final Integer value = sInstanceCounts.get(mKlass);
2199 final int newValue = value != null ? value + 1 : 1;
2208 final Integer value = sInstanceCounts.get(mKlass);
2209 if (value !
[all...]
H A DTokenWatcher.java150 int value;
152 value = mNotificationQueue;
155 if (value == 1) {
158 else if (value == 0) {
166 int value = on ? 1 : 0;
169 mNotificationQueue = value;
172 else if (mNotificationQueue != value) {
H A DTrace.java63 private static native void nativeTraceCounter(long tag, String name, int value); argument
70 // reads the value that the native code retrieved. It's essential that the native
103 Log.w(TAG, "Unexpected value from nativeGetEnabledTags: " + tags);
125 * Writes trace message to indicate the value of a given counter.
129 * @param counterValue The counter value.
/frameworks/base/core/java/android/preference/
H A DEditTextPreference.java99 * @return The current preference value.
140 String value = mEditText.getText().toString();
141 if (callChangeListener(value)) {
142 setText(value);
H A DListPreference.java32 * This preference will store a string into the SharedPreferences. This string will be the value
99 * The array to find the value to save for a preference when an entry from
127 * Sets the value of the key. This should be one of the entries in
130 * @param value The value to set for the key.
132 public void setValue(String value) { argument
133 mValue = value;
135 persistString(value);
142 * value will be substituted in its place.
161 * value wil
212 findIndexOfValue(String value) argument
308 String value; field in class:ListPreference.SavedState
[all...]
H A DMultiCheckPreference.java104 * The array to find the value to save for a preference when an entry from
144 * Get the boolean state of a given value.
151 * Set the boolean state of a given value.
175 * value will be substituted in its place.
193 * value will be substituted in its place when it's retrieved.
215 * Returns the index of the given value (in the entry values array).
217 * @param value The value whose index should be returned.
218 * @return The index of the value, or -1 if not found.
220 public int findIndexOfValue(String value) { argument
[all...]
H A DMultiSelectListPreference.java94 * The array to find the value to save for a preference when an entry from
122 * Sets the value of the key. This should contain entries in
135 * Retrieves the current value of the key.
142 * Returns the index of the given value (in the entry values array).
144 * @param value The value whose index should be returned.
145 * @return The index of the value, or -1 if not found.
147 public int findIndexOfValue(String value) { argument
148 if (value != null && mEntryValues != null) {
150 if (mEntryValues[i].equals(value)) {
[all...]
H A DPreference.java56 * the value.
135 * Interface definition for a callback to be invoked when the value of this
138 * to prevent setting and/or persisting the value.
147 * @param newValue The new value of the Preference.
148 * @return True to update the state of the Preference with the new value.
204 * may either be an attribute resource, whose value will be
311 * Called when a Preference is being inflated and the default value
313 * different value types, the subclass should get and return the default
314 * value which will be its value typ
1372 persistString(String value) argument
1474 persistInt(int value) argument
1518 persistFloat(float value) argument
1562 persistLong(long value) argument
1606 persistBoolean(boolean value) argument
[all...]
/frameworks/base/core/java/android/provider/
H A DContacts.java129 * The value of this setting.
134 public static final String VALUE = "value";
221 String value) {
230 values.put(VALUE, value);
1333 "the value is not a valid encoded protocol, " + encodedString);
1910 * The value of this extension. May not be null.
1915 public static final String VALUE = "value";
2158 * title to a custom String value.
2266 * <P>Type: Either an integer value from {@link android.provider.Contacts.PhonesColumns PhonesColumns},
2293 * <P>Type: Either an integer value fro
220 setSetting(ContentResolver cr, String account, String key, String value) argument
[all...]
H A DContactsContract.java123 * to specify that it is a sync adapter. The default value is false. If true
135 * {@link Directory}. The parameter value should be the _ID of the corresponding
143 * parameter value should be an integer.
268 * The value for the SORT_ORDER key corresponding to sorting by given name first.
275 * The value for the SORT_ORDER key corresponding to sorting by family name first.
291 * The value for the DISPLAY_ORDER key corresponding to showing the given name first.
298 * The value for the DISPLAY_ORDER key corresponding to showing the family name first.
389 * android:value="true" /&gt;
894 * be populated with the same value as {@link #PHOTO_THUMBNAIL_URI}.
912 * the same value, bu
1813 addParameter(String kind, String value) argument
[all...]
H A DSettings.java689 * Common base for tables of name/value settings.
693 public static final String VALUE = "value";
696 String name, String value) {
701 values.put(VALUE, value);
755 public boolean putStringForUser(ContentResolver cr, String name, String value, argument
759 arg.putString(Settings.NameValueTable.VALUE, value);
811 String value = b.getPairValue();
815 mValues.put(name, value);
822 return value;
841 String value
695 putString(ContentResolver resolver, Uri uri, String name, String value) argument
1003 putString(ContentResolver resolver, String name, String value) argument
1008 putStringForUser(ContentResolver resolver, String name, String value, int userHandle) argument
1118 putInt(ContentResolver cr, String name, int value) argument
1123 putIntForUser(ContentResolver cr, String name, int value, int userHandle) argument
1205 putLong(ContentResolver cr, String name, long value) argument
1210 putLongForUser(ContentResolver cr, String name, long value, int userHandle) argument
1294 putFloat(ContentResolver cr, String name, float value) argument
1299 putFloatForUser(ContentResolver cr, String name, float value, int userHandle) argument
2767 putString(ContentResolver resolver, String name, String value) argument
2772 putStringForUser(ContentResolver resolver, String name, String value, int userHandle) argument
2872 putInt(ContentResolver cr, String name, int value) argument
2877 putIntForUser(ContentResolver cr, String name, int value, int userHandle) argument
2959 putLong(ContentResolver cr, String name, long value) argument
2964 putLongForUser(ContentResolver cr, String name, long value, int userHandle) argument
3048 putFloat(ContentResolver cr, String name, float value) argument
3053 putFloatForUser(ContentResolver cr, String name, float value, int userHandle) argument
5381 putString(ContentResolver resolver, String name, String value) argument
5387 putStringForUser(ContentResolver resolver, String name, String value, int userHandle) argument
5470 putInt(ContentResolver cr, String name, int value) argument
5539 putLong(ContentResolver cr, String name, long value) argument
5610 putFloat(ContentResolver cr, String name, float value) argument
[all...]
/frameworks/base/core/java/android/speech/srec/
H A DRecognizer.java346 * Get a result value. Must be called after
371 * Reset the acoustic state vectorto it's default value.
502 * Reserved value.
616 private static native void SR_RecognizerSetParameter(int recognizer, String key, String value); argument
618 String key, int value);
620 boolean value);
680 // LCHAR* key, void* value);
682 // const LCHAR* key, size_t value);
684 // LCHAR* key, void** value);
686 // const LCHAR* key, size_t* value);
617 SR_RecognizerSetSize_tParameter(int recognizer, String key, int value) argument
619 SR_RecognizerSetBoolParameter(int recognizer, String key, boolean value) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DBlockingAudioTrack.java341 private static final long clip(long value, long min, long max) { argument
342 if (value < min) {
346 if (value > max) {
350 return value;
353 private static float clip(float value, float min, float max) { argument
354 return value > max ? max : (value < min ? min : value);
H A DTextToSpeech.java200 * Default value for {@link Settings.Secure#TTS_USE_DEFAULTS}.
420 * or playing back a file. The value should be one of the STREAM_ constants
1148 String value = params.get(key);
1149 if (value != null) {
1150 bundle.putString(key, value);
1158 int value = Integer.parseInt(valueString);
1159 bundle.putInt(key, value);
1161 // don't set the value in the bundle
1170 float value = Float.parseFloat(valueString);
1171 bundle.putFloat(key, value);
[all...]
H A DTtsEngines.java285 * value from {@link Settings.Secure#TTS_DEFAULT_LOCALE}, failing which the
286 * old style value from {@link Settings.Secure#TTS_DEFAULT_LANG} is read. If
309 * Parses a locale preference value delimited by {@link #LOCALE_DELIMITER}.
398 for (String value : prefValues) {
399 final int delimiter = value.indexOf(':');
401 if (engineName.equals(value.substring(0, delimiter))) {
402 return value.substring(delimiter + 1);
428 * Updates the value for a given key in a comma separated list of key value pairs,
429 * each of which are delimited by a colon. If no value exist
[all...]
/frameworks/base/core/java/android/text/
H A DAnnotation.java22 * Annotations are simple key-value pairs that are preserved across
30 public Annotation(String key, String value) { argument
32 mValue = value;
H A DPackedIntVector.java55 * Returns the value at the specified row and column.
60 * @return the value stored at the specified position.
77 int value = mValues[row * columns + column];
81 value += valuegap[column + columns];
84 return value;
88 * Sets the value at the specified row and column.
97 public void setValue(int row, int column, int value) { argument
108 value -= valuegap[column + mColumns];
111 mValues[row * mColumns + column] = value;
115 * Sets the value a
122 setValueInternal(int row, int column, int value) argument
[all...]
H A DPackedObjectVector.java49 Object value = mValues[row * mColumns + column];
51 return (E) value;
55 setValue(int row, int column, E value) argument
60 mValues[row * mColumns + column] = value;
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java66 zero-pad the value to that number of characters.
221 String value = Settings.System.getString(context.getContentResolver(),
224 if (value == null) {
242 value = "24";
244 value = "12";
247 value = "12";
252 sIs24Hour = value.equals("24");
258 return value.equals("24");
288 String value = Settings.System.getString(context.getContentResolver(),
291 return getDateFormatForSetting(context, value);
303 getDateFormatForSetting(Context context, String value) argument
310 getDateFormatStringForSetting(Context context, String value) argument
[all...]
H A DDateUtils.java650 private static void append(StringBuilder sb, long value, boolean pad, char zeroDigit) { argument
651 if (value < 10) {
656 sb.append((char) (zeroDigit + (value / 10)));
658 sb.append((char) (zeroDigit + (value % 10)));
H A DFormatter.java32 * @param number size value to be formatted
74 String value;
76 value = String.format("%.2f", result);
79 value = String.format("%.1f", result);
81 value = String.format("%.2f", result);
85 value = String.format("%.0f", result);
87 value = String.format("%.2f", result);
90 value = String.format("%.0f", result);
94 value, context.getString(suffix));
/frameworks/base/core/java/android/util/
H A DBase64.java237 private int value; field in class:Base64.Decoder
246 value = 0;
275 int value = this.value;
288 // (whitespace, etc.), value will end up negative. (All
291 // together will result in a value with its top bit set.)
297 (value = ((alphabet[input[p] & 0xff] << 18) |
301 output[op+2] = (byte) value;
302 output[op+1] = (byte) (value >> 8);
303 output[op] = (byte) (value >> 1
[all...]
H A DDebugUtils.java88 Object value = declaredMethod
90 match |= (value != null ?
91 value.toString() : "null").matches(pair[1]);

Completed in 227 milliseconds

1234567891011>>