Searched refs:cellRow (Results 1 – 5 of 5) sorted by relevance
/external/skia/gm/ |
D | hardstop_gradients.cpp | 68 static void shade_rect(SkCanvas* canvas, sk_sp<SkShader> shader, int cellRow, int cellCol) { in shade_rect() argument 73 SkIntToScalar(cellRow * CELL_HEIGHT + PAD_HEIGHT), in shade_rect() 80 static void create_gradient_points(int cellRow, int cellCol, SkPoint points[2]) { in create_gradient_points() argument 85 auto y = SkIntToScalar(cellRow * CELL_HEIGHT + PAD_HEIGHT + RECT_HEIGHT/2); in create_gradient_points() 152 for (int cellRow = 0; cellRow < NUM_ROWS; cellRow++) { in onDraw() local 154 create_gradient_points(cellRow, cellCol, points); in onDraw() 159 positions[cellRow], in onDraw() 160 numGradientColors[cellRow], in onDraw() 165 shade_rect(canvas, shader, cellRow, cellCol); in onDraw()
|
D | analytic_gradients.cpp | 118 static void shade_rect(SkCanvas* canvas, sk_sp<SkShader> shader, int cellRow, int cellCol) { in shade_rect() argument 124 SkIntToScalar(cellRow * CELL_HEIGHT + PAD_HEIGHT)); in shade_rect() 149 for (int cellRow = 0; cellRow < NUM_ROWS; cellRow++) { in onDraw() local 151 const int* colorCounts = INTERVAL_COLOR_COUNTS[cellRow]; // Has len = 4 in onDraw() 167 positions[i] = SkIntToScalar(layout[i]) / (cellRow + 1); in onDraw() 181 shade_rect(canvas, shader, cellRow, cellCol); in onDraw()
|
/external/skqp/gm/ |
D | hardstop_gradients.cpp | 58 static void shade_rect(SkCanvas* canvas, sk_sp<SkShader> shader, int cellRow, int cellCol) { in shade_rect() argument 63 SkIntToScalar(cellRow * CELL_HEIGHT + PAD_HEIGHT), in shade_rect() 70 static void create_gradient_points(int cellRow, int cellCol, SkPoint points[2]) { in create_gradient_points() argument 75 auto y = SkIntToScalar(cellRow * CELL_HEIGHT + PAD_HEIGHT + RECT_HEIGHT/2); in create_gradient_points() 142 for (int cellRow = 0; cellRow < NUM_ROWS; cellRow++) { in onDraw() local 144 create_gradient_points(cellRow, cellCol, points); in onDraw() 149 positions[cellRow], in onDraw() 150 numGradientColors[cellRow], in onDraw() 155 shade_rect(canvas, shader, cellRow, cellCol); in onDraw()
|
D | analytic_gradients.cpp | 106 static void shade_rect(SkCanvas* canvas, sk_sp<SkShader> shader, int cellRow, int cellCol) { in shade_rect() argument 112 SkIntToScalar(cellRow * CELL_HEIGHT + PAD_HEIGHT)); in shade_rect() 137 for (int cellRow = 0; cellRow < NUM_ROWS; cellRow++) { in onDraw() local 139 const int* colorCounts = INTERVAL_COLOR_COUNTS[cellRow]; // Has len = 4 in onDraw() 155 positions[i] = SkIntToScalar(layout[i]) / (cellRow + 1); in onDraw() 169 shade_rect(canvas, shader, cellRow, cellCol); in onDraw()
|
/external/dng_sdk/source/ |
D | dng_mosaic_info.cpp | 1270 for (uint32 cellRow = 0; cellRow < cellRows; cellRow++) in ProcessArea() local
|