Home
last modified time | relevance | path

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

12

/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/support/v7/recyclerview/tests/src/android/support/v7/widget/
DInfoStoreTrojan.java23 return sizeOf(store, ViewInfoStore.InfoRecord.FLAG_PRE); in sizeOfPreLayout()
26 return sizeOf(store, ViewInfoStore.InfoRecord.FLAG_POST); in sizeOfPostLayout()
28 static int sizeOf(ViewInfoStore store, int flags) { in sizeOf() method in InfoStoreTrojan
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
DViewInfoStoreTest.java110 assertEquals(0, sizeOf(FLAG_PRE)); in popFromPreLayout()
132 assertEquals(1, sizeOf(FLAG_APPEAR)); in appearListTests()
135 assertEquals(2, sizeOf(FLAG_APPEAR)); in appearListTests()
137 assertEquals(1, sizeOf(FLAG_APPEAR)); in appearListTests()
144 assertEquals(1, sizeOf(FLAG_DISAPPEARED)); in disappearListTest()
146 assertEquals(1, sizeOf(FLAG_DISAPPEARED)); in disappearListTest()
149 assertEquals(2, sizeOf(FLAG_DISAPPEARED)); in disappearListTest()
151 assertEquals(1, sizeOf(FLAG_DISAPPEARED)); in disappearListTest()
153 assertEquals(0, sizeOf(FLAG_DISAPPEARED)); in disappearListTest()
247 private int sizeOf(int flags) { in sizeOf() method in ViewInfoStoreTest
/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/av/media/libstagefright/webm/
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()
336 uint64_t durationOffset = mInfoOffset + sizeOf(kMkvInfo) + sizeOf(mInfoSize) in reset()
337 + sizeOf(kMkvSegmentDuration) + sizeOf(sizeof(double)); in reset()
DEbmlUtil.cpp94 int sizeOf(uint64_t u) { in sizeOf() function
102 int unsignedLength = sizeOf(u); in serializeCodedUnsigned()
DEbmlUtil.h46 int sizeOf(uint64_t u);
DWebmElement.cpp103 return sizeOf(mId) + serializePayloadSize(buf) + mSize; in totalSize()
138 : WebmElement(id, sizeOf(value)), mValue(value) { in WebmUnsigned()
218 mSizeWidth(totalSize - sizeOf(kMkvVoid) - voidSize(totalSize)) { in EbmlVoid()
/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/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/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/packages/DocumentsUI/src/com/android/documentsui/
DThumbnailCache.java29 protected int sizeOf(Uri key, Bitmap value) { in sizeOf() method in ThumbnailCache
/frameworks/rs/driver/runtime/
Drs_allocation.c107 rsOffset(rs_allocation a, uint32_t sizeOf, uint32_t x, uint32_t y, in rsOffset() argument
117 uint8_t *dp = &p[(sizeOf * x) + (y * stride) + in rsOffset()
132 const uint32_t sizeOf = alloc->mHal.state.elementSizeBytes;; in rsOffsetNs() local
133 uint8_t *dp = &p[(sizeOf * x) + (y * stride) + in rsOffsetNs()
/frameworks/base/services/core/java/com/android/server/accounts/
DTokenCache.java116 protected int sizeOf(Key k, Value v) { in sizeOf() method in TokenCache.TokenLruCache
/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/support/v4/api/
D22.1.0.txt1705 method protected int sizeOf(K, V);
D22.0.0.txt1666 method protected int sizeOf(K, V);
D22.2.0.txt1763 method protected int sizeOf(K, V);
D22.2.1.txt1764 method protected int sizeOf(K, V);
D23.1.1.txt1930 method protected int sizeOf(K, V);
D23.0.0.txt1955 method protected int sizeOf(K, V);

12