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.java684 float filmRatio = mPositionController.getFilmRatio(); in drawTileView() local
686 && filmRatio != 1f && !mPictures.get(-1).isCamera() in drawTileView()
689 && filmRatio == 1f && r.centerY() != viewH / 2; in drawTileView()
702 scale = interpolate(filmRatio, scale, 1f); in drawTileView()
703 alpha = interpolate(filmRatio, alpha, 1f); in drawTileView()
719 cx = interpolate(filmRatio, cxPage, cx); in drawTileView()
820 float filmRatio = mPositionController.getFilmRatio(); in draw() local
822 && filmRatio != 1f && !mPictures.get(0).isCamera(); in draw()
824 && filmRatio == 1f && r.centerY() != h / 2; in draw()
826 ? (int) (interpolate(filmRatio, w / 2, r.centerX()) + 0.5f) in draw()
[all …]