Skip to content
Commit 10f50634 authored by Nader Jawad's avatar Nader Jawad
Browse files

Fixed issue where canvas transforms were applied multiple times

in overscroll scenarios on Android Go devices.

Added save/restore around TransformCanvas that is used to replay
filtered drawing instructions to ensure hole punches are carried
through even when a RenderNode is drawn into a layer.
Previously this would end up with transforms being applied twice
during overscroll stretch situations. This caused contents to be
shifted during an overscroll at the end of a HorizontalScrollView
or ScrollView where a SurfaceView was in the scene.

Fixes: 241582783
Test: Added CTS tests to Horizontal and ScrollView tests
Change-Id: Iac1717602fd5f251d3d6fa26109a4c532a9598b5
parent ddac0180
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment