Home
last modified time | relevance | path

Searched refs:canvas (Results 1 – 24 of 24) sorted by relevance

/test/xts/acts/graphic/webGL/src/main/js/TestAbility/pages/index/
Dindex.hml5 …<canvas ref='canvas1' id='canvas1' style='width:400px;height:200px;background-color:brown;'></canv…
6 …<canvas ref='canvas2' id='canvas2' style='width:400px;height:200px;background-color:royalblue;'></
/test/xts/acts/arkui/ace_ets_component_three/entry/src/main/ets/test/
DCanvasJsunit.test.ets23 console.info("canvas beforeEach start");
25 uri: 'MainAbility/pages/canvas',
30 console.info("get canvas state pages:" + JSON.stringify(pages));
31 if (!("canvas" == pages.name)) {
32 console.info("get canvas state pages.name:" + JSON.stringify(pages.name));
35 console.info("push canvas page result:" + JSON.stringify(result));
38 console.error("push canvas page error:" + err);
45 console.info("canvas after each called");
DCanvas2Jsunit.test.ets23 console.info("canvas beforeEach start");
38 console.error("push canvas page error:" + err);
/test/xts/acts/arkui/ace_standard/src/main/js/default/pages/obj_ImageBitmap/prop/
Dindex.js28 const canvas =this.$refs.canvas1
29 var ctx = canvas.getContext('2d');
47 const canvas =this.$refs.canvas2
48 var ctx = canvas.getContext('2d');
/test/xts/acts/arkui/ace_standard/src/main/js/MainAbility/pages/obj_ImageBitmap/prop/
Dindex.js28 const canvas =this.$refs.canvas1
29 var ctx = canvas.getContext('2d');
47 const canvas =this.$refs.canvas2
48 var ctx = canvas.getContext('2d');
/test/xts/acts/arkui/ace_ets_component_ArkUI_test/entry/src/main/ets/MainAbility/pages/
DdrawCanvas.ets18 AppStorage.setOrCreate<drawing.Canvas | undefined>("canvas", undefined)
22 let canvas: drawing.Canvas = context.canvas;
23 AppStorage.setOrCreate<drawing.Canvas | undefined>("canvas", context.canvas);
/test/xts/acts/arkui/ace_standard/src/main/js/default/pages/obj_ImageBitmap/router/
Dindex.js27 const canvas =this.$refs.canvas1
28 var ctx = canvas.getContext('2d');
/test/xts/acts/arkui/ace_standard/src/main/js/MainAbility/pages/obj_ImageBitmap/router/
Dindex.js27 const canvas =this.$refs.canvas1
28 var ctx = canvas.getContext('2d');
/test/xts/acts/arkui/ace_ets_component_attrlack/entry/src/main/ets/test/
Dcanvas.test.ets25 uri: 'MainAbility/pages/canvas',
30 console.info("get canvas state success " + JSON.stringify(pages));
31 if (!("canvas" == pages.name)) {
32 console.info("get canvas state success " + JSON.stringify(pages.name));
35 console.info("push canvas page success " + JSON.stringify(result));
38 console.error("push canvas page error: " + err);
DList.test.ets22 import canvasActualBoundingBoxAscentJsunit from './canvas.test.ets';
/test/xts/acts/graphic/graphicDrawing/entry/src/main/ets/test/
DgraphicDrawing.test.ets449 let canvas = new drawing.Canvas(pixel)
488 canvas.attachBrush(brush);
494 canvas.drawTextBlob(textBlob, 20, 20);
500 canvas.detachBrush();
1121 let canvas = new drawing.Canvas(pixel)
1122 console.info(msg + 'canvas is: ' + JSON.stringify(canvas));
1141 canvas.attachPen(pen);
1149 canvas.drawRect({
1159 canvas.detachPen();
1178 let canvas = new drawing.Canvas(pixel)
[all …]
/test/xts/acts/arkui/ace_ets_component_three/entry/src/main/ets/MainAbility/pages/
Dcanvas.ets385 console.info("[canvas] get transform----" + data);
405 console.info("[canvas] create image data-----" + JSON.stringify(imageData));
411 console.info("[canvas] create image data by image data----" + JSON.stringify(imgData));
417 console.info("[canvas] get image data-----" + JSON.stringify(data));
423 console.info("[canvas] get image width-----" + width);
429 console.info("[canvas] get image height-----" + height);
486 console.info("[canvas] canvas rendering context2D toDataURL-----" + JSON.stringify(dataUrl));
491 console.info("[canvas] canvas width---" + width);
496 console.info("[canvas] canvas height---" + height);
513 console.info("[canvas] textMetrics info---" + JSON.stringify(obj));
[all …]
Dcanvas2.ets58 …console.info("[canvas] offContext canvas rendering context2D toDataURL-----" + JSON.stringify(data…
/test/xts/acts/arkui/ace_standard/src/main/js/default/pages/obj_OffscreenCanvasRenderingContext2D/router/
Dindex.js292 var canvas = this.$refs.function13.getContext('2d');
301 canvas.transferFromImageBitmap(bitmap);
308 var canvas = this.$refs.function14.getContext('2d');
317 canvas.transferFromImageBitmap(bitmap);
323 var canvas = this.$refs.function15.getContext('2d');
339 canvas.transferFromImageBitmap(bitmap);
/test/xts/acts/arkui/ace_standard/src/main/js/MainAbility/pages/obj_OffscreenCanvasRenderingContext2D/router/
Dindex.js292 var canvas = this.$refs.function13.getContext('2d');
301 canvas.transferFromImageBitmap(bitmap);
308 var canvas = this.$refs.function14.getContext('2d');
317 canvas.transferFromImageBitmap(bitmap);
323 var canvas = this.$refs.function15.getContext('2d');
339 canvas.transferFromImageBitmap(bitmap);
/test/xts/acts/graphic/graphicnapidrawingtest/
DNativeDrawingCanvasTest.cpp600 OH_Drawing_Canvas* canvas = OH_Drawing_CanvasCreate(); variable
601 EXPECT_EQ(canvas == nullptr, false);
609 OH_Drawing_CanvasAttachPen(canvas, pen);
611 OH_Drawing_CanvasDrawRect(canvas, rect);
616 OH_Drawing_CanvasDestroy(canvas);
626 OH_Drawing_Canvas* canvas = OH_Drawing_CanvasCreate(); variable
627 EXPECT_EQ(canvas == nullptr, false);
636 OH_Drawing_CanvasAttachPen(canvas, pen);
638 OH_Drawing_CanvasDrawRect(canvas, rect);
644 OH_Drawing_CanvasDestroy(canvas);
/test/xts/acts/graphic/nativedrawing/entry/src/main/cpp/
DnativeDrawingndk.cpp210 OH_Drawing_Canvas *canvas = OH_Drawing_CanvasCreate(); in OHDrawingCanvasCreate() local
211 if (canvas == nullptr) { in OHDrawingCanvasCreate()
216 OH_Drawing_CanvasDestroy(canvas); in OHDrawingCanvasCreate()
1753 static napi_value GetCanvasResult(napi_env env, OH_Drawing_Canvas *canvas) in GetCanvasResult() argument
1756 if (canvas == nullptr) { in GetCanvasResult()
1761 OH_Drawing_CanvasDestroy(canvas); in GetCanvasResult()
1767 OH_Drawing_Canvas *canvas = OH_Drawing_CanvasCreate(); in OHDrawingCanvasCreateBitmap() local
1769 OH_Drawing_CanvasBind(canvas, bitmap); in OHDrawingCanvasCreateBitmap()
1771 return GetCanvasResult(env, canvas); in OHDrawingCanvasCreateBitmap()
1776 OH_Drawing_Canvas *canvas = OH_Drawing_CanvasCreate(); in OHDrawingCanvasCreatePen() local
[all …]
/test/xts/acts/arkui/ace_standard/src/main/js/default/pages/obj_CanvasGradient/router/
Dindex.js26 const el =this.$refs.canvas;
/test/xts/acts/arkui/ace_standard/src/main/js/MainAbility/pages/obj_CanvasGradient/router/
Dindex.js26 const el =this.$refs.canvas;
/test/xts/acts/arkui/ace_js_attribute_api/src/main/js/MainAbility/pages/canvas/router/
Dindex.js21 this.ctx = this.$refs.canvas.getContext("2d");
Dindex.css22 canvas{ selector
/test/xts/acts/arkui/ace_ets_component_ArkUI_test/entry/src/main/ets/test/
DdrawCanvas.test.ets59 … let value: drawing.Canvas | undefined = AppStorage.get<drawing.Canvas | undefined>("canvas");
/test/xts/acts/arkui/ace_ets_webView/entry/src/main/resources/rawfile/css/
Dreset.css25 article, aside, canvas, details, figcaption, figure, selector
/test/xts/acts/graphic/graphicDrawing/entry/src/main/ets/MainAbility/pages/index/
Dindex.ets37 console.log('enter draw canvas is: ' + JSON.stringify(context))