Searched refs:kTrans (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/gm/ |
D | pixelsnap.cpp | 31 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 …]
|
D | clip_sierpinski_region.cpp | 15 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/ |
D | 0014-DynamicQuant-strategy-optimization.patch | 47 auto value_ptr = this->GetAttr(kTrans);
|