Home
last modified time | relevance | path

Searched refs:fMargin (Results 1 – 4 of 4) sorted by relevance

/third_party/flutter/skia/experimental/editor/
Deditor_application.cpp89 int fMargin = 10; member
108 canvas->translate(fMargin, (float)(fMargin - fPos)); in onPaint()
133 fEditor.setWidth(fWidth - 2 * fMargin); in onResize()
142 int maxPos = std::max(0, fEditor.getHeight() + 2 * fMargin - fHeight / 2); in scroll()
167 return this->move(fEditor.getPosition({x - fMargin, y + fPos - fMargin}), shiftOrDrag); in onMouse()
256 if (fPos < cursor.bottom() - fHeight + 2 * fMargin) { in move()
257 fPos = cursor.bottom() - fHeight + 2 * fMargin; in move()
/third_party/skia/modules/skplaintexteditor/app/
Deditor_application.cpp100 int fMargin = 10; member
127 canvas->translate(fMargin, (float)(fMargin - fPos)); in onPaint()
152 fEditor.setWidth(fWidth - 2 * fMargin); in onResize()
161 int maxPos = std::max(0, fEditor.getHeight() + 2 * fMargin - fHeight / 2); in scroll()
186 return this->move(fEditor.getPosition({x - fMargin, y + fPos - fMargin}), shiftOrDrag); in onMouse()
293 if (fPos < cursor.bottom() - fHeight + 2 * fMargin) { in move()
294 fPos = cursor.bottom() - fHeight + 2 * fMargin; in move()
/third_party/flutter/skia/gm/
Dblurrect.cpp180 const int fMargin = 100; variable
217 if (cur_x + bm.width() >= fGMWidth - fMargin) {
/third_party/skia/gm/
Dblurrect.cpp189 const int fMargin = 100; variable
226 if (cur_x + bm.width() >= fGMWidth - fMargin) {