Searched refs:mDirY (Results 1 – 1 of 1) sorted by relevance
39 private float mDirY; field in RenderPatchAnimation56 mDirY = mRenderPatch.getDimension() < 1.0f ? 2.0f * RANDOM.nextFloat() - 1.0f : 0.0f; in RenderPatchAnimation()58 final float length = (float)Math.sqrt(mDirX * mDirX + mDirY * mDirY); in RenderPatchAnimation()61 mDirY /= length; in RenderPatchAnimation()78 mPosY += mDirY * t;85 mDirY = Math.abs(mDirY);87 mDirY = -Math.abs(mDirY);