Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b032054 authored by Sunny Goyal's avatar Sunny Goyal Committed by Android (Google) Code Review
Browse files

Merge "Enabling folder paged view to scroll itself with accessibility focus...

Merge "Enabling folder paged view to scroll itself with accessibility focus traversal" into ub-launcher3-burnaby
parents 29a627ed db184fdc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -95,6 +95,7 @@ public class FolderPagedView extends PagedView {
        mIconCache = app.getIconCache();

        rtlLayout = getResources().getConfiguration().getLayoutDirection() == LAYOUT_DIRECTION_RTL;
        setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_YES);
    }

    public void setFolder(Folder folder) {
@@ -237,6 +238,7 @@ public class FolderPagedView extends PagedView {
        CellLayout page = new CellLayout(getContext());
        page.setCellDimensions(grid.folderCellWidthPx, grid.folderCellHeightPx);
        page.getShortcutsAndWidgets().setMotionEventSplittingEnabled(false);
        page.setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_NO);
        page.setInvertIfRtl(true);
        page.setGridSize(mGridCountX, mGridCountY);