/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
D | WebTestThemeControlWin.cpp | 265 int halfHeight = m_height / 2; in draw() local 314 nestedBoxes(checkIndent, halfHeight, checkIndent, halfHeight, m_bgColor, m_fgColor); in draw() 318 circle(SkIntToScalar(halfHeight), m_bgColor); in draw() 322 circle(SkIntToScalar(halfHeight), m_bgColor); in draw() 323 circle(SkIntToScalar(halfHeight - checkIndent), m_fgColor); in draw() 328 int longOffset = halfHeight - notchLongOffset; in draw() 336 int longOffset = halfHeight - notchLongOffset; in draw() 377 …line(m_left + gripLongIndent, m_top + halfHeight, m_right - gripLongIndent, m_top + halfHeight, m_… in draw() 385 int longOffset = halfHeight - gripLongIndent; in draw() 395 …ht - quarterWidth, m_bottom - quarterHeight, m_left + quarterWidth, m_top + halfHeight, m_fgColor); in draw() [all …]
|
D | WebTestThemeEngineMock.cpp | 333 int halfHeight = irect.height() / 2; in paint() local 358 left + quarterWidth, top + halfHeight, in paint() 366 right - quarterWidth, top + halfHeight, in paint() 389 left + gripLongIndent, top + halfHeight, in paint() 390 right - gripLongIndent, top + halfHeight, in paint() 410 int longOffset = halfHeight - gripLongIndent; in paint() 428 int longOffset = halfHeight - notchLongOffset; in paint() 464 checkIndent, halfHeight, in paint() 465 checkIndent, halfHeight, in paint() 481 halfHeight = irect.height() / 2; in paint() [all …]
|
/external/chromium_org/third_party/skia/src/effects/ |
D | SkDashPathEffect.cpp | 462 SkScalar halfWidth, halfHeight; in asPoints() local 465 halfHeight = SkScalarHalf(rec.getWidth()); in asPoints() 468 halfHeight = SkScalarHalf(clampedInitialDashLength); 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 516 halfHeight = SkScalarHalf(rec.getWidth()); in asPoints() 519 halfHeight = SkScalarHalf(temp); 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 465 halfHeight = SkScalarHalf(rec.getWidth()); in asPoints() 468 halfHeight = SkScalarHalf(clampedInitialDashLength); 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 516 halfHeight = SkScalarHalf(rec.getWidth()); in asPoints() 519 halfHeight = SkScalarHalf(temp); 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 | 63 final float halfHeight = parentObject.height / 2.0f; in update() local 69 parentObject.getPosition().y = mHitPoint.y - halfHeight; in update()
|
D | GameRenderer.java | 215 final float halfHeight = mHalfHeight; in onDrawFrame() local 223 y = (y - mCameraY) + halfHeight; in onDrawFrame()
|
/external/chromium-trace/trace-viewer/src/tracing/tracks/ |
D | object_instance_track.js | 84 var halfHeight = height * 0.5; 147 ctx.arc(xView, halfHeight, snapshotRadiusView, 0, twoPi); 155 ctx.arc(xView, halfHeight, snapshotRadiusView - 1, 0, twoPi);
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
D | Cylinder.java | 246 float halfHeight = 0.5f * height; in updateGeometry() local 309 float z = -halfHeight + height * axisFraction; in updateGeometry() 349 pb.put(0).put(0).put(-halfHeight); // bottom center in updateGeometry() 352 pb.put(0).put(0).put(halfHeight); // top center in updateGeometry()
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSGradientValue.cpp | 614 float halfHeight = size.height() / 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()
|