Searched refs:stopCount (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/shaders/gradients/ |
D | SkGradientShaderBase.cpp | 330 size_t stopCount = count; in AppendGradientFillStages() local 331 float gapCount = stopCount - 1; in AppendGradientFillStages() 334 for (size_t i = 0; i < stopCount - 1; i++) { in AppendGradientFillStages() 339 add_const_color(ctx, stopCount - 1, c_l); in AppendGradientFillStages() 341 ctx->stopCount = stopCount; in AppendGradientFillStages() 360 size_t stopCount = 0; in AppendGradientFillStages() local 363 add_const_color(ctx, stopCount++, c_l); in AppendGradientFillStages() 370 init_stop_pos(ctx, stopCount, t_l, t_r, c_l, c_r); in AppendGradientFillStages() 371 stopCount += 1; in AppendGradientFillStages() 377 ctx->ts[stopCount] = t_l; in AppendGradientFillStages() [all …]
|
/external/skia/modules/skottie/src/layers/shapelayer/ |
D | Gradient.cpp | 30 const auto stopCount = ParseDefault<int>((*jstops)["p"], -1); in Make() local 31 if (stopCount < 0) in Make() 42 SkToSizeT(stopCount), in Make()
|
/external/skia/src/core/ |
D | SkRasterPipelineOpContexts.h | 120 size_t stopCount; member
|
/external/skia/src/opts/ |
D | SkRasterPipeline_opts.h | 2922 if (c->stopCount <=8) { in gradient_lookup() 2952 auto idx = trunc_(t * (c->stopCount-1)); in STAGE() 2961 for (size_t i = 1; i < c->stopCount; i++) { in STAGE() 5126 if (c->stopCount <=8) { 5170 for (size_t i = 1; i < c->stopCount; i++) { 5179 auto idx = trunc_(t * (c->stopCount-1));
|