commit | f7ff3fe58a5daea94cbb641aa09a0eb4a5d2f8c3 | [log] [tgz] |
---|---|---|
author | Jon Miranda <jonmiranda@google.com> | Mon Dec 05 12:04:44 2016 -0800 |
committer | Jon Miranda <jonmiranda@google.com> | Thu Dec 08 10:28:51 2016 -0800 |
tree | fadaef625aca638e0ce01a7b7198c5d2cb528c6a | |
parent | 4633be64e863a96c63f814a2386b23b02d43910b [diff] |
Scale widgets when dragging and dropping in multi-window mode. This change mimics the non-MW mode behavior when dragging and dropping widgets by taking the app widget scale into consideration. This ensures a consistant drag and drop experience between MW mode and non-MW mode. * Uses cell data (cell height/width, spanX/Y) to get the expected widget sizes. * Scales sizes when necessary. Bug: 32176631 Change-Id: Icdaf73ecd89a30e57fe7f405292d793f2d6a3ee8