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

/frameworks/av/media/libstagefright/webm/
H A DEbmlUtil.h46 int sizeOf(uint64_t u);
H A DEbmlUtil.cpp92 int sizeOf(uint64_t u) { function in namespace:webm
100 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));
337 uint64_t durationOffset = mInfoOffset + sizeOf(kMkvInfo) + sizeOf(mInfoSize)
338 + sizeOf(kMkvSegmentDuration) + sizeOf(sizeof(double));
H A DWebmElement.cpp100 //............... + sizeOf(encodeUnsigned(size))
101 return sizeOf(mId) + serializePayloadSize(buf) + mSize;
136 : WebmElement(id, sizeOf(value)), mValue(value) {
216 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/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/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 601 milliseconds