HomeSort by relevance Sort by last modified time
    Searched refs:kBoxSize (Results 1 - 6 of 6) sorted by null

  /external/skia/gm/
blurquickreject.cpp 35 constexpr SkScalar kBoxSize = SkIntToScalar(100);
37 SkRect clipRect = SkRect::MakeXYWH(0, 0, kBoxSize, kBoxSize);
39 { -kBoxSize - (kBlurRadius+1), 0, -(kBlurRadius+1), kBoxSize },
40 { 0, -kBoxSize - (kBlurRadius+1), kBoxSize, -(kBlurRadius+1) },
41 { kBoxSize+kBlurRadius+1, 0, 2*kBoxSize+kBlurRadius+1, kBoxSize },
    [all...]
sharedcorners.cpp 20 static constexpr int kBoxSize = 100;
39 return SkISize::Make(numCols * (kBoxSize + kPadSize) + kPadSize,
40 numRows * (kBoxSize + kPadSize) + kPadSize);
81 canvas->translate((kBoxSize + kPadSize) * 4, 0);
116 SkScalar scale = kBoxSize / SkTMax(path.getBounds().height(), path.getBounds().width());
120 canvas->translate(0, kBoxSize + kPadSize);
126 canvas->translate(0, kBoxSize + kPadSize);
131 canvas->translate(0, kBoxSize + kPadSize);
137 canvas->translate((kBoxSize - bounds.width()) / 2 - bounds.left(),
138 (kBoxSize - bounds.height()) / 2 - bounds.top())
    [all...]
  /external/skqp/gm/
blurquickreject.cpp 35 constexpr SkScalar kBoxSize = SkIntToScalar(100);
37 SkRect clipRect = SkRect::MakeXYWH(0, 0, kBoxSize, kBoxSize);
39 { -kBoxSize - (kBlurRadius+1), 0, -(kBlurRadius+1), kBoxSize },
40 { 0, -kBoxSize - (kBlurRadius+1), kBoxSize, -(kBlurRadius+1) },
41 { kBoxSize+kBlurRadius+1, 0, 2*kBoxSize+kBlurRadius+1, kBoxSize },
    [all...]
sharedcorners.cpp 20 static constexpr int kBoxSize = 100;
39 return SkISize::Make(numCols * (kBoxSize + kPadSize) + kPadSize,
40 numRows * (kBoxSize + kPadSize) + kPadSize);
81 canvas->translate((kBoxSize + kPadSize) * 4, 0);
116 SkScalar scale = kBoxSize / SkTMax(path.getBounds().height(), path.getBounds().width());
120 canvas->translate(0, kBoxSize + kPadSize);
126 canvas->translate(0, kBoxSize + kPadSize);
131 canvas->translate(0, kBoxSize + kPadSize);
137 canvas->translate((kBoxSize - bounds.width()) / 2 - bounds.left(),
138 (kBoxSize - bounds.height()) / 2 - bounds.top())
    [all...]
  /external/skia/tests/
GrMeshTest.cpp 33 static constexpr int kBoxSize = 2;
38 static constexpr int kImageWidth = kBoxCountY * kBoxSize;
39 static constexpr int kImageHeight = kBoxCountX * kBoxSize;
115 float(x * kBoxSize),
116 float(y * kBoxSize),
123 box.fX + (i / 2) * kBoxSize,
124 box.fY + (i % 2) * kBoxSize,
130 goldCanvas.drawRect(SkRect::MakeXYWH(box.fX, box.fY, kBoxSize, kBoxSize), paint);
359 kBoxSize);
    [all...]
  /external/skqp/tests/
GrMeshTest.cpp 33 static constexpr int kBoxSize = 2;
38 static constexpr int kImageWidth = kBoxCountY * kBoxSize;
39 static constexpr int kImageHeight = kBoxCountX * kBoxSize;
115 float(x * kBoxSize),
116 float(y * kBoxSize),
123 box.fX + (i / 2) * kBoxSize,
124 box.fY + (i % 2) * kBoxSize,
130 goldCanvas.drawRect(SkRect::MakeXYWH(box.fX, box.fY, kBoxSize, kBoxSize), paint);
360 kBoxSize);
    [all...]

Completed in 433 milliseconds