Searched refs:mSrcRect (Results 1 – 4 of 4) sorted by relevance
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | TransitionImageView.java | 77 private Rect mSrcRect = new Rect(); field in TransitionImageView 127 mSrc.getOptimizedRect(mSrcRect); in initializeView() 130 params.width = mSrcRect.width(); in initializeView() 131 params.height = mSrcRect.height(); in initializeView() 135 mSrcClipRect.offset(-mSrcRect.left, -mSrcRect.top); in initializeView() 139 mSrcUnclipRect.offset(-mSrcRect.left, -mSrcRect.top); in initializeView() 160 mScaleX = (float) mDstRect.width() / mSrcRect.width(); in calculateDiffs() 161 mScaleY = (float) mDstRect.height() / mSrcRect.height(); in calculateDiffs() 164 mTranslationXDiff = mDstRect.left - mSrcRect.left; in calculateDiffs() 165 mTranslationYDiff = mDstRect.top - mSrcRect.top; in calculateDiffs() [all …]
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageGallery.java | 776 private final Rect mSrcRect = new Rect(); 798 mSrcRect.set(0 + halfDeltaW, 0 + halfDeltaH, 801 canvas.drawBitmap(b, mSrcRect, mDstRect, null); 803 mSrcRect.set(0, 0, bw, bh); 805 canvas.drawBitmap(b, mSrcRect, mDstRect, mPaint); 813 mSrcRect.set(0, 0, width, height); 817 canvas.drawBitmap(error, mSrcRect, mDstRect, null); 843 mSrcRect.set(left, top, left + width, top + height); 844 overlay.setBounds(mSrcRect); 865 mSrcRect.set(left, top, left + width, top + height); [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | TiledTexture.java | 63 private final RectF mSrcRect = new RectF(); field in TiledTexture 278 RectF src = mSrcRect; in drawMixed() 289 canvas.drawMixed(t, color, ratio, mSrcRect, mDestRect); in drawMixed() 297 RectF src = mSrcRect; in draw() 308 canvas.drawTexture(t, mSrcRect, mDestRect); in draw() 315 RectF src = mSrcRect; in draw()
|
/packages/apps/Settings/src/com/android/settings/drawable/ |
D | CircleFramedDrawable.java | 53 private Rect mSrcRect; field in CircleFramedDrawable 118 mSrcRect = new Rect(0, 0, mSize, mSize); in CircleFramedDrawable() 130 canvas.drawBitmap(mBitmap, mSrcRect, mDstRect, null); in draw()
|