Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DBubbleTextView.java170 private void drawWithPadding(Canvas destCanvas, int padding) { in drawWithPadding() argument
181 destCanvas.save(); in drawWithPadding()
182 destCanvas.scale(getScaleX(), getScaleY(), in drawWithPadding()
184 destCanvas.translate(-getScrollX() + padding / 2, -getScrollY() + padding / 2); in drawWithPadding()
185 destCanvas.clipRect(clipRect, Op.REPLACE); in drawWithPadding()
186 draw(destCanvas); in drawWithPadding()
187 destCanvas.restore(); in drawWithPadding()
DWorkspace.java1766 private void drawDragView(View v, Canvas destCanvas, int padding, boolean pruneToDrawable) {
1772 destCanvas.save();
1776 destCanvas.translate(padding / 2, padding / 2);
1777 d.draw(destCanvas);
1795 destCanvas.translate(-v.getScrollX() + padding / 2, -v.getScrollY() + padding / 2);
1796 destCanvas.clipRect(clipRect, Op.REPLACE);
1797 v.draw(destCanvas);
1804 destCanvas.restore();
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java2238 private static void drawDragView(View v, Canvas destCanvas, int padding) { in drawDragView() argument
2244 destCanvas.save(); in drawDragView()
2249 destCanvas.translate(padding / 2 - bounds.left, padding / 2 - bounds.top); in drawDragView()
2250 d.draw(destCanvas); in drawDragView()
2260 destCanvas.translate(-v.getScrollX() + padding / 2, -v.getScrollY() + padding / 2); in drawDragView()
2261 destCanvas.clipRect(clipRect, Op.REPLACE); in drawDragView()
2262 v.draw(destCanvas); in drawDragView()
2269 destCanvas.restore(); in drawDragView()