/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);
|
/frameworks/base/graphics/java/android/graphics/ |
RadialGradient.java | 45 @param centerY The y-coordinate of the center of the radius 54 public RadialGradient(float centerX, float centerY, float radius, 67 mY = centerY; 72 init(nativeCreate1(centerX, centerY, radius, colors, stops, tileMode.nativeInt)); 77 @param centerY The y-coordinate of the center of the radius 83 public RadialGradient(float centerX, float centerY, float radius, 90 mY = centerY; 95 init(nativeCreate2(centerX, centerY, radius, centerColor, edgeColor, tileMode.nativeInt));
|
/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();
|
/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);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/shapebuilders/ |
EllipseShapeBuilder.java | 30 public static void build (MeshPartBuilder builder, float radius, int divisions, float centerX, float centerY, float centerZ, float normalX, float normalY, 32 build(builder, radius, divisions, centerX, centerY, centerZ, normalX, normalY, normalZ, 0f, 360f); 48 public static void build (MeshPartBuilder builder, float radius, int divisions, float centerX, float centerY, float centerZ, float normalX, float normalY, 50 build(builder, radius, divisions, centerX, centerY, centerZ, normalX, normalY, normalZ, tangentX, tangentY, tangentZ, binormalX, 55 public static void build (MeshPartBuilder builder, float radius, int divisions, float centerX, float centerY, float centerZ, float normalX, float normalY, 57 build(builder, radius * 2f, radius * 2f, divisions, centerX, centerY, centerZ, normalX, normalY, normalZ, angleFrom, angleTo); 73 public static void build (MeshPartBuilder builder, float radius, int divisions, float centerX, float centerY, float centerZ, float normalX, float normalY, 76 build(builder, radius * 2, radius * 2, 0, 0, divisions, centerX, centerY, centerZ, normalX, normalY, normalZ, tangentX, tangentY, 81 public static void build (MeshPartBuilder builder, float width, float height, int divisions, float centerX, float centerY, 83 build(builder, width, height, divisions, centerX, centerY, centerZ, normalX, normalY, normalZ, 0f, 360f) [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;
|
/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...] |
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/distancefield/ |
DistanceFieldGenerator.java | 151 int centerY = (y * downscale) + (downscale / 2); 152 float signedDistance = findSignedDistance(centerX, centerY, bitmap); 193 * @param centerY the y coordinate of the center point 197 private float findSignedDistance(final int centerX, final int centerY, boolean[][] bitmap) 201 final boolean base = bitmap[centerY][centerX]; 206 final int startY = Math.max(0, centerY - delta); 207 final int endY = Math.min(height - 1, centerY + delta); 217 final int squareDist = squareDist(centerX, centerY, x, y);
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
CircleView.java | 230 * @param centerY the y-coordinate to use, relative to the view's bounds 234 public CircleView setCenterY(float centerY) { 236 if (oldCenterY != centerY) { 237 mCenterY = centerY; 241 invalidate(mCenterX, centerY, mRadius); 289 * {@code centerY}, and {@code radius}. 291 private void invalidate(float centerX, float centerY, float radius) { 292 invalidate((int) (centerX - radius - 0.5f), (int) (centerY - radius - 0.5f), 293 (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 | 41 this->height()/2 - r.centerY()
|