Loading graphics/composer/aidl/android/hardware/graphics/composer3/Composition.aidl +7 −6 Original line number Original line Diff line number Diff line Loading @@ -74,16 +74,17 @@ enum Composition { */ */ SIDEBAND = 5, SIDEBAND = 5, /** /** * A display decoration layer contains a buffer which is an 8 bit * A display decoration layer contains a buffer which is used to provide * 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 * anti-aliasing on the cutout region/rounded corners on the top and * bottom of a display. * bottom of a display. * * * Pixels in the buffer with an alpha of 0 (transparent) will show the * content underneath, and pixels with a max alpha value will be rendered in * black. An alpha in between will show the underlying content blended with * black. * * Upon validateDisplay, the device may request a change from this type * Upon validateDisplay, the device may request a change from this type * to CLIENT. * to either DEVICE or CLIENT. */ */ DISPLAY_DECORATION = 6, DISPLAY_DECORATION = 6, } } Loading
graphics/composer/aidl/android/hardware/graphics/composer3/Composition.aidl +7 −6 Original line number Original line Diff line number Diff line Loading @@ -74,16 +74,17 @@ enum Composition { */ */ SIDEBAND = 5, SIDEBAND = 5, /** /** * A display decoration layer contains a buffer which is an 8 bit * A display decoration layer contains a buffer which is used to provide * 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 * anti-aliasing on the cutout region/rounded corners on the top and * bottom of a display. * bottom of a display. * * * Pixels in the buffer with an alpha of 0 (transparent) will show the * content underneath, and pixels with a max alpha value will be rendered in * black. An alpha in between will show the underlying content blended with * black. * * Upon validateDisplay, the device may request a change from this type * Upon validateDisplay, the device may request a change from this type * to CLIENT. * to either DEVICE or CLIENT. */ */ DISPLAY_DECORATION = 6, DISPLAY_DECORATION = 6, } }