Render and track live tile position when launching another app from Overview

Fixes: 165394366
Fixes: 170338328
Test: Manual
Change-Id: Idfcd423cbe062af33564eaa9e83ec21fbac0cdf9
This commit is contained in:
Tracy Zhou
2020-10-23 22:37:51 -07:00
parent ceb8618f09
commit 55940ecfc7
7 changed files with 58 additions and 40 deletions

View File

@@ -42,13 +42,13 @@ import com.android.launcher3.util.OverScroller;
public class LandscapePagedViewHandler implements PagedOrientationHandler {
@Override
public int getPrimaryValue(int x, int y) {
return y;
public <T> T getPrimaryValue(T x, T y) {
return x;
}
@Override
public int getSecondaryValue(int x, int y) {
return x;
public <T> T getSecondaryValue(T x, T y) {
return y;
}
@Override