Home
last modified time | relevance | path

Searched refs:ARGB_8888 (Results 1 – 25 of 141) sorted by relevance

123456

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DMediaArtworkProcessorTest.kt63 val artwork = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ARGB_8888) in testProcessArtwork()
70 assertThat(background.config).isEqualTo(Bitmap.Config.ARGB_8888) in testProcessArtwork()
76 val artwork = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ARGB_8888) in testCache()
94 assertThat(background.config).isEqualTo(Bitmap.Config.ARGB_8888) in testConfig()
100 val artwork = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ARGB_8888) in testRecycledArtwork()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DCompareActivity.java67 mSoftwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in onCreateCommon()
68 mHardwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in onCreateCommon()
83 mSoftwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in loadBitmaps()
84 mHardwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in loadBitmaps()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DIconTest.java48 final Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in testWithBitmap()
67 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap()
69 draw2.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap()
71 draw3.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap()
115 final Bitmap bm = Bitmap.createBitmap(4321, 78, Bitmap.Config.ARGB_8888); in testScaleDownIfNecessary()
128 final Bitmap bm1 = Bitmap.createBitmap(150, 150, Bitmap.Config.ARGB_8888); in testWithAdaptiveBitmap()
140 Bitmap.Config.ARGB_8888); in testWithAdaptiveBitmap()
168 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmapResource()
195 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithFile()
228 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testAsync()
[all …]
DAdaptiveIconDrawableTest.java66 final Bitmap bm_test = Bitmap.createBitmap(150, 150, Bitmap.Config.ARGB_8888); in testDraw_withoutBounds()
67 final Bitmap bm_org = bm_test.copy(Config.ARGB_8888, false); in testDraw_withoutBounds()
95 final Bitmap bm_org = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in testDraw_withBounds()
101 final Bitmap bm_test = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in testDraw_withBounds()
196 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testSetAlpha()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DMediaArtworkProcessor.kt64 if (inBitmap.config != Bitmap.Config.ARGB_8888) { in processArtwork()
66 inBitmap = oldIn.copy(Bitmap.Config.ARGB_8888, false /* isMutable */) in processArtwork()
70 Bitmap.Config.ARGB_8888) in processArtwork()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameImage2D.java121 if (config != Bitmap.Config.ARGB_8888) { in convertToFrameType()
122 result = bitmap.copy(Bitmap.Config.ARGB_8888, false); in convertToFrameType()
170 Bitmap.Config config = Bitmap.Config.ARGB_8888; in cpuImageCopy()
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java33 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in testBasic()
61 assertTrue("getConfig", bm1.getConfig() == Bitmap.Config.ARGB_8888); in testBasic()
63 assertTrue("getConfig", bm3.getConfig() == Bitmap.Config.ARGB_8888); in testBasic()
68 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in testMutability()
70 Bitmap.Config.ARGB_8888); in testMutability()
93 Bitmap.Config.ARGB_8888); in testGetPixelsWithAlpha()
135 Bitmap.Config config = Bitmap.Config.ARGB_8888; in testSetPixelsWithAlpha()
191 Bitmap.Config config = Bitmap.Config.ARGB_8888; in testSetPixelsWithNonOpaqueAlpha()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawable/
DUserIconDrawableTest.java56 final Bitmap b = Bitmap.createBitmap(1, 1, Config.ARGB_8888); in setTintList_shouldBeApplied()
65 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); in setTintList_shouldBeApplied()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DMediaNotificationProcessorTest.java62 private Bitmap mBitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888);
130 mArtwork = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Bitmap.Config.ARGB_8888); in findBackgroundSwatch_white()
142 mArtwork = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Bitmap.Config.ARGB_8888); in findBackgroundSwatch_red()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java131 Bitmap.Config.ARGB_8888); in decodeRegion()
186 opts.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadInBackground()
387 mOptions.inPreferredConfig = Bitmap.Config.ARGB_8888; in BitmapRegionTileSource()
446 bitmap = Bitmap.createBitmap(tileSize, tileSize, Bitmap.Config.ARGB_8888); in getTile()
485 Bitmap result = Bitmap.createBitmap(tileSize, tileSize, Config.ARGB_8888); in getTileWithoutReusingBitmap()
521 Bitmap newBitmap = bitmap.copy(Config.ARGB_8888, false); in ensureGLCompatibleBitmap()
/frameworks/base/tests/Internal/src/android/app/
DWallpaperColorsTest.java54 Bitmap image = Bitmap.createBitmap(30, 30, Bitmap.Config.ARGB_8888); in colorHintsTest()
95 Bitmap image = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888); in wallpaperRecycleBitmapTest()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFrame.java186 if (bitmap.getConfig() == Bitmap.Config.ARGB_8888) { in convertBitmapToRGBA()
189 Bitmap result = bitmap.copy(Bitmap.Config.ARGB_8888, false); in convertBitmapToRGBA()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DImageGradientColorizer.java43 Bitmap newBitmap = Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888); in colorize()
76 Bitmap fadeIn = Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888); in colorize()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DImageProcessingActivity2.java209 mBitmapOut1 = Bitmap.createBitmap(1920, 1080, Bitmap.Config.ARGB_8888); in Processor()
210 mBitmapOut2 = Bitmap.createBitmap(1920, 1080, Bitmap.Config.ARGB_8888); in Processor()
217 mBitmapOut1 = Bitmap.createBitmap(1280, 720, Bitmap.Config.ARGB_8888); in Processor()
218 mBitmapOut2 = Bitmap.createBitmap(1280, 720, Bitmap.Config.ARGB_8888); in Processor()
225 mBitmapOut1 = Bitmap.createBitmap(800, 450, Bitmap.Config.ARGB_8888); in Processor()
226 mBitmapOut2 = Bitmap.createBitmap(800, 450, Bitmap.Config.ARGB_8888); in Processor()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DHealing.java101 Bitmap.Config.ARGB_8888); in heal()
178 Bitmap.Config.ARGB_8888); in heal_orig()
191 return ret.copy(Bitmap.Config.ARGB_8888, true); in createMutableBitmap()
/frameworks/base/core/java/com/android/internal/util/
DImageUtils.java77 COMPACT_BITMAP_SIZE, COMPACT_BITMAP_SIZE, Bitmap.Config.ARGB_8888 in isGrayscale()
161 Bitmap result = Bitmap.createBitmap(scaledWidth, scaledHeight, Config.ARGB_8888); in buildScaledBitmap()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DImageBuffersForRenderScript.java38 inputImage.getHeight(), Bitmap.Config.ARGB_8888); in ImageBuffersForRenderScript()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java529 ARGB_8888 (5), enumConstant
559 null, ALPHA_8, null, RGB_565, ARGB_4444, ARGB_8888, RGBA_F16, HARDWARE
906 Config newConfig = Config.ARGB_8888; in createBitmap()
922 case ARGB_8888: in createBitmap()
924 newConfig = Config.ARGB_8888; in createBitmap()
944 if (transformedConfig != Config.ARGB_8888 && transformedConfig != Config.RGBA_F16) { in createBitmap()
945 transformedConfig = Config.ARGB_8888; in createBitmap()
1129 if ((config == Config.ARGB_8888 || config == Config.RGBA_F16) && !hasAlpha) { in createBitmap()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifPatternDrawableTest.java50 final Bitmap bitmap = Bitmap.createBitmap(1366, 768, Bitmap.Config.ARGB_8888); in testDraw()
67 final Bitmap bitmap = Bitmap.createBitmap(1366, 768, Bitmap.Config.ARGB_8888); in testDrawTwice()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
DRefocusFilterF32.java82 buffers.inputImage.getHeight(), Bitmap.Config.ARGB_8888); in extractSharpImage()
95 buffers.inputImage.getHeight(), Bitmap.Config.ARGB_8888); in extractFuzzyImage()
/frameworks/rs/tests/java_api/GenImages/src/com/android/rs/genimage/
DGenImage.java45 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadBitmap()
256 Bitmap bmp = Bitmap.createBitmap(512, 512, Bitmap.Config.ARGB_8888); in draw()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DHealing.java134 Bitmap.Config.ARGB_8888); in heal()
147 return ret.copy(Bitmap.Config.ARGB_8888, true); in createMutableBitmap()
/frameworks/rs/tests/lldb/java/DebugWaitAttach/src/com/android/rs/waitattachdebug/
DMainActivity.java41 mBitmapIn = Bitmap.createBitmap(8, 8, Bitmap.Config.ARGB_8888); in onCreate()
/frameworks/rs/tests/lldb/java/NoDebugWaitAttach/src/com/android/rs/waitattachnodebug/
DMainActivity.java41 mBitmapIn = Bitmap.createBitmap(8, 8, Bitmap.Config.ARGB_8888); in onCreate()
/frameworks/rs/tests/java_api/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/
DHelloComputeNDK.java58 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadBitmap()

123456