Home | History | Annotate | Download | only in gradients

Lines Matching refs:colorCount

39         Thus colorCount (the caller's value, and fColorCount (our value) may
41 colorCount = 2
155 int colorCount = fColorCount = buffer.getArrayCount();
156 if (colorCount > kColorStorageCount) {
158 fOrigColors = (SkColor*)sk_malloc_throw(size * colorCount);
170 fRecs = (Rec*)(fOrigColors + colorCount);
171 if (colorCount > 2) {
174 for (int i = 1; i < colorCount; i++) {
707 const SkScalar pos[], int colorCount,
712 desc->fCount = colorCount;
720 const SkScalar pos[], int colorCount,
724 if (NULL == pts || NULL == colors || colorCount < 1) {
727 EXPAND_1_COLOR(colorCount);
730 desc_init(&desc, colors, pos, colorCount, mode, mapper, flags);
736 const SkScalar pos[], int colorCount,
740 if (radius <= 0 || NULL == colors || colorCount < 1) {
743 EXPAND_1_COLOR(colorCount);
746 desc_init(&desc, colors, pos, colorCount, mode, mapper, flags);
756 int colorCount,
760 if (startRadius < 0 || endRadius < 0 || NULL == colors || colorCount < 1) {
763 EXPAND_1_COLOR(colorCount);
766 desc_init(&desc, colors, pos, colorCount, mode, mapper, flags);
777 int colorCount,
781 if (startRadius < 0 || endRadius < 0 || NULL == colors || colorCount < 1) {
787 EXPAND_1_COLOR(colorCount);
790 desc_init(&desc, colors, pos, colorCount, mode, mapper, flags);
798 int colorCount, SkUnitMapper* mapper,
800 if (NULL == colors || colorCount < 1) {
803 EXPAND_1_COLOR(colorCount);
806 desc_init(&desc, colors, pos, colorCount, SkShader::kClamp_TileMode, mapper, flags);