/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapTest.java | 103 mBitmap.copy(Config.RGB_565, false); in testCopy() 183 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1() 188 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap1() 257 Bitmap ret = Bitmap.createBitmap(100, 200, Config.RGB_565); in testCreateBitmap4() 261 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap4() 269 Bitmap.createBitmap(colors, 0, 100, -1, 100, Config.RGB_565); in testCreateBitmap6() 276 Bitmap.createBitmap(colors, 10, 10, 100, 100, Config.RGB_565); in testCreateBitmap6() 283 Bitmap.createBitmap(colors, -10, 100, 100, 100, Config.RGB_565); in testCreateBitmap6() 290 Bitmap.createBitmap(colors, 10, 100, 100, 100, Config.RGB_565); in testCreateBitmap6() 297 Bitmap.createBitmap(colors, 10, 100, 50, 100, Config.RGB_565); in testCreateBitmap6() [all …]
|
D | Bitmap_ConfigTest.java | 26 assertEquals(Config.RGB_565, Config.valueOf("RGB_565")); in testValueOf() 36 assertEquals(Config.RGB_565, config[1]); in testValues() 44 assertNotNull(Bitmap.createBitmap(10, 24, Config.RGB_565)); in testValues()
|
D | PixelFormatTest.java | 55 PixelFormat.getPixelFormatInfo(PixelFormat.RGB_565, mPixelFormat); in testGetPixelFormatInfo() 124 assertFalse(PixelFormat.formatHasAlpha(PixelFormat.RGB_565)); in testFormatHasAlpha()
|
D | ShaderTest.java | 34 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); in testAccessLocalMatrix()
|
D | BitmapRegionDecoderTest.java | 78 Config.RGB_565}; 177 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionInputStream() 207 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionInputStreamInBitmap() 233 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionByteArray() 257 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionStringAndFileDescriptor() 269 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionStringAndFileDescriptor()
|
D | Canvas_VertexModeTest.java | 45 Bitmap bitmap = Bitmap.createBitmap(10, 27, Config.RGB_565); in testValues()
|
D | BitmapFactoryTest.java | 68 private static Config[] COLOR_CONFIGS = new Config[] {Config.ARGB_8888, Config.RGB_565}; 656 opts.inPreferredConfig = Config.RGB_565; in decodeConfigs() 662 assertEquals(Config.RGB_565, rgb565.getConfig()); in decodeConfigs()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerRunningTaskInfoTest.java | 63 Bitmap.Config.RGB_565); in testWriteToParcel() 72 assertEquals(Bitmap.Config.RGB_565, values.thumbnail.getConfig()); in testWriteToParcel() 91 Bitmap.Config.RGB_565); in testReadFromParcel() 99 assertEquals(Bitmap.Config.RGB_565, values.thumbnail.getConfig()); in testReadFromParcel()
|
/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/graphics/src/android/opengl/cts/ |
D | CompressedTextureCtsActivity.java | 52 optionsRGB.inPreferredConfig = Bitmap.Config.RGB_565; in onCreate()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoSystemFunctionPermissionTest.java | 86 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.RGB_565); in testSetWallpaper()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | IconMarginSpanTest.java | 36 Bitmap.createBitmap(COLOR, WIDTH, HEIGHT, Bitmap.Config.RGB_565);
|
D | ImageSpanTest.java | 37 Bitmap b = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); in testConstructor()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | FaceView.java | 59 bfo.inPreferredConfig = Bitmap.Config.RGB_565; in FaceView()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ClipDrawableTest.java | 108 Bitmap bitmap = Bitmap.createBitmap(100, 50, Config.RGB_565); in testGetIntrinsicHeight() 122 Bitmap bitmap = Bitmap.createBitmap(100, 50, Config.RGB_565); in testGetIntrinsicWidth() 204 new BitmapDrawable(Bitmap.createBitmap(100, 50, Config.RGB_565)); in testIsStateful()
|
D | BitmapDrawableTest.java | 338 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.RGB_565); in testGetIntrinsicSize() 361 bitmap = Bitmap.createBitmap(sourceWidth, sourceHeight, Config.RGB_565); in testSetTargetDensity() 376 bitmap = Bitmap.createBitmap(sourceWidth, sourceHeight, Config.RGB_565); in testSetTargetDensity()
|
D | DrawableTest.java | 545 Drawable.resolveOpacity(PixelFormat.RGB_888, PixelFormat.RGB_565)); in testResolveOpacity()
|
D | NinePatchDrawableTest.java | 334 colors, sourceWidth, sourceHeight, Bitmap.Config.RGB_565); in testInflate()
|
/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()
|
D | TypeTest.java | 50 testTypeBuilderHelper(Element.RGB_565(mRS)); in testTypeBuilder()
|
D | AllocationTest.java | 115 createTypedHelper(Element.RGB_565(mRS)); in testCreateTyped() 151 createTypedTextureHelper(Element.RGB_565(mRS)); in testCreateTyped() 158 createSizedHelper(Element.RGB_565(mRS)); in testCreateSized()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 152 mPreviewFormatNames.append(ImageFormat.RGB_565, "RGB_565"); in onCreate() 492 case ImageFormat.RGB_565: in startPreview() 544 case ImageFormat.RGB_565: in doInBackground()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | EmojiTest.java | 64 } else if (bmp.getConfig() == Bitmap.Config.RGB_565) { in describeBitmap()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextWrapperTest.java | 288 Bitmap bitmap = Bitmap.createBitmap(20, 30, Bitmap.Config.RGB_565); in testAccessWallpaper()
|