Adding accessibility scroll support to PagedView.
1. Added support for accessibility scroll action to PagedView. 2. Exposed AppsCustomizePagedView and Workspace for acessibility if otherwise specified. bug:5932640 Change-Id: I812e7c285cbc4d925390b9fae48a18acc68432ce
This commit is contained in:
1 parent
ceca4ff189
commit
08055f6652
3 files changed
+40
-1
No files matched your search
@@ -279,6 +279,11 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
|
||||
mWidgetPreviewIconPaddedDimension =
|
||||
(int) (mAppIconSize * (1 + (2 * sWidgetPreviewIconPaddingPercentage)));
|
||||
mFadeInAdjacentScreens = false;
|
||||
|
||||
// Unless otherwise specified this view is important for accessibility.
|
||||
if (getImportantForAccessibility() == View.IMPORTANT_FOR_ACCESSIBILITY_AUTO) {
|
||||
setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_YES);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user