Searched refs:pullDistance (Results 1 – 2 of 2) sorted by relevance
2108 float pullDistance = (float) deltaX / getWidth();2110 consumed = -mLeftEdge.onPullDistance(-pullDistance, 1 - displacement);2112 consumed = mRightEdge.onPullDistance(pullDistance, displacement);
2944 float pullDistance = (float) deltaX / getWidth(); in releaseHorizontalGlow() local2946 consumed = -mLeftGlow.onPullDistance(-pullDistance, 1 - displacement); in releaseHorizontalGlow()2951 consumed = mRightGlow.onPullDistance(pullDistance, displacement); in releaseHorizontalGlow()2977 float pullDistance = (float) deltaY / getHeight(); in releaseVerticalGlow() local2979 consumed = -mTopGlow.onPullDistance(-pullDistance, displacement); in releaseVerticalGlow()2984 consumed = mBottomGlow.onPullDistance(pullDistance, 1 - displacement); in releaseVerticalGlow()