Searched defs:value (Results 276 - 300 of 572) sorted by relevance

<<11121314151617181920>>

/frameworks/native/opengl/libs/EGL/
H A Degl.cpp94 static inline void setGlTraceThreadSpecific(gl_hooks_t const *value) { argument
95 pthread_setspecific(gGLTraceKey, value);
103 char value[PROPERTY_VALUE_MAX]; local
104 property_get("debug.egl.trace", value, "0");
106 sEGLGetErrorEnabled = !strcasecmp(value, "error");
113 sEGLSystraceEnabled = !strcasecmp(value, "systrace");
119 int propertyLevel = atoi(value);
126 char value[PROPERTY_VALUE_MAX]; local
127 property_get("debug.egl.debug_proc", value, "");
128 if (strlen(value) >
152 setGLHooksThreadSpecific(gl_hooks_t const *value) argument
190 setGLHooksThreadSpecific(gl_hooks_t const *value) argument
207 char value[PROPERTY_VALUE_MAX]; local
342 setGlThreadSpecific(gl_hooks_t const *value) argument
356 setGlThreadSpecific(gl_hooks_t const *value) argument
[all...]
H A Degl_cache.cpp62 const void* value, EGLsizeiANDROID valueSize) {
63 egl_cache_t::get()->setBlob(key, keySize, value, valueSize);
67 void* value, EGLsizeiANDROID valueSize) {
68 return egl_cache_t::get()->getBlob(key, keySize, value, valueSize);
136 const void* value, EGLsizeiANDROID valueSize) {
146 bc->set(key, keySize, value, valueSize);
175 void* value, EGLsizeiANDROID valueSize) {
185 return bc->get(key, keySize, value, valueSize);
61 setBlob(const void* key, EGLsizeiANDROID keySize, const void* value, EGLsizeiANDROID valueSize) argument
66 getBlob(const void* key, EGLsizeiANDROID keySize, void* value, EGLsizeiANDROID valueSize) argument
135 setBlob(const void* key, EGLsizeiANDROID keySize, const void* value, EGLsizeiANDROID valueSize) argument
174 getBlob(const void* key, EGLsizeiANDROID keySize, void* value, EGLsizeiANDROID valueSize) argument
H A Degl_display.cpp69 extern void setGLHooksThreadSpecific(gl_hooks_t const *value);
242 char value[PROPERTY_VALUE_MAX]; local
243 property_get("debug.egl.finish", value, "0");
244 if (atoi(value)) {
248 property_get("debug.egl.traceGpuCompletion", value, "0");
249 if (atoi(value)) {
/frameworks/native/opengl/tests/gl2_basic/
H A Dgl2_basic.cpp218 EGLint value = -1; local
219 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
223 printf("%d (0x%x)", value, value);
/frameworks/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp137 EGLint value = -1; local
138 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
142 printf("%d (0x%x)", value, value);
/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp213 EGLint value = -1; local
214 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
218 printf("%d (0x%x)", value, value);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DRetryManager.java35 * separated by a comma. There are two name value pair parameters plus a series
37 * The name value pairs which may be specified are:
39 *<li>max_retries=<value>
40 *<li>default_randomizationTime=<value>
44 * maybe called before isRetryNeeded will return false. if value
52 * may have an optional randomization value separated from the
57 * <li>3 retries with no randomization value which means its 0:
60 * <li>10 retries with a 500 default randomization value for each and
64 * <li>4 retries with a 100 as the default randomization value for the first 2 values and
129 * a random value
383 validateNonNegativeInt(String name, int value) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DResultCode.java22 * To get the actual return code for each enum value, call {@link #code() code}
174 public int value() { method in class:ResultCode
178 public static ResultCode fromInt(int value) { argument
180 if (r.mCode == value) {
H A DTone.java150 Tone(int value) { argument
151 mValue = value;
156 * @param value Integer value to be converted to a Tone object.
157 * @return Tone object whose value is {@code value}. If no Tone object has
158 * that value, null is returned.
160 public static Tone fromInt(int value) { argument
162 if (e.mValue == value) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedGsmCallState.java39 State (int value) {this.value = value;} argument
41 private final int value; field in class:CallInfo.State
42 public int value() {return value;}; method in class:CallInfo.State
79 + state.value() + ",0," + (isMpty ? "1" : "0")
93 ret.state = DriverCall.stateFromCLCC(state.value());
/frameworks/rs/
H A DrsScript.cpp190 void rsi_ScriptSetVarI(Context *rsc, RsScript vs, uint32_t slot, int value) { argument
192 s->setVar(slot, &value, sizeof(value));
195 void rsi_ScriptSetVarObj(Context *rsc, RsScript vs, uint32_t slot, RsObjectBase value) { argument
197 ObjectBase *o = static_cast<ObjectBase *>(value);
201 void rsi_ScriptSetVarJ(Context *rsc, RsScript vs, uint32_t slot, long long value) { argument
203 s->setVar(slot, &value, sizeof(value));
206 void rsi_ScriptSetVarF(Context *rsc, RsScript vs, uint32_t slot, float value) { argument
208 s->setVar(slot, &value, sizeo
211 rsi_ScriptSetVarD(Context *rsc, RsScript vs, uint32_t slot, double value) argument
[all...]
H A DrsScriptC.cpp272 const char * value = mHal.info.exportedPragmaValueList[i]; local
275 if (!strcmp(value, "1")) {
278 ALOGE("Invalid version pragma value: %s\n", value);
283 if (!strcmp(value, "default")) {
286 if (!strcmp(value, "parent")) {
290 ALOGE("Unrecognized value %s passed to stateVertex", value);
295 if (!strcmp(value, "default")) {
298 if (!strcmp(value, "paren
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsScript.cpp190 void rsi_ScriptSetVarI(Context *rsc, RsScript vs, uint32_t slot, int value) { argument
192 s->setVar(slot, &value, sizeof(value));
195 void rsi_ScriptSetVarObj(Context *rsc, RsScript vs, uint32_t slot, RsObjectBase value) { argument
197 ObjectBase *o = static_cast<ObjectBase *>(value);
201 void rsi_ScriptSetVarJ(Context *rsc, RsScript vs, uint32_t slot, long long value) { argument
203 s->setVar(slot, &value, sizeof(value));
206 void rsi_ScriptSetVarF(Context *rsc, RsScript vs, uint32_t slot, float value) { argument
208 s->setVar(slot, &value, sizeo
211 rsi_ScriptSetVarD(Context *rsc, RsScript vs, uint32_t slot, double value) argument
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DSimpleCursorAdapter.java103 * is invoked. If the returned value is true, binding has occured. If the
104 * returned value is false and the view to bind is a TextView,
105 * {@link #setViewText(TextView, String)} is invoked. If the returned value is
183 * By default, the value will be treated as an image resource. If the
184 * value cannot be used as an image resource, the value is used as an
191 * @param value the value retrieved from the cursor
193 public void setViewImage(ImageView v, String value) { argument
195 v.setImageResource(Integer.parseInt(value));
[all...]
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.cpp732 int value; local
734 err = (*nativeWindow->query)(nativeWindow, NATIVE_WINDOW_CONCRETE_TYPE, &value);
740 switch (value) {
762 nativeWindow, value);
/frameworks/base/media/java/android/media/
H A DMediaFormat.java27 * The format of the media data is specified as string/value pairs.
65 * The associated value is a string.
71 * The associated value is an integer
77 * The associated value is an integer
83 * The associated value is an integer
89 * The associated value is an integer
95 * The associated value is an integer
101 * The associated value is an integer
113 * The associated value is an integer or a float.
120 * The associated value i
226 setInteger(String name, int value) argument
233 setLong(String name, long value) argument
240 setFloat(String name, float value) argument
247 setString(String name, String value) argument
[all...]
/frameworks/base/media/java/android/media/audiofx/
H A DEqualizer.java158 byte[] value = new byte[PARAM_STRING_SIZE_MAX];
163 checkStatus(getParameter(param, value));
165 while (value[length] != 0) length++;
167 mPresetNames[i] = new String(value, 0, length, "ISO-8859-1");
212 * Sets the given equalizer band to the given gain value.
225 short[] value = new short[1];
229 value[0] = level;
230 checkStatus(setParameter(param, value));
379 * parameter value has changed.
383 * Method called when a parameter value ha
392 onParameterChange(Equalizer effect, int status, int param1, int param2, int value) argument
403 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaScanner.cpp119 virtual status_t handleStringTag(const char* name, const char* value) argument
121 ALOGV("handleStringTag: name(%s) and value(%s)", name, value);
128 // Check if the value is valid UTF-8 string and replace
131 if (utf8_length(value) == -1) {
132 cleaned = strdup(value);
141 value = cleaned;
143 valueStr = mEnv->NewStringUTF(value);
H A Dandroid_media_Utils.cpp55 jstring value = (jstring) env->GetObjectArrayElement(values, i); local
62 const char* valueStr = env->GetStringUTFChars(value, NULL);
71 env->ReleaseStringUTFChars(value, valueStr);
73 env->DeleteLocalRef(value);
78 static jobject makeIntegerObject(JNIEnv *env, int32_t value) { argument
85 return env->NewObject(clazz, integerConstructID, value);
88 static jobject makeLongObject(JNIEnv *env, int64_t value) { argument
95 return env->NewObject(clazz, longConstructID, value);
98 static jobject makeFloatObject(JNIEnv *env, float value) { argument
105 return env->NewObject(clazz, floatConstructID, value);
128 SetMapInt32( JNIEnv *env, jobject hashMapObj, jmethodID hashMapPutID, const char *key, int32_t value) argument
330 const char *value = env->GetStringUTFChars((jstring)valueObj, NULL); local
345 jint value = env->CallIntMethod(valueObj, intValueID); local
353 jfloat value = env->CallFloatMethod(valueObj, floatValueID); local
[all...]
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorJava.cpp423 // Retrieve the field value.
426 // Log the value.
491 int value,
502 // Check if the specified value matches the c value of the constant.
503 if (value == pClass->pConstants[index].c)
517 pName = unknown(value);
521 // Set the description to a default value.
533 int value,
544 // Check if the specified value matche
489 videoEditJava_getConstantClassName( const VideoEditJava_ConstantsClass* pClass, int value, VideoEditJava_UnknownConstant unknown) argument
531 videoEditJava_getConstantClassString( const VideoEditJava_ConstantsClass* pClass, int value, VideoEditJava_UnknownConstant unknown) argument
573 videoEditJava_getConstantClassJavaToC( bool* pResult, const VideoEditJava_ConstantsClass* pClass, int value) argument
610 videoEditJava_getConstantClassJavaToC( bool* pResult, const VideoEditJava_ConstantsClass* pClass, int value, int unknown) argument
649 videoEditJava_getConstantClassCToJava( const VideoEditJava_ConstantsClass* pClass, int value) argument
675 videoEditJava_getConstantClassCToJava( const VideoEditJava_ConstantsClass* pClass, int value, int unknown) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeProgram.java126 public void setHostValue(String variableName, Object value) { argument
134 if (!callNativeSetValue(variableName, value.toString())) {
135 throw new RuntimeException("Error setting native value for variable '" + variableName + "'!");
171 private native boolean callNativeSetValue(String key, String value); argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
H A DTextGraphReader.java404 throw new GraphIOException(scanner.unexpectedTokenMessage("<value>"));
427 Object value = mReferences.get(name);
428 mBoundReferences.put(name, value);
453 Object value = mSettings.get(setting);
455 expectSettingClass(setting, value, String.class);
456 if (value.equals("synced")) {
458 } else if (value.equals("unsynced")) {
460 } else if (value.equals("off")) {
463 throw new GraphIOException("Unknown autobranch setting: " + value + "!");
466 expectSettingClass(setting, value, Boolea
474 expectSettingClass(String setting, Object value, Class expectedClass) argument
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_gl_frame.cpp276 jint value) {
278 return frame ? ToJBool(frame->SetTextureParameter(param, value)) : JNI_FALSE;
273 Java_android_filterfw_core_GLFrame_setNativeTextureParam(JNIEnv* env, jobject thiz, jint param, jint value) argument
H A Djni_native_frame.cpp31 uint32_t value; member in union:__anon34
237 const uint8_t value = *(src_ptr++); local
238 dst_ptr->rgba[0] = dst_ptr->rgba[1] = dst_ptr->rgba[2] = value;
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_frame.cpp118 bool GLFrame::SetTextureParameter(GLenum pname, GLint value) { argument
119 if (value != tex_params_[pname]) {
121 glTexParameteri(GL_TEXTURE_2D, pname, value);
123 tex_params_[pname] = value;

Completed in 278 milliseconds

<<11121314151617181920>>