Searched refs:sizeOf (Results 1 - 6 of 6) 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/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
202 + ".sizeOf() is reporting inconsistent results!");
287 int result = sizeOf(key, value);
301 protected int sizeOf(K key, V value) { method in class:LruCache
313 * For caches that do not override {@link #sizeOf}, this returns the number
322 * 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
152 + ".sizeOf() is reporting inconsistent results!");
233 int result = sizeOf(key, value);
247 protected int sizeOf(K key, V value) { method in class:LruCache
259 * For caches that do not override {@link #sizeOf}, this returns the number
268 * 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/rs/driver/runtime/
H A Drs_allocation.c106 rsOffset(rs_allocation a, uint32_t sizeOf, uint32_t x, uint32_t y, argument
112 uint8_t *dp = &p[(sizeOf * x) + (y * stride) +

Completed in 102 milliseconds