zoomimage icon indicating copy to clipboard operation
zoomimage copied to clipboard

Broken pan then ANIMATOR_DURATION_SCALE is set to 0 in developer options

Open ArterKrilOk opened this issue 10 months ago • 1 comments

Describe the bug

If user disabled all animations via Developer options, the pan gesture accelerations is broken. It just teleports to diferent position intead of doing it smoothly. Need to use MotionDurationScale 1f for pan gestures.

Affected platforms

  • Android

Affected components

  • ZoomImage

Reproduction steps

Disable animations in developer options, pan zoomed image hardly.

ArterKrilOk avatar Feb 28 '25 14:02 ArterKrilOk

Gesture animations are implemented using system APIs. You actively disabled all animations, and the system API followed this operation, which should be correct.

panpf avatar Mar 03 '25 02:03 panpf