Searched refs:relativeDistance (Results 1 – 1 of 1) sorted by relevance
396 float relativeDistance = 1 - marginFit; in onScaleEnd() local400 float maxX = mTranslateRect.left * relativeDistance; in onScaleEnd()401 float maxY = mTranslateRect.top * relativeDistance; in onScaleEnd()403 float minX = getWidth() * marginFit + mTranslateRect.right * relativeDistance; in onScaleEnd()404 float minY = getHeight() * marginFit + mTranslateRect.bottom * relativeDistance; in onScaleEnd()