Searched refs:mPreviewBackground (Results 1 – 2 of 2) sorted by relevance
54 private final PreviewBackground mPreviewBackground = field in PreviewBackgroundTest60 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 …]
71 private PreviewBackground mPreviewBackground; field in FolderAnimationManager97 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()