Skip to content
Commit 64af0e1b authored by Aaron Liu's avatar Aaron Liu
Browse files

Start 2d animation when view laid out.

In Pattern view, we are starting the appear animation before the view is
completely laid out. When the appear animation completes, the dots in
the grid are not in the true position, so when you trigger a layout, the
dots will move to the true position from the position set by the appear
animation. To address this, post the animation in the message queue of
the view. To avoid a bad transition, set alpha to 0 until runnable in
the queue is triggered.

Fixes: 277037626
Test: Pattern View portrait on tablet. Open pattern view and tapping on
top left most dot.
Test: Unlock the device.

Change-Id: I5b0f80fe823615087f5b60646225c6373529fd56
parent dfab3209
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