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