Lines Matching refs:alpha
393 // 2. Set the alpha value of the brush object by calling OH_Drawing_BrushSetAlpha
395 // 3. Get the alpha value of the brush object by calling OH_Drawing_BrushGetAlpha
396 uint8_t alpha = OH_Drawing_BrushGetAlpha(brush);
397 EXPECT_EQ(alpha, 128);
430 // 2. Set the alpha value of the brush object by calling OH_Drawing_BrushSetAlpha
432 // 3. Get the alpha value of the brush object by calling OH_Drawing_BrushGetAlpha
433 uint8_t alpha = OH_Drawing_BrushGetAlpha(brush);
434 EXPECT_EQ(alpha, 128);
471 // 3. Call OH_Drawing_BrushGetAlpha to get the alpha value
472 uint8_t alpha = OH_Drawing_BrushGetAlpha(brush);
473 EXPECT_EQ(alpha, 0xff);
489 // 2. Set the alpha value of the brush object by calling OH_Drawing_BrushSetAlpha with a value greater than the
492 // 3. Get the alpha value of the brush object by calling OH_Drawing_BrushGetAlpha
493 uint8_t alpha = OH_Drawing_BrushGetAlpha(brush);
494 EXPECT_EQ(alpha, 0);