Searched refs:value (Results 376 - 400 of 1696) sorted by path

<<11121314151617181920>>

/frameworks/base/core/java/android/text/format/
H A DTimeFormatter.java38 // An arbitrary value outside the range representable by a char.
417 private void outputYear(int value, boolean outputTop, boolean outputBottom, int modifier) { argument
422 trail = value % DIVISOR;
423 lead = value / DIVISOR + trail / DIVISOR;
/frameworks/base/core/java/android/text/style/
H A DEasyEditSpan.java47 * The value of {@link #EXTRA_TEXT_CHANGED_TYPE} when the text wrapped by this span is deleted.
52 * The value of {@link #EXTRA_TEXT_CHANGED_TYPE} when the text wrapped by this span is modified.
127 public void setDeleteEnabled(boolean value) { argument
128 mDeleteEnabled = value;
H A DTtsSpan.java35 * key-value pairs in a bundle.
232 * Argument used to specify a whole number. The value can be a string of
240 * value can be a string of digits of any size optionally prefixed with
247 * Argument used to specify the fractional part of a decimal. The value can
273 * Argument used to specify the numerator of a fraction. The value can be a
280 * Argument used to specify the denominator of a fraction. The value can be
312 * Argument used to specify the weekday of a date. The value should be
330 * Argument used to specify the day of the month of a date. The value should
337 * Argument used to specify the month of a date. The value should be
361 * Argument used to specify the year of a date. The value shoul
554 setStringArgument(String arg, String value) argument
565 setIntArgument(String arg, int value) argument
576 setLongArgument(String arg, long value) argument
[all...]
/frameworks/base/core/java/android/text/util/
H A DLinkify.java108 @IntDef(flag = true, value = { WEB_URLS, EMAIL_ADDRESSES, PHONE_NUMBERS, MAP_ADDRESSES, ALL })
366 * contains a scheme. Passing a null or empty value means prepend defaultScheme
429 * contains a scheme. Passing a null or empty value means prepend defaultScheme
/frameworks/base/core/java/android/transition/
H A DChangeBounds.java73 public void set(Drawable object, PointF value) {
75 mBounds.offsetTo(Math.round(value.x), Math.round(value.y));
206 * view animation or false when bounds are changed. The default value is false.
209 * view animation or false when bounds are changed. The default value is false.
H A DChangeImageTransform.java63 public void set(ImageView object, Matrix value) {
64 object.animateTransform(value);
H A DChangeTransform.java73 public void set(PathAnimatorMatrix object, float[] value) {
74 object.setValues(value);
89 public void set(PathAnimatorMatrix object, PointF value) {
90 object.setTranslation(value);
111 * default value is <code>true</code>.
133 * default value is <code>true</code>.
H A DTransition.java336 * the returned value will be negative, indicating that resulting animators will
363 * the returned value will be negative, indicating that resulting animators will
390 * the returned value will be null, indicating that resulting animators will
442 * alpha value to 0, to avoid it blinking in prior to the transition
446 * different value should set that value prior to returning from this method.</p>
456 * and interpolator to that animation and start it. A return value of
468 * overall transition for this scene change. A null value means no animation
499 throw new IllegalArgumentException("matches contains invalid value");
502 throw new IllegalArgumentException("matches contains a duplicate value");
[all...]
H A DVisibility.java55 @IntDef(flag=true, value={MODE_IN, MODE_OUT})
272 * overall transition for this scene change. A null value means no animation
308 * overall transition for this scene change. A null value means no animation
347 * overall transition for this scene change. A null value means no animation
483 * overall transition for this scene change. A null value means no animation
/frameworks/base/core/java/android/util/
H A DArrayMap.java26 * ArrayMap is a generic key->value mapping data structure that is
29 * codes for each item, and an Object array of the key/value pairs. This allows it to
63 * Special hash array value that indicates the container is immutable.
120 // Key not found -- return negative value indicating where a
158 // Key not found -- return negative value indicating where a
346 int indexOfValue(Object value) { argument
349 if (value == null) {
357 if (value.equals(array[i])) {
366 * Check whether a value exists in the array. This requires a linear search
369 * @param value Th
373 containsValue(Object value) argument
413 setValueAt(int index, V value) argument
437 put(K key, V value) argument
493 append(K key, V value) argument
[all...]
H A DArraySet.java109 // Key not found -- return negative value indicating where a
147 // Key not found -- return negative value indicating where a
297 * Check whether a value exists in the set.
299 * @param key The value to search for.
300 * @return Returns true if the value exists, else false.
308 * Returns the index of a value in the set.
310 * @param key The value to search for.
311 * @return Returns the index of the value if it exists, else a negative integer.
319 * Return the value at the given index in the array.
321 * @return Returns the value store
345 add(E value) argument
397 append(E value) argument
[all...]
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 DContainerHelpers.java22 static int binarySearch(int[] array, int size, int value) { argument
30 if (midVal < value) {
32 } else if (midVal > value) {
35 return mid; // value found
38 return ~lo; // value not present
41 static int binarySearch(long[] array, int size, long value) { argument
49 if (midVal < value) {
51 } else if (midVal > value) {
54 return mid; // value found
57 return ~lo; // value no
[all...]
H A DDebugUtils.java92 Object value = declaredMethod
94 match |= (value != null ?
95 value.toString() : "null").matches(pair[1]);
153 String value;
155 value = String.format("%.2f", result);
157 value = String.format("%.1f", result);
159 value = String.format("%.0f", result);
161 value = String.format("%.0f", result);
163 pw.print(value);
194 String value;
215 valueToString(Class<?> clazz, String prefix, int value) argument
[all...]
H A DEventLog.java183 * @param value A value to log
186 public static native int writeEvent(int tag, int value); argument
191 * @param value A value to log
194 public static native int writeEvent(int tag, long value); argument
199 * @param value A value to log
202 public static native int writeEvent(int tag, float value); argument
207 * @param str A value t
[all...]
H A DFloatMath.java40 * positive infinity) integer value which is less than the argument.
42 * @param value to be converted
43 * @return the floor of value
46 public static float floor(float value) { argument
47 return (float) Math.floor(value);
52 * negative infinity) integer value which is greater than the argument.
54 * @param value to be converted
55 * @return the ceiling of value
58 public static float ceil(float value) { argument
59 return (float) Math.ceil(value);
92 sqrt(float value) argument
104 exp(float value) argument
[all...]
H A DFloatProperty.java37 public abstract void setValue(T object, float value); argument
40 final public void set(T object, Float value) { argument
41 setValue(object, value);
H A DIntArray.java55 * Appends the specified value to the end of this array.
57 public void add(int value) { argument
58 add(mSize, value);
62 * Inserts a value at the specified position in this array.
66 public void add(int index, int value) { argument
77 mValues[index] = value;
82 * Searches the array for the specified value using the binary search algorithm. The array must
85 * the specified value, there is no guarantee which one will be found.
87 * @param value The value t
95 binarySearch(int value) argument
154 indexOf(int value) argument
[all...]
H A DIntProperty.java37 public abstract void setValue(T object, int value); argument
40 final public void set(T object, Integer value) { argument
41 setValue(object, value.intValue());
H A DJsonReader.java29 * encoded value as a stream of tokens. This stream includes both literal
33 * Within JSON objects, name/value pairs are represented by a single token.
58 * skip the value's nested tokens, which may otherwise conflict.
60 * <p>If a value may be null, you should first check using {@link #peek()}.
212 * #advance}. If null, peek() will assign a value.
220 * For the next literal value, we may have the text value, or the position
223 private String value; field in class:JsonReader
255 * was the omitted value.
258 * <li>Name/value pair
[all...]
H A DJsonWriter.java27 * encoded value to a stream, one token at a time. The stream includes both
38 * Write each of the array's elements with the appropriate {@link #value}
43 * {@link #name} with the property's value. Write property values with the
44 * appropriate {@link #value} method or by nesting other objects or arrays.
88 * writer.name("id").value(message.getId());
89 * writer.name("text").value(message.getText());
103 * writer.name("name").value(user.getName());
104 * writer.name("followers_count").value(user.getFollowersCount());
110 * for (Double value : doubles) {
111 * writer.value(valu
299 value(String value) argument
324 value(boolean value) argument
337 value(double value) argument
351 value(long value) argument
364 value(Number value) argument
400 string(String value) argument
[all...]
H A DKeyValueListParser.java21 * Parses a list of key=value pairs, separated by some delimiter, and puts the results in
22 * an internal Map. Values can be then queried by key, or if not found, a default value
33 * @param delim The delimiter that separates key=value pairs.
42 * <pre>key1=value,key2=value,key3=value</pre>
58 "'" + pair + "' in '" + str + "' is not a valid key-value pair");
66 * Get the value for key as an int.
68 * @param def The value to return if the key was not found, or the value wa
[all...]
H A DLongArray.java53 * Appends the specified value to the end of this array.
55 public void add(long value) { argument
56 add(mSize, value);
60 * Inserts a value at the specified position in this array.
64 public void add(int index, long value) { argument
75 mValues[index] = value;
126 * Returns the value at the specified position in this array.
136 * Returns the index of the first occurrence of the specified value in this
137 * array, or -1 if this array does not contain the value.
139 public int indexOf(long value) { argument
[all...]
H A DLongSparseArray.java182 * Adds a mapping from the specified key to the specified value,
186 public void put(long key, E value) { argument
190 mValues[i] = value;
196 mValues[i] = value;
208 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value);
214 * Returns the number of key-value mappings that this LongSparseArray
227 * the key from the <code>index</code>th key-value mapping that this
245 * the value from the <code>index</code>th key-value mapping that this
250 * <code>valueAt(0)</code> will return the value associate
268 setValueAt(int index, E value) argument
297 indexOfValue(E value) argument
328 append(long key, E value) argument
[all...]
H A DLongSparseLongArray.java99 * Gets the long mapped from the specified key, or the specified value
133 * Adds a mapping from the specified key to the specified value,
137 public void put(long key, long value) { argument
141 mValues[i] = value;
146 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value);
152 * Returns the number of key-value mappings that this SparseIntArray
161 * the key from the <code>index</code>th key-value mapping that this
175 * the value from the <code>index</code>th key-value mapping that this
180 * <code>valueAt(0)</code> will return the value associate
205 indexOfValue(long value) argument
224 append(long key, long value) argument
[all...]

Completed in 781 milliseconds

<<11121314151617181920>>