Loading packages/SystemUI/src/com/android/systemui/statusbar/LockscreenShadeTransitionController.kt +2 −0 Original line number Diff line number Diff line Loading @@ -304,6 +304,7 @@ class LockscreenShadeTransitionController @Inject constructor( // override that forceApplyAmount = true // Reset the behavior. At this point the animation is already started logger.logDragDownAmountReset() dragDownAmount = 0f forceApplyAmount = false } Loading Loading @@ -480,6 +481,7 @@ class LockscreenShadeTransitionController @Inject constructor( setDragDownAmountAnimated(fullTransitionDistanceByTap.toFloat(), delay = delay) { // End listener: // Reset logger.logDragDownAmountReset() dragDownAmount = 0f forceApplyAmount = false } Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/LSShadeTransitionLogger.kt +7 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ class LSShadeTransitionLogger @Inject constructor( fun logDragDownAborted() { buffer.log(TAG, LogLevel.INFO, {}, { "The drag down was reset" "The drag down was aborted and reset to 0f." }) } Loading Loading @@ -82,6 +82,12 @@ class LSShadeTransitionLogger @Inject constructor( LockscreenGestureLogger.LockscreenUiEvent.LOCKSCREEN_PULL_SHADE_OPEN) } fun logDragDownAmountReset() { buffer.log(TAG, LogLevel.DEBUG, {}, { "The drag down amount has been reset to 0f." }) } fun logDefaultGoToFullShadeAnimation(delay: Long) { buffer.log(TAG, LogLevel.DEBUG, { long1 = delay Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/LockscreenShadeTransitionController.kt +2 −0 Original line number Diff line number Diff line Loading @@ -304,6 +304,7 @@ class LockscreenShadeTransitionController @Inject constructor( // override that forceApplyAmount = true // Reset the behavior. At this point the animation is already started logger.logDragDownAmountReset() dragDownAmount = 0f forceApplyAmount = false } Loading Loading @@ -480,6 +481,7 @@ class LockscreenShadeTransitionController @Inject constructor( setDragDownAmountAnimated(fullTransitionDistanceByTap.toFloat(), delay = delay) { // End listener: // Reset logger.logDragDownAmountReset() dragDownAmount = 0f forceApplyAmount = false } Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/LSShadeTransitionLogger.kt +7 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ class LSShadeTransitionLogger @Inject constructor( fun logDragDownAborted() { buffer.log(TAG, LogLevel.INFO, {}, { "The drag down was reset" "The drag down was aborted and reset to 0f." }) } Loading Loading @@ -82,6 +82,12 @@ class LSShadeTransitionLogger @Inject constructor( LockscreenGestureLogger.LockscreenUiEvent.LOCKSCREEN_PULL_SHADE_OPEN) } fun logDragDownAmountReset() { buffer.log(TAG, LogLevel.DEBUG, {}, { "The drag down amount has been reset to 0f." }) } fun logDefaultGoToFullShadeAnimation(delay: Long) { buffer.log(TAG, LogLevel.DEBUG, { long1 = delay Loading