Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/navigation/
DCarNavigationInstrumentCluster.java52 private final int mImageWidth; field in CarNavigationInstrumentCluster
99 return mImageWidth; in getImageWidth()
123 that.mImageWidth, in CarNavigationInstrumentCluster()
144 mImageWidth = imageWidth; in CarNavigationInstrumentCluster()
159 dest.writeInt(mImageWidth); in writeToParcel()
168 mImageWidth = in.readInt(); in CarNavigationInstrumentCluster()
180 "imageWidth: " + mImageWidth + ", " + in toString()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageViewAdapter.java36 protected int mImageWidth; field in TileImageViewAdapter
45 mImageWidth = 0; in clear()
56 mImageWidth = width; in setScreenNail()
64 mImageWidth = decoder.getWidth(); in setRegionDecoder()
71 (float) mImageWidth / mScreenNail.getWidth())); in calculateLevelCount()
105 needClear = !new Rect(0, 0, mImageWidth, mImageHeight) in getTile()
151 overlapRegion = new Rect(0, 0, mImageWidth, mImageHeight); in getTileWithoutReusingBitmap()
193 return mImageWidth; in getImageWidth()
DTileImageView.java107 protected int mImageWidth = SIZE_UNKNOWN; field in TileImageView
178 mImageWidth = 0; in notifyModelInvalidated()
183 mImageWidth = mModel.getImageWidth(); in notifyModelInvalidated()
324 right = Math.min(mImageWidth, right); in getRange()
341 distW = mImageWidth / 2 - mCenterX; in getImageCenter()
345 distH = mImageWidth / 2 - mCenterX; in getImageCenter()
444 Math.round(mImageWidth * mScale), in render()
615 float scaleX = (float) mScreenNail.getWidth() / mImageWidth; in drawTile()
689 int rightEdge = ((mImageWidth - mX) >> mTileLevel); in onGetBitmap()
DBitmapTileProvider.java32 private final int mImageWidth; field in BitmapTileProvider
38 mImageWidth = bitmap.getWidth(); in BitmapTileProvider()
65 return mImageWidth; in getImageWidth()
DPhotoView.java636 int w = mTileView.mImageWidth; in updateSize()
/packages/apps/Gallery2/src/com/android/photos/drawables/
DAutoThumbnailDrawable.java56 private int mImageWidth, mImageHeight; field in AutoThumbnailDrawable
74 mImageWidth = width; in setImage()
170 if (mBounds.isEmpty() || mImageWidth == 0 || mImageHeight == 0) { in refreshSampleSizeLocked()
174 int sampleSize = calculateSampleSizeLocked(mImageWidth, mImageHeight); in refreshSampleSizeLocked()
190 return (float) mImageWidth / (float) mImageHeight; in getAspectRatio()
245 width = mImageWidth;
/packages/apps/WallpaperPicker/src/com/android/photos/views/
DTiledImageRenderer.java105 protected int mImageWidth = SIZE_UNKNOWN; field in TiledImageRenderer
205 mImageWidth / (float) mPreview.getWidth())); in calculateLevelCount()
208 int maxDim = Math.max(mImageWidth, mImageHeight); in calculateLevelCount()
221 mImageWidth = 0; in notifyModelInvalidated()
226 mImageWidth = mModel.getImageWidth(); in notifyModelInvalidated()
382 right = Math.min(mImageWidth, right); in getRange()
451 Math.round(mImageWidth * mScale), in draw()
624 float scaleX = (float) mPreview.getWidth() / mImageWidth; in drawTile()
703 int rightEdge = ((mImageWidth - mX) >> mTileLevel); in onGetBitmap()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java105 protected int mImageWidth = SIZE_UNKNOWN; field in TiledImageRenderer
205 mImageWidth / (float) mPreview.getWidth())); in calculateLevelCount()
208 int maxDim = Math.max(mImageWidth, mImageHeight); in calculateLevelCount()
221 mImageWidth = 0; in notifyModelInvalidated()
226 mImageWidth = mModel.getImageWidth(); in notifyModelInvalidated()
382 right = Math.min(mImageWidth, right); in getRange()
451 Math.round(mImageWidth * mScale), in draw()
624 float scaleX = (float) mPreview.getWidth() / mImageWidth; in drawTile()
703 int rightEdge = ((mImageWidth - mX) >> mTileLevel); in onGetBitmap()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DRecordingCardView.java48 private final int mImageWidth; field in RecordingCardView
93 mImageWidth = imageWidth; in RecordingCardView()
251 mImageWidth, in setImageUri() local
/packages/apps/TV/src/com/android/tv/guide/
DProgramTableAdapter.java94 private final int mImageWidth; field in ProgramTableAdapter
137 mImageWidth = res.getDimensionPixelSize(R.dimen.program_guide_table_detail_image_width); in ProgramTableAdapter()
495 program.prefetchPosterArt(itemView.getContext(), mImageWidth, mImageHeight);
575 mImageWidth,