Home
last modified time | relevance | path

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

12

/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapTest.java103 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 …]
DBitmap_ConfigTest.java26 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()
DPixelFormatTest.java55 PixelFormat.getPixelFormatInfo(PixelFormat.RGB_565, mPixelFormat); in testGetPixelFormatInfo()
124 assertFalse(PixelFormat.formatHasAlpha(PixelFormat.RGB_565)); in testFormatHasAlpha()
DShaderTest.java34 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); in testAccessLocalMatrix()
DBitmapRegionDecoderTest.java78 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()
DCanvas_VertexModeTest.java45 Bitmap bitmap = Bitmap.createBitmap(10, 27, Config.RGB_565); in testValues()
DBitmapFactoryTest.java68 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/
DActivityManagerRunningTaskInfoTest.java63 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/
Drs_jni_element.cpp103 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()
Drs_jni_type.cpp73 passed &= testTypeBuilderHelper(mRS, Element::RGB_565(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
/cts/tests/tests/graphics/src/android/opengl/cts/
DCompressedTextureCtsActivity.java52 optionsRGB.inPreferredConfig = Bitmap.Config.RGB_565; in onCreate()
/cts/tests/tests/permission/src/android/permission/cts/
DNoSystemFunctionPermissionTest.java86 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.RGB_565); in testSetWallpaper()
/cts/tests/tests/text/src/android/text/style/cts/
DIconMarginSpanTest.java36 Bitmap.createBitmap(COLOR, WIDTH, HEIGHT, Bitmap.Config.RGB_565);
DImageSpanTest.java37 Bitmap b = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); in testConstructor()
/cts/tests/tests/media/src/android/media/cts/
DFaceView.java59 bfo.inPreferredConfig = Bitmap.Config.RGB_565; in FaceView()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DClipDrawableTest.java108 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()
DBitmapDrawableTest.java338 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()
DDrawableTest.java545 Drawable.resolveOpacity(PixelFormat.RGB_888, PixelFormat.RGB_565)); in testResolveOpacity()
DNinePatchDrawableTest.java334 colors, sourceWidth, sourceHeight, Bitmap.Config.RGB_565); in testInflate()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DElementTest.java68 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()
DTypeTest.java50 testTypeBuilderHelper(Element.RGB_565(mRS)); in testTypeBuilder()
DAllocationTest.java115 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/
DCameraFormatsActivity.java152 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/
DEmojiTest.java64 } else if (bmp.getConfig() == Bitmap.Config.RGB_565) { in describeBitmap()
/cts/tests/tests/content/src/android/content/cts/
DContextWrapperTest.java288 Bitmap bitmap = Bitmap.createBitmap(20, 30, Bitmap.Config.RGB_565); in testAccessWallpaper()

12