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

1 2 3 4

  /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...]
  /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
  /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);
  /external/replicaisland/tools/
ExtractPoints.js 108 edge.centerX = edge.endX - (width / 2);
116 tile.centerX = totalX;
119 var column = Math.floor(tile.centerX / tileSizeX);
125 tile.centerX -= tile.xOffset;
150 edge.centerX -= tile.xOffset;
157 if (Math.abs(edge.centerX - tile.centerX) >
158 Math.abs((edge.centerX + edge.normalX) - tile.centerX)) {
239 var normalX = Math.round(tile.centerX +
    [all...]
  /frameworks/base/core/java/android/gesture/
OrientedBoundingBox.java 33 public final float centerX;
40 centerX = cx;
62 matrix.postTranslate(centerX, centerY);
  /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;
OrbitalMagnetComponent.java 67 private void applyMagnetism(GameObject target, float centerX, float centerY, float timeDelta) {
68 mCenter.set(centerX, centerY);
  /development/samples/GlobalTime/src/com/android/globaltime/
Annulus.java 32 * @param centerX the X coordinate of the center point
47 public Annulus(float centerX, float centerY, float Z,
70 vertices[vidx++] = toFixed(centerX + innerRadius * cosTheta);
74 vertices[vidx++] = toFixed(centerX + outerRadius * cosTheta);
LatLongSphere.java 21 public LatLongSphere(float centerX, float centerY, float centerZ,
72 vertices[vidx++] = toFixed(x * radius + centerX);
  /system/media/mca/filterpacks/imageproc/java/
VignetteFilter.java 96 float centerX = (float) (0.5 * mWidth);
98 float center[] = {centerX, centerY};
99 float max_dist = (float) Math.sqrt(centerX * centerX + centerY * centerY);
DocumentaryFilter.java 164 float centerX = (float) (0.5 * mWidth);
166 float center[] = {centerX, centerY};
167 float max_dist = (float) Math.sqrt(centerX * centerX + centerY * centerY);
LomoishFilter.java 154 float centerX = (float) (0.5 * mWidth);
156 float center[] = {centerX, centerY};
157 float max_dist = (float) Math.sqrt(centerX * centerX + centerY * centerY);