HomeSort by relevance Sort by last modified time
    Searched defs:centerX (Results 1 - 25 of 82) sorted by null

1 2 3 4

  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
BasicShapes.cpp 89 float centerX = floatValueForLength(m_centerX, boundingBox.width());
93 centerX - radius + boundingBox.x(),
106 result->setCenterX(m_centerX.blend(o->centerX(), progress, ValueRangeAll));
115 float centerX = floatValueForLength(m_centerX, boundingBox.width());
120 centerX - radiusX + boundingBox.x(),
133 result->setCenterX(m_centerX.blend(o->centerX(), progress, ValueRangeAll));
  /frameworks/native/include/input/
VirtualKeyMap.h 36 int32_t centerX;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
CameraPreviewView.java 43 float centerX = canvas.getWidth() / 2.0f;
48 canvas.drawLine(centerX, 0, centerX, canvas.getHeight(), mPaint);
61 int x = (int) centerX - i * GRID_WIDTH;
63 x = (int) centerX + i * GRID_WIDTH;
  /cts/tests/tests/media/src/android/media/cts/
FaceView.java 85 float centerX = eyesMP.x * scale;
89 canvas.drawCircle(centerX, centerY, eyesDistance / 2, mPOuterBullsEye);
90 canvas.drawCircle(centerX, centerY, eyesDistance / 6, mPInnerBullsEye);
  /frameworks/base/core/java/android/gesture/
OrientedBoundingBox.java 33 public final float centerX;
40 centerX = cx;
62 matrix.postTranslate(centerX, centerY);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageRedEye.java 119 canvas.drawLine(fullRect.centerX(), fullRect.top,
120 fullRect.centerX(), fullRect.bottom, paint);
126 float dx = fullRect.centerX() - dw / 2;
130 canvas.drawLine(drawRect.centerX(), drawRect.top,
131 drawRect.centerX(), drawRect.bottom, paint);
134 canvas.drawCircle(drawRect.centerX(), drawRect.centerY(),
  /cts/suite/cts/deviceTests/opengl/jni/primitive/fullpipeline/
FullPipelineRenderer.cpp 120 float centerX = 0.0f;
130 mViewMatrix = Matrix::newLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ);
  /cts/suite/cts/deviceTests/opengl/jni/reference/scene/glowing/
GlowingScene.cpp 87 float centerX = 0.0f;
97 return Matrix::newLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ);
  /cts/suite/cts/deviceTests/opengl/test/
MatrixTest.cpp 144 float centerX = 0.0f;
154 Matrix* m = Matrix::newLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ,
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
Rotate3dAnimation.java 41 * of X and Y coordinates, called centerX and centerY. When the animation
48 * @param centerX the X center of the 3D rotation
53 float centerX, float centerY, float depthZ, boolean reverse) {
56 mCenterX = centerX;
73 final float centerX = mCenterX;
89 matrix.preTranslate(-centerX, -centerY);
90 matrix.postTranslate(centerX, centerY);
Transition3d.java 89 final float centerX = mContainer.getWidth() / 2.0f;
95 new Rotate3dAnimation(start, end, centerX, centerY, 310.0f, true);
149 final float centerX = mContainer.getWidth() / 2.0f;
158 rotation = new Rotate3dAnimation(90, 180, centerX, centerY, 310.0f, false);
164 rotation = new Rotate3dAnimation(90, 0, centerX, centerY, 310.0f, false);
  /frameworks/base/graphics/java/android/graphics/
RectF.java 169 public final float centerX() {
Rect.java 203 public final int centerX() {
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
Transform3dActivity.java 57 final float centerX = getWidth() / 2.0f - mBitmap1.getWidth() / 2.0f;
63 rotate(centerX, centerY, camera, matrix, 32.0f);
64 drawBitmap(canvas, centerX, centerY, 0.0f, matrix);
66 rotate(centerX, centerY, camera, matrix, 12.0f);
67 drawBitmap(canvas, centerX, centerY, -mBitmap1.getWidth(), matrix);
69 rotate(centerX, centerY, camera, matrix, 52.0f);
70 drawBitmap(canvas, centerX, centerY, mBitmap1.getWidth(), matrix);
72 rotate(centerX, centerY, camera, matrix, 122.0f);
73 drawBitmap(canvas, centerX, centerY, mBitmap1.getWidth() * 2.0f, matrix);
77 private void drawBitmap(Canvas canvas, float centerX, float centerY, float offset
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
AnimationManager.java 56 int centerX = view.getLeft() + view.getWidth() / 2;
95 parentView.getWidth() / 2 - centerX, 0f)
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
proximity_info.cpp 138 const float centerX = static_cast<float>(getKeyCenterXOfKeyIdG(keyId, x, isGeometric));
142 return ProximityInfoUtils::getSquaredDistanceFloat(centerX, centerY, touchX, touchY)
199 int centerX = (hasTouchPositionCorrectionData()) ? static_cast<int>(mSweetSpotCenterXs[keyId])
205 // thus, centerX is adjusted depending on referencePointX.
207 if (referencePointX < centerX - keyWidthHalfDiff) {
208 centerX -= keyWidthHalfDiff;
209 } else if (referencePointX > centerX + keyWidthHalfDiff) {
210 centerX += keyWidthHalfDiff;
212 centerX = referencePointX;
215 return centerX;
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SelectionHandle.java 86 public final int centerX;
96 * @param centerX the x coordinate of the center of the selection handle
100 public SelectionHandle(int centerX, int centerY, Position position) {
102 this.centerX = centerX;
118 return (point.x >= centerX - distance
119 && point.x <= centerX + distance
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
ConstraintPainter.java 580 int tx = targetBounds.centerX();
777 graphics.drawLine(targetBounds.centerX(), targetBounds.y
    [all...]
  /cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/
FlockingScene.cpp 82 float centerX = 0.0f;
92 return Matrix::newLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ);
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/input/
SelectionHandleTest.java 166 int leftX = (nodeWindowBounds.left + nodeWindowBounds.centerX()) / 2;
167 int centerX = nodeWindowBounds.centerX();
168 int rightX = (nodeWindowBounds.right + nodeWindowBounds.centerX()) / 2;
179 dragHandleAndCheckSelectionChange(startHandle, centerX, centerY, 1, 0);
392 int centerX = nodeWindowBounds.centerX();
394 touchCommon.longPressView(getContentView(), centerX, centerY);
  /external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
Shape.cpp 143 float centerX = floatValueForLength(circle->centerX(), boxWidth);
150 FloatPoint logicalCenter = physicalPointToLogical(FloatPoint(centerX, centerY), logicalBoxSize.height(), writingMode);
158 float centerX = floatValueForLength(ellipse->centerX(), boxWidth);
162 FloatPoint logicalCenter = physicalPointToLogical(FloatPoint(centerX, centerY), logicalBoxSize.height(), writingMode);
  /external/chromium_org/third_party/skia/include/core/
SkRect.h 87 int centerX() const { return (fRight + fLeft) >> 1; }
469 SkScalar centerX() const { return SkScalarHalf(fLeft + fRight); }
  /external/replicaisland/src/com/replica/replicaisland/
SphereCollisionVolume.java 27 public SphereCollisionVolume(float radius, float centerX, float centerY) {
30 mCenter = new Vector2(centerX, centerY);
35 public SphereCollisionVolume(float radius, float centerX, float centerY, int hit) {
38 mCenter = new Vector2(centerX, centerY);
109 final float centerX = deltaX / 2.0f;
113 mWorkspaceVector2.x += centerX;
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCanvas.java 170 public float centerX;
174 private CirclePaintHistoryEvent(float centerX, float centerY, float radius, Paint paint) {
176 this.centerX = centerX;
  /external/skia/include/core/
SkRect.h 87 int centerX() const { return (fRight + fLeft) >> 1; }
469 SkScalar centerX() const { return SkScalarHalf(fLeft + fRight); }

Completed in 954 milliseconds

1 2 3 4