From ce77f36affd0ac37dc79fe261f34e13ddccde1cf Mon Sep 17 00:00:00 2001 From: Adam Cohen Date: Fri, 24 Jul 2015 15:56:33 -0700 Subject: Don't obfuscate Launcher3 Change-Id: I86ac745602c0d3c09842ed9553f7589c232f5d23 --- proguard.flags | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'proguard.flags') diff --git a/proguard.flags b/proguard.flags index 6a9d6f345..a8e2b6092 100644 --- a/proguard.flags +++ b/proguard.flags @@ -1,3 +1,7 @@ +-keep,allowshrinking,allowoptimization class com.android.launcher3.** { + *; +} + -keep class com.android.launcher3.BaseRecyclerViewFastScrollBar { public void setWidth(int); public int getWidth(); @@ -63,4 +67,4 @@ -keep class com.android.launcher3.Workspace { public float getBackgroundAlpha(); public void setBackgroundAlpha(float); -} \ No newline at end of file +} -- cgit v1.2.3 From d2eb49e4c3bb37d35e72c36d8a308262b690075f Mon Sep 17 00:00:00 2001 From: Winson Date: Tue, 18 Aug 2015 17:43:02 -0700 Subject: Tweaking fast scroller to follow touch closer. - Issue: The fast scroller currently does not follow the touch input because fundamentally, the fixed scrollbar height and the mapping of the scroll space to the scrollbar space is fundamentally incompatible. - This CL changes the fast scroller to allow it to detach when the user fast-scrolls, then re-attaches after the user scrolls the screen and the current scroll position for the scrollbar picks up the thumb position. - Since the scroll position and the fast scroller thumb is now detached, we can change the distribution of the fast scroll letters to make it independent of the rows for each section and instead uniformly distribute it along the scrollbar, which allows for more stability. - There are edge cases where this fails, especially when there are few apps, which we can investigate further. Bug: 20035978 Change-Id: I8322f862107e6f330deff692885233706564bffd --- proguard.flags | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proguard.flags') diff --git a/proguard.flags b/proguard.flags index a8e2b6092..b4365fee4 100644 --- a/proguard.flags +++ b/proguard.flags @@ -3,8 +3,8 @@ } -keep class com.android.launcher3.BaseRecyclerViewFastScrollBar { - public void setWidth(int); - public int getWidth(); + public void setThumbWidth(int); + public int getThumbWidth(); public void setTrackAlpha(int); public int getTrackAlpha(); } -- cgit v1.2.3 From 6779595bec64fa4503c22f75c8e245a449fe665d Mon Sep 17 00:00:00 2001 From: Winson Date: Thu, 20 Aug 2015 12:23:52 -0700 Subject: Updating the scrollbar to make the fastscroller more visible. Bug: 20035978 Change-Id: I56a865262cd07e6af11b4374a7e6354710116dcd --- proguard.flags | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proguard.flags') diff --git a/proguard.flags b/proguard.flags index b4365fee4..e6c4c51c4 100644 --- a/proguard.flags +++ b/proguard.flags @@ -5,8 +5,8 @@ -keep class com.android.launcher3.BaseRecyclerViewFastScrollBar { public void setThumbWidth(int); public int getThumbWidth(); - public void setTrackAlpha(int); - public int getTrackAlpha(); + public void setTrackWidth(int); + public int getTrackWidth(); } -keep class com.android.launcher3.BaseRecyclerViewFastScrollPopup { -- cgit v1.2.3 From fee206f2419a0ffa90abf4f9f3f9e0b6d0b74906 Mon Sep 17 00:00:00 2001 From: Winson Date: Wed, 19 Aug 2015 17:26:21 -0700 Subject: Adding graphic for all apps empty search screen. Change-Id: I976a327a5984790c458b0f36d33c0b1ac16ec59c --- proguard.flags | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'proguard.flags') diff --git a/proguard.flags b/proguard.flags index e6c4c51c4..5a3dfd179 100644 --- a/proguard.flags +++ b/proguard.flags @@ -2,6 +2,11 @@ *; } +-keep class com.android.launcher3.allapps.AllAppsBackgroundDrawable { + public void setAlpha(int); + public int getAlpha(); +} + -keep class com.android.launcher3.BaseRecyclerViewFastScrollBar { public void setThumbWidth(int); public int getThumbWidth(); -- cgit v1.2.3