diff options
| author | Kazuki Takise <takise@google.com> | 2020-07-03 13:24:52 +0900 |
|---|---|---|
| committer | Kazuki Takise <takise@google.com> | 2020-07-07 15:16:00 +0900 |
| commit | 5d84ef9b3ec9252f308380065fc8a68489fe63c9 (patch) | |
| tree | 730e09b40e272cf1da6a5f050b6569148ac9eecf /rs/java/android/renderscript/ProgramStore.java | |
| parent | fa6332bb98133caeb4e04de544091a7e41ebb599 (diff) | |
Don't offset the position of the thumbnail in change transitions
There are two adaptors used for change transitions: mAdapter and
mThumbnailAdapter. The position and crop of the leashe in the
adapters are adjusted to the start bounds when the a transition
starts, and currently the same value is used for mAdapter and
mThumbnailAdapter. The problem here is, as the thumbnail is a child
of the window of |mAdapter|, the thumbnail gets double offseted
incrrectly, which results in the snapshot being shown at an
incorrect position until the client starts the animation and
modifies the position.
This CL lets RemoteAnimationController give each adapter its
explicit start bounds.
Bug: 159294946
Test: No buffer jump in change transitions anymore.
Change-Id: I1dafd5587ed7c9b628d8f1f40a2559ec3e9a63d5
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions
