From 4865157e5ead905ca71ad06799e1b327a12dc942 Mon Sep 17 00:00:00 2001 From: Matthew Date: Thu, 16 May 2024 15:27:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=A1=8C=E9=97=B4=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/xypower/mpapp/v2/Camera2VideoActivity.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/xypower/mpapp/v2/Camera2VideoActivity.java b/app/src/main/java/com/xypower/mpapp/v2/Camera2VideoActivity.java index 691c8d52..89da4313 100644 --- a/app/src/main/java/com/xypower/mpapp/v2/Camera2VideoActivity.java +++ b/app/src/main/java/com/xypower/mpapp/v2/Camera2VideoActivity.java @@ -478,7 +478,7 @@ public class Camera2VideoActivity extends AppCompatActivity { osdItem.previousRect = new Rect(origin.x, origin.y, origin.x + textBounds.width(), origin.y + textBounds.height()); mOSDItems.add(osdItem); - origin.y += (textBounds.height() * 5) >> 2; + origin.y += (textBounds.height() * 3) >> 1; } } @@ -520,7 +520,7 @@ public class Camera2VideoActivity extends AppCompatActivity { osdItem.previousRect = new Rect(origin.x, y, origin.x + textBounds.width(), y + textBounds.height()); mOSDItems.add(osdItem); - origin.y -= (textBounds.height() * 5) >> 2; + origin.y -= (textBounds.height() * 3) >> 1; } } @@ -560,7 +560,7 @@ public class Camera2VideoActivity extends AppCompatActivity { osdItem.previousRect = new Rect(origin.x - textBounds.width(), origin.y, origin.x, origin.y + textBounds.height()); mOSDItems.add(osdItem); - origin.y += (textBounds.height() * 5) >> 2; + origin.y += (textBounds.height() * 3) >> 1; } } @@ -600,7 +600,7 @@ public class Camera2VideoActivity extends AppCompatActivity { osdItem.previousRect = new Rect(origin.x - textBounds.width(), origin.y - textBounds.height(), origin.x, origin.y); mOSDItems.add(osdItem); - origin.y -= (textBounds.height() * 5) >> 2; + origin.y -= (textBounds.height() * 3) >> 1; } }