Searched refs:startTranslation (Results 1 – 1 of 1) sorted by relevance
194 final float startTranslation = mTextAndBackground.getTranslationX(); in onDragEnd() local202 } else if (Math.abs(startTranslation) > getWidth() / 2) { in onDragEnd()204 endTranslation = (startTranslation < 0 ? -getWidth() : getWidth()); in onDragEnd()211 (endTranslation - startTranslation) / getWidth()); in onDragEnd()216 mContentTranslateAnimator.setFloatValues(startTranslation, endTranslation); in onDragEnd()