blob: 19d2f0c50dbd0e1dd6130fa604a0aab06fc328ca [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
Winson Chungb1777442015-06-16 13:35:04 -070069-keep class com.android.launcher3.Workspace {
70 public float getBackgroundAlpha();
71 public void setBackgroundAlpha(float);
Adam Cohence77f362015-07-24 15:56:33 -070072}
Kenny Guy44cba692016-01-21 19:50:02 +000073
74# Proguard will strip new callbacks in LauncherApps.Callback from
75# WrappedCallback if compiled against an older SDK. Don't let this happen.
76-keep class com.android.launcher3.compat.** {
77 *;
78}
79