OSDN Git Service

Fixed mw bug where resize frame is off when resizing.
authorJon Miranda <jonmiranda@google.com>
Wed, 28 Dec 2016 18:49:55 +0000 (10:49 -0800)
committerJon Miranda <jonmiranda@google.com>
Fri, 30 Dec 2016 01:09:10 +0000 (17:09 -0800)
commit097a725bb8d5a4c7322b3ddfb1861e52a1ba457c
tree6ea13a4d9adbbd3d0efaa8162ffa94bf83e3404a
parentbf8a265deb093e147a5289e0958cc9b1bc50a6e3
Fixed mw bug where resize frame is off when resizing.

When a widget resizes in multi-window mode (ie. user is dragging
the resize frame), the frame is misaligned until the user lets go.
This is because the translation value to center fit the resized
widget is not taken into consideration.

Bug: 32176631
Change-Id: I6f9ee7be12d3266f021796576c771f86f6120246
src/com/android/launcher3/AppWidgetResizeFrame.java