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

Commit e51ccda1 authored by Longbo Wei's avatar Longbo Wei
Browse files

autoclick: Update type panel color

Updated the type panel color based on UX request.

New Spec: http://screen/8ME9kKYj6RpeR2x

Before: http://screen/9CVVxFDd2JkAboK
After:  http://shortn/_pNdHo8N9XX

Bug: b/430056307
Test: atest
Flag: com.android.server.accessibility.enable_autoclick_indicator
Change-Id: I16932341af57d910766895a783ed9b9a5d8ef5a6
parent 7effddaa
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -24,6 +24,6 @@
               android:pathData="M0,0h24v24h-24z"/>
               android:pathData="M0,0h24v24h-24z"/>
          <path
          <path
               android:pathData="M11.7,18C10.1,17.917 8.75,17.3 7.65,16.15C6.55,15 6,13.617 6,12C6,10.333 6.583,8.917 7.75,7.75C8.917,6.583 10.333,6 12,6C13.617,6 15,6.55 16.15,7.65C17.3,8.75 17.917,10.1 18,11.7L15.9,11.075C15.683,10.175 15.217,9.442 14.5,8.875C13.783,8.292 12.95,8 12,8C10.9,8 9.958,8.392 9.175,9.175C8.392,9.958 8,10.9 8,12C8,12.95 8.283,13.783 8.85,14.5C9.433,15.217 10.175,15.683 11.075,15.9L11.7,18ZM12.9,21.95C12.75,21.983 12.6,22 12.45,22C12.3,22 12.15,22 12,22C10.617,22 9.317,21.742 8.1,21.225C6.883,20.692 5.825,19.975 4.925,19.075C4.025,18.175 3.308,17.117 2.775,15.9C2.258,14.683 2,13.383 2,12C2,10.617 2.258,9.317 2.775,8.1C3.308,6.883 4.025,5.825 4.925,4.925C5.825,4.025 6.883,3.317 8.1,2.8C9.317,2.267 10.617,2 12,2C13.383,2 14.683,2.267 15.9,2.8C17.117,3.317 18.175,4.025 19.075,4.925C19.975,5.825 20.683,6.883 21.2,8.1C21.733,9.317 22,10.617 22,12C22,12.15 22,12.3 22,12.45C22,12.6 21.983,12.75 21.95,12.9L20,12.3V12C20,9.767 19.225,7.875 17.675,6.325C16.125,4.775 14.233,4 12,4C9.767,4 7.875,4.775 6.325,6.325C4.775,7.875 4,9.767 4,12C4,14.233 4.775,16.125 6.325,17.675C7.875,19.225 9.767,20 12,20C12.05,20 12.1,20 12.15,20C12.2,20 12.25,20 12.3,20L12.9,21.95ZM20.525,22.5L16.25,18.225L15,22L12,12L22,15L18.225,16.25L22.5,20.525L20.525,22.5Z"
               android:pathData="M11.7,18C10.1,17.917 8.75,17.3 7.65,16.15C6.55,15 6,13.617 6,12C6,10.333 6.583,8.917 7.75,7.75C8.917,6.583 10.333,6 12,6C13.617,6 15,6.55 16.15,7.65C17.3,8.75 17.917,10.1 18,11.7L15.9,11.075C15.683,10.175 15.217,9.442 14.5,8.875C13.783,8.292 12.95,8 12,8C10.9,8 9.958,8.392 9.175,9.175C8.392,9.958 8,10.9 8,12C8,12.95 8.283,13.783 8.85,14.5C9.433,15.217 10.175,15.683 11.075,15.9L11.7,18ZM12.9,21.95C12.75,21.983 12.6,22 12.45,22C12.3,22 12.15,22 12,22C10.617,22 9.317,21.742 8.1,21.225C6.883,20.692 5.825,19.975 4.925,19.075C4.025,18.175 3.308,17.117 2.775,15.9C2.258,14.683 2,13.383 2,12C2,10.617 2.258,9.317 2.775,8.1C3.308,6.883 4.025,5.825 4.925,4.925C5.825,4.025 6.883,3.317 8.1,2.8C9.317,2.267 10.617,2 12,2C13.383,2 14.683,2.267 15.9,2.8C17.117,3.317 18.175,4.025 19.075,4.925C19.975,5.825 20.683,6.883 21.2,8.1C21.733,9.317 22,10.617 22,12C22,12.15 22,12.3 22,12.45C22,12.6 21.983,12.75 21.95,12.9L20,12.3V12C20,9.767 19.225,7.875 17.675,6.325C16.125,4.775 14.233,4 12,4C9.767,4 7.875,4.775 6.325,6.325C4.775,7.875 4,9.767 4,12C4,14.233 4.775,16.125 6.325,17.675C7.875,19.225 9.767,20 12,20C12.05,20 12.1,20 12.15,20C12.2,20 12.25,20 12.3,20L12.9,21.95ZM20.525,22.5L16.25,18.225L15,22L12,12L22,15L18.225,16.25L22.5,20.525L20.525,22.5Z"
               android:fillColor="@color/materialColorPrimary"/>
               android:fillColor="@color/materialColorOnSurface"/>
     </group>
     </group>
</vector>
</vector>
+1 −1
Original line number Original line Diff line number Diff line
@@ -24,6 +24,6 @@
               android:pathData="M0,0h24v24h-24z"/>
               android:pathData="M0,0h24v24h-24z"/>
          <path
          <path
               android:pathData="M12,18C10.383,18 9,17.45 7.85,16.35C6.7,15.25 6.083,13.9 6,12.3L8.1,12.925C8.317,13.825 8.783,14.567 9.5,15.15C10.217,15.717 11.05,16 12,16C13.1,16 14.042,15.608 14.825,14.825C15.608,14.042 16,13.1 16,12C16,11.05 15.708,10.217 15.125,9.5C14.558,8.783 13.825,8.317 12.925,8.1L12.3,6C13.9,6.083 15.25,6.7 16.35,7.85C17.45,9 18,10.383 18,12C18,13.667 17.417,15.083 16.25,16.25C15.083,17.417 13.667,18 12,18ZM12,22C10.617,22 9.317,21.742 8.1,21.225C6.883,20.692 5.825,19.975 4.925,19.075C4.025,18.175 3.308,17.117 2.775,15.9C2.258,14.683 2,13.383 2,12C2,11.85 2,11.7 2,11.55C2,11.4 2.017,11.25 2.05,11.1L4,11.7V12C4,14.233 4.775,16.125 6.325,17.675C7.875,19.225 9.767,20 12,20C14.233,20 16.125,19.225 17.675,17.675C19.225,16.125 20,14.233 20,12C20,9.767 19.225,7.875 17.675,6.325C16.125,4.775 14.233,4 12,4C11.95,4 11.9,4 11.85,4C11.8,4 11.75,4 11.7,4L11.1,2.05C11.25,2.017 11.4,2 11.55,2C11.7,2 11.85,2 12,2C13.383,2 14.683,2.267 15.9,2.8C17.117,3.317 18.175,4.025 19.075,4.925C19.975,5.825 20.683,6.883 21.2,8.1C21.733,9.317 22,10.617 22,12C22,13.383 21.733,14.683 21.2,15.9C20.683,17.117 19.975,18.175 19.075,19.075C18.175,19.975 17.117,20.692 15.9,21.225C14.683,21.742 13.383,22 12,22ZM10.525,12.5L6.25,8.225L5,12L2,2L12,5L8.225,6.25L12.5,10.525L10.525,12.5Z"
               android:pathData="M12,18C10.383,18 9,17.45 7.85,16.35C6.7,15.25 6.083,13.9 6,12.3L8.1,12.925C8.317,13.825 8.783,14.567 9.5,15.15C10.217,15.717 11.05,16 12,16C13.1,16 14.042,15.608 14.825,14.825C15.608,14.042 16,13.1 16,12C16,11.05 15.708,10.217 15.125,9.5C14.558,8.783 13.825,8.317 12.925,8.1L12.3,6C13.9,6.083 15.25,6.7 16.35,7.85C17.45,9 18,10.383 18,12C18,13.667 17.417,15.083 16.25,16.25C15.083,17.417 13.667,18 12,18ZM12,22C10.617,22 9.317,21.742 8.1,21.225C6.883,20.692 5.825,19.975 4.925,19.075C4.025,18.175 3.308,17.117 2.775,15.9C2.258,14.683 2,13.383 2,12C2,11.85 2,11.7 2,11.55C2,11.4 2.017,11.25 2.05,11.1L4,11.7V12C4,14.233 4.775,16.125 6.325,17.675C7.875,19.225 9.767,20 12,20C14.233,20 16.125,19.225 17.675,17.675C19.225,16.125 20,14.233 20,12C20,9.767 19.225,7.875 17.675,6.325C16.125,4.775 14.233,4 12,4C11.95,4 11.9,4 11.85,4C11.8,4 11.75,4 11.7,4L11.1,2.05C11.25,2.017 11.4,2 11.55,2C11.7,2 11.85,2 12,2C13.383,2 14.683,2.267 15.9,2.8C17.117,3.317 18.175,4.025 19.075,4.925C19.975,5.825 20.683,6.883 21.2,8.1C21.733,9.317 22,10.617 22,12C22,13.383 21.733,14.683 21.2,15.9C20.683,17.117 19.975,18.175 19.075,19.075C18.175,19.975 17.117,20.692 15.9,21.225C14.683,21.742 13.383,22 12,22ZM10.525,12.5L6.25,8.225L5,12L2,2L12,5L8.225,6.25L12.5,10.525L10.525,12.5Z"
               android:fillColor="@color/materialColorPrimary"/>
               android:fillColor="@color/materialColorOnSurface"/>
     </group>
     </group>
</vector>
</vector>
+1 −1
Original line number Original line Diff line number Diff line
@@ -24,6 +24,6 @@
            android:pathData="M0,0h24v24h-24z"/>
            android:pathData="M0,0h24v24h-24z"/>
        <path
        <path
            android:pathData="M12.9,21.95C12.75,21.983 12.6,22 12.45,22C12.3,22 12.15,22 12,22C10.617,22 9.317,21.742 8.1,21.225C6.883,20.692 5.825,19.975 4.925,19.075C4.025,18.175 3.308,17.117 2.775,15.9C2.258,14.683 2,13.383 2,12C2,10.617 2.258,9.317 2.775,8.1C3.308,6.883 4.025,5.825 4.925,4.925C5.825,4.025 6.883,3.317 8.1,2.8C9.317,2.267 10.617,2 12,2C13.383,2 14.683,2.267 15.9,2.8C17.117,3.317 18.175,4.025 19.075,4.925C19.975,5.825 20.683,6.883 21.2,8.1C21.733,9.317 22,10.617 22,12C22,12.15 22,12.3 22,12.45C22,12.6 21.983,12.75 21.95,12.9L20,12.3V12C20,9.767 19.225,7.875 17.675,6.325C16.125,4.775 14.233,4 12,4C9.767,4 7.875,4.775 6.325,6.325C4.775,7.875 4,9.767 4,12C4,14.233 4.775,16.125 6.325,17.675C7.875,19.225 9.767,20 12,20C12.05,20 12.1,20 12.15,20C12.2,20 12.25,20 12.3,20L12.9,21.95ZM20.525,22.5L16.25,18.225L15,22L12,12L22,15L18.225,16.25L22.5,20.525L20.525,22.5Z"
            android:pathData="M12.9,21.95C12.75,21.983 12.6,22 12.45,22C12.3,22 12.15,22 12,22C10.617,22 9.317,21.742 8.1,21.225C6.883,20.692 5.825,19.975 4.925,19.075C4.025,18.175 3.308,17.117 2.775,15.9C2.258,14.683 2,13.383 2,12C2,10.617 2.258,9.317 2.775,8.1C3.308,6.883 4.025,5.825 4.925,4.925C5.825,4.025 6.883,3.317 8.1,2.8C9.317,2.267 10.617,2 12,2C13.383,2 14.683,2.267 15.9,2.8C17.117,3.317 18.175,4.025 19.075,4.925C19.975,5.825 20.683,6.883 21.2,8.1C21.733,9.317 22,10.617 22,12C22,12.15 22,12.3 22,12.45C22,12.6 21.983,12.75 21.95,12.9L20,12.3V12C20,9.767 19.225,7.875 17.675,6.325C16.125,4.775 14.233,4 12,4C9.767,4 7.875,4.775 6.325,6.325C4.775,7.875 4,9.767 4,12C4,14.233 4.775,16.125 6.325,17.675C7.875,19.225 9.767,20 12,20C12.05,20 12.1,20 12.15,20C12.2,20 12.25,20 12.3,20L12.9,21.95ZM20.525,22.5L16.25,18.225L15,22L12,12L22,15L18.225,16.25L22.5,20.525L20.525,22.5Z"
            android:fillColor="@color/materialColorPrimary"/>
            android:fillColor="@color/materialColorOnSurface"/>
    </group>
    </group>
</vector>
</vector>
+1 −1
Original line number Original line Diff line number Diff line
@@ -24,6 +24,6 @@
            android:pathData="M0,0h24v24h-24z"/>
            android:pathData="M0,0h24v24h-24z"/>
        <path
        <path
            android:pathData="M10.475,22C10.008,22 9.567,21.9 9.15,21.7C8.75,21.5 8.408,21.217 8.125,20.85L2.675,13.925L3.15,13.425C3.483,13.075 3.883,12.867 4.35,12.8C4.817,12.733 5.25,12.825 5.65,13.075L7.5,14.2V6C7.5,5.717 7.592,5.483 7.775,5.3C7.975,5.1 8.217,5 8.5,5C8.783,5 9.025,5.1 9.225,5.3C9.425,5.483 9.525,5.717 9.525,6V17.8L7.1,16.3L9.7,19.625C9.8,19.742 9.917,19.833 10.05,19.9C10.183,19.967 10.325,20 10.475,20H16C16.55,20 17.017,19.808 17.4,19.425C17.8,19.025 18,18.55 18,18V14C18,13.717 17.9,13.483 17.7,13.3C17.517,13.1 17.283,13 17,13H11.525V11H17C17.833,11 18.542,11.292 19.125,11.875C19.708,12.458 20,13.167 20,14V18C20,19.1 19.608,20.042 18.825,20.825C18.042,21.608 17.1,22 16,22H10.475ZM8.475,0C10.142,0 11.558,0.583 12.725,1.75C13.892,2.917 14.475,4.333 14.475,6C14.475,6.55 14.4,7.083 14.25,7.6C14.117,8.1 13.917,8.575 13.65,9.025L12.35,8.275C12.55,7.942 12.7,7.583 12.8,7.2C12.917,6.817 12.975,6.417 12.975,6C12.975,4.75 12.533,3.692 11.65,2.825C10.783,1.942 9.725,1.5 8.475,1.5C7.225,1.5 6.158,1.942 5.275,2.825C4.408,3.692 3.975,4.75 3.975,6C3.975,6.417 4.025,6.817 4.125,7.2C4.225,7.583 4.375,7.942 4.575,8.275L3.275,9C3.008,8.567 2.808,8.1 2.675,7.6C2.542,7.083 2.475,6.55 2.475,6C2.475,4.333 3.058,2.917 4.225,1.75C5.392,0.583 6.808,0 8.475,0ZM8.475,2.5C9.442,2.5 10.267,2.842 10.95,3.525C11.633,4.208 11.975,5.033 11.975,6C11.975,6.333 11.933,6.65 11.85,6.95C11.767,7.233 11.642,7.508 11.475,7.775L10.175,7.025C10.258,6.875 10.325,6.717 10.375,6.55C10.425,6.367 10.45,6.183 10.45,6C10.45,5.45 10.25,4.983 9.85,4.6C9.467,4.2 9,4 8.45,4C7.883,4 7.408,4.2 7.025,4.6C6.642,4.983 6.45,5.45 6.45,6C6.45,6.183 6.475,6.367 6.525,6.55C6.575,6.717 6.642,6.875 6.725,7.025L5.425,7.775C5.275,7.508 5.158,7.233 5.075,6.95C5.008,6.65 4.975,6.333 4.975,6C4.975,5.033 5.308,4.208 5.975,3.525C6.658,2.842 7.492,2.5 8.475,2.5Z"
            android:pathData="M10.475,22C10.008,22 9.567,21.9 9.15,21.7C8.75,21.5 8.408,21.217 8.125,20.85L2.675,13.925L3.15,13.425C3.483,13.075 3.883,12.867 4.35,12.8C4.817,12.733 5.25,12.825 5.65,13.075L7.5,14.2V6C7.5,5.717 7.592,5.483 7.775,5.3C7.975,5.1 8.217,5 8.5,5C8.783,5 9.025,5.1 9.225,5.3C9.425,5.483 9.525,5.717 9.525,6V17.8L7.1,16.3L9.7,19.625C9.8,19.742 9.917,19.833 10.05,19.9C10.183,19.967 10.325,20 10.475,20H16C16.55,20 17.017,19.808 17.4,19.425C17.8,19.025 18,18.55 18,18V14C18,13.717 17.9,13.483 17.7,13.3C17.517,13.1 17.283,13 17,13H11.525V11H17C17.833,11 18.542,11.292 19.125,11.875C19.708,12.458 20,13.167 20,14V18C20,19.1 19.608,20.042 18.825,20.825C18.042,21.608 17.1,22 16,22H10.475ZM8.475,0C10.142,0 11.558,0.583 12.725,1.75C13.892,2.917 14.475,4.333 14.475,6C14.475,6.55 14.4,7.083 14.25,7.6C14.117,8.1 13.917,8.575 13.65,9.025L12.35,8.275C12.55,7.942 12.7,7.583 12.8,7.2C12.917,6.817 12.975,6.417 12.975,6C12.975,4.75 12.533,3.692 11.65,2.825C10.783,1.942 9.725,1.5 8.475,1.5C7.225,1.5 6.158,1.942 5.275,2.825C4.408,3.692 3.975,4.75 3.975,6C3.975,6.417 4.025,6.817 4.125,7.2C4.225,7.583 4.375,7.942 4.575,8.275L3.275,9C3.008,8.567 2.808,8.1 2.675,7.6C2.542,7.083 2.475,6.55 2.475,6C2.475,4.333 3.058,2.917 4.225,1.75C5.392,0.583 6.808,0 8.475,0ZM8.475,2.5C9.442,2.5 10.267,2.842 10.95,3.525C11.633,4.208 11.975,5.033 11.975,6C11.975,6.333 11.933,6.65 11.85,6.95C11.767,7.233 11.642,7.508 11.475,7.775L10.175,7.025C10.258,6.875 10.325,6.717 10.375,6.55C10.425,6.367 10.45,6.183 10.45,6C10.45,5.45 10.25,4.983 9.85,4.6C9.467,4.2 9,4 8.45,4C7.883,4 7.408,4.2 7.025,4.6C6.642,4.983 6.45,5.45 6.45,6C6.45,6.183 6.475,6.367 6.525,6.55C6.575,6.717 6.642,6.875 6.725,7.025L5.425,7.775C5.275,7.508 5.158,7.233 5.075,6.95C5.008,6.65 4.975,6.333 4.975,6C4.975,5.033 5.308,4.208 5.975,3.525C6.658,2.842 7.492,2.5 8.475,2.5Z"
            android:fillColor="@color/materialColorPrimary" />
            android:fillColor="@color/materialColorOnSurface" />
    </group>
    </group>
</vector>
</vector>
+1 −1
Original line number Original line Diff line number Diff line
@@ -24,6 +24,6 @@
            android:pathData="M0,0h24v24h-24z"/>
            android:pathData="M0,0h24v24h-24z"/>
        <path
        <path
            android:pathData="M14,17.7V6.3H17.35V17.7H14ZM6.65,17.7V6.3H10V17.7H6.65Z"
            android:pathData="M14,17.7V6.3H17.35V17.7H14ZM6.65,17.7V6.3H10V17.7H6.65Z"
            android:fillColor="@color/materialColorPrimary"/>
            android:fillColor="@color/materialColorOnSurface"/>
    </group>
    </group>
</vector>
</vector>
Loading