Searched refs:viewW (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PhotoView.java | 645 int viewW = getWidth(); in drawTileView() local 662 float progress = calculateMoveOutProgress(left, right, viewW); in drawTileView() 677 if (right - left <= viewW) { in drawTileView() 680 cxPage = viewW / 2f; in drawTileView() 696 setTileViewPosition(cx, cy, viewW, viewH, imageScale); in drawTileView() 716 int viewW, int viewH, float scale) { in setTileViewPosition() argument 720 int centerX = (int) (imageW / 2f + (viewW / 2f - cx) / scale + 0.5f); in setTileViewPosition() 1507 int viewW = getWidth(); 1508 int threshold = MOVE_THRESHOLD + gapToSide(r.width(), viewW); 1511 if (viewW - r.right > threshold) {
|
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() 1266 int viewW, viewH; in getMinimalScale() local 1270 viewW = mConstrainedFrame.width(); in getMinimalScale() 1273 viewW = mViewW; in getMinimalScale() 1287 float s = Math.min(wFactor * viewW / b.mImageW, in getMinimalScale()
|
D | TileImageView.java | 321 int viewW = getWidth(); in getImageCenter() local 338 center.x = Math.round(viewW / 2f + distW * mScale); in getImageCenter()
|