/external/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);
|
/frameworks/base/core/jni/android/graphics/ |
NinePatchImpl.cpp | 80 if (!getColor(bitmap, src.fLeft, src.fTop, &c)) { 206 SkScalarToFloat(bounds.fLeft), SkScalarToFloat(bounds.fTop), 211 src.fTop = 0; 212 dst.fTop = bounds.fTop; 230 j <= numYDivs && src.fTop < bitmapHeight; 239 const int srcYSize = src.fBottom - src.fTop; 241 dst.fBottom = dst.fTop + calculateStretch(bounds.fBottom, dst.fTop, 247 dst.fBottom = dst.fTop + SkIntToScalar(srcYSize) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkScan.h | 103 xr->fTop = SkIntToFixed(src.fTop); 114 xr->fTop = SkScalarToFixed(src.fTop); 123 dst->fTop = SkFixedRound(xr.fTop); 133 dst->fTop = SkFixedFloor(xr.fTop);
|
SkBBoxRecord.cpp | 89 SkScalar h = bbox.fBottom - bbox.fTop; 91 bbox.fTop -= h / 2; 96 bbox.fTop += metrics.fTop; 107 bbox.fTop = metrics.fTop; 115 SkScalar pad = (metrics.fBottom - metrics.fTop) / 2; 121 bbox.fTop += y; 167 bbox.fTop += metrics.fTop; [all...] |
SkEdgeClipper.cpp | 14 return bounds.fTop >= clip.fBottom || bounds.fBottom <= clip.fTop; 81 if (pts[0].fY < clip.fTop) { 82 if (chopMonoQuadAtY(pts, clip.fTop, &t)) { 86 tmp[2].fY = clip.fTop; 87 clamp_ge(tmp[3].fY, clip.fTop); 95 if (pts[i].fY < clip.fTop) { 96 pts[i].fY = clip.fTop; 130 if (pts[2].fY <= clip.fTop || pts[0].fY >= clip.fBottom) { 280 if (pts[0].fY < clip.fTop) { [all...] |
SkSpriteBlitter.h | 42 int fLeft, fTop;
|
SkLineClipper.cpp | 83 return outer.fLeft <= inner.fLeft && outer.fTop <= inner.fTop && 102 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) || 103 nestedLT(clip.fBottom, bounds.fTop, bounds.height())) { 121 if (tmp[index0].fY < clip.fTop) { 122 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop); 213 if (pts[index1].fY <= clip.fTop) { // we're above the clip 226 if (pts[index0].fY < clip.fTop) { 227 tmp[index0].set(sect_with_horizontal(pts, clip.fTop), clip.fTop) [all...] |
/external/skia/src/core/ |
SkScan.h | 103 xr->fTop = SkIntToFixed(src.fTop); 114 xr->fTop = SkScalarToFixed(src.fTop); 123 dst->fTop = SkFixedRound(xr.fTop); 133 dst->fTop = SkFixedFloor(xr.fTop);
|
SkBBoxRecord.cpp | 89 SkScalar h = bbox.fBottom - bbox.fTop; 91 bbox.fTop -= h / 2; 96 bbox.fTop += metrics.fTop; 107 bbox.fTop = metrics.fTop; 115 SkScalar pad = (metrics.fBottom - metrics.fTop) / 2; 121 bbox.fTop += y; 167 bbox.fTop += metrics.fTop; [all...] |
SkEdgeClipper.cpp | 14 return bounds.fTop >= clip.fBottom || bounds.fBottom <= clip.fTop; 81 if (pts[0].fY < clip.fTop) { 82 if (chopMonoQuadAtY(pts, clip.fTop, &t)) { 86 tmp[2].fY = clip.fTop; 87 clamp_ge(tmp[3].fY, clip.fTop); 95 if (pts[i].fY < clip.fTop) { 96 pts[i].fY = clip.fTop; 130 if (pts[2].fY <= clip.fTop || pts[0].fY >= clip.fBottom) { 280 if (pts[0].fY < clip.fTop) { [all...] |
SkSpriteBlitter.h | 42 int fLeft, fTop;
|
SkLineClipper.cpp | 83 return outer.fLeft <= inner.fLeft && outer.fTop <= inner.fTop && 102 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) || 103 nestedLT(clip.fBottom, bounds.fTop, bounds.height())) { 121 if (tmp[index0].fY < clip.fTop) { 122 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop); 213 if (pts[index1].fY <= clip.fTop) { // we're above the clip 226 if (pts[index0].fY < clip.fTop) { 227 tmp[index0].set(sect_with_horizontal(pts, clip.fTop), clip.fTop) [all...] |
/external/chromium_org/skia/ext/ |
lazy_pixel_ref_utils.cc | 196 SkScalar h = bounds.fBottom - bounds.fTop; 198 bounds.fTop -= h / 2; 202 bounds.fTop += metrics.fTop; 212 bounds.fTop = metrics.fTop; 216 SkScalar pad = (metrics.fBottom - metrics.fTop) / 2; 221 bounds.fTop += y; 270 bounds.fTop += metrics.fTop; [all...] |
skia_utils_mac.mm | 119 { rect.fLeft, rect.fTop }, 120 { rect.fRight - rect.fLeft, rect.fBottom - rect.fTop } 127 { rect.fLeft, rect.fTop }, 128 { rect.fRight - rect.fLeft, rect.fBottom - rect.fTop } 298 bounds.fTop = 0; 305 bounds.fTop = y; 315 while (--y > bounds.fTop) { 328 pixels = pixelBase + rowPixels * bounds.fTop; 329 for (y = bounds.fTop; y < bounds.fBottom; ++y) { 341 pixels = pixelBase + rowPixels * bounds.fTop; [all...] |
bitmap_platform_device_mac_unittest.cc | 44 EXPECT_EQ(0, clip_rect.fTop); 64 EXPECT_EQ(0, clip_rect.fTop);
|
skia_utils_win.cc | 23 COMPILE_ASSERT(SK_OFFSETOF(RECT, top) == SK_OFFSETOF(SkIRect, fTop), o2); 27 COMPILE_ASSERT(sizeof(RECT().top) == sizeof(SkIRect().fTop), o6);
|
/external/chromium_org/third_party/skia/src/utils/ |
SkCullPoints.cpp | 31 (y0 < r.fTop && y1 < r.fTop) || 58 quad[0].set(r.fLeft, r.fTop); 59 quad[1].set(r.fRight, r.fTop); 204 iTarget.fTop = SkScalarFloorToInt(devTarget.fTop); 206 iTarget.fBottom = iTarget.fTop + 1;
|
SkNinePatch.cpp | 211 SkScalar vy = bounds.fTop; 261 0, margins.fTop, bitmap.height() - margins.fBottom, bitmap.height() 268 dst.fTop, dst.fTop + SkIntToScalar(margins.fTop), 279 dstY[1] = dstY[0] + (dstY[3] - dstY[0]) * SkIntToScalar(margins.fTop) / 280 (SkIntToScalar(margins.fTop) + SkIntToScalar(margins.fBottom)); 287 s.fTop = srcY[y]; 289 d.fTop = dstY[y]; 316 yDivs[0] = margins.fTop; [all...] |
/external/skia/src/utils/ |
SkCullPoints.cpp | 31 (y0 < r.fTop && y1 < r.fTop) || 58 quad[0].set(r.fLeft, r.fTop); 59 quad[1].set(r.fRight, r.fTop); 204 iTarget.fTop = SkScalarFloorToInt(devTarget.fTop); 206 iTarget.fBottom = iTarget.fTop + 1;
|
SkNinePatch.cpp | 211 SkScalar vy = bounds.fTop; 261 0, margins.fTop, bitmap.height() - margins.fBottom, bitmap.height() 268 dst.fTop, dst.fTop + SkIntToScalar(margins.fTop), 279 dstY[1] = dstY[0] + (dstY[3] - dstY[0]) * SkIntToScalar(margins.fTop) / 280 (SkIntToScalar(margins.fTop) + SkIntToScalar(margins.fBottom)); 287 s.fTop = srcY[y]; 289 d.fTop = dstY[y]; 316 yDivs[0] = margins.fTop; [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
OpaqueRegionSkia.cpp | 51 int top = SkScalarCeil(m_opaqueRect.fTop); 241 rect.fTop = points[0].fY; 247 rect.fTop = std::min(rect.fTop, points[i].fY); 364 if (rect.fTop <= opaqueRect.fTop && rect.fBottom >= opaqueRect.fBottom) { 370 if (rect.fTop < opaqueRect.fTop && rect.fBottom >= opaqueRect.fTop) 371 opaqueRect.fTop = rect.fTop [all...] |
/external/chromium_org/third_party/skia/src/animator/ |
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/skia/src/animator/ |
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),
|