Searched refs:mapLinear (Results 1 – 3 of 3) sorted by relevance
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/ |
H A D | CustomizeActivityAnimation.java | 225 ? mapLinear(progress, 0.1f, 1f, TARGET_COMMIT_PROGRESS, 1f) in onGestureProgress() 226 : mapLinear(progress, 0, 1f, 0f, TARGET_COMMIT_PROGRESS)) * SCALE_FACTOR; in onGestureProgress() 231 static float mapLinear(float x, float a1, float a2, float b1, float b2) { in mapLinear() method in CustomizeActivityAnimation
|
H A D | CrossActivityAnimation.java | 164 private static float mapLinear(float x, float a1, float a2, float b1, float b2) { in mapLinear() method in CrossActivityAnimation 243 ? mapLinear(progress, 0.1f, 1, TARGET_COMMIT_PROGRESS, 1) in onGestureProgress() 244 : mapLinear(progress, 0, 1f, 0, TARGET_COMMIT_PROGRESS)) * SCALE_FACTOR; in onGestureProgress()
|
/aosp14/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 1459 float mapLinear(float x, float a1, float a2, float b1, float b2) { in mapLinear() function 1465 float x0 = mapLinear(xStart, 0, mWidth, -1, 1); in drawTexturedQuad() 1466 float y0 = mapLinear(yStart, 0, mHeight, -1, 1); in drawTexturedQuad() 1467 float x1 = mapLinear(xStart + width, 0, mWidth, -1, 1); in drawTexturedQuad() 1468 float y1 = mapLinear(yStart + height, 0, mHeight, -1, 1); in drawTexturedQuad()
|