Home
last modified time | relevance | path

Searched refs:fMargin (Results 1 - 2 of 2) sorted by relevance

/third_party/skia/modules/skplaintexteditor/app/
H A Deditor_application.cpp100 int fMargin = 10; member
127 canvas->translate(fMargin, (float)(fMargin - fPos));
152 fEditor.setWidth(fWidth - 2 * fMargin);
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);
293 if (fPos < cursor.bottom() - fHeight + 2 * fMargin) { in move()
294 fPos = cursor.bottom() - fHeight + 2 * fMargin; in move()
/third_party/skia/gm/
H A Dblurrect.cpp189 const int fMargin = 100; in DEF_SIMPLE_GM() local
226 if (cur_x + bm.width() >= fGMWidth - fMargin) { in DEF_SIMPLE_GM()

Completed in 4 milliseconds