Merge "Start invocation light length from 0" into qt-r1-dev

This commit is contained in:
James O'Leary
2019-06-14 01:41:03 +00:00
committed by Android (Google) Code Review

View File

@@ -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);