Searched refs:widthBuffer (Results 1 – 1 of 1) sorted by relevance
294 float widthBuffer = (getWidth() - mTranslateRect.width()) / relativeScale; in scale() local297 if (mTranslateRect.width() <= widthBuffer * 2) { in scale()300 centerX = Math.min(Math.max(mTranslateRect.left + widthBuffer, in scale()301 e.getX()), mTranslateRect.right - widthBuffer); in scale()