H A D | DrawingNativeShaderEffectTest.cpp | 127 float pos[3] = {0.0f, 0.5f, 1.0f}; in HWTEST_F() local 140 OH_Drawing_ShaderEffectCreateLinearGradientWithLocalMatrix(&start, &end, colors, pos, 3, mode, matrix); in HWTEST_F() 144 // 2. Test OH_Drawing_ShaderEffectCreateLinearGradientWithLocalMatrix with pos set to NULL in HWTEST_F() 149 &start, &end, colors, pos, 3, OH_Drawing_TileMode::CLAMP, nullptr); in HWTEST_F() 168 float pos[3] = {0.0f, 0.5f, 1.0f}; in HWTEST_F() local 180 OH_Drawing_ShaderEffectCreateLinearGradientWithLocalMatrix(nullptr, &end, colors, pos, 3, modes[0], matrix); in HWTEST_F() 185 OH_Drawing_ShaderEffectCreateLinearGradientWithLocalMatrix(&start, nullptr, colors, pos, 3, modes[0], matrix); in HWTEST_F() 190 OH_Drawing_ShaderEffectCreateLinearGradientWithLocalMatrix(&start, &end, nullptr, pos, 3, modes[0], matrix); in HWTEST_F() 210 float pos[3] = {0.0f, 0.5f, 1.0f}; in HWTEST_F() local 222 OH_Drawing_ShaderEffectCreateLinearGradientWithLocalMatrix(&start, &end, colors, pos, in HWTEST_F() 256 float pos[3] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local 303 float pos[3] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local 327 float pos[3] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local 360 float pos[3] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local 396 float pos[3] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local 437 float pos[3] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local 478 float pos[3] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local 501 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local 533 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local 563 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local 596 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local 629 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local 648 float pos[] = {0.0f, 0.5f, 1.0f}; // 0.5f: gradient color points, 1.0f: gradient color points HWTEST_F() local 688 float pos[] = {0.0f, 0.5f, 1.0f}; // 0.5f: gradient color points, 1.0f: gradient color points HWTEST_F() local 724 float pos[] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local 763 float pos[] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local 802 float pos[] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local 825 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local 856 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local 882 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local 915 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local 948 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local 1059 float pos[3] = {0.0f, 0.5f, 1.0f}; // 0.5f: gradient color points, 1.0f: gradient color points HWTEST_F() local 1110 float pos[3] = {0.0f, 0.5f, 1.0f}; // 0.5f: gradient color points, 1.0f: gradient color points HWTEST_F() local 1159 float pos[3] = {0.0f, 0.5f, 1.0f}; // 0.5f: gradient color points, 1.0f: gradient color points HWTEST_F() local 1207 float pos[3] = {0.0f, 0.5f, 1.0f}; // 0.5f: gradient color points, 1.0f: gradient color points HWTEST_F() local 1255 float pos[3] = {0.0f, 0.5f, 1.0f}; // 0.5f: gradient color points, 1.0f: gradient color points HWTEST_F() local 1279 float pos[3] = {0.0f, 0.5f, 1.0f}; // 0.5f: gradient color points, 1.0f: gradient color points HWTEST_F() local [all...] |