Home
last modified time | relevance | path

Searched refs:getRowBytes (Results 1 – 4 of 4) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/util/
DUtil.java77 return bitmap.getHeight() * bitmap.getRowBytes(); in getBitmapByteSize()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBitmap.java409 protected int getRowBytes() { in getRowBytes() method in ShadowBitmap
415 return getRowBytes() * getHeight(); in getByteCount()
446 return getRowBytes() * getHeight(); in getAllocationByteCount()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBitmapTest.java207 assertThat(b1.getRowBytes()).isEqualTo(40); in rowBytesIsAccurate()
209 assertThat(b2.getRowBytes()).isEqualTo(20); in rowBytesIsAccurate()
213 b3.getRowBytes(); in rowBytesIsAccurate()
DShadowBitmapFactoryTest.java49 assertThat(bitmap.getRowBytes()).isNotEqualTo(0); in decodeResource_shouldSetDefaultBitmapConfig()