Searched refs:CELL_WIDTH (Results 1 – 4 of 4) sorted by relevance
49 const int CELL_WIDTH = WIDTH / NUM_COLS; variable55 const int RECT_WIDTH = CELL_WIDTH - (2 * PAD_WIDTH);62 SkRect rect = SkRect::MakeXYWH(SkIntToScalar(cellCol * CELL_WIDTH + PAD_WIDTH), in shade_rect()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()
97 const int CELL_WIDTH = WIDTH / NUM_COLS; variable103 const int RECT_WIDTH = CELL_WIDTH - (2 * PAD_WIDTH);111 canvas->translate(SkIntToScalar(cellCol * CELL_WIDTH + PAD_WIDTH), in shade_rect()