/frameworks/base/tests/Internal/src/android/app/ |
D | WallpaperColorsTest.java | 55 Bitmap image = Bitmap.createBitmap(30, 30, Bitmap.Config.ARGB_8888); in whiteSurfaceColorHintsTest() 80 Bitmap xsmall_image = Bitmap.createBitmap(1, 5, Bitmap.Config.ARGB_8888); in xSmallWhiteSurfaceColorHintsTest() 98 Bitmap image = Bitmap.createBitmap(30, 30, Bitmap.Config.ARGB_8888); in blackSurfaceColorHintsTest() 115 Bitmap image = Bitmap.createBitmap(30, 30, Bitmap.Config.ARGB_8888); in bitmapHintsTest() 144 Bitmap image = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888); in wallpaperRecycleBitmapTest() 156 Bitmap image = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888); in testParcelUnparcel()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/ |
D | NotificationMemoryMeterTest.kt | 82 val icon = Icon.createWithBitmap(Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888)) in currentNotificationMemoryUse_plainNotification_dontDoubleCountSameBitmap() 145 Icon.createWithBitmap(Bitmap.createBitmap(600, 400, Bitmap.Config.ARGB_8888)) in currentNotificationMemoryUse_bigPictureStyle() 147 Icon.createWithAdaptiveBitmap(Bitmap.createBitmap(386, 432, Bitmap.Config.ARGB_8888)) in currentNotificationMemoryUse_bigPictureStyle() 174 Icon.createWithBitmap(Bitmap.createBitmap(386, 432, Bitmap.Config.ARGB_8888)) in currentNotificationMemoryUse_callingStyle() 200 Icon.createWithBitmap(Bitmap.createBitmap(386, 432, Bitmap.Config.ARGB_8888)) in currentNotificationMemoryUse_messagingStyle() 204 Icon.createWithBitmap(Bitmap.createBitmap(348, 382, Bitmap.Config.ARGB_8888)) in currentNotificationMemoryUse_messagingStyle() 237 val carIcon = Bitmap.createBitmap(432, 322, Bitmap.Config.ARGB_8888) in currentNotificationMemoryUse_carExtender() 258 val wearBackground = Bitmap.createBitmap(443, 433, Bitmap.Config.ARGB_8888) in currentNotificationMemoryUse_tvWearExtender() 278 Icon.createWithBitmap(Bitmap.createBitmap(250, 250, Bitmap.Config.ARGB_8888)) in createBasicNotification() 280 Icon.createWithBitmap(Bitmap.createBitmap(400, 400, Bitmap.Config.ARGB_8888)) in createBasicNotification()
|
D | NotificationMemoryViewWalkerTest.kt | 53 val icon = Icon.createWithBitmap(Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888)) in testViewWalker_plainNotification_withPublicView() 54 val publicIcon = Icon.createWithBitmap(Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_8888)) in testViewWalker_plainNotification_withPublicView() 125 val bigPicture = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888) in testViewWalker_bigPictureNotification() 126 val icon = Icon.createWithBitmap(Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888)) in testViewWalker_bigPictureNotification() 127 val largeIcon = Icon.createWithBitmap(Bitmap.createBitmap(30, 30, Bitmap.Config.ARGB_8888)) in testViewWalker_bigPictureNotification() 185 val icon = Icon.createWithBitmap(Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888)) in testViewWalker_customView() 186 val bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888) in testViewWalker_customView()
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | IconTest.java | 80 final Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in testWithBitmap() 99 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap() 101 draw2.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap() 103 draw3.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap() 147 final Bitmap bm = Bitmap.createBitmap(4321, 78, Bitmap.Config.ARGB_8888); in testScaleDownIfNecessary() 160 final Bitmap bm1 = Bitmap.createBitmap(150, 150, Bitmap.Config.ARGB_8888); in testWithAdaptiveBitmap() 172 Bitmap.Config.ARGB_8888); in testWithAdaptiveBitmap() 200 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmapResource() 242 Bitmap.Config.ARGB_8888); in testWithStatSysAdbResource() 257 Bitmap.Config.ARGB_8888); in testWithStatSysAdbResource() [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() 190 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testSetAlpha()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NotificationRowIconView.java | 112 Bitmap result = Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888); in makeCircularDrawable() 129 return bitmap.copy(Bitmap.Config.ARGB_8888, false); in drawableToBitmap() 140 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in drawableToBitmap()
|
/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/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/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/SystemUI/tests/src/com/android/systemui/util/drawable/ |
D | DrawableSizeTest.kt | 38 Bitmap.createBitmap(resources.displayMetrics, 150, 150, Bitmap.Config.ARGB_8888) in testDownscaleToSize_drawableSmallerThanRequirement_unchanged() 51 Bitmap.createBitmap(resources.displayMetrics, 150, 75, Bitmap.Config.ARGB_8888) in testDownscaleToSize_drawableLargerThanRequirementWithDensity_resized()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | DecorViewTest.java | 53 Bitmap expectedBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); in setBackgroundDrawableSameAsSetWindowBackground() 63 Bitmap resultBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); in setBackgroundDrawableSameAsSetWindowBackground()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | ThumbnailData.kt | 21 import android.graphics.Bitmap.Config.ARGB_8888 in <lambda>() 66 ?: Bitmap.createBitmap(snapshot.taskSize.x, snapshot.taskSize.y, ARGB_8888).apply { in <lambda>()
|
/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/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/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | RotationAnimationUtilsTest.java | 19 import static android.graphics.Bitmap.Config.ARGB_8888; 89 Bitmap bitmap = Bitmap.createBitmap(width, height, ARGB_8888); in createBitmap()
|
/frameworks/base/tests/InputScreenshotTest/src/android/input/screenshot/ |
D | Bitmap.kt | 34 Bitmap.Config.ARGB_8888, in View()
|
D | LayoutPreview.kt | 33 val bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888) in createLayoutPreview()
|
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/ |
D | GainmapTransformsTest.kt | 62 process { it.copy(Bitmap.Config.ARGB_8888, false) } in <lambda>() 65 process { it.copy(Bitmap.Config.ARGB_8888, false) } in <lambda>()
|
/frameworks/base/packages/SettingsLib/Spa/screenshot/src/com/android/settingslib/spa/screenshot/util/ |
D | Bitmap.kt | 34 Bitmap.Config.ARGB_8888, in View()
|
/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | StatusBarIconViewTest.java | 139 Bitmap largeBitmap = Bitmap.createBitmap(6000, 6000, Bitmap.Config.ARGB_8888); in testGiantImageNotAllowed() 153 Bitmap bitmap = Bitmap.createBitmap(60, 60, Bitmap.Config.ARGB_8888); in testNullNotifInfo() 173 Bitmap bitmap = Bitmap.createBitmap(60, 60, Bitmap.Config.ARGB_8888); in testNullIcon() 431 width, height, Bitmap.Config.ARGB_8888); in setIconDrawableWithSize()
|
/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/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/ |
D | Utils.kt | 141 Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888) in toBitmap() 144 Bitmap.createBitmap(intrinsicWidth, intrinsicHeight, Bitmap.Config.ARGB_8888) in toBitmap()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 701 Bitmap.createBitmap(3000, 3000, Bitmap.Config.ARGB_8888)); in testBuild_ensureSmallIconIsNotTooBig_resizesIcon() 717 Bitmap.createBitmap(3000, 3000, Bitmap.Config.ARGB_8888)); in testBuild_ensureMessagingUserIsNotTooBig_resizesIcon() 719 Bitmap.createBitmap(3000, 3000, Bitmap.Config.ARGB_8888)); in testBuild_ensureMessagingUserIsNotTooBig_resizesIcon() 721 Bitmap.createBitmap(3000, 3000, Bitmap.Config.ARGB_8888)); in testBuild_ensureMessagingUserIsNotTooBig_resizesIcon() 755 Bitmap.createBitmap(3000, 3000, Bitmap.Config.ARGB_8888)); in testBuild_ensureMessagingShortcutIconIsNotTooBig_resizesIcon() 1238 Bitmap bitA = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888); in testBigPictureChange() 1239 Bitmap bitB = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888); in testBigPictureChange() 1273 Bitmap bitmap = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888); in testBigPictureStyle_setExtras_pictureIconTypeBitmap_pictureIconKeyNull() 1499 Icon icon = Icon.createWithBitmap(Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888)); in testActionsDifferentSame() 1515 Icon icon = Icon.createWithBitmap(Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888)); in testActionsDifferentText() [all …]
|