Home
last modified time | relevance | path

Searched refs:bitmapDensity (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/jni/
Dandroid_graphics_Canvas.cpp515 jint screenDensity, jint bitmapDensity) { in drawBitmap() argument
520 if (canvasDensity == bitmapDensity || canvasDensity == 0 || bitmapDensity == 0) { in drawBitmap()
521 if (screenDensity != 0 && screenDensity != bitmapDensity) { in drawBitmap()
533 SkScalar scale = canvasDensity / (float)bitmapDensity; in drawBitmap()
559 jlong paintHandle, jint screenDensity, jint bitmapDensity) { in drawBitmapRect() argument
564 if (screenDensity != 0 && screenDensity != bitmapDensity) { in drawBitmapRect()
/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java760 int bitmapDensity); in nDrawBitmap() argument
765 float dstBottom, long nativePaintOrZero, int screenDensity, int bitmapDensity); in nDrawBitmap() argument
819 int screenDensity, int bitmapDensity); in nDrawNinePatch() argument
DBaseRecordingCanvas.java636 int bitmapDensity); in nDrawBitmap() argument
642 long nativePaintOrZero, int screenDensity, int bitmapDensity); in nDrawBitmap() argument
714 int screenDensity, int bitmapDensity); in nDrawNinePatch() argument