Update folder previews to new specs
Bug: 403616844 Flag: com.android.launcher3.enable_launcher_icon_shapes Test: visually comparing against spec Change-Id: I671b3de7d4ac574122ee3a33451f6cb1d6155f29
This commit is contained in:
1 parent
243e95fd5f
commit
6f5f8cac25
10 files changed
+63
-125
No files matched your search
@@ -17,6 +17,7 @@
|
||||
package com.android.launcher3.folder;
|
||||
|
||||
import static com.android.launcher3.Flags.enableCursorHoverStates;
|
||||
import static com.android.launcher3.folder.ClippedFolderIconLayoutRule.ICON_OVERLAP_FACTOR;
|
||||
import static com.android.launcher3.folder.ClippedFolderIconLayoutRule.MAX_NUM_ITEMS_IN_PREVIEW;
|
||||
import static com.android.launcher3.folder.FolderGridOrganizer.createFolderGridOrganizer;
|
||||
import static com.android.launcher3.folder.PreviewItemManager.INITIAL_ITEM_ANIMATION_DURATION;
|
||||
@@ -240,8 +241,7 @@ public class FolderIcon extends FrameLayout implements FloatingIconViewCompanion
|
||||
mPreviewItemManager.recomputePreviewDrawingParams();
|
||||
mBackground.getBounds(outBounds);
|
||||
// The preview items go outside of the bounds of the background.
|
||||
Utilities.scaleRectAboutCenter(outBounds,
|
||||
ClippedFolderIconLayoutRule.getIconOverlapFactor());
|
||||
Utilities.scaleRectAboutCenter(outBounds, ICON_OVERLAP_FACTOR);
|
||||
}
|
||||
|
||||
public float getBackgroundStrokeWidth() {
|
||||
|
||||
Reference in new issue
Block a user