From 3661bfac0b810132c44df6c910f5374e76213004 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Thu, 1 Mar 2018 16:29:15 -0800 Subject: [PATCH] Fixing fast scroller touch handling in all-apps and widget sheet Also removing scrim view, instead drawing the scrim manually Bug: 73085356 Change-Id: I188c6c9b1685e22d5d97b38dd5d3e960b655c9ba --- res/layout/all_apps.xml | 9 +-- res/layout/widgets_full_sheet.xml | 8 -- .../android/launcher3/BaseRecyclerView.java | 45 +---------- .../allapps/AllAppsContainerView.java | 81 +++++++++++++------ .../allapps/AllAppsRecyclerView.java | 1 - .../views/RecyclerViewFastScroller.java | 22 ++++- .../launcher3/views/TopRoundedCornerView.java | 20 +++++ .../launcher3/widget/WidgetsFullSheet.java | 14 ++-- .../launcher3/widget/WidgetsRecyclerView.java | 34 +++++++- 9 files changed, 138 insertions(+), 96 deletions(-) diff --git a/res/layout/all_apps.xml b/res/layout/all_apps.xml index a7f0026a43..450d1074c9 100644 --- a/res/layout/all_apps.xml +++ b/res/layout/all_apps.xml @@ -29,8 +29,6 @@ - -