Home | History | Annotate | Download | only in globaltime

Lines Matching refs:lerp

1122     private float lerp(float a, float b, float lerp) {
1123 return a + (b - a)*lerp;
1140 float ls = lerp(0.8f, 0.3f, brightness);
1230 * @param lerp controls the animation, between 0.0 and 1.0
1235 float lerp) {
1236 float clockAlpha = lerp(0.0f, 0.8f, lerp);
1247 float radius = lerp(smallRadius, bigRadius, lerp);
1255 lerp == 1.0f, lerp == 1.0f,
1276 float lerp = Math.min((now - mClockFadeTime)/1000.0f, 1.0f);
1279 lerp = 1.0f - lerp;
1281 lerp = mClockSizeInterpolator.getInterpolation(lerp);
1286 drawClock(canvas, now, w, h, lerp);
1340 float lerp = (now - mCityFlyStartTime)/mCityFlightTime;
1341 if (lerp >= 1.0f) {
1344 lerp = Math.min(lerp, 1.0f);
1345 lerp = mFlyToCityInterpolator.getInterpolation(lerp);
1346 mRotAngle = lerp(mRotAngleStart, mRotAngleDest, lerp);
1347 mTiltAngle = lerp(mTiltAngleStart, mTiltAngleDest, lerp);
1377 float lerp = Math.min((now - mClockFadeTime)/1000.0f, 1.0f);
1380 lerp = 1.0f - lerp;
1382 lerp = mClockSizeInterpolator.getInterpolation(lerp);
1383 drawCityLights(gl, lerp);