Searched refs:fMargin (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/views/ |
D | SkStackViewLayout.cpp | 12 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 …]
|
D | SkWidgets.cpp | 341 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/ |
D | SkStaticTextView.cpp | 24 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()
|
D | SkBorderView.cpp | 81 fMargin.set(fLeft, fTop, fRight, fBottom); in onEvent() 85 layout->setMargin(fMargin); in onEvent() 90 layout->setMargin(fMargin); in onEvent()
|
/external/skia/include/views/ |
D | SkStackViewLayout.h | 67 SkRect fMargin; 84 SkRect fMargin;
|
D | SkWidget.h | 166 SkPoint fMargin;
|
/external/skia/include/views/animated/ |
D | SkBorderView.h | 35 SkRect fMargin; variable
|
D | SkWidgetViews.h | 193 SkPoint fMargin;
|
/external/skia/gm/ |
D | blurrect.cpp | 176 int fPadding, fMargin; member in BlurRectDirectGM 183 fMargin(100) in BlurRectDirectGM() 229 if (cur_x + bm.width() >= fGMWidth - fMargin) { in onDraw()
|