5bc2827488a53dad60e3b66a27c6deda78f3d83f |
|
02-Aug-2016 |
Winson <winsonc@google.com> |
Adding workaround to jump in wallpaper offsets. - Just skip the animation if we are animating to the same wallpaper offset (which is the case when we are adding from all apps) Bug: 28587903 Change-Id: Ib7b1828c1b099a665d68c22cb33ee62693f33f35
/packages/apps/Launcher3/src/com/android/launcher3/util/WallpaperOffsetInterpolator.java
|
c7d2e83c15e85b2695e016213549d08e63c923b3 |
|
28-Jul-2016 |
Winson <winsonc@google.com> |
Working around incorrect wallpaper offsets being calculated in RTL. - When launcher starts up, onCreate() triggers the launcher model loader to start, which calls bindScreens() to add the workspace pages. However, layout does not happen until the device is unlocked, which means that even though the default screen index and children are there the page scrolls are calculated incorrectly, and even in RTL, the page scroll for the 0th screen is zero (it should be at the right most edge of the workspace). This CL works around this by deferring until the first layout after bindScreens() to unlock the wallpaper offset from its default bounds. The workaround is only applied when the launcher activity is first created. Bug: 28795125 Change-Id: I33da0d7f934f5337d26e69f068f579a32897a837
/packages/apps/Launcher3/src/com/android/launcher3/util/WallpaperOffsetInterpolator.java
|
d96fa1336921cc8c8bb4d773b2229b62df86e6ea |
|
28-Jul-2016 |
Winson <winsonc@google.com> |
Fixing RTL wallpaper scrolling. - Ensure that we map the scroll offsets to the full wallpaper offset range - Default to either edge of the wallpaper (depending on RTL) to match the default system wallpaper behavior (ag/1265418) Bug: 28795125 Bug: 29398681 Change-Id: I36c316095057912d2dda0beb43bd1e6aaeac3fdc
/packages/apps/Launcher3/src/com/android/launcher3/util/WallpaperOffsetInterpolator.java
|
9eba1fd75e9fa6b0dc5cad9a4e817b3b167d2461 |
|
16-Oct-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Refactoring WallpaperOffsetInterpolator to a new file Removing some us unused methods Change-Id: Ife790e5ca6848fa13dc3fab1bba1e6220bf83743
/packages/apps/Launcher3/src/com/android/launcher3/util/WallpaperOffsetInterpolator.java
|