Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/view/shadow/
DHighQualityShadowPainter.java198 Rect destSrc = new Rect(0, 0, width, height); in drawScaled() local
203 canvas.drawBitmap(bitmap, destSrc, dest, null); in drawScaled()
227 int leftScaled = left.width() / SCALE_DOWN + destSrc.left; in drawScaled()
230 int topScaled = top.height() / SCALE_DOWN + destSrc.top; in drawScaled()
234 int rightScaled = (shadowCaster.right + unscaledTranslateX) / SCALE_DOWN + destSrc.left; in drawScaled()
237 int bottomScaled = (bottom.bottom - bottom.height()) / SCALE_DOWN + destSrc.top; in drawScaled()
240 Rect leftSrc = new Rect(destSrc.left, topScaled, leftScaled, bottomScaled); in drawScaled()
241 Rect topSrc = new Rect(destSrc.left, destSrc.top, destSrc.right, topScaled); in drawScaled()
242 Rect rightSrc = new Rect(rightScaled, topScaled, destSrc.right, bottomScaled); in drawScaled()
243 Rect bottomSrc = new Rect(destSrc.left, bottomScaled, destSrc.right, destSrc.bottom); in drawScaled()