Searched refs:progressY (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/back/ |
D | BackAnimationSpecTest.kt | 14 private data class BackInput(val progressX: Float, val progressY: Float, val edge: Int) constant in com.android.systemui.animation.back.BackInput 36 backInput = BackInput(progressX = 0f, progressY = 0f, edge = BackEvent.EDGE_LEFT), in sysUi_floatingSystemSurfaces_animationValues() 41 backInput = BackInput(progressX = 1f, progressY = 0f, edge = BackEvent.EDGE_LEFT), in sysUi_floatingSystemSurfaces_animationValues() 46 backInput = BackInput(progressX = 1f, progressY = 0f, edge = BackEvent.EDGE_RIGHT), in sysUi_floatingSystemSurfaces_animationValues() 51 backInput = BackInput(progressX = 1f, progressY = 1f, edge = BackEvent.EDGE_LEFT), in sysUi_floatingSystemSurfaces_animationValues() 56 backInput = BackInput(progressX = 0f, progressY = 1f, edge = BackEvent.EDGE_LEFT), in sysUi_floatingSystemSurfaces_animationValues() 61 backInput = BackInput(progressX = 0f, progressY = -1f, edge = BackEvent.EDGE_LEFT), in sysUi_floatingSystemSurfaces_animationValues() 74 backInput = BackInput(progressX = 0f, progressY = 0f, edge = BackEvent.EDGE_LEFT), in sysUi_bottomsheet_animationValues() 85 backInput = BackInput(progressX = 1f, progressY = 0f, edge = BackEvent.EDGE_LEFT), in sysUi_bottomsheet_animationValues() 96 backInput = BackInput(progressX = 1f, progressY = 0f, edge = BackEvent.EDGE_RIGHT), in sysUi_bottomsheet_animationValues() [all …]
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/ |
D | OnBackAnimationCallbackExtension.kt | 53 val progressY = (backEvent.touchY - initialY) / displayMetrics.heightPixels in onBackProgressed() constant 57 progressY = progressY, in onBackProgressed()
|
D | BackAnimationSpec.kt | 31 progressY: Float, // TODO(b/265060720): Remove progressY. Could be retrieved from backEvent in <lambda>() 48 return BackAnimationSpec { backEvent, progressY, result -> in createFloatingSurfaceAnimationSpec() method 65 val ratioTranslateY = translateYEasing.getInterpolation(progressY) in createFloatingSurfaceAnimationSpec()
|