/test/xts/hats/hdf/display/composer/moduletest/ |
H A D | hdi_device_test.cpp | 148 // 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 D | NativeDrawingBrushTest.cpp | 79 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 D | OH_Drawing_TypographyTest.cpp | 1424 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 D | DrawingNativeBrushTest.cpp | 393 // 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 D | DrawingNativePenTest.cpp | 357 // 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 D | hdi_composition_check.cpp | 36 // 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 D | hdi_test_layer.cpp | 213 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 D | display_test_utils.h | 64 int32_t alpha = -1; member
|
H A D | hdi_test_layer.h | 85 void SetAlpha(LayerAlpha alpha);
|
/test/xts/hats/hdf/display/composer/benchmark/ |
H A D | display_benchmark_test.cpp | 99 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 D | hdi_composer_ut.cpp | 77 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 D | lrn_test.cpp | 39 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 D | arkoala_api.h | 4468 void (*setShadowAlpha)(ArkUINodeHandle node, ArkUI_Float32 alpha); 4660 void (*setAlpha)(ArkUIPaintHandle paint, ArkUI_Float32 alpha);
|