Home
last modified time | relevance | path

Searched refs:BitmapRenderer (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DBitmapRenderer.java27 public interface BitmapRenderer { interface
31 static Bitmap createSoftwareBitmap(int width, int height, BitmapRenderer renderer) { in createSoftwareBitmap()
38 static Bitmap createHardwareBitmap(int width, int height, BitmapRenderer renderer) { in createHardwareBitmap()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDragPreviewProvider.java38 import com.android.launcher3.icons.BitmapRenderer;
141 return BitmapRenderer.createHardwareBitmap(width + blurSizeOutline, in createDragBitmap()
145 return BitmapRenderer.createSoftwareBitmap(width + blurSizeOutline, in createDragBitmap()
150 return BitmapRenderer.createHardwareBitmap(width + blurSizeOutline, in createDragBitmap()
DShadowDrawable.java35 import com.android.launcher3.icons.BitmapRenderer;
149 if (BitmapRenderer.USE_HARDWARE_BITMAP) { in regenerateBitmapCache()
DLauncherPreviewRenderer.java60 import com.android.launcher3.icons.BitmapRenderer;
116 return BitmapRenderer.createHardwareBitmap(mDp.widthPx, mDp.heightPx, c -> { in call()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFolderAdaptiveIcon.java40 import com.android.launcher3.icons.BitmapRenderer;
125 Bitmap previewBitmap = BitmapRenderer.createHardwareBitmap(previewWidth, previewHeight, in createDrawableOnUiThread()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java51 import com.android.launcher3.icons.BitmapRenderer;
121 if (BitmapRenderer.USE_HARDWARE_BITMAP && Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { in BaseIconCache()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DLauncherIcons.java161 result.icon = BitmapRenderer.createHardwareBitmap(mIconBitmapSize, mIconBitmapSize, (c) -> { in createShortcutIcon()