Home
last modified time | relevance | path

Searched refs:ctx (Results 1 - 25 of 64) sorted by relevance

123

/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/compomettestjs/CanvasRenderingContext2D/
H A Dindex.js66 const ctx = el.getContext('2d');
67 ctx.fillStyle = '#0000ff';
68 ctx.fillRect(0, 0, 100, 30);
72 const ctx = el.getContext('2d');
73 ctx.lineWidth = 10;
74 ctx.strokeStyle = '#0000ff';
75 ctx.lineCap = 'round';
76 ctx.strokeRect(0, 0, 100, 30);
80 const ctx = el.getContext('2d');
81 ctx
[all...]
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/compomettestjs/jsCanavas/
H A Dindex.js57 const ctx = el.getContext('2d');
58 ctx.fillStyle = '#0000ff';
59 ctx.fillRect(0, 0, 100, 30);
63 const ctx = el.getContext('2d');
64 ctx.lineWidth = 10;
65 ctx.strokeStyle = '#0000ff';
66 ctx.lineCap = 'round';
67 ctx.strokeRect(0, 0, 100, 30);
71 const ctx = el.getContext('2d');
72 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/obj_CanvasRenderingContext2D/prop/
H A Dindex.js49 const ctx = el.getContext('2d');
50 ctx.fillStyle = '#0000ff';
51 ctx.fillRect(0, 0, 100, 30);
55 const ctx = el.getContext('2d');
56 ctx.lineWidth = 10;
57 ctx.lineCap = 'round';
58 ctx.strokeRect(0, 0, 100, 30);
62 const ctx = el.getContext('2d');
63 ctx.lineWidth = 8;
64 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/obj_CanvasRenderingContext2D/prop/
H A Dindex.js49 const ctx = el.getContext('2d');
50 ctx.fillStyle = '#0000ff';
51 ctx.fillRect(0, 0, 100, 30);
55 const ctx = el.getContext('2d');
56 ctx.lineWidth = 10;
57 ctx.lineCap = 'round';
58 ctx.strokeRect(0, 0, 100, 30);
62 const ctx = el.getContext('2d');
63 ctx.lineWidth = 8;
64 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/obj_CanvasRenderingContext2D/prop/
H A Dindex.js49 const ctx = el.getContext('2d');
50 ctx.fillStyle = '#0000ff';
51 ctx.fillRect(0, 0, 100, 30);
55 const ctx = el.getContext('2d');
56 ctx.lineWidth = 10;
57 ctx.lineCap = 'round';
58 ctx.strokeRect(0, 0, 100, 30);
62 const ctx = el.getContext('2d');
63 ctx.lineWidth = 8;
64 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/obj_CanvasRenderingContext2D/prop/
H A Dindex.js49 const ctx = el.getContext('2d');
50 ctx.fillStyle = '#0000ff';
51 ctx.fillRect(0, 0, 100, 30);
55 const ctx = el.getContext('2d');
56 ctx.lineWidth = 10;
57 ctx.lineCap = 'round';
58 ctx.strokeRect(0, 0, 100, 30);
62 const ctx = el.getContext('2d');
63 ctx.lineWidth = 8;
64 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/obj_CanvasRenderingContext2D/router/
H A Dindex.js56 const ctx = el.getContext('2d');
57 ctx.fillStyle = '#0000ff';
58 ctx.fillRect(0, 0, 100, 30);
62 const ctx = el.getContext('2d');
63 ctx.lineWidth = 10;
64 ctx.strokeStyle = '#0000ff';
65 ctx.lineCap = 'round';
66 ctx.strokeRect(0, 0, 100, 30);
70 const ctx = el.getContext('2d');
71 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/obj_CanvasRenderingContext2D/router/
H A Dindex.js56 const ctx = el.getContext('2d');
57 ctx.fillStyle = '#0000ff';
58 ctx.fillRect(0, 0, 100, 30);
62 const ctx = el.getContext('2d');
63 ctx.lineWidth = 10;
64 ctx.strokeStyle = '#0000ff';
65 ctx.lineCap = 'round';
66 ctx.strokeRect(0, 0, 100, 30);
70 const ctx = el.getContext('2d');
71 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/obj_CanvasRenderingContext2D/router/
H A Dindex.js56 const ctx = el.getContext('2d');
57 ctx.fillStyle = '#0000ff';
58 ctx.fillRect(0, 0, 100, 30);
62 const ctx = el.getContext('2d');
63 ctx.lineWidth = 10;
64 ctx.strokeStyle = '#0000ff';
65 ctx.lineCap = 'round';
66 ctx.strokeRect(0, 0, 100, 30);
70 const ctx = el.getContext('2d');
71 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/obj_CanvasRenderingContext2D/router/
H A Dindex.js56 const ctx = el.getContext('2d');
57 ctx.fillStyle = '#0000ff';
58 ctx.fillRect(0, 0, 100, 30);
62 const ctx = el.getContext('2d');
63 ctx.lineWidth = 10;
64 ctx.strokeStyle = '#0000ff';
65 ctx.lineCap = 'round';
66 ctx.strokeRect(0, 0, 100, 30);
70 const ctx = el.getContext('2d');
71 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/obj_OffscreenCanvasRenderingContext2D/router/
H A Dindex.js58 const ctx = el.getContext('2d');
59 ctx.fillStyle = '#0000ff';
60 ctx.fillRect(0, 0, 100, 30);
64 const ctx = el.getContext('2d');
65 ctx.lineWidth = 10;
66 ctx.strokeStyle = '#0000ff';
67 ctx.lineCap = 'round';
68 ctx.strokeRect(0, 0, 100, 30);
72 const ctx = el.getContext('2d');
73 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/obj_OffscreenCanvasRenderingContext2D/router/
H A Dindex.js58 const ctx = el.getContext('2d');
59 ctx.fillStyle = '#0000ff';
60 ctx.fillRect(0, 0, 100, 30);
64 const ctx = el.getContext('2d');
65 ctx.lineWidth = 10;
66 ctx.strokeStyle = '#0000ff';
67 ctx.lineCap = 'round';
68 ctx.strokeRect(0, 0, 100, 30);
72 const ctx = el.getContext('2d');
73 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/obj_OffscreenCanvasRenderingContext2D/router/
H A Dindex.js58 const ctx = el.getContext('2d');
59 ctx.fillStyle = '#0000ff';
60 ctx.fillRect(0, 0, 100, 30);
64 const ctx = el.getContext('2d');
65 ctx.lineWidth = 10;
66 ctx.strokeStyle = '#0000ff';
67 ctx.lineCap = 'round';
68 ctx.strokeRect(0, 0, 100, 30);
72 const ctx = el.getContext('2d');
73 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/obj_OffscreenCanvasRenderingContext2D/router/
H A Dindex.js58 const ctx = el.getContext('2d');
59 ctx.fillStyle = '#0000ff';
60 ctx.fillRect(0, 0, 100, 30);
64 const ctx = el.getContext('2d');
65 ctx.lineWidth = 10;
66 ctx.strokeStyle = '#0000ff';
67 ctx.lineCap = 'round';
68 ctx.strokeRect(0, 0, 100, 30);
72 const ctx = el.getContext('2d');
73 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/obj_OffscreenCanvasRenderingContext2D/prop/
H A Dindex.js44 const ctx = el.getContext('2d');
45 ctx.fillStyle = '#0000ff';
46 ctx.fillRect(0, 0, 100, 30);
50 const ctx = el.getContext('2d');
51 ctx.lineWidth = 10;
52 ctx.lineCap = 'round';
53 ctx.strokeRect(0, 0, 100, 30);
57 const ctx = el.getContext('2d');
58 ctx.lineWidth = 8;
59 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/obj_OffscreenCanvasRenderingContext2D/prop/
H A Dindex.js44 const ctx = el.getContext('2d');
45 ctx.fillStyle = '#0000ff';
46 ctx.fillRect(0, 0, 100, 30);
50 const ctx = el.getContext('2d');
51 ctx.lineWidth = 10;
52 ctx.lineCap = 'round';
53 ctx.strokeRect(0, 0, 100, 30);
57 const ctx = el.getContext('2d');
58 ctx.lineWidth = 8;
59 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/obj_OffscreenCanvasRenderingContext2D/prop/
H A Dindex.js44 const ctx = el.getContext('2d');
45 ctx.fillStyle = '#0000ff';
46 ctx.fillRect(0, 0, 100, 30);
50 const ctx = el.getContext('2d');
51 ctx.lineWidth = 10;
52 ctx.lineCap = 'round';
53 ctx.strokeRect(0, 0, 100, 30);
57 const ctx = el.getContext('2d');
58 ctx.lineWidth = 8;
59 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/obj_OffscreenCanvasRenderingContext2D/prop/
H A Dindex.js44 const ctx = el.getContext('2d');
45 ctx.fillStyle = '#0000ff';
46 ctx.fillRect(0, 0, 100, 30);
50 const ctx = el.getContext('2d');
51 ctx.lineWidth = 10;
52 ctx.lineCap = 'round';
53 ctx.strokeRect(0, 0, 100, 30);
57 const ctx = el.getContext('2d');
58 ctx.lineWidth = 8;
59 ctx
[all...]
/test/xts/acts/security/crypto_framework_napi_BasicTest/src/
H A Dcrypto_framework_digest_test.cpp58 EXPECT_EQ(OH_CryptoDigest_Update(in->ctx, in->in), CRYPTO_SUCCESS); in OH_CryptoDigestMultUpdate()
93 OH_CryptoDigest *ctx = nullptr; in HWTEST_P() local
103 ret = OH_CryptoDigest_Create((const char *)mdData.algName, &ctx); in HWTEST_P()
105 ret = OH_CryptoDigest_Update(ctx, &in); in HWTEST_P()
107 ret = OH_CryptoDigest_Final(ctx, &out); in HWTEST_P()
109 mdLen = OH_CryptoDigest_GetLength(ctx); in HWTEST_P()
111 OH_DigestCrypto_Destroy(ctx); in HWTEST_P()
125 OH_CryptoDigest *ctx = nullptr; in HWTEST_F() local
127 EXPECT_EQ(OH_CryptoDigest_Create("MD9", &ctx), CRYPTO_INVALID_PARAMS); in HWTEST_F()
129 EXPECT_EQ(OH_CryptoDigest_Create(nullptr, &ctx), CRYPTO_INVALID_PARAM in HWTEST_F()
142 OH_CryptoDigest *ctx = nullptr; HWTEST_F() local
170 OH_CryptoDigest *ctx = nullptr; HWTEST_F() local
199 OH_CryptoDigest *ctx = nullptr; HWTEST_P() local
233 OH_CryptoDigest *ctx = nullptr; HWTEST_P() local
267 OH_CryptoDigest *ctx = nullptr; HWTEST_P() local
309 OH_CryptoDigest *ctx = nullptr; HWTEST_P() local
334 OH_CryptoDigest *ctx = nullptr; HWTEST_P() local
[all...]
H A Dcrypto_framework_sym_key_test.cpp109 OH_CryptoSymKeyGenerator *ctx = nullptr; in HWTEST_P() local
116 ret = OH_CryptoSymKeyGenerator_Create((const char *)symKeyData.algName, &ctx); in HWTEST_P()
118 ret = OH_CryptoSymKeyGenerator_Generate(ctx, &keyCtx); in HWTEST_P()
120 const char *algoName1 = OH_CryptoSymKeyGenerator_GetAlgoName(ctx); in HWTEST_P()
126 ret = OH_CryptoSymKeyGenerator_Convert(ctx, &out, &convertKeyCtx); in HWTEST_P()
132 OH_CryptoSymKeyGenerator_Destroy(ctx); in HWTEST_P()
152 OH_CryptoSymKeyGenerator *ctx = nullptr; in HWTEST_P() local
163 ret = OH_CryptoSymKeyGenerator_Create((const char *)symKeyData.algName, &ctx); in HWTEST_P()
165 ret = OH_CryptoSymKeyGenerator_Convert(ctx, &in, &convertKeyCtx); in HWTEST_P()
173 OH_CryptoSymKeyGenerator_Destroy(ctx); in HWTEST_P()
188 OH_CryptoSymKeyGenerator *ctx = nullptr; HWTEST_F() local
207 OH_CryptoSymKeyGenerator *ctx = nullptr; HWTEST_F() local
228 OH_CryptoSymKeyGenerator *ctx = nullptr; HWTEST_F() local
246 OH_CryptoSymKeyGenerator *ctx = nullptr; HWTEST_F() local
287 OH_CryptoSymKeyGenerator *ctx = nullptr; HWTEST_F() local
311 OH_CryptoSymKeyGenerator *ctx = nullptr; HWTEST_F() local
347 OH_CryptoSymKeyGenerator *ctx = nullptr; HWTEST_F() local
377 OH_CryptoSymKeyGenerator *ctx = nullptr; HWTEST_F() local
[all...]
H A Dcrypto_framework_asym_key_test.cpp114 static OH_Crypto_ErrCode Rsa_PubkeyEncode(OH_CryptoAsymKeyGenerator *ctx, OH_CryptoPubKey *pubKey, OH_CryptoKeyPair **dupKeyPair) in Rsa_PubkeyEncode() argument
123 ret = OH_CryptoAsymKeyGenerator_Convert(ctx, CRYPTO_PEM, &retBlob, nullptr, dupKeyPair); in Rsa_PubkeyEncode()
130 static OH_Crypto_ErrCode Ecc_PubkeyEncode(OH_CryptoAsymKeyGenerator *ctx, OH_CryptoPubKey *pubKey, OH_CryptoKeyPair **dupKeyPair) in Ecc_PubkeyEncode() argument
139 ret = OH_CryptoAsymKeyGenerator_Convert(ctx, CRYPTO_DER, &retBlob, nullptr, dupKeyPair); in Ecc_PubkeyEncode()
146 static OH_Crypto_ErrCode PubkeyEncode(OH_CryptoAsymKeyGenerator *ctx, OH_CryptoPubKey *pubKey, OH_CryptoKeyPair **dupKeyPair) in PubkeyEncode() argument
155 ret = OH_CryptoAsymKeyGenerator_Convert(ctx, CRYPTO_DER, &retBlob, nullptr, dupKeyPair); in PubkeyEncode()
207 OH_CryptoAsymKeyGenerator *ctx = nullptr; in HWTEST_P() local
211 ret = OH_CryptoAsymKeyGenerator_Create((const char *)AsymKeyData.algName, &ctx); in HWTEST_P()
214 ret = OH_CryptoAsymKeyGenerator_Generate(ctx, &keyPair); in HWTEST_P()
217 const char *algoName = OH_CryptoAsymKeyGenerator_GetAlgoName(ctx); in HWTEST_P()
267 OH_CryptoAsymKeyGenerator *ctx = nullptr; HWTEST_F() local
284 OH_CryptoAsymKeyGenerator *ctx = nullptr; HWTEST_F() local
301 OH_CryptoAsymKeyGenerator *ctx = nullptr; HWTEST_F() local
329 OH_CryptoAsymKeyGenerator *ctx = nullptr; HWTEST_F() local
359 OH_CryptoAsymKeyGenerator *ctx = nullptr; HWTEST_F() local
396 OH_CryptoAsymKeyGenerator *ctx = nullptr; HWTEST_F() local
456 OH_CryptoAsymKeyGenerator *ctx = nullptr; HWTEST_F() local
486 OH_CryptoAsymKeyGenerator *ctx = nullptr; HWTEST_F() local
522 OH_CryptoAsymKeyGenerator *ctx = nullptr; HWTEST_F() local
549 OH_CryptoAsymKeyGenerator *ctx = nullptr; HWTEST_F() local
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/obj_Path2D/router/
H A Dindex.js37 const ctx = el.getContext('2d');
38 var path1 = ctx.createPath2D("M80 20 L40 100 L120 100 Z");
39 var path2 = ctx.createPath2D();
41 ctx.stroke(path2);
45 const ctx = el.getContext('2d');
46 var path = ctx.createPath2D("M80 20 L40 100 L120 100 Z");
48 ctx.stroke(path);
53 const ctx = el.getContext('2d');
54 var path = ctx.createPath2D();
59 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/obj_Path2D/router/
H A Dindex.js37 const ctx = el.getContext('2d');
38 var path1 = ctx.createPath2D("M80 20 L40 100 L120 100 Z");
39 var path2 = ctx.createPath2D();
41 ctx.stroke(path2);
45 const ctx = el.getContext('2d');
46 var path = ctx.createPath2D("M80 20 L40 100 L120 100 Z");
48 ctx.stroke(path);
53 const ctx = el.getContext('2d');
54 var path = ctx.createPath2D();
59 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/obj_Path2D/router/
H A Dindex.js37 const ctx = el.getContext('2d');
38 var path1 = ctx.createPath2D("M80 20 L40 100 L120 100 Z");
39 var path2 = ctx.createPath2D();
41 ctx.stroke(path2);
45 const ctx = el.getContext('2d');
46 var path = ctx.createPath2D("M80 20 L40 100 L120 100 Z");
48 ctx.stroke(path);
53 const ctx = el.getContext('2d');
54 var path = ctx.createPath2D();
59 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/obj_Path2D/router/
H A Dindex.js37 const ctx = el.getContext('2d');
38 var path1 = ctx.createPath2D("M80 20 L40 100 L120 100 Z");
39 var path2 = ctx.createPath2D();
41 ctx.stroke(path2);
45 const ctx = el.getContext('2d');
46 var path = ctx.createPath2D("M80 20 L40 100 L120 100 Z");
48 ctx.stroke(path);
53 const ctx = el.getContext('2d');
54 var path = ctx.createPath2D();
59 ctx
[all...]

Completed in 7 milliseconds

123