Home
last modified time | relevance | path

Searched refs:heightBuffer (Results 1 – 1 of 1) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java295 float heightBuffer = (getHeight() - mTranslateRect.height()) / relativeScale; in scale() local
303 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()