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

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/view/
ViewAnimationUtils.java 51 * public static Animator createRevealWithDelay(View view, int centerX, int centerY, float startRadius, float endRadius) {
52 * Animator delayAnimator = ViewAnimationUtils.createCircularReveal(view, centerX, centerY, startRadius, startRadius);
54 * Animator revealAnimator = ViewAnimationUtils.createCircularReveal(view, centerX, centerY, startRadius, endRadius);
64 * @param centerY The y coordinate of the center of the animating circle, relative to
70 int centerX, int centerY, float startRadius, float endRadius) {
71 return new RevealAnimator(view, centerX, centerY, startRadius, endRadius);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
Transform3dActivity.java 58 final float centerY = getHeight() / 2.0f - mBitmap1.getHeight() / 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...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SelectionHandle.java 88 public final int centerY;
97 * @param centerY y coordinate of the center of the selection handle
100 public SelectionHandle(int centerX, int centerY, Position position) {
103 this.centerY = centerY;
120 && point.y >= centerY - distance
121 && point.y <= centerY + distance);
  /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);
  /external/replicaisland/tools/
ExtractPoints.js 109 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 = tileSizeY - edge.centerY
    [all...]
  /external/droiddriver/src/io/appium/droiddriver/actions/
ClickAction.java 58 long downTime = Events.touchDown(injector, elementRect.centerX(), elementRect.centerY());
61 Events.touchUp(injector, downTime, elementRect.centerX(), elementRect.centerY());
74 long downTime = Events.touchDown(injector, elementRect.centerX(), elementRect.centerY());
78 Events.touchUp(injector, downTime, elementRect.centerX(), elementRect.centerY());
SwipeAction.java 175 startY = elementRect.centerY();
177 endY = elementRect.centerY();
181 startY = elementRect.centerY();
183 endY = elementRect.centerY();
  /frameworks/base/graphics/java/android/graphics/
RadialGradient.java 48 * @param centerY The y-coordinate of the center of the radius
57 public RadialGradient(float centerX, float centerY, float radius,
71 mY = centerY;
82 * @param centerY The y-coordinate of the center of the radius
88 public RadialGradient(float centerX, float centerY, float radius,
95 mY = centerY;
  /packages/apps/Camera2/src/com/android/camera/ui/
ProgressRenderer.java 85 public void onDraw(Canvas canvas, int centerX, int centerY) {
89 mArcBounds = new RectF(centerX - mProgressRadius, centerY - mProgressRadius, centerX
91 centerY + mProgressRadius);
93 canvas.drawCircle(centerX, centerY, mProgressRadius, mProgressBasePaint);
  /frameworks/base/core/java/android/gesture/
OrientedBoundingBox.java 34 public final float centerY;
41 centerY = cy;
62 matrix.postTranslate(centerX, centerY);
  /packages/apps/Dialer/java/com/android/incallui/incall/impl/
InCallPaginator.java 114 int centerY = getHeight() / 2;
128 centerY - dotRadius,
130 centerY + dotRadius,
135 centerX + indicatorOffset, centerY, indicatorRadius, Path.Direction.CW);
140 centerY - dotRadius,
142 centerY + dotRadius,
147 centerX - indicatorOffset, centerY, indicatorRadius, Path.Direction.CW);
155 centerY - dotRadius,
157 centerY + dotRadius,
163 centerY - dotRadius
    [all...]
  /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);
110 final float centerY = deltaY / 2.0f;
114 mWorkspaceVector2.y += centerY;
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageRedEye.java 121 canvas.drawLine(fullRect.left, fullRect.centerY(),
122 fullRect.right, fullRect.centerY(), paint);
127 float dy = fullRect.centerY() - dh / 2;
132 canvas.drawLine(drawRect.left, drawRect.centerY(),
133 drawRect.right, drawRect.centerY(), paint);
134 canvas.drawCircle(drawRect.centerX(), drawRect.centerY(),
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
CameraPreviewView.java 44 float centerY = canvas.getHeight() / 2.0f;
55 int y = (int) centerY - i * GRID_WIDTH;
57 y = (int) centerY + i * GRID_WIDTH;
  /frameworks/base/core/tests/coretests/src/android/view/
ScaleGestureDetectorTest.java 74 final int centerY = displayHeight / 2;
77 final float[] firstFingerStartCoords = new float[] {centerX + 1.0f, centerY - 1.0f};
80 final float[] secondFingerStartCoords = new float[] {centerX - 1.0f, centerY + 1.0f};
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
proximity_info.cpp 132 const float centerY = static_cast<float>(getKeyCenterYOfKeyIdG(keyId, y, isGeometric));
135 return ProximityInfoUtils::getSquaredDistanceFloat(centerX, centerY, touchX, touchY)
227 int centerY;
229 centerY = mCenterYsG[keyId];
231 centerY = static_cast<int>(mSweetSpotCenterYsG[keyId]);
233 centerY = static_cast<int>(mSweetSpotCenterYs[keyId]);
236 centerY + mKeyHeights[keyId] > KEYBOARD_HEIGHT && centerY < referencePointY) {
242 return centerY;
  /frameworks/base/core/java/android/accessibilityservice/
IAccessibilityServiceClient.aidl 44 void onMagnificationChanged(in Region region, float scale, float centerX, float centerY);
  /frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
UiObject.java 201 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(),
202 dstRect.centerX(), dstRect.centerY(), steps, true);
220 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), destX, destY,
302 rect.centerY(), rect.left + SWIPE_MARGIN_LIMIT, rect.centerY(), steps);
329 rect.centerY(), rect.right - SWIPE_MARGIN_LIMIT, rect.centerY(), steps);
402 return getInteractionController().clickAndSync(rect.centerX(), rect.centerY(),
442 return getInteractionController().clickAndWaitForNewWindow(rect.centerX(), rect.centerY(),
511 return getInteractionController().longTapNoSync(rect.centerX(), rect.centerY());
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/widget/
CircleView.java 216 * @param centerY the y-coordinate to use, relative to the view's bounds
220 public CircleView setCenterY(float centerY) {
222 if (oldCenterY != centerY) {
223 mCenterY = centerY;
227 invalidate(mCenterX, centerY, mRadius);
275 * {@code centerY}, and {@code radius}.
277 private void invalidate(float centerX, float centerY, float radius) {
278 invalidate((int) (centerX - radius - 0.5f), (int) (centerY - radius - 0.5f),
279 (int) (centerX + radius + 0.5f), (int) (centerY + radius + 0.5f));
  /cts/tests/tests/media/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);
  /packages/apps/Camera2/src/com/android/camera/captureintent/
PreviewTransformCalculator.java 48 PointF previewViewCenter = new PointF(previewViewRect.centerX(), previewViewRect.centerY());
63 new PointF(PreviewBufferRect.centerX(), PreviewBufferRect.centerY());
99 new PointF(scaledPreviewStreamRect.centerX(), scaledPreviewStreamRect.centerY());
  /cts/tests/openglperf2/jni/graphics/
Matrix.h 42 float centerY, float centerZ, float upX, float upY, float upZ);
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCanvas.java 171 public float centerY;
174 private CirclePaintHistoryEvent(float centerX, float centerY, float radius, Paint paint) {
177 this.centerY = centerY;
  /external/skia/gm/
bigtext.cpp 42 this->height()/2 - r.centerY()

Completed in 484 milliseconds

1 2 3 4 5 6 7 8 91011>>