Searched defs:value (Results 226 - 250 of 1066) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/text/format/
H A DFormatter.java44 public final String value; field in class:Formatter.BytesResult
48 public BytesResult(String value, String units, long roundedBytes) { argument
49 this.value = value;
74 * @param sizeBytes size value to be formatted, in bytes
83 res.value, res.units));
96 res.value, res.units));
131 // compute the rounded value. String.format("%f", 0.1) might not return "0.1" due to
/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;
/frameworks/base/core/java/android/util/
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 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...]
H A DLruCache.java24 * a value is accessed, it is moved to the head of a queue. When a value is
25 * added to a full cache, the value at the end of that queue is evicted and may
33 * assume a value will always be returned, even when there's a cache miss.
41 * protected int sizeOf(String key, Bitmap value) {
42 * return value.getByteCount();
50 * cache.put(key, value);
54 * <p>This class does not allow null to be used as a key or value. A return
55 * value of null from {@link #get}, {@link #put} or {@link #remove} is
105 * Returns the value fo
164 put(K key, V value) argument
285 safeSizeOf(K key, V value) argument
300 sizeOf(K key, V value) argument
[all...]
H A DSparseIntArray.java99 * Gets the int 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(int key, int 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
192 setValueAt(int index, int value) argument
213 indexOfValue(int value) argument
232 append(int key, int value) argument
[all...]
H A DSparseLongArray.java97 * Gets the long mapped from the specified key, or the specified value
131 * Adds a mapping from the specified key to the specified value,
135 public void put(int key, long value) { argument
139 mValues[i] = value;
144 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value);
150 * Returns the number of key-value mappings that this SparseIntArray
159 * the key from the <code>index</code>th key-value mapping that this
173 * the value from the <code>index</code>th key-value mapping that this
178 * <code>valueAt(0)</code> will return the value associate
203 indexOfValue(long value) argument
222 append(int key, long value) argument
[all...]
/frameworks/base/core/java/org/apache/http/params/
H A DHttpConnectionParams.java62 * timeout for waiting for data. A timeout value of zero is interpreted as an infinite
63 * timeout. This value is used when no socket timeout is set in the
77 * timeout for waiting for data. A timeout value of zero is interpreted as an infinite
78 * timeout. This value is used when no socket timeout is set in the
112 * @param value <tt>true</tt> if the Nagle's algorithm is to NOT be used
115 public static void setTcpNoDelay(final HttpParams params, boolean value) { argument
119 params.setBooleanParameter(CoreConnectionPNames.TCP_NODELAY, value);
158 * @param value the linger-on-close timeout
160 public static void setLinger(final HttpParams params, int value) { argument
164 params.setIntParameter(CoreConnectionPNames.SO_LINGER, value);
221 setStaleCheckingEnabled(final HttpParams params, boolean value) argument
[all...]
H A DHttpParams.java51 * Obtains the value of the given parameter.
55 * @return an object that represents the value of the parameter,
64 * Assigns the value to the parameter with the given name.
67 * @param value parameter value
69 HttpParams setParameter(String name, Object value); argument
88 * Returns a {@link Long} parameter value with the given name.
89 * If the parameter is not explicitly set, the default value is returned.
92 * @param defaultValue the default value.
94 * @return a {@link Long} that represents the value o
106 setLongParameter(String name, long value) argument
127 setIntParameter(String name, int value) argument
148 setDoubleParameter(String name, double value) argument
169 setBooleanParameter(String name, boolean value) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_Trace.cpp50 jlong tag, jstring nameStr, jint value) {
53 ALOGV("%s: %" PRId64 " %s %d", __FUNCTION__, tag, name.c_str(), value);
54 atrace_int(tag, name.c_str(), value);
49 android_os_Trace_nativeTraceCounter(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint value) argument
H A Dandroid_util_MemoryIntArray.cpp136 std::atomic_int* value = reinterpret_cast<std::atomic_int*>(address) + index; local
137 return value->load(std::memory_order_relaxed);
153 std::atomic_int* value = reinterpret_cast<std::atomic_int*>(address) + index; local
154 value->store(newValue, std::memory_order_relaxed);
/frameworks/base/core/tests/utiltests/src/android/util/
H A DRemoteIntArray.java82 public void set(int index, int value) throws IOException { argument
84 mRemoteInstance.set(index, value);
/frameworks/base/drm/java/android/drm/
H A DDrmInfo.java90 * Adds optional information as key-value pairs to this object. To add a custom object
94 * @param value Value to add.
97 public void put(String key, Object value) { argument
98 mAttributes.put(key, value);
102 * Retrieves the value of a given key.
104 * @param key The key whose value is being retrieved.
106 * @return The value of the key being retrieved. Returns null if the key cannot be found.
H A DDrmInfoRequest.java96 * Adds optional information as key-value pairs to this object.
99 * @param value The value to add.
101 public void put(String key, Object value) { argument
102 mRequestInformation.put(key, value);
106 * Retrieves the value of a given key.
108 * @param key The key whose value is being retrieved.
110 * @return The value of the key that is being retrieved. Returns null if the key cannot be
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DFilterGraphEffect.java108 public void setParameter(String parameterKey, Object value) { argument
H A DSingleFilterEffect.java45 * @param finalParameters Key-value pairs of final input port assignments.
85 public void setParameter(String parameterKey, Object value) { argument
86 mFunction.setInputValue(parameterKey, value);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilterFunction.java116 public void setInputValue(String input, Object value) { argument
117 mFilter.setInputValue(input, value);
H A DMutableFrameFormat.java89 public void setMetaValue(String key, Object value) { argument
93 mMetaData.put(key, value);
/frameworks/base/media/mca/filterfw/jni/
H A Djni_util.cpp98 jstring ToJString(JNIEnv* env, const std::string& value) { argument
99 return env->NewStringUTF(value.c_str());
102 std::string ToCppString(JNIEnv* env, jstring value) { argument
104 const char* c_value = env->GetStringUTFChars(value, &isCopy);
107 env->ReleaseStringUTFChars(value, c_value);
111 jboolean ToJBool(bool value) { argument
112 return value ? JNI_TRUE : JNI_FALSE;
115 bool ToCppBool(jboolean value) { argument
116 return value == JNI_TRUE;
127 jobject CreateJObject(JNIEnv* env, const std::string& class_name, const std::string& signature, T value) { argument
162 ToJObject(JNIEnv* env, const Value& value) argument
[all...]
/frameworks/base/media/mca/filterfw/native/base/
H A Dutilities.h58 // Given an STL container consisting of (key, value) pairs, STLDeleteValues
59 // deletes all the "value" components and clears the container. Does nothing
71 // If the key is present a const pointer to the associated value is returned,
123 // If the key is present a const pointer to the associated value is returned,
126 // to a NULL value.
145 // Insert a new key and value into a map or hash_map.
146 // If the key is not present in the map the key and value are
151 const Key& key, const Value& value) {
153 collection->insert(typename Collection::value_type(key, value));
150 InsertIfNotPresent(Collection * const collection, const Key& key, const Value& value) argument
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_program.cpp126 bool NativeProgram::CallSetValue(const std::string& key, const std::string& value) { argument
128 setvalue_function_(key.c_str(), value.c_str(), user_data_);
/frameworks/base/media/mca/filterpacks/native/base/
H A Dutilities.h58 // Given an STL container consisting of (key, value) pairs, STLDeleteValues
59 // deletes all the "value" components and clears the container. Does nothing
71 // If the key is present a const pointer to the associated value is returned,
123 // If the key is present a const pointer to the associated value is returned,
126 // to a NULL value.
145 // Insert a new key and value into a map or hash_map.
146 // If the key is not present in the map the key and value are
151 const Key& key, const Value& value) {
153 collection->insert(typename Collection::value_type(key, value));
150 InsertIfNotPresent(Collection * const collection, const Key& key, const Value& value) argument
/frameworks/base/media/mca/filterpacks/native/imageproc/
H A Dbrightness.c30 int value; member in union:__anon1101
42 void brightness_setvalue(const char* key, const char* value, void* user_data) { argument
44 ((BrightnessParameters*)user_data)->brightness = atof(value);
84 pixel.value = *(input_ptr++);
H A Dcontrast.c37 void contrast_setvalue(const char* key, const char* value, void* user_data) { argument
39 ((ContrastParameters*)user_data)->contrast = atof(value);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DPreconditions.java34 * Checks that the value has the expected bitwise flags set.
54 * Checks that the value is {@link Object#equals equal} to the expected value.
58 * @param expectedName Name of the expected value
59 * @param expectedValue Expected value
77 * Checks that the value is not {@code null}.
80 * Returns the value directly, so you can use {@code checkNotNull("value", value)} inline.
98 * Checks that the value i
142 checkCollectionElementsNotNull(final Collection<T> value, final String valueName) argument
171 checkCollectionNotEmpty(final Collection<T> value, final String valueName) argument
[all...]

Completed in 503 milliseconds

1234567891011>>