Searched defs:sizeOf (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DThumbnailCache.java29 protected int sizeOf(Uri key, Bitmap value) { method in class:ThumbnailCache
/frameworks/av/media/libstagefright/webm/
H A DEbmlUtil.cpp92 int sizeOf(uint64_t u) { function in namespace:webm
100 int unsignedLength = sizeOf(u);
/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/opt/bitmap/src/com/android/bitmap/
H A DUnrefedBitmapCache.java72 protected int sizeOf(final ReusableBitmap value) { method in class:UnrefedBitmapCache
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);
/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/rs/driver/runtime/
H A Drs_allocation.c104 rsOffset(rs_allocation a, uint32_t sizeOf, uint32_t x, uint32_t y, argument
114 uint8_t *dp = &p[(sizeOf * x) + (y * stride) +
129 const uint32_t sizeOf = alloc->mHal.state.elementSizeBytes;; local
130 uint8_t *dp = &p[(sizeOf * x) + (y * stride) +

Completed in 124 milliseconds