Home
last modified time | relevance | path

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

/external/skia/src/views/
DSkStackViewLayout.cpp12 fMargin.set(0, 0, 0, 0); in SkStackViewLayout()
29 *margin = fMargin; in getMargin()
34 fMargin = margin; in setMargin()
114 startM = fMargin.fLeft; in onLayoutChildren()
115 endM = fMargin.fRight; in onLayoutChildren()
116 crossStartM = fMargin.fTop; in onLayoutChildren()
117 crossLimit = -fMargin.fTop - fMargin.fBottom; in onLayoutChildren()
131 startM = fMargin.fTop; in onLayoutChildren()
132 endM = fMargin.fBottom; in onLayoutChildren()
133 crossStartM = fMargin.fLeft; in onLayoutChildren()
[all …]
DSkWidgets.cpp341 fMargin.set(0, 0);
355 this->setWidth(width + fMargin.fX * 2);
359 SkScalar width = this->width() - fMargin.fX * 2;
365 this->setHeight(lines * (after - before) + fMargin.fY * 2);
389 *margin = fMargin;
394 if (fMargin.fX != dx || fMargin.fY != dy)
396 fMargin.set(dx, dy);
463 box.setBox(fMargin.fX, fMargin.fY, this->width() - fMargin.fX, this->height() - fMargin.fY);
/external/skia/src/views/animated/
DSkStaticTextView.cpp24 fMargin.set(0, 0); in SkStaticTextView()
40 this->setWidth(width + fMargin.fX * 2); in computeSize()
44 SkScalar width = this->width() - fMargin.fX * 2; in computeSize()
47 this->setHeight(lines * fPaint.getFontSpacing() + fMargin.fY * 2); in computeSize()
71 *margin = fMargin; in getMargin()
76 if (fMargin.fX != dx || fMargin.fY != dy) in setMargin()
78 fMargin.set(dx, dy); in setMargin()
147 box.setBox(fMargin.fX, fMargin.fY, this->width() - fMargin.fX, this->height() - fMargin.fY); in onDraw()
DSkBorderView.cpp81 fMargin.set(fLeft, fTop, fRight, fBottom); in onEvent()
85 layout->setMargin(fMargin); in onEvent()
90 layout->setMargin(fMargin); in onEvent()
/external/skia/include/views/
DSkStackViewLayout.h67 SkRect fMargin;
84 SkRect fMargin;
DSkWidget.h166 SkPoint fMargin;
/external/skia/include/views/animated/
DSkBorderView.h35 SkRect fMargin; variable
DSkWidgetViews.h193 SkPoint fMargin;
/external/skia/gm/
Dblurrect.cpp176 int fPadding, fMargin; member in BlurRectDirectGM
183 fMargin(100) in BlurRectDirectGM()
229 if (cur_x + bm.width() >= fGMWidth - fMargin) { in onDraw()