Searched refs:heightBuffer (Results 1 – 1 of 1) sorted by relevance
295 float heightBuffer = (getHeight() - mTranslateRect.height()) / relativeScale; in scale() local303 if (mTranslateRect.height() <= heightBuffer * 2) { in scale()306 centerY = Math.min(Math.max(mTranslateRect.top + heightBuffer, in scale()307 e.getY()), mTranslateRect.bottom - heightBuffer); in scale()