Home
last modified time | relevance | path

Searched refs:sizeOf (Results 1 – 17 of 17) sorted by relevance

/frameworks/opt/bitmap/src/com/android/bitmap/
DUnrefedPooledCache.java140 unrefSize += sizeOf(value); in poll()
165 protected int sizeOf(V value) { in sizeOf() method in UnrefedPooledCache
186 size += sizeOf(val); in toDebugString()
197 size += sizeOf(val); in toDebugString()
207 size += sizeOf(val); in toDebugString()
227 protected int sizeOf(K key, V value) { in sizeOf() method in UnrefedPooledCache.NonPooledCache
228 return UnrefedPooledCache.this.sizeOf(value); in sizeOf()
DUnrefedBitmapCache.java72 protected int sizeOf(final ReusableBitmap value) { in sizeOf() method in UnrefedBitmapCache
/frameworks/av/media/libstagefright/webm/
DEbmlUtil.cpp92 int sizeOf(uint64_t u) { in sizeOf() function
100 int unsignedLength = sizeOf(u); in serializeCodedUnsigned()
DWebmWriter.cpp331 ::lseek(mFd, mSegmentOffset + sizeOf(kMkvSegment), SEEK_SET); in reset()
332 uint64_t segmentSizeCoded = encodeUnsigned(segmentSize, sizeOf(kMkvUnknownLength)); in reset()
334 ::write(mFd, bary, sizeOf(kMkvUnknownLength)); in reset()
337 uint64_t durationOffset = mInfoOffset + sizeOf(kMkvInfo) + sizeOf(mInfoSize) in reset()
338 + sizeOf(kMkvSegmentDuration) + sizeOf(sizeof(double)); in reset()
DEbmlUtil.h46 int sizeOf(uint64_t u);
DWebmElement.cpp101 return sizeOf(mId) + serializePayloadSize(buf) + mSize; in totalSize()
136 : WebmElement(id, sizeOf(value)), mValue(value) { in WebmUnsigned()
216 mSizeWidth(totalSize - sizeOf(kMkvVoid) - voidSize(totalSize)) { in EbmlVoid()
/frameworks/base/core/tests/coretests/src/android/util/
DLruCacheTest.java200 @Override protected int sizeOf(String key, String value) { in testCustomSizesImpactsSize()
216 @Override protected int sizeOf(String key, String value) { in testEvictionWithCustomSizes()
245 @Override protected int sizeOf(String key, int[] value) { in testEvictionThrowsWhenSizesAreInconsistent()
267 @Override protected int sizeOf(String key, String value) { in testEvictionThrowsWhenSizesAreNegative()
286 @Override protected int sizeOf(String key, String value) { in testDifferentElementSizes()
314 @Override protected int sizeOf(String key, String value) { in testEvictAllEvictsSizeZeroElements()
327 @Override protected int sizeOf(String key, String value) { in testRemoveWithCustomSizes()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DThumbnailCache.java29 protected int sizeOf(Uri key, Bitmap value) { in sizeOf() method in ThumbnailCache
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DLruCache.java297 int result = sizeOf(key, value); in safeSizeOf()
311 protected int sizeOf(K key, V value) { in sizeOf() method in LruCache
/frameworks/support/v4/java/android/support/v4/util/
DLruCache.java249 int result = sizeOf(key, value); in safeSizeOf()
263 protected int sizeOf(K key, V value) { in sizeOf() method in LruCache
/frameworks/base/core/java/android/util/
DLruCache.java286 int result = sizeOf(key, value); in safeSizeOf()
300 protected int sizeOf(K key, V value) { in sizeOf() method in LruCache
/frameworks/rs/driver/runtime/
Drs_allocation.c104 rsOffset(rs_allocation a, uint32_t sizeOf, uint32_t x, uint32_t y, in rsOffset() argument
114 uint8_t *dp = &p[(sizeOf * x) + (y * stride) + in rsOffset()
129 const uint32_t sizeOf = alloc->mHal.state.elementSizeBytes;; in rsOffsetNs() local
130 uint8_t *dp = &p[(sizeOf * x) + (y * stride) + in rsOffsetNs()
/frameworks/base/docs/html/training/volley/
Drequest.jd196 protected int sizeOf(String key, Bitmap value) {
/frameworks/base/docs/html/training/displaying-bitmaps/
Dcache-bitmap.jd110 protected int sizeOf(String key, Bitmap bitmap) {
/frameworks/rs/driver/runtime/ll64/
Dallocation.ll6 declare i8* @rsOffset(%struct.rs_allocation* nocapture readonly %a, i32 %sizeOf, i32 %x, i32 %y, i3…
/frameworks/rs/driver/runtime/ll32/
Dallocation.ll4 declare i8* @rsOffset([1 x i32] %a.coerce, i32 %sizeOf, i32 %x, i32 %y, i32 %z)
/frameworks/base/api/
Dcurrent.txt31459 method protected int sizeOf(K, V);