OSDN Git Service

release-request-276f9f52-87fd-4915-bd79-9a2f0ee77433-for-git_oc-release-4090213 snap...
[android-x86/packages-apps-Launcher3.git] / proguard.flags
1 -keep,allowshrinking,allowoptimization class com.android.launcher3.** {
2   *;
3 }
4
5 -keep class com.android.launcher3.allapps.AllAppsBackgroundDrawable {
6   public void setAlpha(int);
7   public int getAlpha();
8 }
9
10 -keep class com.android.launcher3.BaseRecyclerViewFastScrollBar {
11   public void setThumbWidth(int);
12   public int getThumbWidth();
13   public void setTrackWidth(int);
14   public int getTrackWidth();
15 }
16
17 -keep class com.android.launcher3.BaseRecyclerViewFastScrollPopup {
18   public void setAlpha(float);
19   public float getAlpha();
20 }
21
22 -keep class com.android.launcher3.ButtonDropTarget {
23   public int getTextColor();
24 }
25
26 -keep class com.android.launcher3.CellLayout {
27   public float getBackgroundAlpha();
28   public void setBackgroundAlpha(float);
29 }
30
31 -keep class com.android.launcher3.CellLayout$LayoutParams {
32   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
42 -keep class com.android.launcher3.dragndrop.DragLayer$LayoutParams {
43   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 {
54   public void setDesaturation(float);
55   public float getDesaturation();
56   public void setBrightness(float);
57   public float getBrightness();
58 }
59
60 -keep class com.android.launcher3.MemoryDumpActivity {
61   *;
62 }
63
64 -keep class com.android.launcher3.PreloadIconDrawable {
65   public float getAnimationProgress();
66   public void setAnimationProgress(float);
67 }
68
69 -keep class com.android.launcher3.pageindicators.CaretDrawable {
70   public float getCaretProgress();
71   public void setCaretProgress(float);
72 }
73
74 -keep class com.android.launcher3.Workspace {
75   public float getBackgroundAlpha();
76   public void setBackgroundAlpha(float);
77 }
78
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
85 # 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.
89 #-keep,allowoptimization,allowshrinking class android.support.** {
90 #  *;
91 #}
92 -keep class android.support.v7.widget.RecyclerView { *; }
93
94 -keep interface com.android.launcher3.userevent.nano.LauncherLogProto.** {
95   *;
96 }
97
98 -keep interface com.android.launcher3.model.nano.LauncherDumpProto.** {
99   *;
100 }