/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | Bitmap_ConfigTest.java | 37 assertEquals(Config.RGB_565, Config.valueOf("RGB_565")); in testValueOf() 49 assertEquals(Config.RGB_565, config[1]); in testValues() 59 assertNotNull(Bitmap.createBitmap(10, 24, Config.RGB_565)); in testValues()
|
D | BitmapTest.java | 140 mBitmap.copy(Config.RGB_565, false); in testCopyRecycled() 153 Config.ALPHA_8, Config.RGB_565, Config.ARGB_8888, Config.RGBA_F16, in testCopyConfigs() 234 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1() 241 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap1() 335 Bitmap ret = Bitmap.createBitmap(100, 200, Config.RGB_565); in testCreateBitmap4() 340 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap4() 390 Bitmap.createBitmap(colors, 0, 100, -1, 100, Config.RGB_565); in testCreateBitmapFromColorsNegativeWidthHeight() 398 Bitmap.createBitmap(colors, 10, 10, 100, 100, Config.RGB_565); in testCreateBitmapFromColorsIllegalStride() 406 Bitmap.createBitmap(colors, -10, 100, 100, 100, Config.RGB_565); in testCreateBitmapFromColorsNegativeOffset() 414 Bitmap.createBitmap(colors, 10, 100, 100, 100, Config.RGB_565); in testCreateBitmapFromColorsOffsetTooLarge() [all …]
|
D | ShaderTest.java | 48 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); in testAccessLocalMatrix() 75 Bitmap bitmap = Bitmap.createBitmap(10, 10, Bitmap.Config.RGB_565); in testGetSetLocalMatrix()
|
D | BitmapFactory_OptionsTest.java | 86 options.inPreferredConfig = Bitmap.Config.RGB_565; in testExtractMetaData() 89 assertEquals(Bitmap.Config.RGB_565, options.outConfig); in testExtractMetaData()
|
D | PixelFormatTest.java | 55 PixelFormat.getPixelFormatInfo(PixelFormat.RGB_565, pixelFormat); in testGetPixelFormatInfo() 114 assertFalse(PixelFormat.formatHasAlpha(PixelFormat.RGB_565)); in testFormatHasAlpha()
|
D | VulkanSurfaceSupportTest.java | 51 ImageReader reader = ImageReader.newInstance(640, 480, ImageFormat.RGB_565, 3); in testVulkanSupportedFormat()
|
D | BitmapRegionDecoderTest.java | 116 Config.RGB_565}; 221 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionInputStream() 253 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionInputStreamInBitmap() 281 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionByteArray() 307 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionStringAndFileDescriptor() 319 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionStringAndFileDescriptor() 558 opts.inPreferredConfig = Config.RGB_565; in testInColorSpace565() 581 Bitmap.Config.RGB_565}) { in testF16WithInBitmap()
|
D | Canvas_VertexModeTest.java | 55 Bitmap bitmap = Bitmap.createBitmap(10, 27, Config.RGB_565); in testValues()
|
D | BitmapColorSpaceTest.java | 76 Bitmap.Config.RGB_565, in createWithColorSpace() 147 Bitmap.Config.RGB_565, Bitmap.Config.ARGB_8888 in createDefaultColorSpace() 181 Bitmap.Config.RGB_565, in createFromSourceWithColorSpace() 204 case RGB_565: in createFromSourceWithColorSpace() 320 Bitmap.Config.RGB_565, in reconfigure() 599 opts.inPreferredConfig = Bitmap.Config.RGB_565; in p3rgb565() 853 opts.inPreferredConfig = Bitmap.Config.RGB_565; in inColorSpace565() 904 Bitmap.Config.RGB_565 }) { in copyF16() 920 Bitmap.Config.RGB_565 }) { in copyF16() 933 Bitmap.Config.RGB_565, in copyAlpha8()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ColorSpaceTests.java | 21 import static android.graphics.Bitmap.Config.RGB_565; 81 Bitmap bitmap = loadAsset("green-p3.png", RGB_565); in testDrawDisplayP3Config565() 113 Bitmap bitmap = loadAsset("orange-prophotorgb.png", RGB_565); in testDrawProPhotoRGBConfig565()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | HardwareBufferTest.java | 62 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGB_565, 1, in testCreate() 64 assertEquals(HardwareBuffer.RGB_565, buffer.getFormat()); in testCreate()
|
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_element.cpp | 103 passed &= (Element::RGB_565(mRS) != nullptr); in Java_android_cts_rscpp_RSElementTest_testPrebuiltElements() 190 sp<const Element> RGB_565 = Element::RGB_565(mRS); in Java_android_cts_rscpp_RSElementTest_testIsCompatible() local 206 RGBA_5551, RGB_565, SAMPLER, SCRIPT, TYPE, in Java_android_cts_rscpp_RSElementTest_testIsCompatible() 239 eb->add(Element::RGB_565(mRS), "RGB_565", arraySize); in Java_android_cts_rscpp_RSElementTest_testElementBuilder()
|
D | rs_jni_type.cpp | 73 passed &= testTypeBuilderHelper(mRS, Element::RGB_565(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaMetadataRetrieverTest.java | 389 params.setPreferredConfig(Bitmap.Config.RGB_565); in testGetFrameAtIndex() 391 Bitmap.Config.RGB_565, params.getPreferredConfig()); in testGetFrameAtIndex() 397 assertEquals(Bitmap.Config.RGB_565, params.getActualConfig()); in testGetFrameAtIndex() 412 params.setPreferredConfig(Bitmap.Config.RGB_565); in testGetFramesAtIndex() 414 Bitmap.Config.RGB_565, params.getPreferredConfig()); in testGetFramesAtIndex() 418 assertEquals(Bitmap.Config.RGB_565, params.getActualConfig()); in testGetFramesAtIndex()
|
D | FaceView.java | 59 bfo.inPreferredConfig = Bitmap.Config.RGB_565; in FaceView()
|
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/ |
D | HardwareBufferVrTest.java | 40 HardwareBuffer.RGB_565, in testLayeredBuffersForVr()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | CompressedTextureCtsActivity.java | 47 optionsRGB.inPreferredConfig = Bitmap.Config.RGB_565; in onCreate()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoSystemFunctionPermissionTest.java | 93 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.RGB_565); in testSetWallpaper()
|
D | NoWallpaperPermissionsTest.java | 79 Bitmap b = Bitmap.createBitmap(160, 120, Bitmap.Config.RGB_565); in testSetBitmap()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ElementTest.java | 68 assertTrue(Element.RGB_565(mRS) != null); in testPrebuiltElements() 222 Element[] RGB_565 = { Element.RGB_565(mRS), in testIsCompatible() local 253 RGBA_5551, RGB_565, SAMPLER, SCRIPT, TYPE, in testIsCompatible() 281 eb.add(Element.RGB_565(mRS), "RGB_565", arraySize); in testElementBuilder() 351 assertFalse(Element.RGB_565(mRS).isComplex()); in testIsComplex()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ClipDrawableTest.java | 139 Bitmap bitmap = Bitmap.createBitmap(100, 50, Config.RGB_565); in testGetIntrinsicHeight() 154 Bitmap bitmap = Bitmap.createBitmap(100, 50, Config.RGB_565); in testGetIntrinsicWidth() 239 new BitmapDrawable(Bitmap.createBitmap(100, 50, Config.RGB_565)); in testIsStateful()
|
D | BitmapDrawableTest.java | 386 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.RGB_565); in testGetIntrinsicSize() 410 bitmap = Bitmap.createBitmap(sourceWidth, sourceHeight, Config.RGB_565); in testSetTargetDensity() 425 bitmap = Bitmap.createBitmap(sourceWidth, sourceHeight, Config.RGB_565); in testSetTargetDensity()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | IconMarginSpanTest.java | 45 Bitmap.createBitmap(COLOR, WIDTH, HEIGHT, Bitmap.Config.RGB_565);
|
D | ImageSpanTest.java | 57 Bitmap b = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); in testConstructor()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 183 mPreviewFormatNames.append(ImageFormat.RGB_565, "RGB_565"); in onCreate() 553 case ImageFormat.RGB_565: in startPreview() 605 case ImageFormat.RGB_565: in doInBackground()
|