/aosp14/frameworks/base/core/tests/coretests/src/android/graphics/ |
H A D | GraphicsPerformanceTests.java | 168 mBitmap = createBitmap(); in setUp() 201 public Bitmap createBitmap() { in createBitmap() method in GraphicsPerformanceTests.DrawBitmap7x7 219 public Bitmap createBitmap() { in createBitmap() method in GraphicsPerformanceTests.DrawBitmap15x15 237 public Bitmap createBitmap() { in createBitmap() method in GraphicsPerformanceTests.DrawBitmap31x31 255 public Bitmap createBitmap() { in createBitmap() method in GraphicsPerformanceTests.DrawBitmap63x63 273 public Bitmap createBitmap() { in createBitmap() method in GraphicsPerformanceTests.DrawBitmap127x127 291 public Bitmap createBitmap() { in createBitmap() method in GraphicsPerformanceTests.DrawBitmap319x239 309 public Bitmap createBitmap() { in createBitmap() method in GraphicsPerformanceTests.DrawBitmap319x479 327 public Bitmap createBitmap() { in createBitmap() method in GraphicsPerformanceTests.DrawBitmap8x8 345 public Bitmap createBitmap() { in createBitmap() method in GraphicsPerformanceTests.DrawBitmap16x16 [all …]
|
H A D | BitmapTest.java | 33 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in testBasic() 34 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); in testBasic() 35 Bitmap bm3 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_4444); in testBasic() 69 Bitmap bm2 = Bitmap.createBitmap(new int[100 * 200], 100, 200, in testMutability() 92 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, in testGetPixelsWithAlpha() 136 Bitmap bm1 = Bitmap.createBitmap(colors, 10, 10, config); in testSetPixelsWithAlpha() 137 Bitmap bm2 = Bitmap.createBitmap(10, 10, config); in testSetPixelsWithAlpha() 162 Bitmap bm1 = Bitmap.createBitmap(colors, 10, 10, config); in testSetPixelsWithoutAlpha() 163 Bitmap bm2 = Bitmap.createBitmap(10, 10, config); in testSetPixelsWithoutAlpha() 194 Bitmap bm1 = Bitmap.createBitmap(colors, 16, 16, config); in testSetPixelsWithNonOpaqueAlpha() [all …]
|
H A D | ThreadBitmapTest.java | 41 b = Bitmap.createBitmap(300, 300, Bitmap.Config.RGB_565); in MThread()
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
H A D | RotationAnimationUtilsTest.java | 43 Bitmap swBitmap = createBitmap(0); in blackLuma() 52 Bitmap swBitmap = createBitmap(1); in whiteLuma() 60 Bitmap swBitmap = createBitmap(1, BITMAP_WIDTH + 1, BITMAP_HEIGHT + 1); in unevenBitmapDimens() 68 Bitmap swBitmap = createBitmap(1); in whiteImageBlackBorderLuma() 77 Bitmap swBitmap = createBitmap(0); in blackImageWhiteBorderLuma() 84 private Bitmap createBitmap(float luma) { in createBitmap() method in RotationAnimationUtilsTest 85 return createBitmap(luma, BITMAP_WIDTH, BITMAP_HEIGHT); in createBitmap() 88 private Bitmap createBitmap(float luma, int width, int height) { in createBitmap() method in RotationAnimationUtilsTest 89 Bitmap bitmap = Bitmap.createBitmap(width, height, ARGB_8888); in createBitmap()
|
/aosp14/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 840 public static Bitmap createBitmap(@NonNull Bitmap src) { in createBitmap() method in Bitmap 862 return createBitmap(source, x, y, width, height, null, false); in createBitmap() 979 bitmap = createBitmap(null, neww, newh, transformedConfig, in createBitmap() 1070 return createBitmap(width, height, config, true); in createBitmap() 1090 return createBitmap(display, width, height, config, true); in createBitmap() 1109 public static Bitmap createBitmap(int width, int height, in createBitmap() method in Bitmap 1111 return createBitmap(null, width, height, config, hasAlpha); in createBitmap() 1163 return createBitmap(display, width, height, config, hasAlpha, in createBitmap() 1270 public static Bitmap createBitmap(@NonNull DisplayMetrics display, in createBitmap() method in Bitmap 1313 public static Bitmap createBitmap(@NonNull @ColorInt int[] colors, in createBitmap() method in Bitmap [all …]
|
/aosp14/frameworks/base/tests/Internal/src/android/app/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/ |
H A D | NotificationMemoryMeterTest.kt | 82 val icon = Icon.createWithBitmap(Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888)) 145 Icon.createWithBitmap(Bitmap.createBitmap(600, 400, Bitmap.Config.ARGB_8888)) 147 Icon.createWithAdaptiveBitmap(Bitmap.createBitmap(386, 432, Bitmap.Config.ARGB_8888)) 174 Icon.createWithBitmap(Bitmap.createBitmap(386, 432, Bitmap.Config.ARGB_8888)) 200 Icon.createWithBitmap(Bitmap.createBitmap(386, 432, Bitmap.Config.ARGB_8888)) 204 Icon.createWithBitmap(Bitmap.createBitmap(348, 382, Bitmap.Config.ARGB_8888)) 237 val carIcon = Bitmap.createBitmap(432, 322, Bitmap.Config.ARGB_8888) 258 val wearBackground = Bitmap.createBitmap(443, 433, Bitmap.Config.ARGB_8888) 278 Icon.createWithBitmap(Bitmap.createBitmap(250, 250, Bitmap.Config.ARGB_8888)) 280 Icon.createWithBitmap(Bitmap.createBitmap(400, 400, Bitmap.Config.ARGB_8888))
|
H A D | NotificationMemoryViewWalkerTest.kt | 53 val icon = Icon.createWithBitmap(Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_8888)) 54 val publicIcon = Icon.createWithBitmap(Bitmap.createBitmap(40, 40, Bitmap.Config.ARGB_8888)) 125 val bigPicture = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888) 126 val icon = Icon.createWithBitmap(Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_8888)) 127 val largeIcon = Icon.createWithBitmap(Bitmap.createBitmap(60, 60, Bitmap.Config.ARGB_8888)) 185 val icon = Icon.createWithBitmap(Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_8888)) 186 val bitmap = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888)
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | MediaArtworkProcessorTest.kt | 63 val artwork = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ARGB_8888) 76 val artwork = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ARGB_8888) 89 val artwork = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ALPHA_8) 100 val artwork = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ARGB_8888)
|
H A D | StatusBarIconViewTest.java | 137 Bitmap largeBitmap = Bitmap.createBitmap(6000, 6000, Bitmap.Config.ARGB_8888); in testGiantImageNotAllowed() 151 Bitmap bitmap = Bitmap.createBitmap(60, 60, Bitmap.Config.ARGB_8888); in testNullNotifInfo() 171 Bitmap bitmap = Bitmap.createBitmap(60, 60, Bitmap.Config.ARGB_8888); in testNullIcon() 422 Bitmap bitmap = Bitmap.createBitmap( in setIconDrawableWithSize()
|
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | DrawIntoHwBitmapActivity.java | 35 view.setImageBitmap(createBitmap()); in onCreate() 38 Bitmap createBitmap() { in createBitmap() method in DrawIntoHwBitmapActivity 50 return Bitmap.createBitmap(picture); in createBitmap()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
H A D | IconTest.java | 49 final Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in testWithBitmap() 50 final Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); in testWithBitmap() 67 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(), in testWithBitmap() 69 final Bitmap test2 = Bitmap.createBitmap(draw2.getIntrinsicWidth(), in testWithBitmap() 71 final Bitmap test3 = Bitmap.createBitmap(draw3.getIntrinsicWidth(), in testWithBitmap() 116 final Bitmap bm = Bitmap.createBitmap(4321, 78, Bitmap.Config.ARGB_8888); in testScaleDownIfNecessary() 138 final Bitmap test1 = Bitmap.createBitmap( in testWithAdaptiveBitmap() 168 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(), in testWithBitmapResource() 208 final Bitmap referenceBitmap = Bitmap.createBitmap( in testWithStatSysAdbResource() 223 final Bitmap test1 = Bitmap.createBitmap( in testWithStatSysAdbResource() [all …]
|
H A D | AdaptiveIconDrawableTest.java | 66 final Bitmap bm_test = Bitmap.createBitmap(150, 150, Bitmap.Config.ARGB_8888); 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()
|
/aosp14/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/hdr/ |
H A D | GainmapTransformsTest.kt | 79 Bitmap.createBitmap(it, 0, 0, width, height, m, false) 91 Bitmap.createBitmap(it, 0, 0, width, height, m, false) 99 Bitmap.createBitmap(it, width / 2, height / 2, 111 Bitmap.createBitmap(it, width / 2, height / 2,
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/ |
H A D | DreamOverlayDotImageView.java | 92 mDotBitmap = createBitmap(mBounds.width(), mBounds.height()); in draw() 119 private Bitmap createBitmap(int width, int height) { in createBitmap() method in DreamOverlayDotImageView.DotDrawable 120 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in createBitmap()
|
/aosp14/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawable/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/drawable/ |
H A D | DrawableSizeTest.kt | 36 Bitmap.createBitmap( 52 Bitmap.createBitmap(
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
H A D | MediaNotificationProcessorTest.java | 61 mArtwork = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Bitmap.Config.ARGB_8888); in findBackgroundSwatch_white() 73 mArtwork = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Bitmap.Config.ARGB_8888); in findBackgroundSwatch_red()
|
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
H A 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()
|
/aosp14/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | ListViewAnimation.cpp | 45 sk_sp<Bitmap> bitmap(TestUtils::createBitmap(size, size, &skBitmap)); in createRandomCharIcon() 73 auto bitmap = TestUtils::createBitmap(size, size, &skBitmap); in createBoxBitmap()
|
/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
H A D | BitmapUtils.java | 121 Bitmap target = Bitmap.createBitmap(width, height, getConfig(bitmap)); in resizeBitmapByScale() 157 Bitmap target = Bitmap.createBitmap(size, size, getConfig(bitmap)); in resizeAndCropCenter() 184 Bitmap bitmap = Bitmap.createBitmap(source, 0, 0, w, h, m, true); in rotateBitmap()
|
/aosp14/frameworks/base/libs/hwui/jni/ |
H A D | Bitmap.h | 36 jobject createBitmap(JNIEnv* env, Bitmap* bitmap,
|
/aosp14/frameworks/base/libs/hwui/tests/unit/ |
H A D | ABitmapTests.cpp | 29 sk_sp<Bitmap> bitmap(TestUtils::createBitmap(1, 1)); in TEST()
|
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | BackingStore.java | 512 createBitmap(); in syncTo() 517 createBitmap(); in syncTo() 522 createBitmap(); in syncTo() 575 private void createBitmap() { in createBitmap() method in BackingStore.BitmapBacking 576 mBitmap = Bitmap.createBitmap(mDimensions[0], mDimensions[1], Bitmap.Config.ARGB_8888); in createBitmap()
|
/aosp14/frameworks/base/packages/SettingsLib/Spa/screenshot/src/com/android/settingslib/spa/screenshot/util/ |
H A D | Bitmap.kt | 31 Bitmap.createBitmap(
|