Home
last modified time | relevance | path

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

12345678910>>...14

/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowCanvasTest.java11 import android.graphics.Canvas;
38 Canvas canvas = new Canvas(targetBitmap); in shouldDescribeBitmapDrawing()
53 Canvas canvas = new Canvas(targetBitmap); in shouldDescribeBitmapDrawing_withDestinationRect()
64 Canvas canvas = new Canvas(targetBitmap); in shouldDescribeBitmapDrawing_withDestinationRectF()
76 Canvas canvas = new Canvas(targetBitmap); in shouldDescribeBitmapDrawing_WithMatrix()
95 Canvas canvas = new Canvas(targetBitmap); in visualize_shouldReturnDescription()
108 Canvas canvas = new Canvas(targetBitmap); in drawColor_shouldReturnDescription()
118 Canvas canvas = new Canvas(targetBitmap); in drawPath_shouldRecordThePathAndThePaint()
143 Canvas canvas = new Canvas(targetBitmap); in drawPath_shouldRecordThePointsOfEachPathEvenWhenItIsTheSameInstance()
164 Canvas canvas = new Canvas(targetBitmap); in drawPath_shouldAppendDescriptionToBitmap()
[all …]
DShadowSurfaceTest.java10 import android.graphics.Canvas;
69 assertThat(surface.lockCanvas(new Rect())).isInstanceOf(Canvas.class); in lockCanvas_returnsCanvas()
75 Canvas canvas = surface.lockHardwareCanvas(); in lockHardwareCanvas_returnsCanvas()
95 Canvas canvas = surface.lockCanvas(new Rect()); in unlockCanvasOnReleasedSurface_throwsIllegalStateException()
103 Canvas canvas = surface.lockCanvas(new Rect()); in unlockCanvasOnUnLockedSurface_throwsIllegalStateException()
114 Canvas canvas = surface.lockCanvas(new Rect()); in unlockCanvasAndPost_triggersFrameUpdateInSurfaceTexture()
127 Canvas canvas = surface.lockHardwareCanvas(); in unlockCanvasAndPost_triggersFrameUpdateInSurfaceTexture_hardwareCanvas()
146 Canvas canvas = surface2.lockHardwareCanvas(); in copyFrom_surfaceControl_lockHardwareCavnvas()
DShadowBitmapDrawableTest.java8 import android.graphics.Canvas;
46 Canvas canvas = new Canvas(); in draw_shouldCopyDescriptionToCanvas()
57 Canvas canvas = new Canvas(); in withColorFilterSet_draw_shouldCopyDescriptionToCanvas()
/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 …]
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativeCanvasTest.java7 import android.graphics.Canvas;
23 Canvas canvas = new Canvas(bm); in testDrawColor()
31 Canvas canvas = new Canvas(bm); in testDrawPaint()
43 Canvas canvas = new Canvas(); in testSetBitmap()
56 Canvas canvas = new Canvas(); in testDrawTextRunChars()
DShadowNativePictureTest.java10 import android.graphics.Canvas;
39 Canvas canvas = original.beginRecording(TEST_WIDTH, TEST_HEIGHT); in testSaveRestoreBalance()
51 Canvas drawDest = new Canvas(bitmap); in testSaveRestoreBalance()
57 private void createImbalance(Canvas canvas) { in createImbalance()
68 Canvas canvas = new Canvas(bitmap); in verifyBalance()
93 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT); in testPicture()
99 canvas = new Canvas(bitmap); in testPicture()
106 canvas = new Canvas(bitmap); in testPicture()
125 private void drawPicture(Canvas canvas) { in drawPicture()
DShadowNativeBitmapShaderTest.java9 import android.graphics.Canvas;
33 Canvas c = new Canvas(tile); in testBitmapShader()
48 Canvas canvas = new Canvas(b); in testBitmapShader()
93 Canvas canvas = new Canvas(dstBitmap); in testClamp()
113 Canvas canvas = new Canvas(dstBitmap); in testRepeat()
133 Canvas canvas = new Canvas(dstBitmap); in testMirror()
DShadowNativeComposeShaderTest.java10 import android.graphics.Canvas;
41 Canvas canvas = new Canvas(bitmap); in testPorterDuff()
75 Canvas canvas = new Canvas(bitmap); in testBlendMode()
114 Canvas canvas = new Canvas(bitmap); in testXfermode()
143 Canvas canvas = new Canvas(bitmap); in testChildLocalMatrix()
DShadowNativeComposePathEffectTest.java7 import android.graphics.Canvas;
45 Canvas canvas = new Canvas(actual); in testComposePathEffect()
51 canvas = new Canvas(expected); in testComposePathEffect()
DShadowNativeSumPathEffectTest.java7 import android.graphics.Canvas;
38 Canvas canvas = new Canvas(expected); in testSumPathEffect()
53 canvas = new Canvas(bitmap); in testSumPathEffect()
/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/modules/canvaskit/
Dinterface.js464 CanvasKit.Canvas.prototype.clear = function(color4f) { class
470 CanvasKit.Canvas.prototype.clipRRect = function(rrect, op, antialias) {
476 CanvasKit.Canvas.prototype.clipRect = function(rect, op, antialias) {
484 CanvasKit.Canvas.prototype.concat = function(matr) {
490 CanvasKit.Canvas.prototype.drawArc = function(oval, startAngle, sweepAngle, useCenter, paint) {
500 CanvasKit.Canvas.prototype.drawAtlas = function(atlas, srcRects, dstXforms, paint,
556 CanvasKit.Canvas.prototype.drawCircle = function(cx, cy, r, paint) {
561 CanvasKit.Canvas.prototype.drawColor = function(color4f, mode) {
571 CanvasKit.Canvas.prototype.drawColorInt = function(color, mode) {
576 CanvasKit.Canvas.prototype.drawColorComponents = function(r, g, b, a, mode) {
[all …]
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSurface.java10 import android.graphics.Canvas;
37 private Canvas canvas;
94 protected Canvas lockCanvas(Rect inOutDirty) { in lockCanvas()
98 canvas = new Canvas(); in lockCanvas()
104 protected Canvas lockHardwareCanvas() { in lockHardwareCanvas()
112 protected void unlockCanvasAndPost(Canvas canvas) { in unlockCanvasAndPost()
162 Canvas lockHardwareCanvas(); in lockHardwareCanvas()
DShadowImageReader.java8 import android.graphics.Canvas;
42 private Canvas canvas;
95 public Canvas lockCanvas(Rect inOutDirty) { in lockCanvas()
97 canvas = new Canvas(); in lockCanvas()
103 public Canvas lockHardwareCanvas() { in lockHardwareCanvas()
105 canvas = new Canvas(); in lockHardwareCanvas()
111 public void unlockCanvasAndPost(Canvas canvas) { in unlockCanvasAndPost()
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()
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/renderer/
DDataRenderer.java4 import android.graphics.Canvas;
129 public abstract void drawData(Canvas c); in drawData()
136 public abstract void drawValues(Canvas c); in drawValues()
150 …public void drawValue(Canvas c, IValueFormatter formatter, float value, Entry entry, int dataSetIn… in drawValue()
160 public abstract void drawExtras(Canvas c); in drawExtras()
168 public abstract void drawHighlighted(Canvas c, Highlight[] indices); in drawHighlighted()
DScatterChartRenderer.java4 import android.graphics.Canvas;
37 public void drawData(Canvas c) { in drawData()
50 protected void drawDataSet(Canvas c, IScatterDataSet dataSet) { in drawDataSet()
96 public void drawValues(Canvas c) { in drawValues()
168 public void drawExtras(Canvas c) { in drawExtras()
172 public void drawHighlighted(Canvas c, Highlight[] indices) { in drawHighlighted()
/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/graphics/
DCanvasTest.java16 Canvas canvas = new Canvas(); in getClipBounds_emptyClip()
25 Canvas canvas = new Canvas(bitmap); in getClipBounds_backingBitmap()
DBitmapTest.java58 Canvas canvas = picture.beginRecording(200, 100); in createBitmap()
195 Canvas canvas = new Canvas(bitmap); in colorDrawable_drawToBitmap()
208 Canvas canvas = new Canvas(output); in drawCanvas_bitmap_sameSize()
218 Canvas canvas = new Canvas(output); in drawCanvas_bitmap_centered()
231 Canvas canvas = new Canvas(output); in drawCanvas_overflow_topLeft()
243 Canvas canvas = new Canvas(output); in drawCanvas_overflow_topRight()
255 Canvas canvas = new Canvas(output); in drawCanvas_overflow_bottomLeft()
267 Canvas canvas = new Canvas(output); in drawCanvas_overflow_bottomRight()
333 Canvas canvas = new Canvas(bitmap); in recompress_png100_samePixelss()
/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()
/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()
/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/tools/android/test/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()
/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()

12345678910>>...14