Searched refs:currentTranslation (Results 1 – 4 of 4) sorted by relevance
309 val currentTranslation = scrollView.getContentTranslation() in onTouch() constant310 if (currentTranslation != 0.0f) { in onTouch()313 val springBack = Math.abs(currentTranslation) < getMaxTranslation() / 2 || in onTouch()319 newTranslation = getMaxTranslation() * Math.signum(currentTranslation) in onTouch()356 val currentTranslation = scrollView.getContentTranslation() in onScroll() constant357 if (currentTranslation != 0.0f || in onScroll()359 var newTranslation = currentTranslation - distanceX in onScroll()363 if (Math.signum(distanceX) != Math.signum(currentTranslation)) { in onScroll()366 if (Math.abs(currentTranslation) > getMaxTranslation()) { in onScroll()369 newTranslation = currentTranslation - distanceX * RUBBERBAND_FACTOR in onScroll()[all …]
101 float currentTranslation = 0; in transformViewInternal() local112 currentTranslation = matchingGroup.getAvatar().getTranslationY() in transformViewInternal()115 currentTranslation = ownGroup.getAvatar().getTranslationY(); in transformViewInternal()121 adaptGroupAppear(ownGroup, transformationAmount, currentTranslation, in transformViewInternal()123 float newPosition = ownGroup.getTop() + currentTranslation; in transformViewInternal()
853 private void setCurrentTranslation(float currentTranslation) { in setCurrentTranslation() argument854 mCurrentTranslation = currentTranslation; in setCurrentTranslation()
2407 float currentTranslation = mQsFrame.getTranslationY(); in applyQSClippingImmediately() local2408 mQsClipTop = (int) (top - currentTranslation); in applyQSClippingImmediately()2409 mQsClipBottom = (int) (bottom - currentTranslation); in applyQSClippingImmediately()