/external/replicaisland/tools/ |
D | ExtractPoints.js | 109 edge.centerY = edge.endY - (height / 2); 117 tile.centerY = totalY; 120 var row = Math.floor(tile.centerY / tileSizeY); 126 tile.centerY -= tile.yOffset; 151 edge.centerY -= tile.yOffset; 163 if (Math.abs(edge.centerY - tile.centerY) > 164 Math.abs((edge.centerY + edge.normalY) - tile.centerY)) { 174 edge.centerY = tileSizeY - edge.centerY; 241 var normalY = Math.round(tile.centerY + 246 offsetY + tile.centerY - 1); [all …]
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | SphereCollisionVolume.java | 27 public SphereCollisionVolume(float radius, float centerX, float centerY) { in SphereCollisionVolume() argument 30 mCenter = new Vector2(centerX, centerY); in SphereCollisionVolume() 35 public SphereCollisionVolume(float radius, float centerX, float centerY, int hit) { in SphereCollisionVolume() argument 38 mCenter = new Vector2(centerX, centerY); in SphereCollisionVolume() 110 final float centerY = deltaY / 2.0f; in intersects() local 114 mWorkspaceVector2.y += centerY; in intersects()
|
D | OrbitalMagnetComponent.java | 67 private void applyMagnetism(GameObject target, float centerX, float centerY, float timeDelta) { in applyMagnetism() argument 68 mCenter.set(centerX, centerY); in applyMagnetism()
|
D | BackgroundCollisionComponent.java | 325 int left, int right, float centerY, Vector2 hitPoint, Vector2 hitNormal, in sweepHorizontal() argument 333 mTestPointStart.y = (centerY); in sweepHorizontal()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowCanvas.java | 171 public float centerY; field in ShadowCanvas.CirclePaintHistoryEvent 174 private CirclePaintHistoryEvent(float centerX, float centerY, float radius, Paint paint) { in CirclePaintHistoryEvent() argument 177 this.centerY = centerY; in CirclePaintHistoryEvent()
|
/external/skia/gm/ |
D | filltypes.cpp | 46 canvas->translate(r.centerX(), r.centerY()); in showPath() 48 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
|
D | filltypespersp.cpp | 45 canvas->translate(r.centerX(), r.centerY()); in showPath() 47 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
|
D | imagefiltersbase.cpp | 96 canvas->drawCircle(r.centerX(), r.centerY(), r.width()*2/5, paint); in draw_path() 106 canvas->drawText("Text", 4, r.centerX(), r.centerY(), paint); in draw_text()
|
D | pathfill.cpp | 203 show(canvas, path, paint, clipPtr, clipR.fTop, clipR.centerY()); in onDraw() 204 show(canvas, path, paint, clipPtr, clipR.centerY(), clipR.fBottom); in onDraw()
|
D | techtalk1.cpp | 198 show_fan(canvas, dst, r.centerX(), r.centerY()); in draw_oval() 205 canvas->drawCircle(r.centerX(), r.centerY(), 3, p); in draw_oval()
|
/external/skia/tests/ |
D | InfRectTest.cpp | 35 gData[index].fRect.centerY() == gData[index].fCenter.y()); in test_center() 45 int cy = r.centerY(); in test_center()
|
D | PathTest.cpp | 983 static const SkPoint kCircleC = {kBaseRect.centerX(), kBaseRect.centerY()}; in test_conservativelyContains() 1049 {SkRect::MakeXYWH(kBaseRect.fLeft, kBaseRect.centerY(), kBaseRect.width(), SkScalar(1)), in test_conservativelyContains() 1058 {SkRect::MakeXYWH(kBaseRect.fLeft, kBaseRect.centerY(), in test_conservativelyContains()
|
/external/webkit/Source/WebCore/rendering/ |
D | RenderImage.cpp | 284 int centerY = (usableHeight - image->height()) / 2; in paintReplaced() local 285 if (centerY < 0) in paintReplaced() 286 centerY = 0; in paintReplaced() 288 imageY = topBorder + topPad + centerY + 1; in paintReplaced()
|
D | RenderThemeSafari.cpp | 818 float centerY = bounds.y() + bounds.height() / 2.0f; in paintMenuListButton() local 832 arrow[0] = FloatPoint(leftEdge, centerY - arrowHeight / 2.0f); in paintMenuListButton() 833 arrow[1] = FloatPoint(leftEdge + arrowWidth, centerY - arrowHeight / 2.0f); in paintMenuListButton() 834 arrow[2] = FloatPoint(leftEdge + arrowWidth / 2.0f, centerY + arrowHeight / 2.0f); in paintMenuListButton()
|
D | RenderThemeMac.mm | 1096 float centerY = bounds.y() + bounds.height() / 2.0f; 1111 arrow1[0] = FloatPoint(leftEdge, centerY - spaceBetweenArrows / 2.0f); 1112 arrow1[1] = FloatPoint(leftEdge + arrowWidth, centerY - spaceBetweenArrows / 2.0f); 1113 …arrow1[2] = FloatPoint(leftEdge + arrowWidth / 2.0f, centerY - spaceBetweenArrows / 2.0f - arrowHe… 1119 arrow2[0] = FloatPoint(leftEdge, centerY + spaceBetweenArrows / 2.0f); 1120 arrow2[1] = FloatPoint(leftEdge + arrowWidth, centerY + spaceBetweenArrows / 2.0f); 1121 …arrow2[2] = FloatPoint(leftEdge + arrowWidth / 2.0f, centerY + spaceBetweenArrows / 2.0f + arrowHe…
|
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/ |
D | RenderDeviceJme.java | 258 int centerX, int centerY) { in renderImage() argument 291 float y0 = centerY + (y - centerY) * scale; in renderImage()
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
D | DrawUtils.java | 90 int centerY = y + (height - imageBounds.height) / 2; in drawImageCHCV() local 91 gc.drawImage(image, x + centerX, centerY); in drawImageCHCV()
|
/external/skia/include/core/ |
D | SkRect.h | 90 int centerY() const { return (fBottom + fTop) >> 1; } in centerY() function 448 SkScalar centerY() const { return SkScalarHalf(fTop + fBottom); } in centerY() function
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
D | GraphicsContextWinCE.cpp | 497 int centerY = origRect.y() + origRect.height() / 2; in TransparentLayerDC() local 499 m_rotation.m_preShiftY = -centerY; in TransparentLayerDC() 501 m_rotation.m_postShiftY = centerY; in TransparentLayerDC() 804 int centerY = stableRound(trRect.y() + b); in strokeArc() local 815 startY = centerY - startY; in strokeArc() 817 endY = centerY - endY; in strokeArc()
|
/external/skia/src/core/ |
D | SkRRect.cpp | 141 canonicalPt.set(x - fRect.centerX(), y - fRect.centerY()); in contains()
|
D | SkPath.cpp | 1148 SkScalar cy = oval.centerY(); in addOval() 1219 pts[0].set(oval.fRight, oval.centerY()); in build_arc_points() 1263 matrix.postTranslate(oval.centerX(), oval.centerY()); in build_arc_points()
|
/external/webkit/Source/WebKit/qt/declarative/ |
D | qdeclarativewebview_p.h | 230 void zoomTo(qreal zoom, int centerX, int centerY);
|
/external/skia/legacy/include/core/ |
D | SkRect.h | 373 SkScalar centerY() const { return SkScalarHalf(fTop + fBottom); } in centerY() function
|
/external/webkit/Source/WebCore/css/ |
D | CSSParser.cpp | 5382 RefPtr<CSSValue> centerY; in parseRadialGradient() local 5384 parseFillPosition(args, centerX, centerY); in parseRadialGradient() 5389 if (centerX || centerY) { in parseRadialGradient() 5400 ASSERT(!centerY || centerY->isPrimitiveValue()); in parseRadialGradient() 5405 result->setFirstY(static_cast<CSSPrimitiveValue*>(centerY.get())); in parseRadialGradient() 5406 result->setSecondY(static_cast<CSSPrimitiveValue*>(centerY.get())); in parseRadialGradient()
|
/external/skia/legacy/src/core/ |
D | SkPath.cpp | 736 SkScalar cy = oval.centerY(); in addOval() 842 matrix.postTranslate(oval.centerX(), oval.centerY()); in build_arc_points()
|