Home
last modified time | relevance | path

Searched refs:cellCol (Results 1 – 5 of 5) sorted by relevance

/external/skia/gm/
Dhardstop_gradients.cpp68 static void shade_rect(SkCanvas* canvas, sk_sp<SkShader> shader, int cellRow, int cellCol) { in shade_rect() argument
72 SkRect rect = SkRect::MakeXYWH(SkIntToScalar(cellCol * CELL_WIDTH + PAD_WIDTH), in shade_rect()
80 static void create_gradient_points(int cellRow, int cellCol, SkPoint points[2]) { in create_gradient_points() argument
83 auto x0 = SkIntToScalar(cellCol * CELL_WIDTH + PAD_WIDTH + X_OFFSET); in create_gradient_points()
84 auto x1 = SkIntToScalar((cellCol+1) * CELL_WIDTH - PAD_WIDTH - X_OFFSET); in create_gradient_points()
153 for (int cellCol = 0; cellCol < NUM_COLS; cellCol++) { in onDraw() local
154 create_gradient_points(cellRow, cellCol, points); in onDraw()
161 tilemodes[cellCol], in onDraw()
165 shade_rect(canvas, shader, cellRow, cellCol); in onDraw()
Danalytic_gradients.cpp118 static void shade_rect(SkCanvas* canvas, sk_sp<SkShader> shader, int cellRow, int cellCol) { in shade_rect() argument
123 canvas->translate(SkIntToScalar(cellCol * CELL_WIDTH + PAD_WIDTH), in shade_rect()
153 for (int cellCol = 0; cellCol < NUM_COLS; cellCol++) { in onDraw() local
157 int colorCount = colorCounts[cellCol]; in onDraw()
159 const int* layout = M_POSITIONS[cellCol]; in onDraw()
181 shade_rect(canvas, shader, cellRow, cellCol); in onDraw()
/external/skqp/gm/
Dhardstop_gradients.cpp58 static void shade_rect(SkCanvas* canvas, sk_sp<SkShader> shader, int cellRow, int cellCol) { in shade_rect() argument
62 SkRect rect = SkRect::MakeXYWH(SkIntToScalar(cellCol * CELL_WIDTH + PAD_WIDTH), in shade_rect()
70 static void create_gradient_points(int cellRow, int cellCol, SkPoint points[2]) { in create_gradient_points() argument
73 auto x0 = SkIntToScalar(cellCol * CELL_WIDTH + PAD_WIDTH + X_OFFSET); in create_gradient_points()
74 auto x1 = SkIntToScalar((cellCol+1) * CELL_WIDTH - PAD_WIDTH - X_OFFSET); in create_gradient_points()
143 for (int cellCol = 0; cellCol < NUM_COLS; cellCol++) { in onDraw() local
144 create_gradient_points(cellRow, cellCol, points); in onDraw()
151 tilemodes[cellCol], in onDraw()
155 shade_rect(canvas, shader, cellRow, cellCol); in onDraw()
Danalytic_gradients.cpp106 static void shade_rect(SkCanvas* canvas, sk_sp<SkShader> shader, int cellRow, int cellCol) { in shade_rect() argument
111 canvas->translate(SkIntToScalar(cellCol * CELL_WIDTH + PAD_WIDTH), in shade_rect()
141 for (int cellCol = 0; cellCol < NUM_COLS; cellCol++) { in onDraw() local
145 int colorCount = colorCounts[cellCol]; in onDraw()
147 const int* layout = M_POSITIONS[cellCol]; in onDraw()
169 shade_rect(canvas, shader, cellRow, cellCol); in onDraw()
/external/dng_sdk/source/
Ddng_mosaic_info.cpp1282 for (uint32 cellCol = 0; cellCol < cellCols; cellCol++) in ProcessArea() local
1292 total [color] += (uint32) ssPtr [cellCol]; in ProcessArea()