Home
last modified time | relevance | path

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

12

/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.cpp339 fMargin.set(0, 0);
353 this->setWidth(width + fMargin.fX * 2);
357 SkScalar width = this->width() - fMargin.fX * 2;
363 this->setHeight(lines * (after - before) + fMargin.fY * 2);
387 *margin = fMargin;
392 if (fMargin.fX != dx || fMargin.fY != dy)
394 fMargin.set(dx, dy);
461 box.setBox(fMargin.fX, fMargin.fY, this->width() - fMargin.fX, this->height() - fMargin.fY);
/external/chromium_org/third_party/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.cpp339 fMargin.set(0, 0);
353 this->setWidth(width + fMargin.fX * 2);
357 SkScalar width = this->width() - fMargin.fX * 2;
363 this->setHeight(lines * (after - before) + fMargin.fY * 2);
387 *margin = fMargin;
392 if (fMargin.fX != dx || fMargin.fY != dy)
394 fMargin.set(dx, dy);
461 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/chromium_org/third_party/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/chromium_org/third_party/skia/src/core/
DSkTileGrid.cpp19 fInfo.fMargin.fHeight++; in SkTileGrid()
20 fInfo.fMargin.fWidth++; in SkTileGrid()
40 dilatedBounds.outset(fInfo.fMargin.width(), fInfo.fMargin.height()); in insert()
70 adjustedQuery.inset(fInfo.fMargin.width(), fInfo.fMargin.height()); in search()
DSkTileGridPicture.cpp14 SkASSERT(info.fMargin.width() >= 0); in SkTileGridPicture()
15 SkASSERT(info.fMargin.height() >= 0); in SkTileGridPicture()
/external/skia/src/core/
DSkTileGrid.cpp19 fInfo.fMargin.fHeight++; in SkTileGrid()
20 fInfo.fMargin.fWidth++; in SkTileGrid()
40 dilatedBounds.outset(fInfo.fMargin.width(), fInfo.fMargin.height()); in insert()
70 adjustedQuery.inset(fInfo.fMargin.width(), fInfo.fMargin.height()); in search()
DSkTileGridPicture.cpp14 SkASSERT(info.fMargin.width() >= 0); in SkTileGridPicture()
15 SkASSERT(info.fMargin.height() >= 0); in SkTileGridPicture()
/external/skia/include/views/
DSkStackViewLayout.h67 SkRect fMargin;
84 SkRect fMargin;
/external/chromium_org/third_party/skia/include/views/
DSkStackViewLayout.h67 SkRect fMargin;
84 SkRect fMargin;
/external/chromium_org/cc/resources/
Dpicture_unittest.cc31 tile_grid_info.fMargin.setEmpty(); in TEST()
108 tile_grid_info.fMargin.setEmpty(); in TEST()
205 tile_grid_info.fMargin.setEmpty(); in TEST()
326 tile_grid_info.fMargin.setEmpty(); in TEST()
381 tile_grid_info.fMargin.setEmpty(); in TEST()
Dpicture_pile_base.cc52 tile_grid_info_.fMargin.setEmpty(); in PicturePileBase()
158 info->fMargin.set(kTileGridBorderPixels, kTileGridBorderPixels); in ComputeTileGridInfo()
Dpicture.cc255 2 * tile_grid_info.fMargin.width(), in GatherPixelRefs()
257 2 * tile_grid_info.fMargin.height()); in GatherPixelRefs()
/external/skia/include/core/
DSkTileGridPicture.h30 SkISize fMargin; member
/external/chromium_org/third_party/skia/include/core/
DSkTileGridPicture.h30 SkISize fMargin; member
/external/skia/include/views/animated/
DSkBorderView.h35 SkRect fMargin; variable
DSkWidgetViews.h193 SkPoint fMargin;
/external/chromium_org/third_party/skia/include/views/animated/
DSkBorderView.h35 SkRect fMargin; variable
DSkWidgetViews.h193 SkPoint fMargin;
/external/skia/tests/
DTileGridTest.cpp42 info.fMargin.set(borderPixels, borderPixels); in verifyTileHits()
60 info.fMargin.setEmpty(); in TestUnalignedQuery()
151 info.fMargin.set(1, 1); in TestOverlapOffsetQueryAlignment()
/external/chromium_org/cc/debug/
Dpicture_record_benchmark.cc97 tile_grid_info.fMargin.set(kTileGridBorder, kTileGridBorder); in RunOnLayer()

12