Home
last modified time | relevance | path

Searched refs:curNumItems (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/folder/
DClippedFolderIconLayoutRule.java32 public PreviewItemDrawingParams computePreviewItemDrawingParams(int index, int curNumItems, in computePreviewItemDrawingParams() argument
34 float totalScale = scaleForItem(curNumItems); in computePreviewItemDrawingParams()
51 getPosition(index, curNumItems, mTmpPoint); in computePreviewItemDrawingParams()
87 private void getPosition(int index, int curNumItems, float[] result) { in getPosition() argument
89 curNumItems = Math.max(curNumItems, 2); in getPosition()
99 if (curNumItems == 3) { in getPosition()
101 } else if (curNumItems == 4) { in getPosition()
109 if (curNumItems == 4 && index == 3) { in getPosition()
111 } else if (curNumItems == 4 && index == 2) { in getPosition()
116 float radius = mRadius * (1 + MAX_RADIUS_DILATION * (curNumItems - in getPosition()
[all …]
DPreviewItemManager.java119 PreviewItemDrawingParams computePreviewItemDrawingParams(int index, int curNumItems, in computePreviewItemDrawingParams() argument
126 return mIcon.mPreviewLayoutRule.computePreviewItemDrawingParams(index, curNumItems, params); in computePreviewItemDrawingParams()
DFolderIcon.java450 private float getLocalCenterForIndex(int index, int curNumItems, int[] center) {
452 Math.min(MAX_NUM_ITEMS_IN_PREVIEW, index), curNumItems, mTmpParams);