Updating the UI of the options popup to make it look similar to icon popup

Bug: 77327164
Change-Id: I3580df8bf8a43cb44123f203ffed9a85fa33aea7
This commit is contained in:
Sunny Goyal committed 2018-04-02 12:28:47 -07:00
1 parent 415a1402d5
commit 2fd7a8bc59
11 files changed
+638 -737

No files matched your search

+5
View File
@@ -349,6 +349,11 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
}
}
public float getWallpaperOffsetForCenterPage() {
int pageScroll = getScrollForPage(getPageNearestToCenterOfScreen());
return mWallpaperOffset.wallpaperOffsetForScroll(pageScroll);
}
public Rect estimateItemPosition(CellLayout cl, int hCell, int vCell, int hSpan, int vSpan) {
Rect r = new Rect();
cl.cellToRect(hCell, vCell, hSpan, vSpan, r);