Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/graphics/
DGraphicsPerformanceTests.java90 Bitmap.Config.RGB_565); in setUp()
202 return Bitmap.createBitmap(7, 7, Bitmap.Config.RGB_565); in createBitmap()
220 return Bitmap.createBitmap(15, 15, Bitmap.Config.RGB_565); in createBitmap()
238 return Bitmap.createBitmap(31, 31, Bitmap.Config.RGB_565); in createBitmap()
256 return Bitmap.createBitmap(63, 63, Bitmap.Config.RGB_565); in createBitmap()
274 return Bitmap.createBitmap(127, 127, Bitmap.Config.RGB_565); in createBitmap()
292 return Bitmap.createBitmap(319, 239, Bitmap.Config.RGB_565); in createBitmap()
310 return Bitmap.createBitmap(319, 479, Bitmap.Config.RGB_565); in createBitmap()
328 return Bitmap.createBitmap(8, 8, Bitmap.Config.RGB_565); in createBitmap()
346 return Bitmap.createBitmap(16, 16, Bitmap.Config.RGB_565); in createBitmap()
[all …]
DBitmapTest.java34 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); in testBasic()
62 assertTrue("getConfig", bm2.getConfig() == Bitmap.Config.RGB_565); in testBasic()
118 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, Bitmap.Config.RGB_565); in testGetPixelsWithoutAlpha()
161 Bitmap.Config config = Bitmap.Config.RGB_565; in testSetPixelsWithoutAlpha()
276 Bitmap bm1 = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565); in testCopyWithDirectByteBuffer()
303 Bitmap bm2 = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565); in testCopyWithDirectByteBuffer()
314 Bitmap bm1 = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565); in testCopyWithDirectShortBuffer()
342 Bitmap bm2 = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565); in testCopyWithDirectShortBuffer()
353 Bitmap bm1 = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565); in testCopyWithDirectIntBuffer()
381 Bitmap bm2 = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565); in testCopyWithDirectIntBuffer()
[all …]
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
119 case RGB_565: in getPixelFormatInfo()
184 case RGB_565: in isPublicFormat()
210 case RGB_565: in formatToString()
DImageFormat.java29 RGB_565,
67 public static final int RGB_565 = 4; field in ImageFormat
772 case RGB_565: in getBitsPerPixel()
822 case RGB_565: in isPublicFormat()
DBitmap.java492 RGB_565 (3), enumConstant
559 null, ALPHA_8, null, RGB_565, ARGB_4444, ARGB_8888, RGBA_F16, HARDWARE
911 case RGB_565: in createBitmap()
912 newConfig = Config.RGB_565; in createBitmap()
/frameworks/base/core/java/android/hardware/
DHardwareBuffer.java55 RGB_565,
75 public static final int RGB_565 = 4; field in HardwareBuffer
408 case RGB_565: in isSupportedFormat()
/frameworks/base/media/java/android/media/
DImageUtils.java51 case PixelFormat.RGB_565: in getNumPlanesForFormat()
215 case PixelFormat.RGB_565: in getEstimatedNativeAllocBytes()
255 case PixelFormat.RGB_565: in getEffectivePlaneSizeForImage()
/frameworks/native/libs/ui/include/ui/
DPublicFormat.h38 RGB_565 = 0x4, enumerator
/frameworks/base/core/proto/android/graphics/
Dpixelformat.proto30 RGB_565 = 4; enumerator
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewPerformanceTest.java47 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/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenerServiceTest.java198 Bitmap largeIcon = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); in testLegacyIcons_preM()
220 Bitmap largeIcon = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); in testLegacyIcons_mPlus()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScreenshotNotificationSmartActionsTest.java122 when(bitmap.getConfig()).thenReturn(Bitmap.Config.RGB_565); in testUnsupportedBitmapConfiguration()
/frameworks/base/core/java/android/app/
DNativeActivity.java135 getWindow().setFormat(PixelFormat.RGB_565); in onCreate()
DLauncherActivity.java305 Bitmap.Config.ARGB_8888 : Bitmap.Config.RGB_565; in createIconThumbnail()
/frameworks/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java136 return canvasDelegate.mBitmap.getConfig() == Config.RGB_565; in nIsOpaque()
/frameworks/base/core/java/android/view/
DSurfaceView.java164 int mRequestedFormat = PixelFormat.RGB_565;
1217 format = PixelFormat.RGB_565;
/frameworks/rs/support/java/src/androidx/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/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java88 sBitmapOptions.inPreferredConfig = Bitmap.Config.RGB_565;
/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/telephony/java/com/android/internal/telephony/uicc/
DIccUtils.java583 Bitmap.Config.RGB_565); in parseToRGB()

12