HomeSort by relevance Sort by last modified time
    Searched refs:fTop (Results 1 - 25 of 256) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/chromium_org/third_party/skia/src/pathops/
SkPathOpsRect.h 13 double fLeft, fTop, fRight, fBottom;
19 if (fTop > pt.fY) {
20 fTop = pt.fY;
32 && approximately_between(fTop, pt.fY, fBottom);
37 SkASSERT(fTop <= fBottom);
39 SkASSERT(r->fTop <= r->fBottom);
40 return r->fLeft <= fRight && fLeft <= r->fRight && r->fTop <= fBottom && fTop <= r->fBottom;
45 fTop = fBottom = pt.fY;
53 return fBottom - fTop;
    [all...]
SkPathOpsBounds.h 18 && AlmostLessOrEqualUlps(a.fTop, b.fBottom)
19 && AlmostLessOrEqualUlps(b.fTop, a.fBottom);
27 if (top < fTop) fTop = top;
33 add(toAdd.fLeft, toAdd.fTop, toAdd.fRight, toAdd.fBottom);
38 if (pt.fY < fTop) fTop = pt.fY;
46 && AlmostLessOrEqualUlps(fTop, pt.fY)
54 return !(fLeft <= fRight) || !(fTop <= fBottom)
55 || (fLeft == fRight && fTop == fBottom)
    [all...]
SkPathOpsBounds.cpp 17 set(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop),
31 set(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop),
  /external/chromium_org/third_party/skia/include/gpu/
GrRect.h 15 int16_t fLeft, fTop, fRight, fBottom;
36 int height() const { return fBottom - fTop; }
38 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; }
44 fTop = top;
51 fTop = SkToS16(r.fTop);
  /external/chromium_org/third_party/skia/src/core/
SkRect.cpp 19 if (fLeft >= fRight || fTop >= fBottom) {
23 if (top < fTop) fTop = top;
33 if (fTop > fBottom) {
34 SkTSwap<int32_t>(fTop, fBottom);
44 if (fTop > fBottom) {
45 SkTSwap<SkScalar>(fTop, fBottom);
52 quad[0].set(fLeft, fTop);
53 quad[1].set(fRight, fTop);
105 fLeft < right && left < fRight && fTop < bottom && top < fBottom
    [all...]
SkScan.h 81 xr->fTop = SkIntToFixed(src.fTop);
92 xr->fTop = SkScalarToFixed(src.fTop);
101 dst->fTop = SkFixedRoundToInt(xr.fTop);
111 dst->fTop = SkFixedFloorToInt(xr.fTop);
SkValidationUtils.h 36 (rect.fTop <= rect.fBottom) &&
SkLineClipper.cpp 73 return outer.fLeft <= inner.fLeft && outer.fTop <= inner.fTop &&
92 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) ||
93 nestedLT(clip.fBottom, bounds.fTop, bounds.height())) {
111 if (tmp[index0].fY < clip.fTop) {
112 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop);
199 if (pts[index1].fY <= clip.fTop) { // we're above the clip
212 if (pts[index0].fY < clip.fTop) {
213 tmp[index0].set(sect_with_horizontal(pts, clip.fTop), clip.fTop)
    [all...]
SkBBoxRecord.cpp 103 SkScalar h = bbox.fBottom - bbox.fTop;
105 bbox.fTop -= h / 2;
110 bbox.fTop += metrics.fTop;
121 bbox.fTop = metrics.fTop;
129 SkScalar pad = (metrics.fBottom - metrics.fTop) / 2;
135 bbox.fTop += y;
193 bbox.fTop += metrics.fTop;
    [all...]
SkScan_AntiPath.cpp 75 int fTop;
96 fTop = ir.fTop;
97 fCurrIY = ir.fTop - 1;
98 fCurrY = (ir.fTop << SHIFT) - 1;
165 if (fCurrIY >= fTop) {
175 fCurrIY = fTop - 1;
530 SkASSERT(iy >= fMask.fBounds.fTop && iy < fMask.fBounds.fBottom);
531 iy -= fMask.fBounds.fTop; // make it relative to 0
588 return r.fLeft > min && r.fTop > min &
    [all...]
  /external/chromium_org/third_party/skia/include/core/
SkRect.h 21 int32_t fLeft, fTop, fRight, fBottom;
60 int top() const { return fTop; }
67 int y() const { return fTop; }
78 int height() const { return fBottom - fTop; }
96 int centerY() const { return (fBottom + fTop) >> 1; }
101 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; }
104 SK_MinS32 == fTop &&
117 return SkIsS16(fLeft) && SkIsS16(fTop) &&
127 fTop = top;
138 fTop = y
    [all...]
SkMask.h 62 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes;
73 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes;
85 uint16_t* row = (uint16_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
98 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
111 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
  /external/chromium_org/third_party/skia/src/animator/
SkBoundable.cpp 16 fBounds.fTop = 0;
32 rect->fTop = SkIntToScalar(fBounds.fTop);
SkDrawPoint.cpp 43 rect->fTop = rect->fBottom = fPoint.fY;
SkDrawRectangle.cpp 31 SK_MEMBER_ALIAS(top, fRect.fTop, Float),
58 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight),
100 fRect.fBottom = scalar + fRect.fTop;
139 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight),
  /external/chromium_org/third_party/skia/include/views/animated/
SkBorderView.h 24 SkScalar getTop() const { return fTop; }
34 SkScalar fLeft, fRight, fTop, fBottom; //margin on each side
  /external/chromium_org/third_party/skia/src/gpu/
GrSoftwarePathRenderer.cpp 84 if (devClipBounds.fTop < devPathBounds.fTop) {
85 rect.iset(devClipBounds.fLeft, devClipBounds.fTop,
86 devClipBounds.fRight, devPathBounds.fTop);
90 rect.iset(devClipBounds.fLeft, devPathBounds.fTop,
95 rect.iset(devPathBounds.fRight, devPathBounds.fTop,
  /external/chromium_org/third_party/skia/bench/
RTreeBench.cpp 122 query.fTop = rand.nextRangeF(0, GENERATE_EXTENTS);
124 query.fBottom = query.fTop + (GENERATE_EXTENTS / 20);
128 query.fTop = rand.nextRangeF(0, GENERATE_EXTENTS);
130 query.fBottom = query.fTop + (GENERATE_EXTENTS / 2);
134 query.fTop = -GENERATE_EXTENTS;
141 query.fTop = rand.nextRangeF(0, GENERATE_EXTENTS);
143 query.fBottom = query.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/2);
166 out.fTop = SkIntToScalar(index / GRID_WIDTH);
168 out.fBottom = out.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3);
174 out.fTop = SkIntToScalar(index % GRID_WIDTH)
    [all...]
  /external/chromium_org/third_party/skia/tests/
PathOpsDRectTest.cpp 49 REPORTER_ASSERT(reporter, rect.fTop == SkTMin(line[0].fY, line[1].fY));
55 REPORTER_ASSERT(reporter, rect2.fTop == SkTMin(line[0].fY, line[1].fY));
67 REPORTER_ASSERT(reporter, rect.fTop == SkTMin(quad[0].fY,
76 SkDPoint leftTop = {rect2.fLeft, rect2.fTop};
87 REPORTER_ASSERT(reporter, rect.fTop == SkTMin(cubic[0].fY,
96 SkDPoint leftTop = {rect2.fLeft, rect2.fTop};
  /external/chromium_org/third_party/skia/src/views/animated/
SkBorderView.cpp 17 fTop(SkIntToScalar(0)),
75 evt.findScalar("topMargin", &fTop);
81 fMargin.set(fLeft, fTop, fRight, fBottom);
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
RegionTracker.cpp 60 int top = SkScalarCeilToInt(m_opaqueRect.fTop);
269 rect.fTop = points[0].fY;
275 rect.fTop = std::min(rect.fTop, points[i].fY);
402 if (rect.fTop <= opaqueRect.fTop && rect.fBottom >= opaqueRect.fBottom) {
408 if (rect.fTop < opaqueRect.fTop && rect.fBottom >= opaqueRect.fTop)
409 opaqueRect.fTop = rect.fTop
    [all...]
  /external/chromium_org/third_party/skia/src/svg/
SkSVGSVG.cpp 48 box.fTop = SkScalarDiv(viewBox[1], height);
51 if (box.fLeft == 0 && box.fTop == 0 &&
60 if (box.fTop != 0) {
62 y.appendScalar(box.fTop);
  /external/chromium_org/skia/ext/
bitmap_platform_device_mac_unittest.cc 44 EXPECT_EQ(0, clip_rect.fTop);
64 EXPECT_EQ(0, clip_rect.fTop);
skia_utils_win.cc 17 SK_COMPILE_ASSERT(offsetof(RECT, top) == offsetof(SkIRect, fTop), o2);
21 SK_COMPILE_ASSERT(sizeof(RECT().top) == sizeof(SkIRect().fTop), o6);
  /external/chromium_org/third_party/skia/samplecode/
SampleLayerMask.cpp 43 bounds.offset(-bounds.fLeft, -bounds.fTop);
47 canvas->drawBitmap(mask, r.fLeft, r.fTop, &paint);

Completed in 907 milliseconds

1 2 3 4 5 6 7 8 91011