Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 46d95616 authored by John Reck's avatar John Reck Committed by Android (Google) Code Review
Browse files

Merge "Add API to do partial gainmap copies" into main

parents 627bd6e1 79d9ed1e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -15651,6 +15651,7 @@ package android.graphics {
  public final class Gainmap implements android.os.Parcelable {
    ctor public Gainmap(@NonNull android.graphics.Bitmap);
    ctor public Gainmap(@NonNull android.graphics.Gainmap, @NonNull android.graphics.Bitmap);
    method public int describeContents();
    method @NonNull public float getDisplayRatioForFullHdr();
    method @NonNull public float[] getEpsilonHdr();
+0 −2
Original line number Diff line number Diff line
@@ -124,8 +124,6 @@ public final class Gainmap implements Parcelable {
    /**
     * Creates a new gainmap using the provided gainmap as the metadata source and the provided
     * bitmap as the replacement for the gainmapContents
     * TODO: Make public, it's useful
     * @hide
     */
    public Gainmap(@NonNull Gainmap gainmap, @NonNull Bitmap gainmapContents) {
        this(gainmapContents, nCreateCopy(gainmap.mNativePtr));