Home
last modified time | relevance | path

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

/external/skia/gm/
Dhardstop_gradients.cpp52 const int PAD_WIDTH = 3; variable
55 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()
Danalytic_gradients.cpp100 const int PAD_WIDTH = 3; variable
103 const int RECT_WIDTH = CELL_WIDTH - (2 * PAD_WIDTH);
111 canvas->translate(SkIntToScalar(cellCol * CELL_WIDTH + PAD_WIDTH), in shade_rect()
/external/skqp/gm/
Dhardstop_gradients.cpp52 const int PAD_WIDTH = 3; variable
55 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()
Danalytic_gradients.cpp100 const int PAD_WIDTH = 3; variable
103 const int RECT_WIDTH = CELL_WIDTH - (2 * PAD_WIDTH);
111 canvas->translate(SkIntToScalar(cellCol * CELL_WIDTH + PAD_WIDTH), in shade_rect()
/external/tensorflow/tensorflow/core/kernels/hexagon/
Dgraph_transferer.cc713 static constexpr int PAD_WIDTH = 4; in RegisterPadNode() local
744 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()