Searched refs:sizeOf (Results 1 - 16 of 16) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DInfoStoreTrojan.java23 return sizeOf(store, ViewInfoStore.InfoRecord.FLAG_PRE);
26 return sizeOf(store, ViewInfoStore.InfoRecord.FLAG_POST);
28 static int sizeOf(ViewInfoStore store, int flags) { method in class:InfoStoreTrojan
/frameworks/av/media/libstagefright/webm/
H A DEbmlUtil.h46 int sizeOf(uint64_t u);
H A DEbmlUtil.cpp94 int sizeOf(uint64_t u) { function in namespace:webm
102 int unsignedLength = sizeOf(u);
H A DWebmWriter.cpp331 ::lseek(mFd, mSegmentOffset + sizeOf(kMkvSegment), SEEK_SET);
332 uint64_t segmentSizeCoded = encodeUnsigned(segmentSize, sizeOf(kMkvUnknownLength));
334 ::write(mFd, bary, sizeOf(kMkvUnknownLength));
336 uint64_t durationOffset = mInfoOffset + sizeOf(kMkvInfo) + sizeOf(mInfoSize)
337 + sizeOf(kMkvSegmentDuration) + sizeOf(sizeof(double));
H A DWebmElement.cpp102 //............... + sizeOf(encodeUnsigned(size))
103 return sizeOf(mId) + serializePayloadSize(buf) + mSize;
138 : WebmElement(id, sizeOf(value)), mValue(value) {
218 mSizeWidth(totalSize - sizeOf(kMkvVoid) - voidSize(totalSize)) {
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DThumbnailCache.java29 protected int sizeOf(Uri key, Bitmap value) { method in class:ThumbnailCache
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DUnrefedPooledCache.java140 unrefSize += sizeOf(value);
165 protected int sizeOf(V value) { method in class:UnrefedPooledCache
186 size += sizeOf(val);
197 size += sizeOf(val);
207 size += sizeOf(val);
227 protected int sizeOf(K key, V value) { method in class:UnrefedPooledCache.NonPooledCache
228 return UnrefedPooledCache.this.sizeOf(value);
H A DUnrefedBitmapCache.java72 protected int sizeOf(final ReusableBitmap value) { method in class:UnrefedBitmapCache
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
H A DViewInfoStoreTest.java110 assertEquals(0, sizeOf(FLAG_PRE));
132 assertEquals(1, sizeOf(FLAG_APPEAR));
135 assertEquals(2, sizeOf(FLAG_APPEAR));
137 assertEquals(1, sizeOf(FLAG_APPEAR));
144 assertEquals(1, sizeOf(FLAG_DISAPPEARED));
146 assertEquals(1, sizeOf(FLAG_DISAPPEARED));
149 assertEquals(2, sizeOf(FLAG_DISAPPEARED));
151 assertEquals(1, sizeOf(FLAG_DISAPPEARED));
153 assertEquals(0, sizeOf(FLAG_DISAPPEARED));
247 private int sizeOf(in method in class:ViewInfoStoreTest
[all...]
/frameworks/base/core/java/android/util/
H A DLruCache.java36 * {@link #sizeOf} to size the cache in different units. For example, this cache
41 * protected int sizeOf(String key, Bitmap value) {
76 * @param maxSize for caches that do not override {@link #sizeOf}, this is
201 + ".sizeOf() is reporting inconsistent results!");
286 int result = sizeOf(key, value);
300 protected int sizeOf(K key, V value) { method in class:LruCache
312 * For caches that do not override {@link #sizeOf}, this returns the number
321 * For caches that do not override {@link #sizeOf}, this returns the maximum
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DLruCache.java40 * {@link #sizeOf} to size the cache in different units. For example, this cache
45 * protected int sizeOf(String key, Bitmap value) {
80 * @param maxSize for caches that do not override {@link #sizeOf}, this is
203 + ".sizeOf() is reporting inconsistent results!");
297 int result = sizeOf(key, value);
311 protected int sizeOf(K key, V value) { method in class:LruCache
323 * For caches that do not override {@link #sizeOf}, this returns the number
332 * For caches that do not override {@link #sizeOf}, this returns the maximum
/frameworks/support/v4/java/android/support/v4/util/
H A DLruCache.java43 * @param maxSize for caches that do not override {@link #sizeOf}, this is
168 + ".sizeOf() is reporting inconsistent results!");
249 int result = sizeOf(key, value);
263 protected int sizeOf(K key, V value) { method in class:LruCache
275 * For caches that do not override {@link #sizeOf}, this returns the number
284 * For caches that do not override {@link #sizeOf}, this returns the maximum
/frameworks/base/core/tests/coretests/src/android/util/
H A DLruCacheTest.java200 @Override protected int sizeOf(String key, String value) {
216 @Override protected int sizeOf(String key, String value) {
245 @Override protected int sizeOf(String key, int[] value) {
267 @Override protected int sizeOf(String key, String value) {
286 @Override protected int sizeOf(String key, String value) {
314 @Override protected int sizeOf(String key, String value) {
327 @Override protected int sizeOf(String key, String value) {
/frameworks/base/services/core/java/com/android/server/accounts/
H A DTokenCache.java116 protected int sizeOf(Key k, Value v) { method in class:TokenCache.TokenLruCache
/frameworks/rs/driver/runtime/
H A Drs_allocation.c107 rsOffset(rs_allocation a, uint32_t sizeOf, uint32_t x, uint32_t y, argument
117 uint8_t *dp = &p[(sizeOf * x) + (y * stride) +
132 const uint32_t sizeOf = alloc->mHal.state.elementSizeBytes;; local
133 uint8_t *dp = &p[(sizeOf * x) + (y * stride) +
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 8184 milliseconds