OSDN Git Service

Setting content bounds in onMeasure as it uses measuredWidth, which might
authorSunny Goyal <sunnygoyal@google.com>
Tue, 16 Feb 2016 22:56:33 +0000 (14:56 -0800)
committerSunny Goyal <sunnygoyal@google.com>
Tue, 16 Feb 2016 23:24:14 +0000 (15:24 -0800)
commit94f46d9e5fbc484314eea8d42b6c806e0fe8aab4
treebe768a6a2ec0e59affef239842981f96dc54f057
parent187b8f547d2112e8d0384cf1c2077beb969dfec6
Setting content bounds in onMeasure as it uses measuredWidth, which might
not be available during onCreate

Also fixing the calculation of allApps column could, which was counting an
additional icon gap

Bug: 27173894
Change-Id: I8be8cccc76d7e7d945cf9383567a3026228b6c86
src/com/android/launcher3/BaseContainerView.java
src/com/android/launcher3/DeviceProfile.java
src/com/android/launcher3/allapps/AllAppsContainerView.java