Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java678 int viewH = getHeight(); in drawTileView() local
689 && filmRatio == 1f && r.centerY() != viewH / 2; in drawTileView()
722 float offset = (float) (r.centerY() - viewH / 2) / viewH; in drawTileView()
728 setTileViewPosition(cx, cy, viewW, viewH, imageScale); in drawTileView()
748 int viewW, int viewH, float scale) { in setTileViewPosition() argument
753 int centerY = (int) (imageH / 2f + (viewH / 2f - cy) / scale + 0.5f); in setTileViewPosition()
DPositionController.java233 public void setViewSize(int viewW, int viewH) { in setViewSize() argument
234 if (viewW == mViewW && viewH == mViewH) return; in setViewSize()
239 mViewH = viewH; in setViewSize()
243 setBoxSize(i, viewW, viewH, true); in setViewSize()
1268 int viewW, viewH; in getMinimalScale() local
1273 viewH = mConstrainedFrame.height(); in getMinimalScale()
1276 viewH = mViewH; in getMinimalScale()
1290 hFactor * viewH / b.mImageH); in getMinimalScale()
DTileImageView.java334 int viewH = getHeight(); in getImageCenter() local
351 center.y = Math.round(viewH / 2f + distH * mScale); in getImageCenter()