Searched refs:value (Results 451 - 475 of 1186) sorted by relevance

<<11121314151617181920>>

/frameworks/av/services/audiopolicy/
H A DAudioPolicyEffects.cpp395 *(short *)((char *)param + pos) = (short)atoi(node->value);
400 *(int *)((char *)param + pos) = atoi(node->value);
405 *(float *)((char *)param + pos) = (float)atof(node->value);
410 if (strncmp(node->value, "false", strlen("false") + 1) == 0) {
418 size_t len = strnlen(node->value, EFFECT_STRING_LEN_MAX);
423 strncpy(param + *curSize, node->value, len);
436 cnode *value; local
442 value = config_find(root, VALUE_TAG);
443 if (param == NULL && value == NULL) {
452 *ptr = atoi(param->value);
[all...]
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java126 * Retrieve the styled string value for the attribute at <var>index</var>.
158 * Retrieve the string value for the attribute at <var>index</var>.
191 * Retrieve the string value for the attribute at <var>index</var>, but
192 * only if that string comes from an immediate value in an XML file. That
202 * an immediate string value.
224 * Retrieve the string value for the attribute at <var>index</var> that is
263 * Retrieve the boolean value for the attribute at <var>index</var>.
268 * @return Attribute boolean value, or defValue if not defined.
297 * Retrieve the integer value for the attribute at <var>index</var>.
302 * @return Attribute int value, o
[all...]
/frameworks/base/include/androidfw/
H A DCursorWindow.h104 status_t putBlob(uint32_t row, uint32_t column, const void* value, size_t size);
105 status_t putString(uint32_t row, uint32_t column, const char* value, size_t sizeIncludingNull);
106 status_t putLong(uint32_t row, uint32_t column, int64_t value);
107 status_t putDouble(uint32_t row, uint32_t column, double value);
188 const void* value, size_t size, int32_t type);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifParser.java83 * When the parser reaches the value area of tag that is registered by
412 * For {@link #EVENT_NEW_TAG}, the tag may not contain the value if the size
413 * of the value is greater than 4 bytes. One should call
414 * {@link ExifTag#hasValue()} to check if the tag contains value. If there
415 * is no value,call {@link #registerForTagValue(ExifTag)} to have the parser
419 * When {@link #EVENT_VALUE_OF_REGISTERED_TAG} is emitted, the value of the
421 * tags of undefined type, call one of the read methods to get the value.
505 * not contain the value if the size of the value is greater than 4 bytes.
506 * When the value i
[all...]
/frameworks/compile/mclinker/lib/Script/
H A DUnaryOp.cpp26 res->setValue(+ m_pOperand->value());
36 res->setValue(- m_pOperand->value());
46 res->setValue(! m_pOperand->value());
56 res->setValue(~ m_pOperand->value());
119 res->setValue(m_pOperand->value());
/frameworks/compile/mclinker/lib/Support/
H A DPath.cpp27 bool is_separator(char value) argument
29 return (value == separator || value == preferred_separator);
35 bool is_separator(char value)
37 return (value == separator);
/frameworks/base/libs/androidfw/
H A DCursorWindow.cpp273 status_t CursorWindow::putBlob(uint32_t row, uint32_t column, const void* value, size_t size) { argument
274 return putBlobOrString(row, column, value, size, FIELD_TYPE_BLOB);
277 status_t CursorWindow::putString(uint32_t row, uint32_t column, const char* value, argument
279 return putBlobOrString(row, column, value, sizeIncludingNull, FIELD_TYPE_STRING);
283 const void* value, size_t size, int32_t type) {
298 memcpy(offsetToPtr(offset), value, size); local
306 status_t CursorWindow::putLong(uint32_t row, uint32_t column, int64_t value) { argument
317 fieldSlot->data.l = value;
321 status_t CursorWindow::putDouble(uint32_t row, uint32_t column, double value) { argument
332 fieldSlot->data.d = value;
282 putBlobOrString(uint32_t row, uint32_t column, const void* value, size_t size, int32_t type) argument
[all...]
/frameworks/native/libs/ui/
H A DFramebufferNativeWindow.cpp294 int what, int* value)
301 *value = fb->width;
304 *value = fb->height;
307 *value = fb->format;
310 *value = NATIVE_WINDOW_FRAMEBUFFER;
313 *value = 0;
316 *value = fb->width;
319 *value = fb->height;
322 *value = 0;
325 *value
293 query(const ANativeWindow* window, int what, int* value) argument
[all...]
/frameworks/support/v4/java/android/support/v4/media/
H A DMediaMetadataCompat.java245 * Returns the value associated with the given key, or null if no mapping of
246 * the desired type exists for the given key or a null value is explicitly
249 * @param key The key the value is stored under
250 * @return a CharSequence value, or null
257 * Returns the value associated with the given key, or null if no mapping of
258 * the desired type exists for the given key or a null value is explicitly
261 * @param key The key the value is stored under
262 * @return a String value, or null
273 * Returns the value associated with the given key, or 0L if no long exists
276 * @param key The key the value i
496 putText(String key, CharSequence value) argument
533 putString(String key, String value) argument
560 putLong(String key, long value) argument
584 putRating(String key, RatingCompat value) argument
609 putBitmap(String key, Bitmap value) argument
[all...]
/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/tests/CoreTests/android/core/
H A DTestEventHandler.java96 value = v;
99 public String value; field in class:TestEventHandler.TestHeader
297 public boolean evaluateHeader(TestHeader h, String value) { argument
298 if (value == null) {
304 if (h.value == null) {
305 System.out.println("Expect value = null");
308 System.out.println("Expect value = " +
309 (h.value.toLowerCase()) + " got " +
310 value.toLowerCase());
312 if (!h.value
648 expectHeaderAdd(String name, String value) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccCarrierPrivilegeRules.java143 private String value; field in class:UiccCarrierPrivilegeRules.TLV
169 value = data.substring(index, index + length);
171 Rlog.d(LOG_TAG, "Got TLV: " + tag + "," + length + "," + value);
350 Rlog.e(LOG_TAG, "Error reading value from SIM.");
378 String arDos = allRefArDo.value;
383 AccessRule accessRule = parseRefArdo(refArDo.value);
387 Rlog.e(LOG_TAG, "Skip unrecognized rule." + refArDo.value);
410 if (!refDo.value.startsWith(TAG_DEVICE_APP_ID_REF_DO)) {
415 tmp = deviceDo.parse(refDo.value, false);
416 certificateHash = deviceDo.value;
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dintra_est.cpp224 int H = 0, V = 0, tmp, value; local
356 value = factor_c >> 5;
358 CLIP_RESULT(value)
359 word1 = value;
360 value = factor_c >> 5;
362 CLIP_RESULT(value)
363 word1 = (word1) | (value << 8);
364 value = factor_c >> 5;
366 CLIP_RESULT(value)
367 word1 = (word1) | (value << 1
1379 int H, V, value; local
[all...]
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java792 private static Object[] wrapArg(Object value) { argument
794 args[0] = value;
1075 Object value; field in class:RemoteViews.ReflectionAction
1077 ReflectionAction(int viewId, String methodName, int type, Object value) { argument
1081 this.value = value;
1098 this.value = in.readInt() != 0;
1101 this.value = in.readByte();
1104 this.value = (short)in.readInt();
1107 this.value
2313 setBoolean(int viewId, String methodName, boolean value) argument
2324 setByte(int viewId, String methodName, byte value) argument
2335 setShort(int viewId, String methodName, short value) argument
2346 setInt(int viewId, String methodName, int value) argument
2357 setLong(int viewId, String methodName, long value) argument
2368 setFloat(int viewId, String methodName, float value) argument
2379 setDouble(int viewId, String methodName, double value) argument
2390 setChar(int viewId, String methodName, char value) argument
2401 setString(int viewId, String methodName, String value) argument
2412 setCharSequence(int viewId, String methodName, CharSequence value) argument
2423 setUri(int viewId, String methodName, Uri value) argument
2444 setBitmap(int viewId, String methodName, Bitmap value) argument
2455 setBundle(int viewId, String methodName, Bundle value) argument
2466 setIntent(int viewId, String methodName, Intent value) argument
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java78 private static final String[] COLUMN_VALUE = new String[] { "value" };
107 private static final Bundle NULL_SETTING = Bundle.forPair("value", null);
109 // Used as a sentinel value in an instance equality test when we
110 // want to cache the existence of a key, but not store its value.
541 String value = c.getString(1);
542 cache.populate(name, value);
565 final String value = c.moveToNext() ? c.getString(0) : null;
566 if (value == null) {
605 getOrEstablishDatabase(callingUser); // ignore return value; we don't need it
741 // Put methods - new value i
1328 setFullyMatchesDisk(boolean value) argument
1348 putIfAbsent(String key, String value) argument
1376 populate(String name, String value) argument
1391 isRedundantSetValue(SettingsCache cache, String name, String value) argument
[all...]
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DArrayMapTests.java88 ControlledHash(int value) { argument
89 mValue = value;
132 Log.e("test", "Bad value: expected " + expValue + ", got " + gotValue
143 Log.e("test", "Bad value: expected " + expValue + ", got " + gotValue
219 Log.e("test", "Bad value: expected " + entry + " not found in ArraySet");
227 Log.e("test", "Bad value: unexpected " + entry + " in ArraySet");
236 Log.e("test", "Bad iterator: expected value " + realEntry + ", got " + entry
252 Object value = entry.getKey();
254 if (!compare(realValue, value)) {
256 + ", got " + value
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DDrmPlugin.h122 const String8& name, String8& value) const;
125 const String8& name, Vector<uint8_t>& value) const {
127 UNUSED(value);
132 const String8& name, const String8& value) {
134 UNUSED(value);
139 const String8& name, const Vector<uint8_t>& value) {
141 UNUSED(value);
131 setPropertyString( const String8& name, const String8& value) argument
138 setPropertyByteArray( const String8& name, const Vector<uint8_t>& value) argument
/frameworks/base/core/java/android/webkit/
H A DWebSettings.java85 value = size;
87 int value; field in class:WebSettings.TextSize
103 value = size;
110 return value;
113 int value; field in class:WebSettings.ZoomDensity
127 * @deprecated This value is obsolete, as from API level
398 * If it is false, WebView will keep its fidelity. The default value is false.
524 * @param t the text size as a {@link TextSize} value
528 setTextZoom(t.value);
536 * @return the text size as a {@link TextSize} value
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DUtils.java98 // Returns the input value x clamped to the range [min, max].
105 // Returns the input value x clamped to the range [min, max].
112 // Returns the input value x clamped to the range [min, max].
133 * @return a 64-bit crc value
186 public static int ceilLog2(float value) { argument
189 if ((1 << i) >= value) break;
194 public static int floorLog2(float value) { argument
197 if ((1 << i) > value) break;
236 public static String ensureNotNull(String value) { argument
237 return value
[all...]
/frameworks/native/cmds/service/
H A Dservice.cpp178 char* value = strtok_r(NULL, "=", &context1); local
185 action = value;
189 dataArg = value;
193 type = value;
197 launchFlags = atoi(value);
201 component = value;
207 categories[categoryCount] = strtok_r(value, ",", &context2);
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES30.spec23 void glUniformMatrix2x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
24 void glUniformMatrix3x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
25 void glUniformMatrix2x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
26 void glUniformMatrix4x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
27 void glUniformMatrix3x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
28 void glUniformMatrix4x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
59 void glUniform1uiv ( GLint location, GLsizei count, const GLuint *value )
60 void glUniform2uiv ( GLint location, GLsizei count, const GLuint *value )
61 void glUniform3uiv ( GLint location, GLsizei count, const GLuint *value )
62 void glUniform4uiv ( GLint location, GLsizei count, const GLuint *value )
[all...]
/frameworks/rs/cpu_ref/linkloader/include/
H A DELFTypes.h70 IMPL value; \
72 TYPE() : value(0) { } \
73 TYPE(IMPL val) : value(val) { } \
75 TYPE &operator=(TYPE const &with) { value = with.value; return *this; } \
76 TYPE &operator=(IMPL val) { value = val; return *this; } \
78 operator IMPL() const { return value; } \
/frameworks/av/camera/
H A DCameraParameters2.cpp75 // Find the value.
92 void CameraParameters2::set(const char *key, const char *value) argument
100 if (strchr(value, '=') || strchr(value, ';')) {
101 //XXX ALOGE("Value \"%s\"contains invalid character (= or ;)", value);
105 // Replacing a value updates the key's order to be the new largest order
106 ssize_t res = mMap.replaceValueFor(String8(key), String8(value));
107 LOG_ALWAYS_FATAL_IF(res < 0, "replaceValueFor(%s,%s) failed", key, value);
110 void CameraParameters2::set(const char *key, int value)
113 sprintf(str, "%d", value);
[all...]
/frameworks/av/media/libstagefright/
H A DAudioSource.cpp368 int16_t value = *data++; local
369 if (value < 0) {
370 value = -value;
372 if (mMaxAmplitude < value) {
373 mMaxAmplitude = value;
383 int16_t value = mMaxAmplitude; local
385 ALOGV("max amplitude since last call: %d", value);
386 return value;
/frameworks/base/media/java/android/media/
H A DMediaFile.java306 Integer value = sMimeTypeMap.get(mimeType);
307 return (value == null ? 0 : value.intValue());
317 Integer value = sMimeTypeToFormatMap.get(mimeType);
318 if (value != null) {
319 return value.intValue();
325 Integer value = sFileTypeToFormatMap.get(extension);
326 if (value != null) {
327 return value.intValue();

Completed in 1330 milliseconds

<<11121314151617181920>>