Searched refs:initialScale (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderAnimationManager.java | 142 float initialScale = previewSize / itemsInPreview.get(0).getIconSize() in getAnimator() local 145 float scale = mIsOpening ? initialScale : finalScale; in getAnimator() 164 previewItemOffsetX = (int) (lp.width * initialScale - initialSize - previewItemOffsetX); in getAnimator() 167 final int paddingOffsetX = (int) (mContent.getPaddingLeft() * initialScale); in getAnimator() 168 final int paddingOffsetY = (int) (mContent.getPaddingTop() * initialScale); in getAnimator() 218 play(a, getAnimator(mFolder.mContent, SCALE_PROPERTY, initialScale, finalScale)); in getAnimator() 219 play(a, getAnimator(mFolder.mFooter, SCALE_PROPERTY, initialScale, finalScale)); in getAnimator() 262 float scaledHeight = normalHeight * initialScale; in getAnimator() 318 addPreviewItemAnimators(a, initialScale / scaleRelativeToDragLayer, in getAnimator() 362 final float initialScale = iconScale / folderScale; in addPreviewItemAnimators() local [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragView.java | 114 int registrationY, final float initialScale, final float scaleOnDrop, in DragView() argument 118 registrationX, registrationY, initialScale, scaleOnDrop, finalScaleDps); in DragView() 137 int registrationY, final float initialScale, final float scaleOnDrop, in DragView() argument 159 setScaleX(initialScale); in DragView() 160 setScaleY(initialScale); in DragView() 167 setScaleX(initialScale + (value * (scale - initialScale))); in DragView() 168 setScaleY(initialScale + (value * (scale - initialScale))); in DragView() 180 mInitialScale = initialScale; in DragView()
|