Home
last modified time | relevance | path

Searched refs:kTrans (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/gm/
Dpixelsnap.cpp31 inline static constexpr int kTrans = 14; member in PixelSnapGM
42 return SkISize::Make((kSubPixelSteps + 1) * kTrans + kLabelOffsetX + kLabelPad, in onISize()
43 (kSubPixelSteps + 1) * kTrans + kLabelOffsetY + kLabelPad); in onISize()
63 canvas->drawString(offset, 0, i * kTrans + SkIntToScalar(kLabelTextSize), in onDraw()
73 canvas->drawString(offset, i * SkIntToScalar(kTrans), SkIntToScalar(kLabelTextSize), in onDraw()
84 i * SkIntToScalar(kTrans) + 0.5f, in onDraw()
85 SkIntToScalar(kTrans) * (kSubPixelSteps + 1) + 0.5f, in onDraw()
86 i * SkIntToScalar(kTrans) + 0.5f, in onDraw()
88 canvas->drawLine(i * SkIntToScalar(kTrans) + 0.5f, in onDraw()
90 i * SkIntToScalar(kTrans) + 0.5f, in onDraw()
[all …]
Dclip_sierpinski_region.cpp15 static constexpr int kTrans = 10; variable
17 DEF_SIMPLE_GM(clip_sierpinski_region, canvas, 2*kTrans + kSize, 2*kTrans + kSize) {
30 region.translate(kTrans, kTrans);
31 canvas->saveLayer(SkRect::MakeXYWH(kTrans, kTrans, 1000, 1000), nullptr);
/third_party/mindspore/patches/
D0014-DynamicQuant-strategy-optimization.patch47 auto value_ptr = this->GetAttr(kTrans);