Added getIconSize method to PreviewLayoutRule interface.

This will be used in new Folder animation.

Bug: 35064148
Change-Id: I5573336c0b8a9db8d1e600b1e16de07f48f35a21
This commit is contained in:
Jon Miranda
2017-03-01 16:06:21 -08:00
parent 0b4a430aac
commit 5fcbad03ef
3 changed files with 11 additions and 0 deletions

View File

@@ -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;