Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderAnimationManager.java132 float initialScale = previewSize / itemsInPreview.get(0).getIconSize() in getAnimator() local
135 float scale = mIsOpening ? initialScale : finalScale; in getAnimator()
154 previewItemOffsetX = (int) (lp.width * initialScale - initialSize - previewItemOffsetX); in getAnimator()
157 final int paddingOffsetX = (int) (mContent.getPaddingLeft() * initialScale); in getAnimator()
158 final int paddingOffsetY = (int) (mContent.getPaddingTop() * initialScale); in getAnimator()
201 play(a, getAnimator(mFolder.mContent, SCALE_PROPERTY, initialScale, finalScale)); in getAnimator()
202 play(a, getAnimator(mFolder.mFooter, SCALE_PROPERTY, initialScale, finalScale)); in getAnimator()
215 float scaledHeight = normalHeight * initialScale; in getAnimator()
271 addPreviewItemAnimators(a, initialScale / scaleRelativeToDragLayer, in getAnimator()
315 final float initialScale = iconScale / folderScale; in addPreviewItemAnimators() local
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragView.java122 final float initialScale, final float scaleOnDrop, final float finalScaleDps) { in DragView() argument
132 setScaleX(initialScale); in DragView()
133 setScaleY(initialScale); in DragView()
140 setScaleX(initialScale + (value * (scale - initialScale))); in DragView()
141 setScaleY(initialScale + (value * (scale - initialScale))); in DragView()
154 mInitialScale = initialScale; in DragView()