Loading graphics/java/android/graphics/Bitmap.java +0 −12 Original line number Diff line number Diff line Loading @@ -776,18 +776,6 @@ public final class Bitmap implements Parcelable { return bitmap; } /** * Utility method to create a hardware backed bitmap using the graphics buffer. * @hide */ @Nullable public static Bitmap wrapHardwareBuffer(@NonNull GraphicBuffer graphicBuffer, @Nullable ColorSpace colorSpace) { try (HardwareBuffer hb = HardwareBuffer.createFromGraphicBuffer(graphicBuffer)) { return wrapHardwareBuffer(hb, colorSpace); } } /** * Creates a new bitmap, scaled from an existing bitmap, when possible. If the * specified width and height are the same as the current width and height of Loading Loading
graphics/java/android/graphics/Bitmap.java +0 −12 Original line number Diff line number Diff line Loading @@ -776,18 +776,6 @@ public final class Bitmap implements Parcelable { return bitmap; } /** * Utility method to create a hardware backed bitmap using the graphics buffer. * @hide */ @Nullable public static Bitmap wrapHardwareBuffer(@NonNull GraphicBuffer graphicBuffer, @Nullable ColorSpace colorSpace) { try (HardwareBuffer hb = HardwareBuffer.createFromGraphicBuffer(graphicBuffer)) { return wrapHardwareBuffer(hb, colorSpace); } } /** * Creates a new bitmap, scaled from an existing bitmap, when possible. If the * specified width and height are the same as the current width and height of Loading