Home
last modified time | relevance | path

Searched refs:mGlowScaleY (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/util/
DLauncherEdgeEffect.java60 private float mGlowScaleY; field in LauncherEdgeEffect
178 mGlowScaleY = Math.max(PULL_GLOW_BEGIN, mGlowScaleY); in onPull()
192 mGlowScaleY = mGlowScaleYStart = 0; in onPull()
197 mGlowScaleY = mGlowScaleYStart = scale; in onPull()
201 mGlowScaleYFinish = mGlowScaleY; in onPull()
219 mGlowScaleYStart = mGlowScaleY; in onRelease()
248 mGlowScaleYStart = Math.max(mGlowScaleY, 0.f); in onAbsorb()
295 canvas.scale(1.f, Math.min(mGlowScaleY, 1.f) * mBaseGlowScale, centerX, 0); in draw()
303 if (mState == STATE_RECEDE && mGlowScaleY == 0) { in draw()
327 mGlowScaleY = mGlowScaleYStart + (mGlowScaleYFinish - mGlowScaleYStart) * interp; in update()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DEdgeEffect.java94 private float mGlowScaleY; field in EdgeEffect
190 mGlowScaleY = PULL_GLOW_BEGIN; in onPull()
213 mGlowScaleY = 0; in onPull()
217 mGlowScaleY = mGlowScaleYStart = Math.min(MAX_GLOW_HEIGHT, Math.max( in onPull()
218 0, mGlowScaleY + glowChange * PULL_DISTANCE_GLOW_FACTOR)); in onPull()
223 mGlowScaleYFinish = mGlowScaleY; in onPull()
243 mGlowScaleYStart = mGlowScaleY; in onRelease()
319 glowHeight * mGlowScaleY * glowHeight/ glowWidth * 0.6f, in draw()
357 mGlowScaleY = mGlowScaleYStart + (mGlowScaleYFinish - mGlowScaleYStart) * interp; in update()
369 mGlowScaleYStart = mGlowScaleY; in update()
[all …]