/external/mesa3d/src/mesa/swrast/ |
D | s_aaline.c | 48 GLfloat halfWidth; /* half of line width */ member 373 xLeft = x0 - line->halfWidth; in segment() 374 xRight = x1 + line->halfWidth; in segment() 376 yBot = y0 - 3.0F * line->halfWidth; in segment() 377 yTop = y0 + line->halfWidth; in segment() 380 yBot = y0 - line->halfWidth; in segment() 381 yTop = y0 + 3.0F * line->halfWidth; in segment() 385 xLeft = x1 - line->halfWidth; in segment() 386 xRight = x0 + line->halfWidth; in segment() 388 yBot = y1 - 3.0F * line->halfWidth; in segment() [all …]
|
D | s_aalinetemp.h | 122 line.halfWidth = 0.5F * CLAMP(ctx->Line.Width, in NAME() 132 line.xAdj = line.dx / line.len * line.halfWidth; in NAME() 133 line.yAdj = line.dy / line.len * line.halfWidth; in NAME()
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
D | s_aaline.c | 48 GLfloat halfWidth; /* half of line width */ member 373 xLeft = x0 - line->halfWidth; in segment() 374 xRight = x1 + line->halfWidth; in segment() 376 yBot = y0 - 3.0F * line->halfWidth; in segment() 377 yTop = y0 + line->halfWidth; in segment() 380 yBot = y0 - line->halfWidth; in segment() 381 yTop = y0 + 3.0F * line->halfWidth; in segment() 385 xLeft = x1 - line->halfWidth; in segment() 386 xRight = x0 + line->halfWidth; in segment() 388 yBot = y1 - 3.0F * line->halfWidth; in segment() [all …]
|
D | s_aalinetemp.h | 122 line.halfWidth = 0.5F * CLAMP(ctx->Line.Width, in NAME() 132 line.xAdj = line.dx / line.len * line.halfWidth; in NAME() 133 line.yAdj = line.dy / line.len * line.halfWidth; in NAME()
|
/external/chromium_org/third_party/skia/src/gpu/effects/ |
D | GrConvolutionEffect.h | 27 int halfWidth, in Create() argument 33 halfWidth, in Create() 43 int halfWidth, in CreateGaussian() argument 49 halfWidth, in CreateGaussian() 94 int halfWidth, 101 int halfWidth,
|
/external/skia/src/gpu/effects/ |
D | GrConvolutionEffect.h | 27 int halfWidth, in Create() argument 33 halfWidth, in Create() 43 int halfWidth, in CreateGaussian() argument 49 halfWidth, in CreateGaussian() 94 int halfWidth, 101 int halfWidth,
|
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
D | WebTestThemeControlWin.cpp | 264 int halfWidth = m_width / 2; in draw() local 344 int longOffset = halfWidth - notchLongOffset; in draw() 352 int longOffset = halfWidth - notchLongOffset; in draw() 376 int longOffset = halfWidth - gripLongIndent; in draw() 386 …line(m_left + halfWidth, m_top + gripLongIndent, m_left + halfWidth, m_bottom - gripLongIndent, m_… in draw() 407 …triangle(m_left + quarterWidth, m_bottom - quarterHeight, m_left + halfWidth, m_top + quarterHeigh… in draw() 413 … quarterHeight, m_right - quarterWidth, m_top + quarterHeight, m_left + halfWidth, m_bottom - quar… in draw() 431 lirect.inset(halfWidth - sliderIndent, noOffset); in draw() 441 …triangle(m_left + quarterWidth, m_top, m_right - quarterWidth, m_top, m_left + halfWidth, m_bottom… in draw()
|
D | WebTestThemeEngineMock.cpp | 334 int halfWidth = irect.width() / 2; in paint() local 348 left + halfWidth, bottom - quarterHeight, in paint() 375 left + halfWidth, top + quarterHeight, in paint() 387 int longOffset = halfWidth - gripLongIndent; in paint() 412 left + halfWidth, top + gripLongIndent, in paint() 413 left + halfWidth, bottom - gripLongIndent, in paint() 445 int longOffset = halfWidth - notchLongOffset; in paint() 525 halfWidth = irect.width() / 2; in paint() 534 irect.fLeft + halfWidth, irect.fBottom, in paint() 546 lirect.inset(halfWidth - sliderIndent, noOffset); in paint() [all …]
|
/external/chromium_org/third_party/skia/src/effects/ |
D | SkDashPathEffect.cpp | 462 SkScalar halfWidth, halfHeight; in asPoints() local 464 halfWidth = SkScalarHalf(clampedInitialDashLength); in asPoints() 467 halfWidth = SkScalarHalf(rec.getWidth()); in asPoints() 472 results->fFirst.addRect(x - halfWidth, y - halfHeight, in asPoints() 473 x + halfWidth, y + halfHeight); in asPoints() 513 SkScalar halfWidth, halfHeight; in asPoints() local 515 halfWidth = SkScalarHalf(temp); in asPoints() 518 halfWidth = SkScalarHalf(rec.getWidth()); in asPoints() 521 results->fLast.addRect(x - halfWidth, y - halfHeight, in asPoints() 522 x + halfWidth, y + halfHeight); in asPoints()
|
/external/skia/src/effects/ |
D | SkDashPathEffect.cpp | 462 SkScalar halfWidth, halfHeight; in asPoints() local 464 halfWidth = SkScalarHalf(clampedInitialDashLength); in asPoints() 467 halfWidth = SkScalarHalf(rec.getWidth()); in asPoints() 472 results->fFirst.addRect(x - halfWidth, y - halfHeight, in asPoints() 473 x + halfWidth, y + halfHeight); in asPoints() 513 SkScalar halfWidth, halfHeight; in asPoints() local 515 halfWidth = SkScalarHalf(temp); in asPoints() 518 halfWidth = SkScalarHalf(rec.getWidth()); in asPoints() 521 results->fLast.addRect(x - halfWidth, y - halfHeight, in asPoints() 522 x + halfWidth, y + halfHeight); in asPoints()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | SimpleCollisionComponent.java | 62 final float halfWidth = parentObject.width / 2.0f; in update() local 65 parentObject.getPosition().x = mHitPoint.x - halfWidth; in update()
|
D | InputGameInterface.java | 99 final float halfWidth = ButtonConstants.MOVEMENT_SLIDER_BAR_WIDTH / 2.0f; in update() local 100 final float center = ButtonConstants.MOVEMENT_SLIDER_X + halfWidth; in update() 102 float magnitudeRamp = Math.abs(offset) > halfWidth ? 1.0f : (Math.abs(offset) / halfWidth); in update()
|
D | GameRenderer.java | 214 final float halfWidth = mHalfWidth; in onDrawFrame() local 222 x = (x - mCameraX) + halfWidth; in onDrawFrame()
|
/external/chromium_org/third_party/skia/src/gpu/ |
D | GrOvalRenderer.cpp | 530 SkScalar halfWidth = 0; in drawCircle() local 533 halfWidth = SK_ScalarHalf; in drawCircle() 535 halfWidth = SkScalarHalf(strokeWidth); in drawCircle() 538 outerRadius += halfWidth; in drawCircle() 540 innerRadius = radius - halfWidth; in drawCircle() 962 SkScalar halfWidth = 0; in drawSimpleRRect() local 965 halfWidth = SK_ScalarHalf; in drawSimpleRRect() 967 halfWidth = SkScalarHalf(scaledStroke.fX); in drawSimpleRRect() 971 innerRadius = xRadius - halfWidth; in drawSimpleRRect() 973 outerRadius += halfWidth; in drawSimpleRRect() [all …]
|
/external/skia/src/gpu/ |
D | GrOvalRenderer.cpp | 530 SkScalar halfWidth = 0; in drawCircle() local 533 halfWidth = SK_ScalarHalf; in drawCircle() 535 halfWidth = SkScalarHalf(strokeWidth); in drawCircle() 538 outerRadius += halfWidth; in drawCircle() 540 innerRadius = radius - halfWidth; in drawCircle() 962 SkScalar halfWidth = 0; in drawSimpleRRect() local 965 halfWidth = SK_ScalarHalf; in drawSimpleRRect() 967 halfWidth = SkScalarHalf(scaledStroke.fX); in drawSimpleRRect() 971 innerRadius = xRadius - halfWidth; in drawSimpleRRect() 973 outerRadius += halfWidth; in drawSimpleRRect() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSGradientValue.cpp | 615 float halfWidth = size.width() / 2; in endPointsFromAngle() local 618 endCorner.set(halfWidth, halfHeight); in endPointsFromAngle() 620 endCorner.set(halfWidth, -halfHeight); in endPointsFromAngle() 622 endCorner.set(-halfWidth, -halfHeight); in endPointsFromAngle() 624 endCorner.set(-halfWidth, halfHeight); in endPointsFromAngle() 633 secondPoint.set(halfWidth + endX, halfHeight - endY); in endPointsFromAngle() 635 firstPoint.set(halfWidth - endX, halfHeight + endY); in endPointsFromAngle()
|
/external/chromium_org/third_party/freetype/src/cff/ |
D | cf2hints.c | 633 CF2_Fixed halfWidth = FT_MulFix( in cf2_hintmap_insertHint() local 639 firstHintEdge->dsCoord = midpoint - halfWidth; in cf2_hintmap_insertHint() 640 secondHintEdge->dsCoord = midpoint + halfWidth; in cf2_hintmap_insertHint()
|
/external/freetype/src/cff/ |
D | cf2hints.c | 633 CF2_Fixed halfWidth = FT_MulFix( in cf2_hintmap_insertHint() local 639 firstHintEdge->dsCoord = midpoint - halfWidth; in cf2_hintmap_insertHint() 640 secondHintEdge->dsCoord = midpoint + halfWidth; in cf2_hintmap_insertHint()
|