Searched refs:canvasDelegate (Results 1 – 2 of 2) sorted by relevance
119 Canvas_Delegate canvasDelegate = Canvas_Delegate.getDelegate(canvas); in nSetBitmap() local121 if (canvasDelegate == null || bitmapDelegate == null) { in nSetBitmap()124 canvasDelegate.mBitmap = bitmapDelegate; in nSetBitmap()125 canvasDelegate.mSnapshot = GcSnapshot.createDefaultSnapshot(bitmapDelegate); in nSetBitmap()131 Canvas_Delegate canvasDelegate = Canvas_Delegate.getDelegate(nativeCanvas); in nIsOpaque() local132 if (canvasDelegate == null) { in nIsOpaque()136 return canvasDelegate.mBitmap.getConfig() == Config.RGB_565; in nIsOpaque()142 Canvas_Delegate canvasDelegate = Canvas_Delegate.getDelegate(nativeCanvas); in nGetWidth() local143 if (canvasDelegate == null) { in nGetWidth()147 return canvasDelegate.mBitmap.getImage().getWidth(); in nGetWidth()[all …]
137 BaseCanvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in nDrawColor() local138 if (canvasDelegate == null) { in nDrawColor()142 final int w = canvasDelegate.mBitmap.getImage().getWidth(); in nDrawColor()143 final int h = canvasDelegate.mBitmap.getImage().getHeight(); in nDrawColor()453 Canvas_Delegate canvasDelegate = Canvas_Delegate.getDelegate(nativeCanvas); in nDrawNinePatch() local454 if (canvasDelegate == null) { in nDrawNinePatch()461 canvasDelegate.getSnapshot().draw(new GcSnapshot.Drawable() { in nDrawNinePatch()476 BaseCanvas_Delegate canvasDelegate = sManager.getDelegate(nCanvas); in nDrawBitmapMatrix() local477 if (canvasDelegate == null) { in nDrawBitmapMatrix()499 canvasDelegate.getSnapshot().draw((graphics, paint) -> { in nDrawBitmapMatrix()[all …]