Searched refs:xOffSet (Results 1 – 1 of 1) sorted by relevance
1547 private View switchViews(boolean forward, float xOffSet, float width, float velocity) { in switchViews() argument1548 mAnimationDistance = width - xOffSet; in switchViews()1550 Log.d(TAG, "switchViews(" + forward + ") O:" + xOffSet + " Dist:" + mAnimationDistance); in switchViews()1553 float progress = Math.abs(xOffSet) / width; in switchViews()1605 long duration = calculateDuration(width - Math.abs(xOffSet), width, velocity); in switchViews()