Home
last modified time | relevance | path

Searched refs:kN (Results 1 - 7 of 7) sorted by relevance

/third_party/skia/gm/
H A Ddrawimageset.cpp112 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet);
116 SkScalar d = SkVector{kM * kTileW, kN * kTileH}.length();
123 SkRect::MakeWH(kM * kTileW, kN * kTileH).toQuad(src);
126 {kM * kTileW - 28.f, kN * kTileH + 40.f},
127 {45.f, kN * kTileH - 25.f}};
138 dst[3] = {2.f / 3.f * kM * kTileW, 1 / 2.f * kN * kTileH};
139 dst[2] = {1.f / 3.f * kM * kTileW, 1 / 2.f * kN * kTileH - 0.1f * kTileH};
156 SkPoint pts[] = {{x * kTileW, 0}, {x * kTileW, kN * kTileH}};
162 for (int y = 1; y < kN; ++y) {
171 canvas->experimental_DrawEdgeAAImageSet(fSet, kM * kN, nullpt
200 inline static constexpr int kN = 3; global() member in skiagm::DrawImageSetGM
286 inline static constexpr int kN = 2; global() member in skiagm::DrawImageSetRectToRectGM
348 inline static constexpr int kN = 4; global() member in skiagm::DrawImageSetAlphaOnlyGM
[all...]
H A Dtexelsubset.cpp74 static constexpr int kN = GrSamplerState::kWrapModeCount; variable
75 int w = kTestPad + 2*kN*(kImageSize.width() + 2*kDrawPad + kTestPad);
76 int h = kTestPad + 2*kN*(kImageSize.height() + 2*kDrawPad + kTestPad);
H A Ddashcircle.cpp146 static constexpr int kN = SK_ARRAY_COUNT(kIntervals); variable
159 for (int i = 0; i < kN; ++i) {
/third_party/skia/tests/
H A DRandomTest.cpp106 const int kN = (1 << kWordWidth); in test_single_gorilla() local
107 const int kNumEntries = kN >> 5; // dividing by 32 in test_single_gorilla()
121 for (int i = 0; i < kN; ++i) { in test_single_gorilla()
143 double z = ((kN-total)-kMean)/kStandardDeviation; in test_single_gorilla()
H A DGrClipStackTest.cpp1585 static constexpr float kN = 10.f; in DEF_TEST() local
1586 static constexpr float kR = kN / 3.f; in DEF_TEST()
1588 // 4 rectangles that overlap by kN x 2kN (horiz), 2kN x kN (vert), or kN x kN (diagonal) in DEF_TEST()
1589 static const SkRect kTL = {0.f, 0.f, 2.f * kN, 2.f * kN}; in DEF_TEST()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dwide_multiply.h77 static constexpr size_t kN = std::numeric_limits<UIntType>::digits; member
79 using result_type = typename random_internal::unsigned_bits<kN * 2>::type;
85 static input_type hi(result_type r) { return r >> kN; } in hi()
/third_party/skia/samplecode/
H A DSampleSimpleStroker.cpp355 inline static constexpr int kN = 3; member in SimpleStroker
358 SkPoint fPts[kN];
419 for (int i = 1; i < kN; ++i) { in makePath()
448 canvas->drawPoints(SkCanvas::kPoints_PointMode, kN, fPts, fPtsPaint);
467 for (int i = 0; i < kN; ++i) {

Completed in 7 milliseconds