blob: ad6f727a55e69a617b4b651caa0e1191da24f289 [file] [log] [blame]
Adam Cohence77f362015-07-24 15:56:33 -07001-keep,allowshrinking,allowoptimization class com.android.launcher3.** {
2 *;
3}
4
Winsonfee206f2015-08-19 17:26:21 -07005-keep class com.android.launcher3.allapps.AllAppsBackgroundDrawable {
6 public void setAlpha(int);
7 public int getAlpha();
8}
9
Winson Chungb1777442015-06-16 13:35:04 -070010-keep class com.android.launcher3.BaseRecyclerViewFastScrollBar {
Winsond2eb49e2015-08-18 17:43:02 -070011 public void setThumbWidth(int);
12 public int getThumbWidth();
Winson67795952015-08-20 12:23:52 -070013 public void setTrackWidth(int);
14 public int getTrackWidth();
Winson Chungb1777442015-06-16 13:35:04 -070015}
16
17-keep class com.android.launcher3.BaseRecyclerViewFastScrollPopup {
18 public void setAlpha(float);
19 public float getAlpha();
20}
21
Winson Chungb1777442015-06-16 13:35:04 -070022-keep class com.android.launcher3.ButtonDropTarget {
23 public int getTextColor();
24}
25
Daniel Sandler325dc232013-06-05 22:57:57 -040026-keep class com.android.launcher3.CellLayout {
Michael Jurka5f1c5092010-09-03 14:15:02 -070027 public float getBackgroundAlpha();
28 public void setBackgroundAlpha(float);
Winson Chung7c0736e2010-09-29 10:10:05 -070029}
30
Daniel Sandler325dc232013-06-05 22:57:57 -040031-keep class com.android.launcher3.CellLayout$LayoutParams {
Adam Cohen7f4eabe2011-04-21 16:19:16 -070032 public void setWidth(int);
33 public int getWidth();
34 public void setHeight(int);
35 public int getHeight();
36 public void setX(int);
37 public int getX();
38 public void setY(int);
39 public int getY();
40}
41
Vadim Tryshevfedca432015-08-19 17:55:02 -070042-keep class com.android.launcher3.dragndrop.DragLayer$LayoutParams {
Winson Chungb1777442015-06-16 13:35:04 -070043 public void setWidth(int);
44 public int getWidth();
45 public void setHeight(int);
46 public int getHeight();
47 public void setX(int);
48 public int getX();
49 public void setY(int);
50 public int getY();
51}
52
53-keep class com.android.launcher3.FastBitmapDrawable {
Winsonc0880492015-08-21 11:16:27 -070054 public void setDesaturation(float);
55 public float getDesaturation();
56 public void setBrightness(float);
57 public float getBrightness();
Amith Yamasani2dc162f2010-11-19 10:22:19 -080058}
Daniel Sandlera127b7a2013-06-17 14:25:46 -040059
60-keep class com.android.launcher3.MemoryDumpActivity {
61 *;
62}
Sunny Goyal34846382014-07-09 00:09:28 -070063
64-keep class com.android.launcher3.PreloadIconDrawable {
65 public float getAnimationProgress();
66 public void setAnimationProgress(float);
67}
Sunny Goyalbe7939c2014-11-10 16:01:44 -080068
Hyunyoung Song7ccc4622016-07-27 12:48:09 -070069-keep class com.android.launcher3.pageindicators.CaretDrawable {
70 public float getCaretProgress();
71 public void setCaretProgress(float);
72}
73
Winson Chungb1777442015-06-16 13:35:04 -070074-keep class com.android.launcher3.Workspace {
75 public float getBackgroundAlpha();
76 public void setBackgroundAlpha(float);
Adam Cohence77f362015-07-24 15:56:33 -070077}
Kenny Guy44cba692016-01-21 19:50:02 +000078
79# Proguard will strip new callbacks in LauncherApps.Callback from
80# WrappedCallback if compiled against an older SDK. Don't let this happen.
81-keep class com.android.launcher3.compat.** {
82 *;
83}
84
Hyunyoung Song4d11a2a2016-11-09 12:08:56 -080085# Proguard will strip methods required for talkback to properly scroll to
86# next row when focus is on the last item of last row when using a RecyclerView
87# Keep optimized and shrunk proguard to prevent issues like this when using
88# support jar.
Hyunyoung Songee7c1c12016-11-09 18:03:56 -080089-keep,allowoptimization,allowshrinking class android.support.** {
Hyunyoung Song4d11a2a2016-11-09 12:08:56 -080090 *;
91}
92