Searched refs:RGB_565 (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/base/core/proto/android/graphics/
H A Dpixelformat.proto30 RGB_565 = 4;
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DGraphicsPerformanceTests.java89 Bitmap.Config.RGB_565);
201 return Bitmap.createBitmap(7, 7, Bitmap.Config.RGB_565);
219 return Bitmap.createBitmap(15, 15, Bitmap.Config.RGB_565);
237 return Bitmap.createBitmap(31, 31, Bitmap.Config.RGB_565);
255 return Bitmap.createBitmap(63, 63, Bitmap.Config.RGB_565);
273 return Bitmap.createBitmap(127, 127, Bitmap.Config.RGB_565);
291 return Bitmap.createBitmap(319, 239, Bitmap.Config.RGB_565);
309 return Bitmap.createBitmap(319, 479, Bitmap.Config.RGB_565);
327 return Bitmap.createBitmap(8, 8, Bitmap.Config.RGB_565);
345 return Bitmap.createBitmap(16, 16, Bitmap.Config.RGB_565);
[all...]
H A DThreadBitmapTest.java41 b = Bitmap.createBitmap(300, 300, Bitmap.Config.RGB_565);
H A DBitmapFactoryTest.java34 new int[] { Color.BLUE }, 1, 1, Bitmap.Config.RGB_565);
H A DBitmapTest.java29 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565);
57 assertTrue("getConfig", bm2.getConfig() == Bitmap.Config.RGB_565);
113 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, Bitmap.Config.RGB_565);
156 Bitmap.Config config = Bitmap.Config.RGB_565;
/frameworks/base/graphics/java/android/graphics/
H A DImageFormat.java28 * RGB format used for pictures encoded as RGB_565. See
31 public static final int RGB_565 = 4; field in class:ImageFormat
718 case RGB_565:
768 case RGB_565:
H A DPixelFormat.java32 @IntDef({RGBA_8888, RGBX_8888, RGBA_F16, RGBA_1010102, RGB_888, RGB_565})
54 public static final int RGB_565 = 4; field in class:PixelFormat
115 case RGB_565:
180 case RGB_565:
206 case RGB_565:
207 return "RGB_565";
H A DBitmap.java470 RGB_565 (3), enum constant in enum:Bitmap.Config
536 null, ALPHA_8, null, RGB_565, ARGB_4444, ARGB_8888, RGBA_F16, HARDWARE
836 case RGB_565:
837 newConfig = Config.RGB_565;
1090 * support per-pixel alpha (e.g. RGB_565), then the alpha
1117 * support per-pixel alpha (e.g. RGB_565), then the alpha
1158 * support per-pixel alpha (e.g. RGB_565), then the alpha
1182 * support per-pixel alpha (e.g. RGB_565), then the alpha
1372 * {@link Bitmap.Config#RGB_565}.</p>
1578 * this is always false (e.g. RGB_565), sinc
[all...]
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/
H A DBitmapTest.kt34 val bitmap = createBitmap(7, 9, config = Bitmap.Config.RGB_565)
35 assertEquals(Bitmap.Config.RGB_565, bitmap.config)
/frameworks/base/core/java/android/hardware/
H A DHardwareBuffer.java51 RGB_565,
71 public static final int RGB_565 = 4; field in class:HardwareBuffer
356 case RGB_565:
/frameworks/base/core/jni/include/android_runtime/
H A Dandroid_view_Surface.h42 RGB_565 = 0x4, member in class:android::PublicFormat
/frameworks/base/media/java/android/media/
H A DImageUtils.java51 case PixelFormat.RGB_565:
211 case PixelFormat.RGB_565:
251 case PixelFormat.RGB_565:
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/drawable/
H A DDrawableTest.kt116 val bitmap = drawable.toBitmap(config = Config.RGB_565)
119 assertEquals(Config.RGB_565, bitmap.config)
/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewPerformanceTest.java46 Bitmap mBitmap = Bitmap.createBitmap(320, 240, Bitmap.Config.RGB_565);
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/view/
H A DViewTest.kt175 val bitmap = view.toBitmap(Bitmap.Config.RGB_565)
177 assertSame(Bitmap.Config.RGB_565, bitmap.config)
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DRgbPlayerActivity.java134 ? Bitmap.Config.RGB_565
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DSurfaceCompositionMeasuringActivity.java85 PixelFormat.RGB_565,
565 case PixelFormat.RGB_565:
566 return "RGB_565";
/frameworks/base/core/java/android/app/
H A DNativeActivity.java132 getWindow().setFormat(PixelFormat.RGB_565);
H A DLauncherActivity.java301 Bitmap.Config.ARGB_8888 : Bitmap.Config.RGB_565;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraMetadataTest.java860 new StreamConfiguration(ImageFormat.RGB_565, 320, 240, /*input*/true),
864 ImageFormat.RGB_565, 320, 240, /*input*/1)
879 ImageFormat.RGB_565, 320, 240, /*duration*/345L),
883 ImageFormat.RGB_565 & MASK_UNSIGNED_INT, 320L, 240L, /*duration*/345L)
/frameworks/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java140 return canvasDelegate.mBitmap.getConfig() == Config.RGB_565;
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DAllocation.java643 case RGB_565:
2651 if (bc == Bitmap.Config.RGB_565) {
2652 return Element.RGB_565(rs);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DSystemServicesProxy.java89 sBitmapOptions.inPreferredConfig = Bitmap.Config.RGB_565;
/frameworks/base/core/java/android/view/
H A DSurfaceView.java159 int mRequestedFormat = PixelFormat.RGB_565;
979 format = PixelFormat.RGB_565;
/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java657 case RGB_565:
2764 if (bc == Bitmap.Config.RGB_565) {
2765 return Element.RGB_565(rs);

Completed in 1092 milliseconds

12