Home
last modified time | relevance | path

Searched refs:kDisplayPadding (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/tools/viewer/
DStatsLayer.cpp88 static const int kDisplayPadding = 10; in onPaint() local
94 SkRect rect = SkRect::MakeXYWH(SkIntToScalar(canvasSize.fWidth-kDisplayWidth-kDisplayPadding), in onPaint()
95 SkIntToScalar(kDisplayPadding), in onPaint()
132 int endY = std::max(startY - height, kDisplayPadding + kTextHeight); in onPaint()
143 int endY = std::max(startY - height, kDisplayPadding + kTextHeight); in onPaint()
/third_party/flutter/skia/tools/viewer/
DStatsLayer.cpp88 static const int kDisplayPadding = 10; in onPaint() local
94 SkRect rect = SkRect::MakeXYWH(SkIntToScalar(canvasSize.fWidth-kDisplayWidth-kDisplayPadding), in onPaint()
95 SkIntToScalar(kDisplayPadding), in onPaint()
133 int endY = SkTMax(startY - height, kDisplayPadding + kTextHeight); in onPaint()
144 int endY = SkTMax(startY - height, kDisplayPadding + kTextHeight); in onPaint()