Update Udfps fingerprint icon size

Let's use manual tweaking for now, and figure out a better
mathematical solution later on.

Bug: 181901786
Test: Presubmit
Change-Id: I91d720d3837fe8cbb17c5f027e855629d4224e21
This commit is contained in:
Kevin Chyn
2021-03-04 18:51:48 -08:00
parent e59fe76c96
commit 9a0d8a6c11

View File

@@ -47,7 +47,7 @@ public abstract class UdfpsAnimation extends Drawable {
}
public void onSensorRectUpdated(@NonNull RectF sensorRect) {
final int margin = (int) sensorRect.height() / 5;
final int margin = (int) sensorRect.height() / 8;
final Rect bounds = new Rect((int) sensorRect.left + margin,
(int) sensorRect.top + margin,