HomeSort by relevance Sort by last modified time
    Searched full:centery (Results 1 - 25 of 400) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /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...]
  /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/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...]
  /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);
  /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/java/android/gesture/
OrientedBoundingBox.java 34 public final float centerY;
41 centerY = cy;
62 matrix.postTranslate(centerX, centerY);
  /frameworks/base/core/res/res/drawable/
progress_horizontal.xml 25 android:centerY="0.75"
39 android:centerY="0.75"
54 android:centerY="0.75"
title_bar_shadow.xml 22 android:centerY="0.3"
  /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());
  /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));
  /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);
  /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;
  /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/
lightingshader.cpp 122 m.setRotate(45.0f, r.centerX(), r.centerY());
134 m.setRotate(45.0f, r.centerX(), r.centerY());
146 m.setRotate(45.0f, r.centerX(), r.centerY());
158 m.setRotate(45.0f, r.centerX(), r.centerY());
filltypes.cpp 47 canvas->translate(r.centerX(), r.centerY());
49 canvas->translate(-r.centerX(), -r.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);
  /external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/
com.badlogic.gdx.physics.box2d.PolygonShape.cpp 47 JNIEXPORT void JNICALL Java_com_badlogic_gdx_physics_box2d_PolygonShape_jniSetAsBox__JFFFFF(JNIEnv* env, jobject object, jlong addr, jfloat hx, jfloat hy, jfloat centerX, jfloat centerY, jfloat angle) {
53 poly->SetAsBox( hx, hy, b2Vec2( centerX, centerY ), angle );
  /external/libgdx/tests/gdx-tests-ios-intel/src/main/resources/
LaunchScreen.xib 24 <constraint firstAttribute="centerY" secondItem="cXf-3N-st0" secondAttribute="centerY" id="GjL-As-Mev"/>
  /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/crop/
CropDrawingUtils.java 76 float centerX, float centerY) {
78 int top = (int) centerY - indicatorSize / 2;
107 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.left, bounds.centerY());
110 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.right, bounds.centerY());
120 float cy = cropBounds.centerY();
176 dst.setRotate(rotation, image.centerX(), image.centerY());
182 boolean rot = dst.preRotate(rotation, image.centerX(), image.centerY());
  /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);

Completed in 2073 milliseconds

1 2 3 4 5 6 7 8 91011>>