Lines Matching refs:state
107 float dx = -(state->newPositionX - g_LastPositionX); in move()
115 g_LastTouchDown = state->newTouchDown; in move()
116 g_LastPositionX = state->newPositionX; in move()
130 g_Zoom = state->zoomTarget; in setZoom()
137 g_PosVelocity = -state->flingVelocity * 4; in fling()
194 …g_PosPage = g_MoveToOldPos + (state->targetPos - g_MoveToOldPos) * getInterpolation((g_MoveToTotal… in updatePos()
198 g_PosPage = state->targetPos; in updatePos()
292 bindTexture(NAMED_PFTexNearest, 0, state->homeButtonId); in draw_home_button()
322 if (iconNum >= state->iconCount) { in drawFrontGrid()
331 if (state->selectedIconIndex == iconNum && !p) { in drawFrontGrid()
332 bindTexture(NAMED_PFTexNearest, 0, state->selectedIconTexture); in drawFrontGrid()
393 if (iconNum >= state->iconCount) { in drawTop()
412 if (iconNum >= state->iconCount) { in drawBottom()
440 if (g_Zoom != state->zoomTarget) { in main()
442 if (state->zoomTarget > 0.5f) { in main()
454 if (fabsf(g_Zoom - state->zoomTarget) < fabsf(dz)) { in main()
455 g_Zoom = state->zoomTarget; in main()
463 if ((g_Zoom < 0.001f) && (state->zoomTarget < 0.001f) && !g_SpecialHWWar) { in main()
475 int iconCount = state->iconCount; in main()
519 …return lastFrame((g_PosVelocity != 0) || fracf(g_PosPage) || g_Zoom != state->zoomTarget || (g_Mov… in main()