mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Added getIconSize method to PreviewLayoutRule interface.
This will be used in new Folder animation. Bug: 35064148 Change-Id: I5573336c0b8a9db8d1e600b1e16de07f48f35a21
This commit is contained in:
@@ -120,6 +120,11 @@ public class ClippedFolderIconLayoutRule implements FolderIcon.PreviewLayoutRule
|
||||
return scale * mBaselineIconScale;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getIconSize() {
|
||||
return mIconSize;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int maxNumItems() {
|
||||
return MAX_NUM_ITEMS_IN_PREVIEW;
|
||||
|
||||
Reference in New Issue
Block a user