Searched refs:centerY (Results 1 - 25 of 49) sorted by relevance

12

/external/replicaisland/tools/
H A DExtractPoints.js109 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
[all...]
/external/droiddriver/src/com/google/android/droiddriver/actions/
H A DClickAction.java59 long downTime = Events.touchDown(injector, elementRect.centerX(), elementRect.centerY());
62 Events.touchUp(injector, downTime, elementRect.centerX(), elementRect.centerY());
75 long downTime = Events.touchDown(injector, elementRect.centerX(), elementRect.centerY());
79 Events.touchUp(injector, downTime, elementRect.centerX(), elementRect.centerY());
H A DSwipeAction.java76 startY = elementRect.centerY();
78 endY = elementRect.centerY();
82 startY = elementRect.centerY();
84 endY = elementRect.centerY();
/external/replicaisland/src/com/replica/replicaisland/
H A DSphereCollisionVolume.java27 public SphereCollisionVolume(float radius, float centerX, float centerY) { argument
30 mCenter = new Vector2(centerX, centerY);
35 public SphereCollisionVolume(float radius, float centerX, float centerY, int hit) { argument
38 mCenter = new Vector2(centerX, centerY);
110 final float centerY = deltaY / 2.0f;
114 mWorkspaceVector2.y += centerY;
H A DOrbitalMagnetComponent.java67 private void applyMagnetism(GameObject target, float centerX, float centerY, float timeDelta) { argument
68 mCenter.set(centerX, centerY);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowCanvas.java171 public float centerY; field in class:ShadowCanvas.CirclePaintHistoryEvent
174 private CirclePaintHistoryEvent(float centerX, float centerY, float radius, Paint paint) { argument
177 this.centerY = centerY;
/external/skia/gm/
H A Dbigtext.cpp39 this->height()/2 - r.centerY()
H A Dfilltypes.cpp46 canvas->translate(r.centerX(), r.centerY());
48 canvas->translate(-r.centerX(), -r.centerY());
H A Dfilltypespersp.cpp45 canvas->translate(r.centerX(), r.centerY());
47 canvas->translate(-r.centerX(), -r.centerY());
H A Dimagefiltersbase.cpp97 canvas->drawCircle(r.centerX(), r.centerY(), r.width()*2/5, paint);
107 canvas->drawText("Text", 4, r.centerX(), r.centerY(), paint);
H A Dimagefilterscropped.cpp37 canvas->drawCircle(r.centerX(), r.centerY(), r.width()*2/5, paint);
50 canvas->drawText("Text", 4, r.centerX(), r.centerY(), paint);
H A Dpathfill.cpp203 show(canvas, path, paint, clipPtr, clipR.fTop, clipR.centerY());
204 show(canvas, path, paint, clipPtr, clipR.centerY(), clipR.fBottom);
/external/chromium_org/chrome/test/chromedriver/js/
H A Dget_element_region.js35 var centerY = Number(coords[1]);
39 'top': Math.max(0, centerY - radius),
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSBasicShapes.h142 CSSPrimitiveValue* centerY() const { return m_centerY.get(); } function in class:WebCore::CSSBasicShapeCircle
146 void setCenterY(PassRefPtr<CSSPrimitiveValue> centerY) { m_centerY = centerY; } argument
169 CSSPrimitiveValue* centerY() const { return m_centerY.get(); } function in class:WebCore::CSSBasicShapeEllipse
174 void setCenterY(PassRefPtr<CSSPrimitiveValue> centerY) { m_centerY = centerY; } argument
H A DBasicShapeFunctions.cpp64 circleValue->setCenterY(cssValuePool().createValue(circle->centerY()));
75 ellipseValue->setCenterY(cssValuePool().createValue(ellipse->centerY()));
151 circle->setCenterY(convertToLength(state, circleValue->centerY()));
162 ellipse->setCenterY(convertToLength(state, ellipseValue->centerY()));
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DShape.cpp134 float centerY = floatValueForLength(circle->centerY(), boxHeight); local
136 FloatPoint logicalCenter = physicalPointToLogical(FloatPoint(centerX, centerY), logicalBoxSize.height(), writingMode);
145 float centerY = floatValueForLength(ellipse->centerY(), boxHeight); local
148 FloatPoint logicalCenter = physicalPointToLogical(FloatPoint(centerX, centerY), logicalBoxSize.height(), writingMode);
H A DRectangleShape.cpp205 float centerY = bounds.y() + bounds.height() / 2; local
206 bool minCornerDefinesX = fabs(centerY - minY) > fabs(centerY - maxY);
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DBasicShapes.h113 Length centerY() const { return m_centerY; } function in class:WebCore::BasicShapeCircle
117 void setCenterY(Length centerY) { m_centerY = centerY; } argument
137 Length centerY() const { return m_centerY; } function in class:WebCore::BasicShapeEllipse
142 void setCenterY(Length centerY) { m_centerY = centerY; } argument
H A DBasicShapes.cpp90 float centerY = floatValueForLength(m_centerY, boundingBox.height()); local
94 centerY - radius + boundingBox.y(),
107 result->setCenterY(m_centerY.blend(o->centerY(), progress));
116 float centerY = floatValueForLength(m_centerY, boundingBox.height()); local
121 centerY - radiusY + boundingBox.y(),
134 result->setCenterY(m_centerY.blend(o->centerY(), progress));
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/input/
H A DSelectionHandleTest.java168 int topY = (nodeWindowBounds.top + nodeWindowBounds.centerY()) / 2;
169 int centerY = nodeWindowBounds.centerY();
170 int bottomY = (nodeWindowBounds.bottom + nodeWindowBounds.centerY()) / 2;
177 dragHandleAndCheckSelectionChange(startHandle, centerX, centerY, 1, 0);
391 int centerY = nodeWindowBounds.centerY();
392 touchCommon.longPressView(getContentView(), centerX, centerY);
403 dragHandleTo(getStartHandle(), centerX - 40, centerY - 40, 1);
/external/skia/tests/
H A DInfRectTest.cpp35 gData[index].fRect.centerY() == gData[index].fCenter.y());
45 int cy = r.centerY();
/external/skia/tools/
H A Dskhello.cpp27 bounds.centerX(), bounds.centerY(),
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/
H A DRenderDeviceJme.java258 int centerX, int centerY) {
291 float y0 = centerY + (y - centerY) * scale;
255 renderImage(RenderImage image, int x, int y, int w, int h, int srcX, int srcY, int srcW, int srcH, Color color, float scale, int centerX, int centerY) argument
/external/chromium_org/chrome/browser/resources/downloads/
H A Ddownloads.js407 centerY: 24 * scale,
500 Download.Progress.centerY);
504 Download.Progress.centerY,
512 Download.Progress.centerY);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderImage.cpp327 LayoutUnit centerY = (usableHeight - imageSize.height()) / 2; local
328 if (centerY < 0)
329 centerY = 0;
330 imageOffset = LayoutSize(leftBorder + leftPad + centerX + borderWidth, topBorder + topPad + centerY + borderWidth);

Completed in 781 milliseconds

12