Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java652 float filmRatio = mPositionController.getFilmRatio(); in drawTileView() local
654 && filmRatio != 1f && !mPictures.get(-1).isCamera() in drawTileView()
657 && filmRatio == 1f && r.centerY() != viewH / 2; in drawTileView()
670 scale = interpolate(filmRatio, scale, 1f); in drawTileView()
671 alpha = interpolate(filmRatio, alpha, 1f); in drawTileView()
687 cx = interpolate(filmRatio, cxPage, cx); in drawTileView()
786 float filmRatio = mPositionController.getFilmRatio(); in draw() local
788 && filmRatio != 1f && !mPictures.get(0).isCamera(); in draw()
790 && filmRatio == 1f && r.centerY() != h / 2; in draw()
792 ? (int) (interpolate(filmRatio, w / 2, r.centerX()) + 0.5f) in draw()
[all …]