Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/src/com/android/launcher3/folder/
DPreviewBackgroundTest.java54 private final PreviewBackground mPreviewBackground = field in PreviewBackgroundTest
60 mPreviewBackground.mScale = REST_SCALE; in setUp()
61 mPreviewBackground.mIsAccepting = false; in setUp()
62 mPreviewBackground.mIsHovered = false; in setUp()
63 mPreviewBackground.mIsHoveredOrAnimating = false; in setUp()
64 mPreviewBackground.invalidate(); in setUp()
69 mPreviewBackground.setHovered(true); in testAnimateScale_restToHovered()
72 assertEquals("Scale not changed.", mPreviewBackground.mScale, HOVER_SCALE, EPSILON); in testAnimateScale_restToHovered()
73 assertEquals("Duration not correct.", mPreviewBackground.mScaleAnimator.getDuration(), in testAnimateScale_restToHovered()
76 mPreviewBackground.mScaleAnimator.getInterpolator() instanceof PathInterpolator); in testAnimateScale_restToHovered()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderAnimationManager.java71 private PreviewBackground mPreviewBackground; field in FolderAnimationManager
97 mPreviewBackground = mFolderIcon.mBackground; in FolderAnimationManager()
138 int scaledRadius = mPreviewBackground.getScaledRadius(); in getAnimator()
173 + Math.round(mPreviewBackground.getOffsetX() * scaleRelativeToDragLayer) in getAnimator()
176 + Math.round(mPreviewBackground.getOffsetY() * scaleRelativeToDragLayer) in getAnimator()
349 int radiusDiff = scaledRadius - mPreviewBackground.getRadius(); in getAnimator()