Searched refs:PAD_WIDTH (Results 1 – 5 of 5) sorted by relevance
52 const int PAD_WIDTH = 3; 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()
100 const int PAD_WIDTH = 3; variable103 const int RECT_WIDTH = CELL_WIDTH - (2 * PAD_WIDTH);111 canvas->translate(SkIntToScalar(cellCol * CELL_WIDTH + PAD_WIDTH), in shade_rect()
713 static constexpr int PAD_WIDTH = 4; in RegisterPadNode() local744 if (const_tensor.shape().dim_size(0) == PAD_WIDTH) { in RegisterPadNode()746 } else if (const_tensor.shape().dim_size(0) < PAD_WIDTH) { in RegisterPadNode()757 for (int j = 0; j < PAD_WIDTH; ++j) { in RegisterPadNode()758 if (j < PAD_WIDTH - width) { in RegisterPadNode()762 const_tensor.matrix<int32>()(j - (PAD_WIDTH - width), i); in RegisterPadNode()