Searched refs:canvasDelegate (Results 1 – 2 of 2) sorted by relevance
118 Canvas_Delegate canvasDelegate = Canvas_Delegate.getDelegate(canvas); in nSetBitmap() local120 if (canvasDelegate == null || bitmapDelegate == null) { in nSetBitmap()123 canvasDelegate.mBitmap = bitmapDelegate; in nSetBitmap()124 canvasDelegate.mSnapshot = GcSnapshot.createDefaultSnapshot(bitmapDelegate); in nSetBitmap()130 Canvas_Delegate canvasDelegate = Canvas_Delegate.getDelegate(nativeCanvas); in nIsOpaque() local131 if (canvasDelegate == null) { in nIsOpaque()135 return canvasDelegate.mBitmap.getConfig() == Config.RGB_565; in nIsOpaque()141 Canvas_Delegate canvasDelegate = Canvas_Delegate.getDelegate(nativeCanvas); in nGetWidth() local142 if (canvasDelegate == null) { in nGetWidth()146 return canvasDelegate.mBitmap.getImage().getWidth(); in nGetWidth()[all …]
141 BaseCanvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in nDrawColor() local142 if (canvasDelegate == null) { in nDrawColor()146 final int w = canvasDelegate.mBitmap.getImage().getWidth(); in nDrawColor()147 final int h = canvasDelegate.mBitmap.getImage().getHeight(); in nDrawColor()457 Canvas_Delegate canvasDelegate = Canvas_Delegate.getDelegate(nativeCanvas); in nDrawNinePatch() local458 if (canvasDelegate == null) { in nDrawNinePatch()465 canvasDelegate.getSnapshot().draw(new GcSnapshot.Drawable() { in nDrawNinePatch()480 BaseCanvas_Delegate canvasDelegate = sManager.getDelegate(nCanvas); in nDrawBitmapMatrix() local481 if (canvasDelegate == null) { in nDrawBitmapMatrix()503 canvasDelegate.getSnapshot().draw((graphics, paint) -> { in nDrawBitmapMatrix()[all …]