Home
last modified time | relevance | path

Searched refs:createScaledBitmap (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DCanvasPerfTest.java122 Bitmap.createScaledBitmap(source, source.getWidth() / 2, source.getHeight() / 2, true) in testCreateScaledSrgbBitmap()
143 Bitmap.createScaledBitmap(source, source.getWidth() / 2, source.getHeight() / 2, true) in testCreateScaledP3Bitmap()
162 Bitmap.createScaledBitmap(source, source.getWidth() / 2, source.getHeight() / 2, true) in testCreateScaledBitmapWithGainmap()
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/
DBitmapUtils.java39 final Bitmap scaledBitmap = Bitmap.createScaledBitmap(bitmap, in renderDrawableToByteArray()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/legacyhelper/data/
DLegacyUserDataHelper.kt148 return Bitmap.createScaledBitmap( in getPicture()
/frameworks/base/core/java/com/android/internal/widget/
DNotificationRowIconView.java111 Bitmap squared = Bitmap.createScaledBitmap(source, size, size, /* filter= */ false); in makeCircularDrawable()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DGainmapTransformsTest.kt69 process { Bitmap.createScaledBitmap(it, it.width / 3, it.height / 3, true) } in <lambda>()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderDrawable.java156 bitmap = Bitmap.createScaledBitmap(bitmap, (int) (w * scale), (int) (h * scale), true); in renderImage()
/frameworks/base/core/java/android/content/pm/
DArchivedActivityInfo.java121 var scaledBitmap = Bitmap.createScaledBitmap(bitmap, iconSize, iconSize, true); in drawableToBitmap()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java289 mWhiteShadowLayer = createScaledBitmap( in getWhiteShadowLayer()
297 public Bitmap createScaledBitmap(@NonNull Drawable icon, @BitmapGenerationMode int mode) { in createScaledBitmap() method in BaseIconFactory
DClockDrawableWrapper.java219 Bitmap flattenBG = iconFactory.createScaledBitmap(background, in getExtendedInfo()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DPalette.java450 return Bitmap.createScaledBitmap(
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothUtils.java250 Bitmap.createScaledBitmap(bitmap, iconSize, iconSize, false); in getBtDrawableWithDescription()
386 Bitmap.createScaledBitmap(bitmap, iconSize, iconSize, false); in buildAdvancedDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallpapers/
DWallpaperLocalColorExtractor.java341 return Bitmap.createScaledBitmap(bitmap, width, height, false); in createMiniBitmap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaRecommendationsViewModel.kt329 val bitmap = Bitmap.createScaledBitmap(it, width, height, false) in <lambda>()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java192 Bitmap scaledBitmap = Bitmap.createScaledBitmap(bmp, iconSize, iconSize, true); in getBitmapFromDrawable()
/frameworks/base/services/core/java/com/android/server/wm/
DSnapshotPersistQueue.java370 final Bitmap lowResBitmap = Bitmap.createScaledBitmap(swBitmap, in writeBuffer()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDesktopModeWindowDecoration.java569 mAppIconBitmap = headerIconFactory.createScaledBitmap(appIconDrawable, MODE_DEFAULT);
574 .createScaledBitmap(appIconDrawable, MODE_DEFAULT);
/frameworks/base/media/java/android/media/
DMediaMetadata.java985 return Bitmap.createScaledBitmap(bmp, width, height, true); in scaleBitmap()
/frameworks/base/core/java/android/hardware/radio/
DRadioMetadata.java808 return Bitmap.createScaledBitmap(bmp, width, height, true); in scaleBitmap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputBaseDialog.java459 Bitmap.createScaledBitmap(bitmap, size, size, false)); in resizeDrawable()
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/
DRadioMetadataTest.java545 doReturn(bitmapResized).when(() -> Bitmap.createScaledBitmap( in build_withRadioMetadataAboveSizeRequirement()
/frameworks/base/core/java/android/app/
DWallpaperColors.java207 bitmap = Bitmap.createScaledBitmap(bitmap, optimalSize.getWidth(), in fromBitmap()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java283 renderedAppIcon = Bitmap.createScaledBitmap(renderedAppIcon, mBadgeBitmapSize, in createAppBadgedIconBitmap()
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java1146 bitmap = Bitmap.createScaledBitmap(bitmap, in scaleDownIfNecessary()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperCropper.java758 : Bitmap.createScaledBitmap(cropped, safeWidth, safeHeight, true); in generateCropInternal()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java925 params.appIcon = Bitmap.createScaledBitmap(params.appIcon, iconSize, iconSize,
1132 appIcon = Bitmap.createScaledBitmap(appIcon, iconSize, iconSize, true);

12