Home
last modified time | relevance | path

Searched refs:mImageWidth (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageViewAdapter.java33 protected int mImageWidth; field in TileImageViewAdapter
45 mImageWidth = regionDecoder.getWidth(); in TileImageViewAdapter()
52 mImageWidth = 0; in clear()
61 mImageWidth = width; in setScreenNail()
71 mImageWidth = width; in setScreenNail()
87 mImageWidth = decoder.getWidth(); in setRegionDecoder()
94 (float) mImageWidth / mScreenNail.getWidth())); in calculateLevelCount()
125 needClear = !new Rect(0, 0, mImageWidth, mImageHeight) in getTile()
173 return mImageWidth; in getImageWidth()
DCropView.java91 private int mImageWidth = SIZE_UNKNOWN; field in CropView
155 int inverseX = mImageWidth - centerX; in setImageViewPosition()
184 RectF result = new RectF(rect.left * mImageWidth, rect.top * mImageHeight, in getCropRectangle()
185 rect.right * mImageWidth, rect.bottom * mImageHeight); in getCropRectangle()
190 return mImageWidth; in getImageWidth()
298 mCurrentX = mImageWidth / 2; in initialize()
301 (float) getWidth() / mImageWidth, in initialize()
336 + mCurrentX) / mImageWidth, 0, 1); in inverseMapPoint()
348 offsetX + (input.left * mImageWidth - x) * s, in mapRect()
350 offsetX + (input.right * mImageWidth - x) * s, in mapRect()
[all …]
DBitmapTileProvider.java32 private final int mImageWidth; field in BitmapTileProvider
38 mImageWidth = bitmap.getWidth(); in BitmapTileProvider()
65 return mImageWidth; in getImageWidth()
DTileImageView.java109 protected int mImageWidth = SIZE_UNKNOWN; field in TileImageView
167 mImageWidth = 0; in notifyModelInvalidated()
172 mImageWidth = mModel.getImageWidth(); in notifyModelInvalidated()
312 right = Math.min(mImageWidth, right); in getRange()
329 distW = mImageWidth / 2 - mCenterX; in getImageCenter()
333 distH = mImageWidth / 2 - mCenterX; in getImageCenter()
433 Math.round(mImageWidth * mScale), in render()
600 float scaleX = (float) mScreenNail.getWidth() / mImageWidth; in drawTile()
677 int rightEdge = ((mImageWidth - mX) >> mTileLevel) + TILE_BORDER; in onGetBitmap()
DPhotoView.java591 int w = mTileView.mImageWidth; in updateSize()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpImage.java47 private final int mImageWidth; field in MtpImage
61 mImageWidth = objInfo.getImagePixWidth(); in MtpImage()
154 details.addDetail(MediaDetails.INDEX_WIDTH, mImageWidth);
162 return mImageWidth;