proguard.flags 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. -keep,allowshrinking,allowoptimization class com.android.launcher3.** {
  2. *;
  3. }
  4. -keep class com.android.launcher3.allapps.AllAppsBackgroundDrawable {
  5. public void setAlpha(int);
  6. public int getAlpha();
  7. }
  8. -keep class com.android.launcher3.BaseRecyclerViewFastScrollBar {
  9. public void setThumbWidth(int);
  10. public int getThumbWidth();
  11. public void setTrackWidth(int);
  12. public int getTrackWidth();
  13. }
  14. -keep class com.android.launcher3.BaseRecyclerViewFastScrollPopup {
  15. public void setAlpha(float);
  16. public float getAlpha();
  17. }
  18. -keep class com.android.launcher3.ButtonDropTarget {
  19. public int getTextColor();
  20. }
  21. -keep class com.android.launcher3.CellLayout {
  22. public float getBackgroundAlpha();
  23. public void setBackgroundAlpha(float);
  24. }
  25. -keep class com.android.launcher3.CellLayout$LayoutParams {
  26. public void setWidth(int);
  27. public int getWidth();
  28. public void setHeight(int);
  29. public int getHeight();
  30. public void setX(int);
  31. public int getX();
  32. public void setY(int);
  33. public int getY();
  34. }
  35. -keep class com.android.launcher3.dragndrop.DragLayer$LayoutParams {
  36. public void setWidth(int);
  37. public int getWidth();
  38. public void setHeight(int);
  39. public int getHeight();
  40. public void setX(int);
  41. public int getX();
  42. public void setY(int);
  43. public int getY();
  44. }
  45. -keep class com.android.launcher3.FastBitmapDrawable {
  46. public void setDesaturation(float);
  47. public float getDesaturation();
  48. public void setBrightness(float);
  49. public float getBrightness();
  50. }
  51. -keep class com.android.launcher3.MemoryDumpActivity {
  52. *;
  53. }
  54. -keep class com.android.launcher3.PreloadIconDrawable {
  55. public float getAnimationProgress();
  56. public void setAnimationProgress(float);
  57. }
  58. -keep class com.android.launcher3.pageindicators.CaretDrawable {
  59. public float getCaretProgress();
  60. public void setCaretProgress(float);
  61. }
  62. -keep class com.android.launcher3.Workspace {
  63. public float getBackgroundAlpha();
  64. public void setBackgroundAlpha(float);
  65. }
  66. # Proguard will strip new callbacks in LauncherApps.Callback from
  67. # WrappedCallback if compiled against an older SDK. Don't let this happen.
  68. -keep class com.android.launcher3.compat.** {
  69. *;
  70. }