Searched refs:viewW (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PhotoView.java | 677 int viewW = getWidth(); in drawTileView() local 694 float progress = calculateMoveOutProgress(left, right, viewW); in drawTileView() 709 if (right - left <= viewW) { in drawTileView() 712 cxPage = viewW / 2f; in drawTileView() 728 setTileViewPosition(cx, cy, viewW, viewH, imageScale); in drawTileView() 748 int viewW, int viewH, float scale) { in setTileViewPosition() argument 752 int centerX = (int) (imageW / 2f + (viewW / 2f - cx) / scale + 0.5f); in setTileViewPosition() 1586 int viewW = getWidth(); 1588 int moveThreshold = viewW / 5 ; 1589 int threshold = moveThreshold + gapToSide(r.width(), viewW); [all …]
|
D | PositionController.java | 233 public void setViewSize(int viewW, int viewH) { in setViewSize() argument 234 if (viewW == mViewW && viewH == mViewH) return; in setViewSize() 238 mViewW = viewW; in setViewSize() 243 setBoxSize(i, viewW, viewH, true); in setViewSize() 1268 int viewW, viewH; in getMinimalScale() local 1272 viewW = mConstrainedFrame.width(); in getMinimalScale() 1275 viewW = mViewW; in getMinimalScale() 1289 float s = Math.min(wFactor * viewW / b.mImageW, in getMinimalScale()
|
D | TileImageView.java | 333 int viewW = getWidth(); in getImageCenter() local 350 center.x = Math.round(viewW / 2f + distW * mScale); in getImageCenter()
|