Home
last modified time | relevance | path

Searched refs:centerX (Results 1 – 23 of 23) sorted by relevance

/external/replicaisland/tools/
DExtractPoints.js108 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/
DSphereCollisionVolume.java27 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()
DOrbitalMagnetComponent.java67 private void applyMagnetism(GameObject target, float centerX, float centerY, float timeDelta) { in applyMagnetism() argument
68 mCenter.set(centerX, centerY); in applyMagnetism()
DBackgroundCollisionComponent.java360 int bottom, int top, float centerX, Vector2 hitPoint, Vector2 hitNormal, in sweepVertical() argument
367 mTestPointStart.x = (centerX); in sweepVertical()
DNPCComponent.java158 final float centerX = parentObject.getCenteredPositionX(); in update() local
159 final int hitTileX = hotSpotSystem.getHitTileX(centerX); in update()
/external/skia/samplecode/
DSampleDither.cpp37 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()
DSampleArc.cpp61 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()
DSampleFillType.cpp50 canvas->translate(r.centerX(), r.centerY()); in showPath()
52 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
DSamplePathClip.cpp50 oval.offset(fCenter.fX - oval.centerX(), fCenter.fY - oval.centerY()); in onDrawContent()
/external/skia/gm/
Dfilltypes.cpp41 canvas->translate(r.centerX(), r.centerY()); in showPath()
43 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
Dfilltypespersp.cpp41 canvas->translate(r.centerX(), r.centerY()); in showPath()
43 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
/external/webkit/Source/WebCore/rendering/
DRenderImage.cpp281 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/
DRenderDeviceJme.java258 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/
DDrawUtils.java89 int centerX = (width - imageBounds.width) / 2; in drawImageCHCV() local
91 gc.drawImage(image, x + centerX, centerY); in drawImageCHCV()
/external/webkit/Examples/NetscapeCoreAnimationMoviePlugin/
DMovieControllerLayer.m284 - (void)_setNewTimeForThumbCenterX:(CGFloat)centerX
288 CGFloat fraction = (centerX - CGRectGetMinX(innerRect)) / CGRectGetWidth(innerRect);
/external/webkit/Source/WebCore/platform/graphics/wince/
DGraphicsContextWinCE.cpp496 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/
Dqdeclarativewebview_p.h230 void zoomTo(qreal zoom, int centerX, int centerY);
/external/skia/include/core/
DSkRect.h372 SkScalar centerX() const { return SkScalarHalf(fLeft + fRight); } in centerX() function
/external/webkit/Source/WebCore/css/
DCSSParser.cpp5381 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/
DSkPath.cpp735 SkScalar cx = oval.centerX(); in addOval()
842 matrix.postTranslate(oval.centerX(), oval.centerY()); in build_arc_points()
DSkCanvas.cpp1915 path.moveTo(oval.centerX(), oval.centerY()); in drawArc()
/external/webkit/Source/WebCore/dom/
DDocument.h344 …PassRefPtr<NodeList> nodesFromRect(int centerX, int centerY, unsigned topPadding, unsigned rightPa…
DDocument.cpp1099 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()