Searched refs:viewH (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PhotoView.java | 678 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()
|
D | PositionController.java | 233 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()
|
D | TileImageView.java | 334 int viewH = getHeight(); in getImageCenter() local 351 center.y = Math.round(viewH / 2f + distH * mScale); in getImageCenter()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationViewFragment.java | 512 final int viewH = mWebView.getHeight(); in calculateScrollYPercent() local 515 if (webH == 0 || webH <= viewH) { in calculateScrollYPercent() 517 } else if (scrollY + viewH >= webH) { in calculateScrollYPercent()
|