/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | LruCache.java | 28 * a value is accessed, it is moved to the head of a queue. When a value is 29 * added to a full cache, the value at the end of that queue is evicted and may 37 * assume a value will always be returned, even when there's a cache miss. 45 * protected int sizeOf(String key, Bitmap value) { 46 * return value.getByteCount(); 54 * cache.put(key, value); 58 * <p>This class does not allow null to be used as a key or value. A return 59 * value of null from {@link #get}, {@link #put} or {@link #remove} is 110 * Returns the value fo 169 put(K key, V value) argument 296 safeSizeOf(K key, V value) argument 311 sizeOf(K key, V value) argument [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LruCache.java | 56 * Returns the value for {@code key} if it exists in the cache or can be 57 * created by {@code #create}. If a value was returned, it is moved to the 58 * head of the queue. This returns null if a value is not cached and cannot 77 * Attempt to create a value. This may take a long time, and the map 78 * may be different when create() returns. If a conflicting value was 79 * added to the map while create() was working, we leave that value in 80 * the map and release the created value. 110 * Caches {@code value} for {@code key}. The value is moved to the head of 113 * @return the previous value mappe 115 put(K key, V value) argument 232 safeSizeOf(K key, V value) argument 247 sizeOf(K key, V value) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | VerifierDeviceIdentity.java | 149 final int value; 151 value = group - 'A'; 153 value = group - ('2' - 26); 158 value = group - 'a'; 161 value = 'O' - 'A'; 164 value = 'I' - 'A'; 169 output = (output << 5) | value; 173 if ((value & 0xF) != value) {
|
H A D | MacAuthenticatedInputStream.java | 53 int value = 0; 55 value |= tag[i] ^ actualTag[i]; 58 return value == 0;
|
/frameworks/av/include/drm/ |
H A D | DrmMetadata.h | 83 const char* value = this->getAsByteArray(&key); local 84 if (NULL != value) { 85 delete[] value; 86 value = NULL; 94 status_t put(const String8* key, const char* value);
|
/frameworks/base/core/java/android/content/ |
H A D | SharedPreferences.java | 50 * may be called even if a preference is set to its existing value. 70 * Set a String value in the preferences editor, to be written back once 74 * @param value The new value for the preference. 79 Editor putString(String key, String value); argument 93 * Set an int value in the preferences editor, to be written back once 97 * @param value The new value for the preference. 102 Editor putInt(String key, int value); argument 105 * Set a long value i 114 putLong(String key, long value) argument 126 putFloat(String key, float value) argument 138 putBoolean(String key, boolean value) argument [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | CompoundTransform.java | 80 return new Float3(mData.value.x, mData.value.y, mData.value.z); 83 mData.value.x = val.x; 84 mData.value.y = val.y; 85 mData.value.z = val.z; 97 return new Float3(mData.value.x, mData.value.y, mData.value.z); 100 return mData.value [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeResources.java | 157 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 D | Base64.java | 237 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 D | CustomBar.java | 146 ResourceValue value = getResourceValue(iconReference); 147 if (value != null) { 148 loadIcon(index, value); 153 ResourceValue value = getResourceValue(iconReference); 154 if (value != null) { 155 loadIconById(id, value); 165 ResourceValue value = res.getFrameworkResource(type, name); 168 value = res.resolveResValue(value); 169 return loadIcon(index, value); 172 loadIcon(int index, ResourceValue value) argument 183 loadIconById(int id, ResourceValue value) argument 195 loadIcon(ImageView imageView, ResourceValue value) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_slice_header.c | 102 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 D | h264bsd_cavlc.c | 50 * 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 D | h264bsd_pic_param_set.c | 94 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 D | EGLImpl.java | 32 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 D | MtpPacket.h | 57 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 D | bootanimation_main.cpp | 45 char value[PROPERTY_VALUE_MAX]; local 46 property_get("debug.sf.nobootanimation", value, "0"); 47 int noBootAnimation = atoi(value);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | IntFloat.java | 8 public float value; field in class:IntFloat 33 out.writeFloat(value); 38 value = in.readFloat();
|
H A D | StringFloat.java | 8 public float value; field in class:StringFloat 34 out.writeFloat(value); 39 value = in.readFloat();
|
H A D | StringString.java | 8 public String value; field in class:StringString 34 out.writeString(value); 39 value = in.readString();
|
/frameworks/native/libs/utils/ |
H A D | Trace.cpp | 59 char value[PROPERTY_VALUE_MAX]; local 60 property_get("debug.atrace.tags.enableflags", value, "0"); 61 sEnabledTags = (strtoll(value, NULL, 0) & ATRACE_TAG_VALID_MASK)
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | Duration.java | 39 TimeUnit(int value) { argument 40 mValue = value; 43 public int value() { method in class:Duration.TimeUnit
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ILockSettings.aidl | 21 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 D | VideoEditorJava.h | 71 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 D | AbstractCache.java | 37 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/base/obex/javax/obex/ |
H A D | ObexHelper.java | 169 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...] |