Home
last modified time | relevance | path

Searched refs:Canvas (Results 1 – 25 of 225) sorted by relevance

123456789

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCanvasTest.java10 import android.graphics.Canvas;
36 Canvas canvas = new Canvas(targetBitmap); in shouldDescribeBitmapDrawing()
49 Canvas canvas = new Canvas(targetBitmap); in shouldDescribeBitmapDrawing_withDestinationRect()
57 Canvas canvas = new Canvas(targetBitmap); in shouldDescribeBitmapDrawing_withDestinationRectF()
65 Canvas canvas = new Canvas(targetBitmap); in shouldDescribeBitmapDrawing_WithMatrix()
78 Canvas canvas = new Canvas(targetBitmap); in visualize_shouldReturnDescription()
89 Canvas canvas = new Canvas(targetBitmap); in drawColor_shouldReturnDescription()
99 Canvas canvas = new Canvas(targetBitmap); in drawPath_shouldRecordThePathAndThePaint()
123 Canvas canvas = new Canvas(targetBitmap); in drawPath_shouldRecordThePointsOfEachPathEvenWhenItIsTheSameInstance()
142 Canvas canvas = new Canvas(targetBitmap); in drawPath_shouldAppendDescriptionToBitmap()
[all …]
DShadowBitmapDrawableTest.java10 import android.graphics.Canvas;
61 Canvas canvas = new Canvas(); in draw_shouldCopyDescriptionToCanvas()
78 Canvas canvas = new Canvas(); in withColorFilterSet_draw_shouldCopyDescriptionToCanvas()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
DSeriesRenderer.java19 import android.graphics.Canvas;
50 public void render(Canvas canvas, RectF plotArea) throws PlotRenderException { in render()
53 public abstract void onRender(Canvas canvas, RectF plotArea) throws PlotRenderException; in onRender()
60 …protected abstract void doDrawLegendIcon(Canvas canvas, RectF rect, SeriesFormatterType formatter); in doDrawLegendIcon()
62 public void drawSeriesLegendIcon(Canvas canvas, RectF rect, SeriesFormatterType formatter) { in drawSeriesLegendIcon()
/external/skia/experimental/go-skia/
Dskia.go53 func (s *Surface) Canvas() *Canvas { func
54 return &Canvas{
96 type Canvas struct { struct
101 func (c *Canvas) DrawPaint(paint *Paint) { argument
105 func (c *Canvas) DrawOval(rect *Rect, paint *Paint) { argument
110 func (c *Canvas) DrawRect(rect *Rect, paint *Paint) { argument
115 func (c *Canvas) DrawPath(path *Path, paint *Paint) { argument
/external/skqp/experimental/go-skia/
Dskia.go53 func (s *Surface) Canvas() *Canvas { func
54 return &Canvas{
96 type Canvas struct { struct
101 func (c *Canvas) DrawPaint(paint *Paint) { argument
105 func (c *Canvas) DrawOval(rect *Rect, paint *Paint) { argument
110 func (c *Canvas) DrawRect(rect *Rect, paint *Paint) { argument
115 func (c *Canvas) DrawPath(path *Path, paint *Paint) { argument
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSurfaceView.java3 import android.graphics.Canvas;
76 public Canvas lockCanvas() { in lockCanvas()
81 public Canvas lockCanvas(Rect rect) { in lockCanvas()
86 public void unlockCanvasAndPost(Canvas canvas) { in unlockCanvasAndPost()
DShadowPicture.java7 import android.graphics.Canvas;
44 protected Canvas beginRecording(int width, int height) { in beginRecording()
47 return new Canvas(Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888)); in beginRecording()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/
DPlotListener.java19 import android.graphics.Canvas;
34 public void onBeforeDraw(Plot source, Canvas canvas); in onBeforeDraw()
44 public void onAfterDraw(Plot source, Canvas canvas); in onAfterDraw()
DPlot.java163 private Canvas canvas = new Canvas();
192 public synchronized Canvas getCanvas() { in getCanvas()
330 Canvas c = pingPong.getCanvas(); in init()
387 protected void notifyListenersBeforeDraw(Canvas canvas) { in notifyListenersBeforeDraw()
393 protected void notifyListenersAfterDraw(Canvas canvas) { in notifyListenersAfterDraw()
614 protected void onDraw(Canvas canvas) { in onDraw()
636 protected synchronized void renderOnCanvas(Canvas canvas) { in renderOnCanvas()
694 protected void drawBorder(Canvas canvas, RectF dims) { in drawBorder()
706 protected void drawBackground(Canvas canvas, RectF dims) { in drawBackground()
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DDrawManager.java23 import android.graphics.Canvas;
108 public void drawCircle(Canvas canvas) { in drawCircle()
128 public void drawAnimatedRoundRect(Canvas canvas, float radius) { in drawAnimatedRoundRect()
144 public void drawRect(Canvas canvas) { in drawRect()
161 public void drawText(Canvas canvas, String text) { in drawText()
187 public void drawFingerPainting(Canvas canvas) { in drawFingerPainting()
255 public void drawPointCloud(Canvas canvas, PointCloud cloud) { in drawPointCloud()
286 public void drawPlanes(Canvas canvas, Pose cameraPose, Collection<Plane> allPlanes) { in drawPlanes()
321 private void drawPlaneOutline(Canvas canvas, android.graphics.Matrix mvpv, Plane plane) { in drawPlaneOutline()
365 private void drawPlaneWithShader(Canvas canvas, android.graphics.Matrix mvpv, Plane plane) { in drawPlaneWithShader()
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DDrawManager.java23 import android.graphics.Canvas;
108 public void drawCircle(Canvas canvas) { in drawCircle()
128 public void drawAnimatedRoundRect(Canvas canvas, float radius) { in drawAnimatedRoundRect()
144 public void drawRect(Canvas canvas) { in drawRect()
161 public void drawText(Canvas canvas, String text) { in drawText()
187 public void drawFingerPainting(Canvas canvas) { in drawFingerPainting()
255 public void drawPointCloud(Canvas canvas, PointCloud cloud) { in drawPointCloud()
286 public void drawPlanes(Canvas canvas, Pose cameraPose, Collection<Plane> allPlanes) { in drawPlanes()
321 private void drawPlaneOutline(Canvas canvas, android.graphics.Matrix mvpv, Plane plane) { in drawPlaneOutline()
365 private void drawPlaneWithShader(Canvas canvas, android.graphics.Matrix mvpv, Plane plane) { in drawPlaneWithShader()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DPlotStatistics.java19 import android.graphics.Canvas;
79 private void annotatePlot(Plot source, Canvas canvas) { in annotatePlot()
100 public void onBeforeDraw(Plot source, Canvas canvas) { in onBeforeDraw()
105 public void onAfterDraw(Plot source, Canvas canvas) { in onAfterDraw()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DOverlayView.java19 import android.graphics.Canvas;
39 public void drawCallback(final Canvas canvas); in drawCallback()
47 public synchronized void draw(final Canvas canvas) { in draw()
DDetectorActivity.java21 import android.graphics.Canvas;
150 public void drawCallback(final Canvas canvas) { in onPreviewSizeChosen()
161 public void drawCallback(final Canvas canvas) { in onPreviewSizeChosen()
234 final Canvas canvas = new Canvas(croppedBitmap); in processImage()
251 final Canvas canvas = new Canvas(cropCopyBitmap); in processImage()
DClassifierActivity.java21 import android.graphics.Canvas;
125 public void drawCallback(final Canvas canvas) { in onPreviewSizeChosen()
134 final Canvas canvas = new Canvas(croppedBitmap); in processImage()
165 private void renderDebug(final Canvas canvas) { in renderDebug()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DOverlayView.java19 import android.graphics.Canvas;
39 public void drawCallback(final Canvas canvas); in drawCallback()
47 public synchronized void draw(final Canvas canvas) { in draw()
DDetectorActivity.java21 import android.graphics.Canvas;
192 public void drawCallback(final Canvas canvas) { in onPreviewSizeChosen()
203 public void drawCallback(final Canvas canvas) { in onPreviewSizeChosen()
276 final Canvas canvas = new Canvas(croppedBitmap); in processImage()
293 final Canvas canvas = new Canvas(cropCopyBitmap); in processImage()
DClassifierActivity.java21 import android.graphics.Canvas;
145 public void drawCallback(final Canvas canvas) { in onPreviewSizeChosen()
154 final Canvas canvas = new Canvas(croppedBitmap); in processImage()
185 private void renderDebug(final Canvas canvas) { in renderDebug()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DTransformationUtils.java5 import android.graphics.Canvas;
69 Canvas canvas = new Canvas(result); in centerCrop()
125 Canvas canvas = new Canvas(toReuse); in fitCenter()
278 final Canvas canvas = new Canvas(result); in rotateImageExif()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYLegendWidget.java97 private void beginDrawingCell(Canvas canvas, RectF iconRect) { in beginDrawingCell()
105 private void finishDrawingCell(Canvas canvas, RectF cellRect, RectF iconRect, String text) { in finishDrawingCell()
117 protected void drawRegionLegendIcon(Canvas canvas, RectF rect, XYRegionFormatter formatter) { in drawRegionLegendIcon()
121 …private void drawRegionLegendCell(Canvas canvas, XYRegionFormatter formatter, RectF cellRect, Stri… in drawRegionLegendCell()
133 …private void drawSeriesLegendCell(Canvas canvas, XYSeriesRenderer renderer, XYSeriesFormatter form… in drawSeriesLegendCell()
145 protected synchronized void doOnDraw(Canvas canvas, RectF widgetRect) { in doOnDraw()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DUberColorPickerDialog.java39 import android.graphics.Canvas;
180 private Canvas mVerSliderCv;
183 private Canvas[] mHorSlidersCv = new Canvas[3];
315 mVerSliderCv = new Canvas(mVerSliderBM); in ColorPickerView()
319 mHorSlidersCv[i] = new Canvas(mHorSlidersBM[i]); in ColorPickerView()
358 protected void onDraw(Canvas canvas) { in onDraw()
374 private void drawSwatches(Canvas canvas) { in drawSwatches()
403 private void writeColorParams(Canvas canvas) { in writeColorParams()
432 private void mark2DPalette(Canvas canvas, int markerPosX, int markerPosY) { in mark2DPalette()
444 private void markVerSlider(Canvas canvas, int markerPos) { in markVerSlider()
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/
DGlifPatternDrawable.java23 import android.graphics.Canvas;
103 public void draw(@NonNull Canvas canvas) { in draw()
159 Canvas bitmapCanvas = new Canvas(bitmap); in createBitmapCache()
164 private void renderOnCanvas(Canvas canvas, float scale) { in renderOnCanvas()
244 public void scaleCanvasToBounds(Canvas canvas, Bitmap bitmap, Rect drawableBounds) { in scaleCanvasToBounds()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DFastPathSurfaceView.java20 import android.graphics.Canvas;
59 Canvas canvas = surface.lockCanvas(null); in surfaceChanged()
84 Canvas canvas = surface.lockCanvas(rect); in setRectColor()
/external/droiddriver/src/io/appium/droiddriver/instrumentation/
DInstrumentationUiDevice.java21 import android.graphics.Canvas;
76 Canvas canvas = new Canvas(); in call()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DGlitchAndCallbackHeatMapView.java21 import android.graphics.Canvas;
83 protected void onDraw(Canvas canvas) { in onDraw()
88 Canvas tmpCanvas = new Canvas(bmpResult); in onDraw()
100 public static void fillCanvas(final Canvas canvas, in fillCanvas()
278 private static void drawHeatMap(Canvas canvas, int[] bucketedValues, int maxValue,
308 private static void drawColorLegend(Canvas canvas, int maxValue, ColorInterpolator colorInter,
338 private static void drawTimeTicks(Canvas canvas, int testDurationSeconds, int bucketSizeSeconds,
386 private static void drawExceededMarks(Canvas canvas, RectF rect) {

123456789