Searched refs:newTranslation (Results 1 – 2 of 2) sorted by relevance
310 val newTranslation: Float in onTouch() constant312 newTranslation = 0.0f in onTouch()314 newTranslation = getMaxTranslation() * Math.signum(currentTranslation) in onTouch()324 newTranslation, in onTouch()329 scrollView.animationTargetX = newTranslation in onTouch()354 var newTranslation = currentTranslation - distanceX in onScroll() variable355 val absTranslation = Math.abs(newTranslation) in onScroll()364 newTranslation = currentTranslation - distanceX * RUBBERBAND_FACTOR in onScroll()367 newTranslation = in onScroll()368 Math.signum(newTranslation) * in onScroll()[all …]
977 final float newTranslation = Math.max(clampInset + stackTranslation, in clampHunToTop() local982 final float distToRealY = newTranslation - viewState.getYTranslation(); in clampHunToTop()984 viewState.setYTranslation(newTranslation); in clampHunToTop()997 final float newTranslation = Math.min(childState.getYTranslation(), bottomPosition); in clampHunToMaxTranslation() local999 - newTranslation); in clampHunToMaxTranslation()1000 childState.setYTranslation(newTranslation); in clampHunToMaxTranslation()