Searched defs:value (Results 151 - 175 of 796) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/util/
H A DSparseBooleanArray.java94 * Gets the boolean mapped from the specified key, or the specified value
128 * Adds a mapping from the specified key to the specified value,
132 public void put(int key, boolean value) { argument
136 mValues[i] = value;
141 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value);
147 * Returns the number of key-value mappings that this SparseBooleanArray
156 * the key from the <code>index</code>th key-value mapping that this
170 * the value from the <code>index</code>th key-value mapping that this
175 * <code>valueAt(0)</code> will return the value associate
184 setValueAt(int index, boolean value) argument
205 indexOfValue(boolean value) argument
224 append(int key, boolean value) argument
[all...]
H A DSparseIntArray.java97 * Gets the int 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, int 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(int value) argument
222 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/com/android/internal/util/
H A DIndentingPrintWriter.java36 /** Cache of current {@link #mIndentBuilder} value */
67 public void printPair(String key, Object value) { argument
68 print(key + "=" + String.valueOf(value) + " ");
71 public void printHexPair(String key, int value) { argument
72 print(key + "=0x" + Integer.toHexString(value) + " ");
H A DPreconditions.java85 * Ensures that that the argument numeric value is non-negative.
87 * @param value a numeric int value
89 * @return the validated numeric value
90 * @throws IllegalArgumentException if {@code value} was negative
92 public static int checkArgumentNonnegative(final int value, final String errorMessage) { argument
93 if (value < 0) {
97 return value;
101 * Ensures that that the argument numeric value is non-negative.
103 * @param value
108 checkArgumentNonnegative(final long value, final String errorMessage) argument
124 checkArgumentPositive(final int value, final String errorMessage) argument
145 checkArgumentFinite(final float value, final String valueName) argument
170 checkArgumentInRange(float value, float lower, float upper, String valueName) argument
199 checkArgumentInRange(int value, int lower, int upper, String valueName) argument
224 checkArrayElementsNotNull(final T[] value, final String valueName) argument
250 checkCollectionElementsNotNull(final Collection<T> value, final String valueName) argument
279 checkCollectionNotEmpty(final Collection<T> value, final String valueName) argument
306 checkArrayElementsInRange(float[] value, float lower, float upper, String valueName) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_Trace.cpp48 jlong tag, jstring nameStr, jint value) {
51 ALOGV("%s: %lld %s %d", __FUNCTION__, tag, name.c_str(), value);
52 atrace_int(tag, name.c_str(), value);
47 android_os_Trace_nativeTraceCounter(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint value) argument
/frameworks/base/drm/java/android/drm/
H A DDrmInfo.java89 * Adds optional information as key-value pairs to this object. To add a custom object
93 * @param value Value to add.
96 public void put(String key, Object value) { argument
97 mAttributes.put(key, value);
101 * Retrieves the value of a given key.
103 * @param key The key whose value is being retrieved.
105 * @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.c29 int value; member in union:__anon994
41 void brightness_setvalue(const char* key, const char* value, void* user_data) { argument
43 ((BrightnessParameters*)user_data)->brightness = atof(value);
83 pixel.value = *(input_ptr++);
H A Dcontrast.c36 void contrast_setvalue(const char* key, const char* value, void* user_data) { argument
38 ((ContrastParameters*)user_data)->contrast = atof(value);
/frameworks/base/native/android/
H A Dnative_window.cpp44 int value; local
45 int res = window->query(window, what, &value);
46 return res < 0 ? res : value;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DSecureSetting.java38 protected abstract void handleValueChanged(int value, boolean observedChange); argument
51 public void setValue(int value) { argument
52 Secure.putIntForUser(mContext.getContentResolver(), mSettingName, value, mUserId);
71 final int value = getValue();
72 handleValueChanged(value, value != mObservedValue);
73 mObservedValue = value;
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DSegmentedButtons.java55 public void setSelectedValue(Object value) { argument
56 if (Objects.equals(value, mSelectedValue)) return;
57 mSelectedValue = value;
69 public void addButton(int labelResId, int iconResId, Object value) { argument
80 b.setTag(value);
118 void onSelected(Object value); argument
/frameworks/base/rs/java/android/renderscript/
H A DDouble2.java59 * @param value
61 public void add(Double2 value) { argument
62 x += value.x;
63 y += value.y;
69 * @param value
71 public void add(double value) { argument
72 x += value;
73 y += value;
94 * @param value
96 public void sub(Double2 value) { argument
121 sub(double value) argument
146 mul(Double2 value) argument
171 mul(double value) argument
196 div(Double2 value) argument
221 div(double value) argument
332 setAt(int i, double value) argument
351 addAt(int i, double value) argument
[all...]
H A DDouble3.java62 * @param value
64 public void add(Double3 value) { argument
65 x += value.x;
66 y += value.y;
67 z += value.z;
73 * @param value
75 public void add(double value) { argument
76 x += value;
77 y += value;
78 z += value;
102 sub(Double3 value) argument
129 sub(double value) argument
156 mul(Double3 value) argument
183 mul(double value) argument
210 div(Double3 value) argument
237 div(double value) argument
355 setAt(int i, double value) argument
377 addAt(int i, double value) argument
[all...]
H A DFloat2.java58 * @param value
60 public void add(Float2 value) { argument
61 x += value.x;
62 y += value.y;
68 * @param value
70 public void add(float value) { argument
71 x += value;
72 y += value;
93 * @param value
95 public void sub(Float2 value) { argument
120 sub(float value) argument
145 mul(Float2 value) argument
170 mul(float value) argument
195 div(Float2 value) argument
220 div(float value) argument
331 setAt(int i, float value) argument
350 addAt(int i, float value) argument
[all...]
H A DFloat3.java62 * @param value
64 public void add(Float3 value) { argument
65 x += value.x;
66 y += value.y;
67 z += value.z;
73 * @param value
75 public void add(float value) { argument
76 x += value;
77 y += value;
78 z += value;
102 sub(Float3 value) argument
129 sub(float value) argument
156 mul(Float3 value) argument
183 mul(float value) argument
210 div(Float3 value) argument
237 div(float value) argument
355 setAt(int i, float value) argument
377 addAt(int i, float value) argument
[all...]

Completed in 389 milliseconds

1234567891011>>