Home
last modified time | relevance | path

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

1234

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DCanvasTest.java28 Canvas canvas = new Canvas(targetBitmap); in shouldDescribeBitmapDrawing()
41 Canvas canvas = new Canvas(targetBitmap); in shouldDescribeBitmapDrawing_WithMatrix()
54 Canvas canvas = new Canvas(targetBitmap); in visualize_shouldReturnDescription()
65 Canvas canvas = new Canvas(targetBitmap); in drawColor_shouldReturnDescription()
75 Canvas canvas = new Canvas(targetBitmap); in drawPath_shouldRecordThePathAndThePaint()
91 Canvas canvas = new Canvas(targetBitmap); in drawPath_shouldAppendDescriptionToBitmap()
DBitmapTest.java5 import android.graphics.Canvas;
88 Canvas canvas = new Canvas(bitmap1); in shouldReceiveDescriptionWhenDrawingToCanvas()
102 Canvas canvas = new Canvas(bitmap1); in shouldReceiveDescriptionWhenDrawingToCanvasWithBitmapAndMatrixAndPaint()
116 Canvas canvas = new Canvas(bitmap1); in shouldReceiveDescriptionWhenDrawABitmapToCanvasWithAPaintEffect()
DBitmapDrawableTest.java4 import android.graphics.Canvas;
42 Canvas canvas = new Canvas(); in draw_shouldCopyDescriptionToCanvas()
59 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()
65 canvas.save(Canvas.ALL_SAVE_FLAG); in drawSeriesLegendIcon()
DLayoutManager.java82 public void draw(Canvas canvas) throws PlotRenderException { in draw()
92 canvas.save(Canvas.ALL_SAVE_FLAG); in draw()
148 private void drawSpacing(Canvas canvas, RectF outer, RectF inner, Paint paint) { in drawSpacing()
151 canvas.save(Canvas.ALL_SAVE_FLAG); in drawSpacing()
160 protected void drawAnchor(Canvas canvas, PointF coords) { in drawAnchor()
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/
DLwjglApplet.java21 import java.awt.Canvas;
28 final Canvas canvas;
33 public LwjglAppletApplication (ApplicationListener listener, Canvas canvas) { in LwjglAppletApplication()
37 …public LwjglAppletApplication (ApplicationListener listener, Canvas canvas, LwjglApplicationConfig… in LwjglAppletApplication()
49 canvas = new Canvas() { in LwjglApplet()
69 canvas = new Canvas() { in LwjglApplet()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSurfaceView.java3 import android.graphics.Canvas;
42 @Override public Canvas lockCanvas() { in getHolder()
46 @Override public Canvas lockCanvas(Rect rect) { in getHolder()
50 @Override public void unlockCanvasAndPost(Canvas canvas) { in getHolder()
/external/chromium-trace/catapult/third_party/flot/
Djquery.flot.canvas.js44 var Canvas = classes.Canvas;
51 getTextInfo = Canvas.prototype.getTextInfo,
52 addText = Canvas.prototype.addText,
53 render = Canvas.prototype.render;
58 Canvas.prototype.render = function() { class
147 Canvas.prototype.getTextInfo = function(layer, text, font, angle, width) {
266 Canvas.prototype.addText = function(layer, x, y, text, font, angle, width, halign, valign) {
Djquery.flot.canvas.min.js7Canvas=classes.Canvas;if(render==null){getTextInfo=Canvas.prototype.getTextInfo,addText=Canvas.pro… class
/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/skia/platform_tools/android/apps/canvasproof/src/main/java/org/skia/canvasproof/
DHwuiPictureView.java12 import android.graphics.Canvas;
42 protected void onDraw(Canvas canvas) { in onDraw()
54 static private void draw(Canvas canvas, Picture p) { in draw()
67 (new Canvas(bm)).drawPicture(p); in draw()
/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/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()
DLineAndPointRenderer.java38 public void onRender(Canvas canvas, RectF plotArea) throws PlotRenderException { in onRender()
52 public void doDrawLegendIcon(Canvas canvas, RectF rect, LineAndPointFormatter formatter) { in doDrawLegendIcon()
79 …protected void drawSeries(Canvas canvas, RectF plotArea, XYSeries series, LineAndPointFormatter fo… in drawSeries()
155 …protected void renderPath(Canvas canvas, RectF plotArea, Path path, PointF firstPoint, PointF last… in renderPath()
208 canvas.save(Canvas.ALL_SAVE_FLAG); in renderPath()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DUberColorPickerDialog.java39 import android.graphics.Canvas;
181 private Canvas mVerSliderCv;
184 private Canvas[] mHorSlidersCv = new Canvas[3];
316 mVerSliderCv = new Canvas(mVerSliderBM); in ColorPickerView()
320 mHorSlidersCv[i] = new Canvas(mHorSlidersBM[i]); in ColorPickerView()
359 protected void onDraw(Canvas canvas) { in onDraw()
375 private void drawSwatches(Canvas canvas) { in drawSwatches()
404 private void writeColorParams(Canvas canvas) { in writeColorParams()
433 private void mark2DPalette(Canvas canvas, int markerPosX, int markerPosY) { in mark2DPalette()
445 private void markVerSlider(Canvas canvas, int markerPos) { in markVerSlider()
[all …]
/external/droiddriver/src/io/appium/droiddriver/instrumentation/
DInstrumentationUiDevice.java21 import android.graphics.Canvas;
76 Canvas canvas = new Canvas(); in call()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/
DEmptyWidget.java19 import android.graphics.Canvas;
31 protected void doOnDraw(Canvas canvas, RectF widgetRect) throws PlotRenderException { in doOnDraw()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
DMockCanvas.java3 import android.graphics.Canvas;
11 @MockClass(realClass = Canvas.class, stubs="", inverse=true)
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/
DXYLegendWidgetTest.java56 public void doOnDraw(Canvas canvas, RectF widgetRect) {} in doOnDraw()
88 Deencapsulation.invoke(plot, "onDraw", new Canvas()); in testDoOnDraw()
97 Deencapsulation.invoke(plot, "onDraw", new Canvas()); in testDoOnDraw()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DEglBase10.java30 import android.graphics.Canvas;
115 public Canvas lockCanvas() { in createSurface()
120 public Canvas lockCanvas(Rect rect) { in createSurface()
125 public void unlockCanvasAndPost(Canvas canvas) {} in createSurface()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/
DPlotTest.java53 RectF.class, Rect.class, FontUtils.class, Canvas.class,
61 public void onBeforeDraw(Plot source, Canvas canvas) {} in onBeforeDraw()
64 public void onAfterDraw(Plot source, Canvas canvas) {} in onAfterDraw()
96 public void onRender(Canvas canvas, RectF plotArea) throws PlotRenderException { in onRender()
101 public void doDrawLegendIcon(Canvas canvas, RectF rect, Formatter formatter) { in doDrawLegendIcon()
112 public void onRender(Canvas canvas, RectF plotArea) throws PlotRenderException { in onRender()
117 public void doDrawLegendIcon(Canvas canvas, RectF rect, Formatter formatter) { in doDrawLegendIcon()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/
DPieRenderer.java52 public void onRender(Canvas canvas, RectF plotArea) throws PlotRenderException { in onRender()
79 protected void drawSegment(Canvas canvas, RectF bounds, Segment seg, SegmentFormatter f, in drawSegment()
161 protected void drawSegmentLabel(Canvas canvas, PointF origin, in drawSegmentLabel()
168 protected void doDrawLegendIcon(Canvas canvas, RectF rect, SegmentFormatter formatter) { in doDrawLegendIcon()
/external/skia/platform_tools/android/examples/hello_skia_app/src/com/example/
DHelloSkiaActivity.java9 import android.graphics.Canvas;
63 protected void onDraw(Canvas canvas) { in onDraw()

1234