mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 18:28:20 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user