HomeSort by relevance Sort by last modified time
    Searched refs:centerY (Results 1 - 25 of 47) sorted by null

1 2

  /development/samples/ApiDemos/src/com/example/android/apis/animation/
Rotate3dAnimation.java 41 * of X and Y coordinates, called centerX and centerY. When the animation
49 * @param centerY the Y center of the 3D rotation
53 float centerX, float centerY, float depthZ, boolean reverse) {
57 mCenterY = centerY;
74 final float centerY = mCenterY;
89 matrix.preTranslate(-centerX, -centerY);
90 matrix.postTranslate(centerX, centerY);
Transition3d.java 90 final float centerY = mContainer.getHeight() / 2.0f;
95 new Rotate3dAnimation(start, end, centerX, centerY, 310.0f, true);
150 final float centerY = mContainer.getHeight() / 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/core/java/android/gesture/
OrientedBoundingBox.java 34 public final float centerY;
41 centerY = cy;
62 matrix.postTranslate(centerX, centerY);
GestureUtils.java 131 float preDy = -rect.centerY();
332 float centerY = 0;
337 centerY += points[i];
341 center[1] = 2 * centerY / count;
  /development/samples/GlobalTime/src/com/android/globaltime/
Annulus.java 33 * @param centerY the Y coordinate of the center point
47 public Annulus(float centerX, float centerY, float Z,
71 vertices[vidx++] = toFixed(centerY + innerRadius * sinTheta);
75 vertices[vidx++] = toFixed(centerY + outerRadius * sinTheta);
LatLongSphere.java 21 public LatLongSphere(float centerX, float centerY, float centerZ,
73 vertices[vidx++] = toFixed(y * radius + centerY);
  /cts/tests/src/android/media/cts/
FaceView.java 86 float centerY = eyesMP.y * scale;
89 canvas.drawCircle(centerX, centerY, eyesDistance / 2, mPOuterBullsEye);
90 canvas.drawCircle(centerX, centerY, eyesDistance / 6, mPInnerBullsEye);
  /external/skia/gm/
filltypes.cpp 33 canvas->translate(r.centerX(), r.centerY());
35 canvas->translate(-r.centerX(), -r.centerY());
  /frameworks/base/opengl/java/android/opengl/
GLU.java 65 * @param centerY center of view Y
72 float centerX, float centerY, float centerZ, float upX, float upY,
77 Matrix.setLookAtM(scratch, 0, eyeX, eyeY, eyeZ, centerX, centerY, centerZ,
Matrix.java 598 * @param centerY center of view Y
606 float centerX, float centerY, float centerZ, float upX, float upY,
613 float fy = centerY - eyeY;
  /frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
TransformTestActivity.java 98 float centerY = detector.getFocusY();
100 float diffY = centerY - mPosY;
  /cts/tests/tests/gesture/src/android/gesture/cts/
GestureStrokeTest.java 116 assertEquals(LineGestureStrokeHelper.LINE_MIDWAY_POINT, box.centerY);
  /packages/apps/Gallery/src/com/android/camera/
ImageViewTouchBase.java 307 protected void zoomTo(float scale, float centerX, float centerY) {
315 mSuppMatrix.postScale(deltaScale, deltaScale, centerX, centerY);
321 final float centerY, final float durationMs) {
331 zoomTo(target, centerX, centerY);
  /packages/apps/Gallery3D/src/com/cooliris/media/
ImageViewTouchBase.java 290 protected void zoomTo(float scale, float centerX, float centerY) {
298 mSuppMatrix.postScale(deltaScale, deltaScale, centerX, centerY);
303 protected void zoomTo(final float scale, final float centerX, final float centerY, final float durationMs) {
313 zoomTo(target, centerX, centerY);
  /frameworks/base/opengl/tests/gl_jni/jni/
gl_code.cpp 25 float centerX, float centerY, float centerZ, float upX, float upY,
32 float fy = centerY - eyeY;
  /frameworks/base/opengl/tests/tritex/
tritex.cpp 36 float centerX, float centerY, float centerZ, float upX, float upY,
43 float fy = centerY - eyeY;
  /frameworks/base/services/java/com/android/server/
InputManager.java 341 public int centerY;
438 key.centerY = Integer.parseInt(it[i+3]);
443 + key.centerY + " size=" + key.width + "x"
  /external/webkit/WebCore/rendering/
RenderImage.cpp 399 int centerY = (usableHeight - image()->height()) / 2;
400 if (centerY < 0)
401 centerY = 0;
403 imageY = topBorder + topPad + centerY + 1;
RenderThemeChromiumMac.mm     [all...]
RenderThemeMac.mm     [all...]
RenderThemeSafari.cpp 823 float centerY = bounds.y() + bounds.height() / 2.0f;
837 arrow[0] = FloatPoint(leftEdge, centerY - arrowHeight / 2.0f);
838 arrow[1] = FloatPoint(leftEdge + arrowWidth, centerY - arrowHeight / 2.0f);
839 arrow[2] = FloatPoint(leftEdge + arrowWidth / 2.0f, centerY + arrowHeight / 2.0f);
    [all...]
  /frameworks/base/opengl/tests/gl_basic/
gl_basic.cpp 39 float centerX, float centerY, float centerZ, float upX, float upY,
46 float fy = centerY - eyeY;
  /frameworks/base/core/java/com/android/internal/widget/
LockPatternView.java 814 final float centerY = getCenterYForRow(currentCell.row);
820 (getCenterYForRow(nextCell.row) - centerY);
822 mInProgressY = centerY + dy;
856 float centerY = getCenterYForRow(cell.row);
858 currentPath.moveTo(centerX, centerY);
860 currentPath.lineTo(centerX, centerY);
878 //float centerY = mPaddingTop + i * mSquareHeight + (mSquareHeight / 2);
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
RectTest.java 482 method = "centerY",
488 assertEquals(15, mRect.centerY());
490 assertEquals(15, mRect.centerY());
492 assertEquals(16, mRect.centerY());
  /frameworks/base/graphics/java/android/graphics/
Rect.java 200 public final int centerY() {

Completed in 205 milliseconds

1 2