Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionController.java326 b.mCurrentScale = getMinimalScale(b); in setBoxSize()
393 b.mScaleMin = getMinimalScale(b); in updateScaleAndGapLimit()
425 return (int) ((mViewW - getMinimalScale(b) * b.mImageW) / 2 + 0.5f); in gapToSide()
942 b.mScaleMin = getMinimalScale(b); in initBox()
960 b.mScaleMin = getMinimalScale(b); in initBox()
1265 private float getMinimalScale(Box b) { in getMinimalScale() method in PositionController
1295 if (mFilmMode) return getMinimalScale(b); in getMaximalScale()
1296 if (mConstrained && !mConstrainedFrame.isEmpty()) return getMinimalScale(b); in getMaximalScale()