Home
last modified time | relevance | path

Searched refs:currentTranslation (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaCarouselScrollHandler.kt304 val currentTranslation = scrollView.getContentTranslation() in onTouch() constant
305 if (currentTranslation != 0.0f) { in onTouch()
309 Math.abs(currentTranslation) < getMaxTranslation() / 2 || isFalseTouch() in onTouch()
314 newTranslation = getMaxTranslation() * Math.signum(currentTranslation) in onTouch()
352 val currentTranslation = scrollView.getContentTranslation() in onScroll() constant
353 if (currentTranslation != 0.0f || !scrollView.canScrollHorizontally((-totalX).toInt())) { in onScroll()
354 var newTranslation = currentTranslation - distanceX in onScroll()
358 if (Math.signum(distanceX) != Math.signum(currentTranslation)) { in onScroll()
361 if (Math.abs(currentTranslation) > getMaxTranslation()) { in onScroll()
364 newTranslation = currentTranslation - distanceX * RUBBERBAND_FACTOR in onScroll()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewTransition.kt123 var currentTranslation = in <lambda>() variable
127 var translationRemaining = totalTranslation - currentTranslation in <lambda>()
130 currentTranslation = -currentTranslation in <lambda>()
152 startRect.left + currentTranslation, in <lambda>()
154 startRect.right + currentTranslation, in <lambda>()
DPinShapeNonHintingView.java208 int currentTranslation = (int) ((diff) * value); in createAnimator()
210 startRect.left - currentTranslation, in createAnimator()
212 startRect.right - currentTranslation, in createAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DMessagingLayoutTransformState.java101 float currentTranslation = 0; in transformViewInternal() local
112 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQuickSettingsControllerImpl.java1267 float currentTranslation = mQsFrame.getTranslationY(); in applyClippingImmediately() local
1269 ? (int) (top - currentTranslation - mQsFrame.getTop()) : 0; in applyClippingImmediately()
1271 ? (int) (bottom - currentTranslation - mQsFrame.getTop()) : 0; in applyClippingImmediately()