Home
last modified time | relevance | path

Searched refs:RGB_565 (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/graphics/
DGraphicsPerformanceTests.java89 Bitmap.Config.RGB_565); in setUp()
201 return Bitmap.createBitmap(7, 7, Bitmap.Config.RGB_565); in createBitmap()
219 return Bitmap.createBitmap(15, 15, Bitmap.Config.RGB_565); in createBitmap()
237 return Bitmap.createBitmap(31, 31, Bitmap.Config.RGB_565); in createBitmap()
255 return Bitmap.createBitmap(63, 63, Bitmap.Config.RGB_565); in createBitmap()
273 return Bitmap.createBitmap(127, 127, Bitmap.Config.RGB_565); in createBitmap()
291 return Bitmap.createBitmap(319, 239, Bitmap.Config.RGB_565); in createBitmap()
309 return Bitmap.createBitmap(319, 479, Bitmap.Config.RGB_565); in createBitmap()
327 return Bitmap.createBitmap(8, 8, Bitmap.Config.RGB_565); in createBitmap()
345 return Bitmap.createBitmap(16, 16, Bitmap.Config.RGB_565); in createBitmap()
[all …]
DBitmapTest.java29 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); in testBasic()
57 assertTrue("getConfig", bm2.getConfig() == Bitmap.Config.RGB_565); in testBasic()
113 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, Bitmap.Config.RGB_565); in testGetPixelsWithoutAlpha()
156 Bitmap.Config config = Bitmap.Config.RGB_565; in testSetPixelsWithoutAlpha()
DThreadBitmapTest.java41 b = Bitmap.createBitmap(300, 300, Bitmap.Config.RGB_565); in MThread()
DBitmapFactoryTest.java34 new int[] { Color.BLUE }, 1, 1, Bitmap.Config.RGB_565); in testBitmapParcelFileDescriptor()
/frameworks/base/graphics/java/android/graphics/
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 PixelFormat
115 case RGB_565: in getPixelFormatInfo()
180 case RGB_565: in isPublicFormat()
DImageFormat.java31 public static final int RGB_565 = 4; field in ImageFormat
701 case RGB_565: in getBitsPerPixel()
750 case RGB_565: in isPublicFormat()
DBitmap.java448 RGB_565 (3), enumConstant
504 null, ALPHA_8, null, RGB_565, ARGB_4444, ARGB_8888, RGBA_F16, HARDWARE
804 case RGB_565: in createBitmap()
805 newConfig = Config.RGB_565; in createBitmap()
/frameworks/base/core/java/android/hardware/
DHardwareBuffer.java44 @IntDef({RGBA_8888, RGBA_FP16, RGBA_1010102, RGBX_8888, RGB_888, RGB_565, BLOB})
55 public static final int RGB_565 = 4; field in HardwareBuffer
329 case RGB_565: in isSupportedFormat()
/frameworks/base/media/java/android/media/
DImageUtils.java51 case PixelFormat.RGB_565: in getNumPlanesForFormat()
206 case PixelFormat.RGB_565: in getEstimatedNativeAllocBytes()
245 case PixelFormat.RGB_565: in getEffectivePlaneSizeForImage()
/frameworks/base/core/jni/include/android_runtime/
Dandroid_view_Surface.h42 RGB_565 = 0x4, enumerator
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewPerformanceTest.java43 Bitmap mBitmap = Bitmap.createBitmap(320, 240, Bitmap.Config.RGB_565); in setUp()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java860 new StreamConfiguration(ImageFormat.RGB_565, 320, 240, /*input*/true), in testReadWriteStreamConfiguration()
864 ImageFormat.RGB_565, 320, 240, /*input*/1) in testReadWriteStreamConfiguration()
879 ImageFormat.RGB_565, 320, 240, /*duration*/345L), in testReadWriteStreamConfigurationDuration()
883 ImageFormat.RGB_565 & MASK_UNSIGNED_INT, 320L, 240L, /*duration*/345L) in testReadWriteStreamConfigurationDuration()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java85 PixelFormat.RGB_565,
565 case PixelFormat.RGB_565: in getPixelFormatInfo()
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DRgbPlayerActivity.java134 ? Bitmap.Config.RGB_565 in RgbView()
/frameworks/base/core/java/android/app/
DNativeActivity.java132 getWindow().setFormat(PixelFormat.RGB_565); in onCreate()
DLauncherActivity.java301 Bitmap.Config.ARGB_8888 : Bitmap.Config.RGB_565; in createIconThumbnail()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java140 return canvasDelegate.mBitmap.getConfig() == Config.RGB_565; in nIsOpaque()
DBitmap_Delegate.java235 return mHasAlpha && mConfig != Config.RGB_565; in hasAlpha()
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/
DIccUtils.java498 Bitmap.Config.RGB_565); in parseToRGB()
/frameworks/base/core/java/android/view/
DSurfaceView.java159 int mRequestedFormat = PixelFormat.RGB_565;
972 format = PixelFormat.RGB_565;
/frameworks/rs/support/java/src/android/support/v8/renderscript/
DAllocation.java643 case RGB_565: in validateBitmapFormat()
2651 if (bc == Bitmap.Config.RGB_565) { in elementFromBitmap()
2652 return Element.RGB_565(rs); in elementFromBitmap()
/frameworks/rs/cpp/
DElement.cpp110 CREATE_PIXEL(RGB_565, UNSIGNED_5_6_5, PIXEL_RGB);
/frameworks/base/rs/java/android/renderscript/
DAllocation.java657 case RGB_565: in validateBitmapFormat()
2764 if (bc == Bitmap.Config.RGB_565) { in elementFromBitmap()
2765 return Element.RGB_565(rs); in elementFromBitmap()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DIconTest.java46 final Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); in testWithBitmap()
/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowContainerController.java762 false /* includeFullDisplay */, frameScale, Bitmap.Config.RGB_565, in screenshotApplications()

12