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

Commit bb2890d4 authored by Romain Guy's avatar Romain Guy
Browse files

Add Overlay mode to the PorterDuff list of supported modes.

Change-Id: I2ec03b9a1039db3e3c16786222e4fde4782ed67e
parent fc2583e1
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -53,7 +53,10 @@ public class PorterDuff {
        /** [Sa * Da, Sc * Dc] */
        MULTIPLY    (14),
        /** [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] */
        SCREEN      (15);
        SCREEN      (15),
        /** Saturate(S + D) */
        ADD         (16),
        OVERLAY     (17);

        Mode(int nativeInt) {
            this.nativeInt = nativeInt;