Searched refs:value (Results 126 - 150 of 934) sorted by relevance

1234567891011>>

/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeResources.java157 Pair<String, ResourceValue> value = getResourceValue(id, mPlatformResourceFlag);
159 if (value != null) {
160 return ResourceHelper.getDrawable(value.getSecond(), mContext);
172 Pair<String, ResourceValue> value = getResourceValue(id, mPlatformResourceFlag);
174 if (value != null) {
176 return ResourceHelper.getColor(value.getSecond().getValue());
212 Pair<String, ResourceValue> value = getResourceValue(id, mPlatformResourceFlag);
214 if (value != null) {
215 ResourceValue resValue = value.getSecond();
238 ResourceValue value
639 openRawResource(int id, TypedValue value) argument
[all...]
/frameworks/base/core/java/android/util/
H A DBase64.java237 private int value; field in class:Base64.Decoder
246 value = 0;
275 int value = this.value;
288 // (whitespace, etc.), value will end up negative. (All
291 // together will result in a value with its top bit set.)
297 (value = ((alphabet[input[p] & 0xff] << 18) |
301 output[op+2] = (byte) value;
302 output[op+1] = (byte) (value >> 8);
303 output[op] = (byte) (value >> 1
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DCustomBar.java162 ResourceValue value = getResourceValue(iconReference);
163 if (value != null) {
164 loadIcon(index, value);
169 ResourceValue value = getResourceValue(iconReference);
170 if (value != null) {
171 loadIconById(id, value);
181 ResourceValue value = res.getFrameworkResource(type, name);
184 value = res.resolveResValue(value);
185 return loadIcon(index, value);
188 loadIcon(int index, ResourceValue value) argument
199 loadIconById(int id, ResourceValue value) argument
211 loadIcon(ImageView imageView, ResourceValue value) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_slice_header.c102 u32 tmp, i, value; local
119 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
122 pSliceHeader->firstMbInSlice = value;
123 if (value >= picSizeInMbs)
129 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
132 pSliceHeader->sliceType = value;
144 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
147 pSliceHeader->picParameterSetId = value;
172 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
175 pSliceHeader->idrPicId = value;
474 u32 tmp, value, i; local
578 u32 tmp, value; local
735 u32 tmp, value; local
798 u32 tmp, value, i; local
874 u32 tmp, value, i; local
959 u32 tmp, value, i; local
1059 u32 tmp, value, i; local
1167 u32 tmp, value, i; local
1271 u32 tmp, value, i; local
1407 u32 tmp, value, i; local
[all...]
H A Dh264bsd_cavlc.c50 * of certain decoded symbol value and the length of the corresponding variable
52 * 4 bits symbol value (bits [4,7]) along with four bits to represent length
74 * If there is a 0x0000 value, it means that there is not corresponding VLC
324 #define BUFFER_INIT(value, bits) \
327 value = h264bsdShowBits32(pStrmData); \
332 #define BUFFER_SHOW(value, bits, outVal, numBits) \
338 value = h264bsdShowBits32(pStrmData); \
341 (outVal) = value >> (32 - (numBits)); \
345 #define BUFFER_FLUSH(value, bits, numBits) \
347 value <<
400 u32 value; local
543 u32 value = 0x0; local
665 u32 value = 0x0; local
[all...]
H A Dh264bsd_pic_param_set.c94 u32 tmp, i, value; local
139 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
142 pPicParamSet->numSliceGroups = value + 1;
170 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
173 pPicParamSet->runLength[i] = value+1;
188 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
191 pPicParamSet->topLeft[i] = value;
192 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
195 pPicParamSet->bottomRight[i] = value;
208 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
[all...]
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLImpl.java32 public native boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value); argument
33 public native boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value); argument
37 public native boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value); argument
109 int value = _eglGetDisplay(native_display);
110 if (value == 0) {
113 if (mDisplay.mEGLDisplay != value)
114 mDisplay = new EGLDisplayImpl(value);
119 int value = _eglGetCurrentContext();
120 if (value == 0) {
123 if (mContext.mEGLContext != value)
[all...]
/frameworks/av/media/mtp/
H A DMtpPacket.h57 void setParameter(int index, uint32_t value);
66 void putUInt16(int offset, uint16_t value);
67 void putUInt32(int offset, uint32_t value);
/frameworks/base/cmds/bootanimation/
H A Dbootanimation_main.cpp45 char value[PROPERTY_VALUE_MAX]; local
46 property_get("debug.sf.nobootanimation", value, "0");
47 int noBootAnimation = atoi(value);
/frameworks/base/core/java/android/content/pm/
H A DMacAuthenticatedInputStream.java53 int value = 0;
55 value |= tag[i] ^ actualTag[i];
58 return value == 0;
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DMetadataMarshalSize.java27 public int marshal(Size value, ByteBuffer buffer, int nativeType, boolean sizeOnly) { argument
32 buffer.putInt(value.getWidth());
33 buffer.putInt(value.getHeight());
/frameworks/base/libs/hwui/utils/
H A DTinyHashMap.h38 void put(TKey key, TValue value) { argument
46 TEntry initEntry(key, value);
51 * Return true if key is in the map, in which case stores the value in the output ref
59 outValue = mTable.entryAt(index).value;
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DIntFloat.java8 public float value; field in class:IntFloat
33 out.writeFloat(value);
38 value = in.readFloat();
H A DStringString.java8 public String value; field in class:StringString
34 out.writeString(value);
39 value = in.readString();
/frameworks/native/services/surfaceflinger/EventLog/
H A DEventLog.h62 void writeInt32(int32_t value);
64 void writeInt64(int64_t value);
66 void writeString8(const String8& value);
/frameworks/base/core/java/com/android/internal/widget/
H A DILockSettings.aidl21 void setBoolean(in String key, in boolean value, in int userId);
22 void setLong(in String key, in long value, in int userId);
23 void setString(in String key, in String value, in int userId);
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorJava.h71 int value) \
75 value, \
80 int value) \
84 value, \
91 int value) \
96 value)); \
102 int value, \
108 value, \
114 int value) \
118 value)); \
[all...]
/frameworks/opt/mms/src/java/com/google/android/mms/util/
H A DAbstractCache.java37 public boolean put(K key, V value) { argument
53 cacheEntry.value = value;
76 return cacheEntry.value;
93 return v != null ? v.value : null;
110 V value; field in class:AbstractCache.CacheEntry
/frameworks/support/v4/java/android/support/v4/util/
H A DArrayMap.java24 * ArrayMap is a generic key->value mapping data structure that is
29 * codes for each item, and an Object array of the key/value pairs. This allows it to
90 protected int colIndexOfValue(Object value) {
91 return indexOfValue(value);
100 protected void colPut(K key, V value) {
101 put(key, value);
105 protected V colSetValue(int index, V value) {
106 return setValueAt(index, value);
134 * Perform a {@link #put(Object, Object)} of all key/value pairs in <var>map</var>
/frameworks/support/v4/java/android/support/v4/widget/
H A DAutoScrollHelper.java54 * {@link #setActivationDelay}. Default value is
56 * <li>Location of activation areas, see {@link #setEdgeType}. Default value is
59 * {@link #setRelativeEdges}. Default value is 20% for both vertical and
62 * {@link #setMaximumEdges}. Default value is {@link #NO_MAX}.
70 * value is 500 milliseconds.
72 * Default value is 500 milliseconds.
74 * Default value is 100% per second for both vertical and horizontal.
77 * larger of either this value or the relative target value. Default value i
652 constrain(int value, int min, int max) argument
662 constrain(float value, float min, float max) argument
806 interpolateValue(float value) argument
[all...]
/frameworks/base/obex/javax/obex/
H A DObexHelper.java169 byte[] value = null;
196 value = new byte[length];
197 System.arraycopy(headerArray, index, value, 0, length);
198 if (length == 0 || (length > 0 && (value[length - 1] != 0))) {
206 headerImpl.setHeader(headerID, new String(value, 0,
207 value.length, "ISO8859_1"));
209 headerImpl.setHeader(headerID, new String(value, 0,
210 value.length - 1, "ISO8859_1"));
239 String dateString = new String(value, "ISO8859_1");
266 value, tru
853 findTag(byte tag, byte[] value) argument
[all...]
/frameworks/av/media/libstagefright/foundation/
H A Dbase64.cpp48 unsigned value; local
50 value = c - 'A';
52 value = 26 + c - 'a';
54 value = 52 + c - '0';
56 value = 62;
58 value = 63;
66 value = 0;
69 accum = (accum << 6) | value;
/frameworks/base/core/java/android/text/
H A DAnnotation.java22 * Annotations are simple key-value pairs that are preserved across
30 public Annotation(String key, String value) { argument
32 mValue = value;
/frameworks/base/core/jni/android/graphics/
H A DHarfBuzzNGFaceSkia.h49 static inline hb_position_t SkScalarToHBFixed(SkScalar value) { argument
50 return HBFloatToFixed(SkScalarToFloat(value));
/frameworks/base/core/jni/
H A Dandroid_view_HardwareRenderer.cpp81 EGLint value; local
84 eglQuerySurface(display, surface, EGL_SWAP_BEHAVIOR, &value);
91 return error == EGL_SUCCESS && value == EGL_BUFFER_PRESERVED;
112 EGLint value; local
115 eglQuerySurface(display, surface, EGL_WIDTH, &value);
116 storage[0] = value;
118 eglQuerySurface(display, surface, EGL_HEIGHT, &value);
119 storage[1] = value;

Completed in 705 milliseconds

1234567891011>>