调整行间距

serial
Matthew 1 year ago
parent 059b19f824
commit 4865157e5e

@ -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()); osdItem.previousRect = new Rect(origin.x, origin.y, origin.x + textBounds.width(), origin.y + textBounds.height());
mOSDItems.add(osdItem); 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()); osdItem.previousRect = new Rect(origin.x, y, origin.x + textBounds.width(), y + textBounds.height());
mOSDItems.add(osdItem); 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()); osdItem.previousRect = new Rect(origin.x - textBounds.width(), origin.y, origin.x, origin.y + textBounds.height());
mOSDItems.add(osdItem); 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); osdItem.previousRect = new Rect(origin.x - textBounds.width(), origin.y - textBounds.height(), origin.x, origin.y);
mOSDItems.add(osdItem); mOSDItems.add(osdItem);
origin.y -= (textBounds.height() * 5) >> 2; origin.y -= (textBounds.height() * 3) >> 1;
} }
} }

Loading…
Cancel
Save