HomeSort by relevance Sort by last modified time
    Searched refs:sizeOf (Results 1 - 25 of 124) sorted by null

1 2 3 4 5

  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
InfoStoreTrojan.java 23 return sizeOf(store, ViewInfoStore.InfoRecord.FLAG_PRE);
26 return sizeOf(store, ViewInfoStore.InfoRecord.FLAG_POST);
28 static int sizeOf(ViewInfoStore store, int flags) {
  /frameworks/av/media/libstagefright/webm/
EbmlUtil.h 46 int sizeOf(uint64_t u);
EbmlUtil.cpp 94 int sizeOf(uint64_t u) {
102 int unsignedLength = sizeOf(u);
WebmWriter.cpp 120 size_t headerSize1, headerSize2 = sizeof(headerData2), headerSize3;
328 uint8_t bary[sizeof(uint64_t)];
331 ::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))
    [all...]
WebmElement.cpp 102 //............... + sizeOf(encodeUnsigned(size))
103 return sizeOf(mId) + serializePayloadSize(buf) + mSize;
138 : WebmElement(id, sizeOf(value)), mValue(value) {
148 : WebmElement(id, sizeof(double)), mValue(value) {
152 : WebmElement(id, sizeof(float)), mValue(value) {
157 if (mSize == sizeof(float)) {
218 mSizeWidth(totalSize - sizeOf(kMkvVoid) - voidSize(totalSize)) {
415 && type == 'hdrS' && size == sizeof(*info)) {
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
ThumbnailCache.java 29 protected int sizeOf(Uri key, Bitmap value) {
  /frameworks/opt/bitmap/src/com/android/bitmap/
UnrefedPooledCache.java 140 unrefSize += sizeOf(value);
165 protected int sizeOf(V value) {
186 size += sizeOf(val);
197 size += sizeOf(val);
207 size += sizeOf(val);
227 protected int sizeOf(K key, V value) {
228 return UnrefedPooledCache.this.sizeOf(value);
UnrefedBitmapCache.java 72 protected int sizeOf(final ReusableBitmap value) {
  /frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
ViewInfoStoreTest.java 110 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(int flags)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/processing/memory/
LruPool.java 80 int sizeOf(TKey key, TValue value) {
206 * For pools that do not override {@link Configuration#sizeOf}, this
217 * For pools that do not override {@link Configuration#sizeOf}, this
245 throw new IllegalStateException("LruPool.sizeOf() is reporting "
251 int result = mConfiguration.sizeOf(key, value);
  /development/samples/Support7Demos/src/com/example/android/supportv7/graphics/
ImageLoader.java 96 protected int sizeOf(Long key, Bitmap value) {
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
MediaCache.java 108 protected int sizeOf(final String key, final T value) {
  /frameworks/base/core/java/android/util/
LruCache.java 36 * {@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) {
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/
LruCache.java 40 * {@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) {
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/
LruCache.java 43 * @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) {
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/
LruCacheTest.java 200 @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) {
  /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
AlbumArtCache.java 63 protected int sizeOf(String key, Bitmap[] value) {
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
AlbumArtCache.java 63 protected int sizeOf(String key, Bitmap[] value) {
  /development/samples/Support4Demos/src/com/example/android/supportv4/media/
AlbumArtCache.java 63 protected int sizeOf(String key, Bitmap[] value) {
  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
AlbumArtCache.java 63 protected int sizeOf(String key, Bitmap[] value) {
  /development/samples/training/ContactsList/src/com/example/android/contactslist/util/
ImageCache.java 89 protected int sizeOf(String key, Bitmap bitmap) {
  /packages/apps/TV/src/com/android/tv/util/
ImageCache.java 57 protected int sizeOf(String key, ScaledBitmapInfo bitmapInfo) {
  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoManager.java 160 * This overrides the default sizeOf() implementation to return the
165 protected int sizeOf(URL paramURL, byte[] paramArrayOfByte) {
  /frameworks/base/services/core/java/com/android/server/accounts/
TokenCache.java 116 protected int sizeOf(Key k, Value v) {
  /frameworks/rs/driver/runtime/
rs_allocation.c 107 rsOffset(rs_allocation a, uint32_t sizeOf, uint32_t x, uint32_t y,
117 uint8_t *dp = &p[(sizeOf * x) + (y * stride) +
132 const uint32_t sizeOf = alloc->mHal.state.elementSizeBytes;;
133 uint8_t *dp = &p[(sizeOf * x) + (y * stride) +
158 SET_ELEMENT_AT_IMPL_TYPE_SIZE(typename, sizeof(typename)) \
159 SET_ELEMENT_AT_IMPL_TYPE_SIZE(typename##2, sizeof(typename)*2) \
160 SET_ELEMENT_AT_IMPL_TYPE_SIZE(typename##3, sizeof(typename)*4) \
161 SET_ELEMENT_AT_IMPL_TYPE_SIZE(typename##4, sizeof(typename)*4)
164 GET_ELEMENT_AT_IMPL_TYPE_SIZE(typename, sizeof(typename)) \
165 GET_ELEMENT_AT_IMPL_TYPE_SIZE(typename##2, sizeof(typename)*2)
    [all...]

Completed in 330 milliseconds

1 2 3 4 5