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-keep class com.android.launcher3.graphics.ShadowDrawable { 86 public <init>(...); 87} 88 89# Proguard will strip methods required for talkback to properly scroll to 90# next row when focus is on the last item of last row when using a RecyclerView 91# Keep optimized and shrunk proguard to prevent issues like this when using 92# support jar. 93#-keep,allowoptimization,allowshrinking class android.support.** { 94# *; 95#} 96-keep class android.support.v7.widget.RecyclerView { *; } 97 98-keep interface com.android.launcher3.userevent.nano.LauncherLogProto.** { 99 *; 100} 101 102-keep interface com.android.launcher3.model.nano.LauncherDumpProto.** { 103 *; 104} 105