HomeSort by relevance Sort by last modified time
    Searched refs:getBytesPerPixel (Results 1 - 6 of 6) sorted by null

  /external/glide/library/src/main/java/com/bumptech/glide/util/
Util.java 85 return width * height * getBytesPerPixel(config);
88 private static int getBytesPerPixel(Bitmap.Config config) {
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowBitmap.java 410 return getBytesPerPixel(config) * getWidth();
584 if (getBytesPerPixel(config) != INTERNAL_BYTES_PER_PIXEL) {
608 if (getBytesPerPixel(config) != INTERNAL_BYTES_PER_PIXEL) {
672 public static int getBytesPerPixel(Bitmap.Config config) {
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowBitmapTest.java 477 assertThat(ShadowBitmap.getBytesPerPixel(Bitmap.Config.RGBA_F16)).isEqualTo(8);
482 assertThat(ShadowBitmap.getBytesPerPixel(Bitmap.Config.ARGB_8888)).isEqualTo(4);
483 assertThat(ShadowBitmap.getBytesPerPixel(Bitmap.Config.RGB_565)).isEqualTo(2);
484 assertThat(ShadowBitmap.getBytesPerPixel(Bitmap.Config.ARGB_4444)).isEqualTo(2);
485 assertThat(ShadowBitmap.getBytesPerPixel(Bitmap.Config.ALPHA_8)).isEqualTo(1);
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java 534 int byteCount = width * height * getBytesPerPixel(candidate.getConfig());
544 private static int getBytesPerPixel(Config config) {
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java 534 int byteCount = width * height * getBytesPerPixel(candidate.getConfig());
544 private static int getBytesPerPixel(Config config) {
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageCache.java 534 int byteCount = width * height * getBytesPerPixel(candidate.getConfig());
544 private static int getBytesPerPixel(Config config) {

Completed in 3787 milliseconds