Home
last modified time | relevance | path

Searched refs:kPadding (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/gm/
Druntimeintrinsics.cpp28 static constexpr int kPadding = 5; variable
32 canvas->translate(kBoxSize + kPadding, 0); in next_column()
37 canvas->translate(0, kBoxSize + kPadding + kLabelHeight); in next_row()
42 return (kPadding + kBoxSize) * columns + kPadding; in columns_to_width()
46 return (kPadding + kLabelHeight + kBoxSize) * rows + kPadding; in rows_to_height()
179 canvas->translate(kPadding, kPadding);
215 canvas->translate(kPadding, kPadding);
238 canvas->translate(kPadding, kPadding);
267 canvas->translate(kPadding, kPadding);
326 canvas->translate(kPadding, kPadding);
[all …]
/third_party/benchmark/src/
Dperf_counters.h48 uint64_t operator[](size_t pos) const { return values_[kPadding + pos]; }
58 sizeof(uint64_t) * (kPadding + nr_counters_)}; in get_data_buffer()
61 static constexpr size_t kPadding = 1; variable
62 std::array<uint64_t, kPadding + kMaxCounters> values_;
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/bloat/
Dwebtreemap.js22 var kPadding = 4; variable
145 x1 += kPadding; y1 += kPadding;
146 x2 -= kPadding; y2 -= kPadding;
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCAtlas.h35 static constexpr int kPadding = 1; // Amount of padding below and to the right of each path. variable
171 fApproxNumPixels += (width + kPadding) * (height + kPadding); in accountForSpace()
DGrCCAtlas.cpp34 w = SkTMin(w + kPadding, maxAtlasSize); in addRect()
37 h = SkTMin(h + kPadding, maxAtlasSize); in addRect()
108 fWidth = SkTMin(specs.fMinWidth + kPadding, fMaxTextureSize); in GrCCAtlas()
109 fHeight = SkTMin(specs.fMinHeight + kPadding, fMaxTextureSize); in GrCCAtlas()
/third_party/skia/src/gpu/
DGrDynamicAtlas.cpp34 w = std::min(w + kPadding, fRectanizer->width()); in addRect()
37 h = std::min(h + kPadding, fRectanizer->height()); in addRect()
DGrDynamicAtlas.h28 inline static constexpr int kPadding = 1; // Amount of padding below and to the right of each variable
/third_party/flutter/skia/tools/viewer/
DSlideDir.cpp32 static constexpr SkSize kPadding = { 12.0f , 24.0f }; variable
308 slideRect = cell.makeInset(kPadding.width(), kPadding.height()); in load()
/third_party/skia/tools/viewer/
DSlideDir.cpp45 static constexpr SkSize kPadding = { 12.0f , 24.0f }; variable
318 slideRect = cell.makeInset(kPadding.width(), kPadding.height()); in load()
/third_party/mindspore/mindspore/core/ops/
Dspace_to_batch.cc67 …(void)CheckAndConvertUtils::CheckInteger(kPadding, paddings[i][j], kGreaterEqual, 0, this->name()); in set_paddings()
Dop_utils.h152 constexpr auto kPadding = "padding"; variable
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/
Dredundant_op_remove_pass.cc322 MS_CHECK_TRUE_RET(pad_prim->GetAttr(ops::kPadding) != nullptr, lite::RET_ERROR); in RemoveInvalidPadOp()