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

Commit b255e388 authored by Trevor Black's avatar Trevor Black Committed by Android (Google) Code Review
Browse files

Merge "Add commentary around new uint format to javadocs" into main

parents 8bdac0fa 7f7b60d7
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -114,10 +114,16 @@ public final class HardwareBuffer implements Parcelable, AutoCloseable {
    /** Format: 8 bits red */
    @FlaggedApi(com.android.graphics.hwui.flags.Flags.FLAG_REQUESTED_FORMATS_V)
    public static final int R_8           = 0x38;
    /** Format: 16 bits red */
    /**
     * Format: 16 bits red. Bits should be represented in unsigned integer, instead of the
     * implicit unsigned normalized.
     */
    @FlaggedApi(com.android.graphics.hwui.flags.Flags.FLAG_REQUESTED_FORMATS_V)
    public static final int R_16_UINT     = 0x39;
    /** Format: 16 bits each red, green */
    /**
     * Format: 16 bits each red, green. Bits should be represented in unsigned integer,
     * instead of the implicit unsigned normalized.
     */
    @FlaggedApi(com.android.graphics.hwui.flags.Flags.FLAG_REQUESTED_FORMATS_V)
    public static final int RG_1616_UINT  = 0x3a;
    /** Format: 10 bits each red, green, blue, alpha */