2015-07-25 06:56:33 +08:00
|
|
|
-keep,allowshrinking,allowoptimization class com.android.launcher3.** {
|
|
|
|
*;
|
|
|
|
}
|
|
|
|
|
2015-08-20 08:26:21 +08:00
|
|
|
-keep class com.android.launcher3.allapps.AllAppsBackgroundDrawable {
|
|
|
|
public void setAlpha(int);
|
|
|
|
public int getAlpha();
|
|
|
|
}
|
|
|
|
|
2015-06-17 04:35:04 +08:00
|
|
|
-keep class com.android.launcher3.BaseRecyclerViewFastScrollBar {
|
2015-08-19 08:43:02 +08:00
|
|
|
public void setThumbWidth(int);
|
|
|
|
public int getThumbWidth();
|
2015-08-21 03:23:52 +08:00
|
|
|
public void setTrackWidth(int);
|
|
|
|
public int getTrackWidth();
|
2015-06-17 04:35:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
-keep class com.android.launcher3.BaseRecyclerViewFastScrollPopup {
|
|
|
|
public void setAlpha(float);
|
|
|
|
public float getAlpha();
|
|
|
|
}
|
|
|
|
|
|
|
|
-keep class com.android.launcher3.ButtonDropTarget {
|
|
|
|
public int getTextColor();
|
|
|
|
}
|
|
|
|
|
2013-06-06 10:57:57 +08:00
|
|
|
-keep class com.android.launcher3.CellLayout {
|
2010-09-04 05:15:02 +08:00
|
|
|
public float getBackgroundAlpha();
|
|
|
|
public void setBackgroundAlpha(float);
|
2010-09-30 01:10:05 +08:00
|
|
|
}
|
|
|
|
|
2015-06-17 04:35:04 +08:00
|
|
|
-keep class com.android.launcher3.CellLayout$LayoutParams {
|
2011-03-02 04:36:37 +08:00
|
|
|
public void setWidth(int);
|
|
|
|
public int getWidth();
|
|
|
|
public void setHeight(int);
|
|
|
|
public int getHeight();
|
|
|
|
public void setX(int);
|
|
|
|
public int getX();
|
|
|
|
public void setY(int);
|
|
|
|
public int getY();
|
|
|
|
}
|
|
|
|
|
2015-08-20 08:55:02 +08:00
|
|
|
-keep class com.android.launcher3.dragndrop.DragLayer$LayoutParams {
|
2011-04-22 07:19:16 +08:00
|
|
|
public void setWidth(int);
|
|
|
|
public int getWidth();
|
|
|
|
public void setHeight(int);
|
|
|
|
public int getHeight();
|
|
|
|
public void setX(int);
|
|
|
|
public int getX();
|
|
|
|
public void setY(int);
|
|
|
|
public int getY();
|
|
|
|
}
|
|
|
|
|
2015-06-17 04:35:04 +08:00
|
|
|
-keep class com.android.launcher3.FastBitmapDrawable {
|
2015-08-22 02:16:27 +08:00
|
|
|
public void setDesaturation(float);
|
|
|
|
public float getDesaturation();
|
|
|
|
public void setBrightness(float);
|
|
|
|
public float getBrightness();
|
2010-11-20 02:22:19 +08:00
|
|
|
}
|
2013-06-18 02:25:46 +08:00
|
|
|
|
|
|
|
-keep class com.android.launcher3.MemoryDumpActivity {
|
|
|
|
*;
|
|
|
|
}
|
2014-07-09 15:09:28 +08:00
|
|
|
|
|
|
|
-keep class com.android.launcher3.PreloadIconDrawable {
|
|
|
|
public float getAnimationProgress();
|
|
|
|
public void setAnimationProgress(float);
|
|
|
|
}
|
2014-11-11 08:01:44 +08:00
|
|
|
|
2016-07-28 03:48:09 +08:00
|
|
|
-keep class com.android.launcher3.pageindicators.CaretDrawable {
|
|
|
|
public float getCaretProgress();
|
|
|
|
public void setCaretProgress(float);
|
|
|
|
}
|
|
|
|
|
2015-06-17 04:35:04 +08:00
|
|
|
-keep class com.android.launcher3.Workspace {
|
|
|
|
public float getBackgroundAlpha();
|
|
|
|
public void setBackgroundAlpha(float);
|
2015-07-25 06:56:33 +08:00
|
|
|
}
|
2016-01-22 03:50:02 +08:00
|
|
|
|
|
|
|
# Proguard will strip new callbacks in LauncherApps.Callback from
|
|
|
|
# WrappedCallback if compiled against an older SDK. Don't let this happen.
|
|
|
|
-keep class com.android.launcher3.compat.** {
|
|
|
|
*;
|
|
|
|
}
|
|
|
|
|
2017-04-27 13:34:49 +08:00
|
|
|
-keep class com.android.launcher3.graphics.ShadowDrawable {
|
|
|
|
public <init>(...);
|
|
|
|
}
|
|
|
|
|
2017-09-28 03:34:47 +08:00
|
|
|
# The support library contains references to newer platform versions.
|
|
|
|
# Don't warn about those in case this app is linking against an older
|
|
|
|
# platform version. We know about them, and they are safe.
|
|
|
|
-dontwarn android.support.**
|
|
|
|
|
2016-11-10 04:08:56 +08:00
|
|
|
# Proguard will strip methods required for talkback to properly scroll to
|
|
|
|
# next row when focus is on the last item of last row when using a RecyclerView
|
|
|
|
# Keep optimized and shrunk proguard to prevent issues like this when using
|
|
|
|
# support jar.
|
2016-11-10 11:30:06 +08:00
|
|
|
-keep class android.support.v7.widget.RecyclerView { *; }
|
2016-11-10 04:08:56 +08:00
|
|
|
|
2016-11-23 04:54:32 +08:00
|
|
|
-keep interface com.android.launcher3.userevent.nano.LauncherLogProto.** {
|
|
|
|
*;
|
|
|
|
}
|
2017-05-18 04:18:54 +08:00
|
|
|
|
|
|
|
-keep interface com.android.launcher3.model.nano.LauncherDumpProto.** {
|
|
|
|
*;
|
|
|
|
}
|
2017-12-20 05:17:57 +08:00
|
|
|
|
|
|
|
# BUG(70852369): Surpress additional warnings after changing from Proguard to R8
|
|
|
|
-dontwarn android.app.**
|
|
|
|
-dontwarn android.view.**
|
|
|
|
-dontwarn android.os.**
|