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

Commit 80b5caec authored by Leon Scroggins's avatar Leon Scroggins Committed by Android (Google) Code Review
Browse files

Merge "Revert "Update documentation for DISPLAY_DECORATION""

parents f825cd77 fa7e058b
Loading
Loading
Loading
Loading
+6 −10
Original line number Diff line number Diff line
@@ -74,20 +74,16 @@ enum Composition {
     */
    SIDEBAND = 5,
    /**
     * A display decoration layer contains a buffer which is used to provide
     * A display decoration layer contains a buffer which is an 8 bit
     * alpha mask. Pixels in the mask with an alpha of 0 (transparent) will
     * show the content underneath, and pixels with an alpha of 255 will be
     * be rendered in black. An alpha in between will show the content
     * blended with black. This is useful, for example, to provide
     * anti-aliasing on the cutout region/rounded corners on the top and
     * bottom of a display.
     *
     * Pixels in the buffer with an alpha of 0 (transparent) will show the
     * content underneath, and pixels with an alpha of 255 will be rendered in
     * black. An alpha in between will show the underlying content blended with
     * black.
     *
     * Some devices may support this flag with a buffer containing an 8 bit
     * alpha mask.
     *
     * Upon validateDisplay, the device may request a change from this type
     * to either DEVICE or CLIENT.
     * to CLIENT.
     */
    DISPLAY_DECORATION = 6,
}