/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | MediaArtworkProcessorTest.kt | 63 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/ |
D | CompareActivity.java | 67 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/ |
D | IconTest.java | 48 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 …]
|
D | AdaptiveIconDrawableTest.java | 66 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/ |
D | MediaArtworkProcessor.kt | 64 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/ |
D | FrameImage2D.java | 121 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/ |
D | BitmapTest.java | 33 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/ |
D | UserIconDrawableTest.java | 56 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/ |
D | MediaNotificationProcessorTest.java | 62 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/ |
D | BitmapRegionTileSource.java | 131 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/ |
D | WallpaperColorsTest.java | 54 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/ |
D | Frame.java | 186 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/ |
D | ImageGradientColorizer.java | 43 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/ |
D | ImageProcessingActivity2.java | 209 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/ |
D | Healing.java | 101 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/ |
D | ImageUtils.java | 77 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/ |
D | ImageBuffersForRenderScript.java | 38 inputImage.getHeight(), Bitmap.Config.ARGB_8888); in ImageBuffersForRenderScript()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 529 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/ |
D | GlifPatternDrawableTest.java | 50 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/ |
D | RefocusFilterF32.java | 82 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/ |
D | GenImage.java | 45 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/ |
D | Healing.java | 134 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/ |
D | MainActivity.java | 41 mBitmapIn = Bitmap.createBitmap(8, 8, Bitmap.Config.ARGB_8888); in onCreate()
|
/frameworks/rs/tests/lldb/java/NoDebugWaitAttach/src/com/android/rs/waitattachnodebug/ |
D | MainActivity.java | 41 mBitmapIn = Bitmap.createBitmap(8, 8, Bitmap.Config.ARGB_8888); in onCreate()
|
/frameworks/rs/tests/java_api/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/ |
D | HelloComputeNDK.java | 58 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadBitmap()
|