Merge "Start invocation light length from 0" into qt-r1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c8ff38dbc0
@@ -130,7 +130,7 @@ public class InvocationLightsView extends View
|
|||||||
float arcLengthNormalized = cornerLengthNormalized * MINIMUM_CORNER_RATIO;
|
float arcLengthNormalized = cornerLengthNormalized * MINIMUM_CORNER_RATIO;
|
||||||
float arcOffsetNormalized = (cornerLengthNormalized - arcLengthNormalized) / 2f;
|
float arcOffsetNormalized = (cornerLengthNormalized - arcLengthNormalized) / 2f;
|
||||||
|
|
||||||
float minLightLength = arcLengthNormalized / 2;
|
float minLightLength = 0;
|
||||||
float maxLightLength = mGuide.getRegionWidth(PerimeterPathGuide.Region.BOTTOM) / 4f;
|
float maxLightLength = mGuide.getRegionWidth(PerimeterPathGuide.Region.BOTTOM) / 4f;
|
||||||
|
|
||||||
float lightLength = MathUtils.lerp(minLightLength, maxLightLength, progress);
|
float lightLength = MathUtils.lerp(minLightLength, maxLightLength, progress);
|
||||||
|
|||||||
Reference in New Issue
Block a user