Searched refs:mIsAccepting (Results 1 – 2 of 2) sorted by relevance
61 mPreviewBackground.mIsAccepting = false; in setUp()156 mPreviewBackground.mIsAccepting = true; in testAnimateScale_acceptToRest()176 mPreviewBackground.mIsAccepting = true; in testAnimateScale_acceptToHover()179 mPreviewBackground.mIsAccepting = false; in testAnimateScale_acceptToHover()247 mPreviewBackground.mIsAccepting = false; in testAnimateScale_partWayToAcceptToHover()266 mPreviewBackground.mIsAccepting = false; in testAnimateScale_midwayToAcceptEqualsHover()
111 @VisibleForTesting protected boolean mIsAccepting; field in PreviewBackground419 isAccepting != mIsAccepting ? ACCELERATE_DECELERATE : EMPHASIZED_DECELERATE; in animateScale()420 int duration = isAccepting != mIsAccepting ? CONSUMPTION_ANIMATION_DURATION in animateScale()422 mIsAccepting = isAccepting; in animateScale()425 if (!mIsAccepting) { in animateScale()449 if (!mIsAccepting) { in animateScale()475 animateScale(mIsAccepting, /* isHovered= */ hovered); in setHovered()