/external/replicaisland/tools/ |
D | ExtractPoints.js | 108 edge.centerX = edge.endX - (width / 2); 116 tile.centerX = totalX; 119 var column = Math.floor(tile.centerX / tileSizeX); 125 tile.centerX -= tile.xOffset; 150 edge.centerX -= tile.xOffset; 157 if (Math.abs(edge.centerX - tile.centerX) > 158 Math.abs((edge.centerX + edge.normalX) - tile.centerX)) { 239 var normalX = Math.round(tile.centerX + 245 tileCenterArray[0] = new Array(offsetX + tile.centerX - 1, 247 tileCenterArray[1] = new Array(offsetX + tile.centerX - 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() 109 final float centerX = deltaX / 2.0f; in intersects() local 113 mWorkspaceVector2.x += centerX; 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 | 360 int bottom, int top, float centerX, Vector2 hitPoint, Vector2 hitNormal, in sweepVertical() argument 367 mTestPointStart.x = (centerX); in sweepVertical()
|
D | NPCComponent.java | 158 final float centerX = parentObject.getCenteredPositionX(); in update() local 159 final int hitTileX = hotSpotSystem.getHitTileX(centerX); in update()
|
/external/skia/samplecode/ |
D | SampleDither.cpp | 37 SkShader* s = SkGradientShader::CreateSweep(r.centerX(), r.centerY(), in draw_sweep() 43 c->translate(r.centerX(), r.centerY()); in draw_sweep() 45 c->translate(-r.centerX(), -r.centerY()); in draw_sweep() 54 SkScalar x = r.centerX(); in draw_sweep()
|
D | SampleArc.cpp | 61 canvas->drawLine(r.centerX(), r.fTop, r.centerX(), r.fBottom, p); in drawRectWithLines() 76 canvas->drawText(str.c_str(), str.size(), rect.centerX(), in draw_label()
|
D | SampleFillType.cpp | 50 canvas->translate(r.centerX(), r.centerY()); in showPath() 52 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
|
D | SamplePathClip.cpp | 50 oval.offset(fCenter.fX - oval.centerX(), fCenter.fY - oval.centerY()); in onDrawContent()
|
/external/skia/gm/ |
D | filltypes.cpp | 41 canvas->translate(r.centerX(), r.centerY()); in showPath() 43 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
|
D | filltypespersp.cpp | 41 canvas->translate(r.centerX(), r.centerY()); in showPath() 43 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
|
/external/webkit/Source/WebCore/rendering/ |
D | RenderImage.cpp | 281 int centerX = (usableWidth - image->width()) / 2; in paintReplaced() local 282 if (centerX < 0) in paintReplaced() 283 centerX = 0; in paintReplaced() 287 imageX = leftBorder + leftPad + centerX + 1; in paintReplaced()
|
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/ |
D | RenderDeviceJme.java | 258 int centerX, int centerY) { in renderImage() argument 290 float x0 = centerX + (x - centerX) * scale; in renderImage()
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
D | DrawUtils.java | 89 int centerX = (width - imageBounds.width) / 2; in drawImageCHCV() local 91 gc.drawImage(image, x + centerX, centerY); in drawImageCHCV()
|
/external/webkit/Examples/NetscapeCoreAnimationMoviePlugin/ |
D | MovieControllerLayer.m | 284 - (void)_setNewTimeForThumbCenterX:(CGFloat)centerX 288 CGFloat fraction = (centerX - CGRectGetMinX(innerRect)) / CGRectGetWidth(innerRect);
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
D | GraphicsContextWinCE.cpp | 496 int centerX = origRect.x() + origRect.width() / 2; in TransparentLayerDC() local 498 m_rotation.m_preShiftX = -centerX; in TransparentLayerDC() 500 m_rotation.m_postShiftX = centerX; in TransparentLayerDC() 803 int centerX = stableRound(trRect.x() + a); in strokeArc() local 814 startX += centerX; in strokeArc() 816 endX += centerX; in strokeArc()
|
/external/webkit/Source/WebKit/qt/declarative/ |
D | qdeclarativewebview_p.h | 230 void zoomTo(qreal zoom, int centerX, int centerY);
|
/external/skia/include/core/ |
D | SkRect.h | 372 SkScalar centerX() const { return SkScalarHalf(fLeft + fRight); } in centerX() function
|
/external/webkit/Source/WebCore/css/ |
D | CSSParser.cpp | 5381 RefPtr<CSSValue> centerX; in parseRadialGradient() local 5384 parseFillPosition(args, centerX, centerY); in parseRadialGradient() 5389 if (centerX || centerY) { in parseRadialGradient() 5399 ASSERT(!centerX || centerX->isPrimitiveValue()); in parseRadialGradient() 5402 result->setFirstX(static_cast<CSSPrimitiveValue*>(centerX.get())); in parseRadialGradient() 5403 result->setSecondX(static_cast<CSSPrimitiveValue*>(centerX.get())); in parseRadialGradient()
|
/external/skia/src/core/ |
D | SkPath.cpp | 735 SkScalar cx = oval.centerX(); in addOval() 842 matrix.postTranslate(oval.centerX(), oval.centerY()); in build_arc_points()
|
D | SkCanvas.cpp | 1915 path.moveTo(oval.centerX(), oval.centerY()); in drawArc()
|
/external/webkit/Source/WebCore/dom/ |
D | Document.h | 344 …PassRefPtr<NodeList> nodesFromRect(int centerX, int centerY, unsigned topPadding, unsigned rightPa…
|
D | Document.cpp | 1099 PassRefPtr<NodeList> Document::nodesFromRect(int centerX, int centerY, unsigned topPadding, unsigne… in nodesFromRect() argument 1112 …IntPoint point = roundedIntPoint(FloatPoint(centerX * zoomFactor + view()->scrollX(), centerY * zo… in nodesFromRect()
|