Searched defs:value (Results 201 - 225 of 922) sorted by relevance

1234567891011>>

/frameworks/base/core/java/org/apache/http/params/
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
/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.c30 int value; member in union:__anon1048
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/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/tuner/
H A DDemoModeFragment.java199 private void setGlobal(String key, int value) { argument
200 Settings.Global.putInt(getContext().getContentResolver(), key, value);
/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...]
H A DScriptIntrinsicLUT.java22 * tables are 256 entries in size and can cover the full value
60 private void validate(int index, int value) { argument
64 if (value < 0 || value > 255) {
73 * @param value Must be 0-255
75 public void setRed(int index, int value) { argument
76 validate(index, value);
77 mCache[index] = (byte)value;
85 * @param value Must be 0-255
87 public void setGreen(int index, int value) { argument
99 setBlue(int index, int value) argument
111 setAlpha(int index, int value) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DCertBlacklisterTest.java45 private void overrideSettings(String key, String value) throws Exception { argument
46 Settings.Secure.putString(mContext.getContentResolver(), key, value);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dsobeloperator.cpp95 double value = sqrt(gx * gx + gy * gy); local
96 *(magPtr + 4 * i + c) = static_cast<unsigned char>(value);
/frameworks/base/tools/aapt/
H A DAaptXml.cpp28 Res_value value; local
29 if (tree.getAttributeValue(attrIndex, &value) < 0) {
36 if (value.dataType != Res_value::TYPE_STRING) {
38 *outError = "attribute is not a string value";
50 Res_value value; local
51 if (tree.getAttributeValue(attrIndex, &value) < 0) {
58 if (value.dataType < Res_value::TYPE_FIRST_INT
59 || value.dataType > Res_value::TYPE_LAST_INT) {
61 *outError = "attribute is not an integer value";
65 return value
102 Res_value value; local
147 Res_value value; local
[all...]

Completed in 501 milliseconds

1234567891011>>