Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DDisplayListCanvas.cpp266 void DisplayListCanvas::drawBitmap(const SkBitmap& bitmap, float srcLeft, float srcTop, in drawBitmap() argument
269 if (srcLeft == 0 && srcTop == 0 in drawBitmap()
273 && (srcRight - srcLeft == dstRight - dstLeft)) { in drawBitmap()
283 float scaleX = (dstRight - dstLeft) / (srcRight - srcLeft); in drawBitmap()
295 dstRight = srcRight - srcLeft; in drawBitmap()
299 srcLeft, srcTop, srcRight, srcBottom, in drawBitmap()
307 srcLeft, srcTop, srcRight, srcBottom, in drawBitmap()
DRecordingCanvas.cpp482 void RecordingCanvas::drawBitmap(const SkBitmap& bitmap, float srcLeft, float srcTop, in drawBitmap() argument
485 if (srcLeft == 0 && srcTop == 0 in drawBitmap()
489 && (srcRight - srcLeft == dstRight - dstLeft)) { in drawBitmap()
501 Rect(srcLeft, srcTop, srcRight, srcBottom))); in drawBitmap()
DSkiaCanvas.cpp141 virtual void drawBitmap(const SkBitmap& bitmap, float srcLeft, float srcTop,
639 void SkiaCanvas::drawBitmap(const SkBitmap& bitmap, float srcLeft, float srcTop, in drawBitmap() argument
642 SkRect srcRect = SkRect::MakeLTRB(srcLeft, srcTop, srcRight, srcBottom); in drawBitmap()
DDisplayListCanvas.h201 virtual void drawBitmap(const SkBitmap& bitmap, float srcLeft, float srcTop,
DRecordingCanvas.h182 virtual void drawBitmap(const SkBitmap& bitmap, float srcLeft, float srcTop,
DDisplayListOp.h713 float srcLeft, float srcTop, float srcRight, float srcBottom, in DrawBitmapRectOp() argument
716 mBitmap(bitmap), mSrc(srcLeft, srcTop, srcRight, srcBottom) {} in DrawBitmapRectOp()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp418 float srcLeft, float srcTop, float srcRight, float srcBottom, in drawBitmapRect() argument
432 canvas->drawBitmap(bitmap, srcLeft, srcTop, srcRight, srcBottom, in drawBitmapRect()
435 canvas->drawBitmap(bitmap, srcLeft, srcTop, srcRight, srcBottom, in drawBitmapRect()
/frameworks/base/libs/hwui/hwui/
DCanvas.h202 virtual void drawBitmap(const SkBitmap& bitmap, float srcLeft, float srcTop,
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java837 float srcLeft, float srcTop, float srcRight, float srcBottom, in native_drawBitmap() argument
847 (int)srcLeft, (int)srcTop, (int)srcRight, (int)srcBottom, in native_drawBitmap()
/frameworks/base/graphics/java/android/graphics/
DCanvas.java2095 float srcLeft, float srcTop, float srcRight, float srcBottom, in native_drawBitmap() argument