Home
last modified time | relevance | path

Searched refs:scaleRelativeToDragLayer (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderAnimationManager.java136 float scaleRelativeToDragLayer = mFolder.mActivityContext.getDragLayer() in getAnimator() local
139 float initialSize = (scaledRadius * 2) * scaleRelativeToDragLayer; in getAnimator()
145 float initialScale = previewSize / baseIconSize * scaleRelativeToDragLayer; in getAnimator()
173 + Math.round(mPreviewBackground.getOffsetX() * scaleRelativeToDragLayer) in getAnimator()
176 + Math.round(mPreviewBackground.getOffsetY() * scaleRelativeToDragLayer) in getAnimator()
350 addPreviewItemAnimators(a, initialScale / scaleRelativeToDragLayer, in getAnimator()
353 (int) (previewItemOffsetX / scaleRelativeToDragLayer) + radiusDiff, radiusDiff); in getAnimator()
DFolderIcon.java307 float scaleRelativeToDragLayer) { in performCreateAnimation() argument
317 onDrop(srcInfo, d, dstRect, scaleRelativeToDragLayer, 1, in performCreateAnimation()
333 float scaleRelativeToDragLayer, int index, boolean itemReturnedOnFailedDrop) { in onDrop() argument
353 scaleRelativeToDragLayer = dragLayer.getDescendantRectRelativeToSelf(this, to); in onDrop()
390 center[0] = Math.round(scaleRelativeToDragLayer * center[0]); in onDrop()
391 center[1] = Math.round(scaleRelativeToDragLayer * center[1]); in onDrop()
398 float finalScale = scale * scaleRelativeToDragLayer; in onDrop()