Home
last modified time | relevance | path

Searched refs:alpha (Results 1 - 13 of 13) sorted by relevance

/test/xts/hats/hdf/display/composer/moduletest/
H A Dhdi_device_test.cpp148 // alpha layer test
153 .alpha = 0xFF
160 .alpha = 0xFF
167 .alpha = 0xFF
175 .alpha = 0xFF,
183 .alpha = 0xFF,
191 .alpha = 0xFF,
247 if ((setting.alpha >= 0) && (setting.alpha <= 0xff)) { // alpha ran in CreateTestLayer()
248 LayerAlpha alpha = { 0 }; CreateTestLayer() local
[all...]
/test/xts/acts/graphic/graphicnapidrawingtest/
H A DNativeDrawingBrushTest.cpp79 constexpr uint8_t alpha = 128; in HWTEST_F() local
80 OH_Drawing_BrushSetAlpha(brush1, alpha); in HWTEST_F()
81 EXPECT_EQ(OH_Drawing_BrushGetAlpha(brush1), alpha); in HWTEST_F() local
111 constexpr uint8_t alpha = 128; in HWTEST_F() local
112 OH_Drawing_BrushSetAlpha(brush1, alpha); in HWTEST_F()
H A DOH_Drawing_TypographyTest.cpp1424 uint8_t alpha = 128; in HWTEST_F() local
1425 OH_Drawing_BrushSetAlpha(foregroundBrush, alpha); in HWTEST_F()
1431 EXPECT_EQ(OH_Drawing_BrushGetAlpha(resForegroundBrush), alpha); in HWTEST_F() local
/test/xts/acts/graphic/acts_drawing_native/
H A DDrawingNativeBrushTest.cpp393 // 2. Set the alpha value of the brush object by calling OH_Drawing_BrushSetAlpha in HWTEST_F()
395 // 3. Get the alpha value of the brush object by calling OH_Drawing_BrushGetAlpha in HWTEST_F()
396 uint8_t alpha = OH_Drawing_BrushGetAlpha(brush); in HWTEST_F() local
397 EXPECT_EQ(alpha, 128); in HWTEST_F()
430 // 2. Set the alpha value of the brush object by calling OH_Drawing_BrushSetAlpha in HWTEST_F()
432 // 3. Get the alpha value of the brush object by calling OH_Drawing_BrushGetAlpha in HWTEST_F()
433 uint8_t alpha = OH_Drawing_BrushGetAlpha(brush); in HWTEST_F() local
434 EXPECT_EQ(alpha, 128); in HWTEST_F()
471 // 3. Call OH_Drawing_BrushGetAlpha to get the alpha value in HWTEST_F()
472 uint8_t alpha in HWTEST_F() local
493 uint8_t alpha = OH_Drawing_BrushGetAlpha(brush); HWTEST_F() local
[all...]
H A DDrawingNativePenTest.cpp357 // 2. Set the alpha value for the pen using OH_Drawing_PenSetAlpha in HWTEST_F()
359 // 3. Get the alpha value of the pen using OH_Drawing_PenGetAlpha in HWTEST_F()
360 uint8_t alpha = OH_Drawing_PenGetAlpha(pen); in HWTEST_F() local
361 EXPECT_EQ(alpha, 0x00); in HWTEST_F()
394 // 2. Set the alpha value for the pen using OH_Drawing_PenSetAlpha in HWTEST_F()
396 // 3. Get the alpha value of the pen using OH_Drawing_PenGetAlpha in HWTEST_F()
397 uint8_t alpha = OH_Drawing_PenGetAlpha(pen); in HWTEST_F() local
398 EXPECT_EQ(alpha, 0x00); in HWTEST_F()
414 // 2. Set the alpha value for the pen using OH_Drawing_PenSetAlpha with nullptr as the first parameter in HWTEST_F()
416 // 3. Set the alpha valu in HWTEST_F()
436 uint8_t alpha = OH_Drawing_PenGetAlpha(pen); HWTEST_F() local
[all...]
/test/xts/hats/hdf/display/composer/common/
H A Dhdi_composition_check.cpp36 // simple hande the alpha it may not compatible with all scenarios
42 if (layers.alpha != -1) { in SimpleHandleAlpha()
45 color = (color & WHITE_TRANSPARENT) | (layers.alpha & ALPHA); // get the alpha in SimpleHandleAlpha()
48 color = color * (layers.alpha * INV); in SimpleHandleAlpha()
49 color = (color & WHITE_TRANSPARENT) | (layers.alpha & ALPHA); // get the alpha in SimpleHandleAlpha()
H A Dhdi_test_layer.cpp213 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("set alpha failed")); in PreparePresent()
264 void HdiTestLayer::SetAlpha(LayerAlpha alpha) in SetAlpha() argument
267 alpha_ = alpha; in SetAlpha()
H A Ddisplay_test_utils.h64 int32_t alpha = -1; member
H A Dhdi_test_layer.h85 void SetAlpha(LayerAlpha alpha);
/test/xts/hats/hdf/display/composer/benchmark/
H A Ddisplay_benchmark_test.cpp99 if ((setting.alpha >= 0) && (setting.alpha <= 0xff)) { // alpha rang 0x00 ~ 0xff in CreateTestLayer()
100 LayerAlpha alpha = { 0 }; in CreateTestLayer() local
101 alpha.gAlpha = setting.alpha; in CreateTestLayer()
102 alpha.enGlobalAlpha = true; in CreateTestLayer()
103 layer->SetAlpha(alpha); in CreateTestLayer()
894 LayerAlpha alpha = { 0 }; in BENCHMARK_F() local
895 alpha in BENCHMARK_F()
[all...]
/test/xts/hats/hdf/display/composer/unittest/
H A Dhdi_composer_ut.cpp77 if ((setting.alpha >= 0) && (setting.alpha <= 0xff)) { // alpha rang 0x00 ~ 0xff in CreateTestLayer()
78 LayerAlpha alpha = { 0 }; in CreateTestLayer() local
79 alpha.gAlpha = setting.alpha; in CreateTestLayer()
80 alpha.enGlobalAlpha = true; in CreateTestLayer()
81 layer->SetAlpha(alpha); in CreateTestLayer()
691 * @tc.desc: Sets the alpha value for a layer
712 LayerAlpha alpha in HWTEST_F() local
[all...]
/test/xts/acts/ai/nncore/opstest/src/
H A Dlrn_test.cpp39 OHNNOperandTest alpha = {OH_NN_FLOAT32, OH_NN_LRN_ALPHA, {1}, alphaValue, sizeof(float)}; member
45 .operands = {input, output, depthRadius, alpha, beta, bias, normRegion},
92 graphArgs.operands = {lrnModel.input, lrnModel.input, lrnModel.output, lrnModel.depthRadius, lrnModel.alpha, in HWTEST_F()
114 graphArgs.operands = {lrnModel.input, lrnModel.output, lrnModel.output, lrnModel.depthRadius, lrnModel.alpha, in HWTEST_F()
139 graphArgs.operands = {lrnModel.input, lrnModel.output, activation, lrnModel.depthRadius, lrnModel.alpha, in HWTEST_F()
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/Dialog/
H A Darkoala_api.h4468 void (*setShadowAlpha)(ArkUINodeHandle node, ArkUI_Float32 alpha);
4660 void (*setAlpha)(ArkUIPaintHandle paint, ArkUI_Float32 alpha);

Completed in 34 milliseconds