瀏覽代碼

overlay: Update udfps burn in vertical translation

So that the mm conversion is less than 1.

Also update missing config auth_ripple_alpha_in_duration
which should have been migrated to be 0 since the device
supports UDFPS.

Test: manual
Bug: 237311757
Change-Id: Ia0ba3145250ea16e58803651d77471f9c701b444
Beverly 2 年之前
父節點
當前提交
10fa03b1e4
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      lynx/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml

+ 7 - 0
lynx/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml

@@ -46,6 +46,13 @@
     <dimen name="physical_volume_up_button_center_screen_location_y">1064px</dimen>
     <dimen name="physical_volume_down_button_center_screen_location_y">1232px</dimen>
 
+    <!-- Alpha in duration in ms for the auth ripple to become fully vislble.
+         If set to 0, it is immediately visible, which is desired for devices supporting UDFPS. -->
+    <integer name="auth_ripple_alpha_in_duration">0</integer>
+
+    <!-- Movement should not be more than 1mm -->
+    <dimen name="udfps_burn_in_offset_y">16px</dimen>
+
     <!-- Pixel pitch of the device. um/px -->
     <item name="pixel_pitch" format="float" type="dimen">59.2</item>
   </resources>