Merge "Reduce overlap of analog clock with smart space." into qt-r1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
76bf35f6b2
@@ -94,7 +94,8 @@ public class ClockLayout extends FrameLayout {
|
||||
getBurnInOffset(mBurnInPreventionOffsetX * 2, true) - mBurnInPreventionOffsetX,
|
||||
mDarkAmount);
|
||||
final float offsetY = MathUtils.lerp(0f,
|
||||
getBurnInOffset(mBurnInPreventionOffsetY * 2, false) - mBurnInPreventionOffsetY,
|
||||
getBurnInOffset(mBurnInPreventionOffsetY * 2, false)
|
||||
- 0.5f * mBurnInPreventionOffsetY,
|
||||
mDarkAmount);
|
||||
|
||||
// Put the analog clock in the middle of the screen.
|
||||
|
||||
Reference in New Issue
Block a user