Searched defs:centerY (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/java/android/gesture/
H A DOrientedBoundingBox.java34 public final float centerY; field in class:OrientedBoundingBox
41 centerY = cy;
62 matrix.postTranslate(centerX, centerY);
/frameworks/native/include/input/
H A DVirtualKeyMap.h37 int32_t centerY; member in struct:android::VirtualKeyDefinition
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTransform3dActivity.java58 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, floa argument
86 rotate(float centerX, float centerY, Camera camera, Matrix matrix, float angle) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DRect.java212 public final int centerY() { method in class:Rect
H A DRectF.java177 public final float centerY() { method in class:RectF
/frameworks/base/opengl/java/android/opengl/
H A DGLU.java65 * @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,
71 gluLookAt(GL10 gl, float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ) argument
H A DMatrix.java691 * @param centerY center of view Y
699 float centerX, float centerY, float centerZ, float upX, float upY,
706 float fy = centerY - eyeY;
697 setLookAtM(float[] rm, int rmOffset, float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ) argument
/frameworks/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp39 float centerX, float centerY, float centerZ, float upX, float upY,
46 float fy = centerY - eyeY;
38 gluLookAt(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ) argument
/frameworks/native/opengl/tests/gl_jni/jni/
H A Dgl_code.cpp25 float centerX, float centerY, float centerZ, float upX, float upY,
32 float fy = centerY - eyeY;
24 gluLookAt(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ) argument
/frameworks/native/opengl/tests/tritex/
H A Dtritex.cpp36 float centerX, float centerY, float centerZ, float upX, float upY,
43 float fy = centerY - eyeY;
35 gluLookAt(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ) argument
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageView.java65 public int centerX, centerY; field in class:TiledImageView.ImageRendererWrapper
160 mRenderer.centerY = source != null ? source.getImageHeight() / 2 : 0;
276 mRenderer.centerY = swap ? cx : cy;
305 mRenderer.image.setPosition(mRenderer.centerX, mRenderer.centerY,
H A DTiledImageRenderer.java240 public void setPosition(int centerX, int centerY, float scale) { argument
241 if (mCenterX == centerX && mCenterY == centerY
246 mCenterY = centerY;
430 int centerX = mViewWidth / 2, centerY = mViewHeight / 2;
431 canvas.translate(centerX, centerY);
433 canvas.translate(-centerX, -centerY);
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java1149 private void updateTargetPosition(int i, float centerX, float centerY) { argument
1151 updateTargetPosition(i, centerX, centerY, angle);
1154 private void updateTargetPosition(int i, float centerX, float centerY, float angle) { argument
1161 targetIcon.setPositionY(centerY);
1167 private void updateTargetPositions(float centerX, float centerY) { argument
1168 updateTargetPositions(centerX, centerY, false);
1171 private void updateTargetPositions(float centerX, float centerY, boolean skipActive) { argument
1177 updateTargetPosition(i, centerX, centerY, getAngle(alpha, i));
1190 private void updatePointCloudPosition(float centerX, float centerY) { argument
1191 mPointCloud.setCenter(centerX, centerY);
[all...]
H A DMultiWaveView.java1043 private void updateTargetPositions(float centerX, float centerY) { argument
1052 targetIcon.setPositionY(centerY);
1058 private void updateChevronPositions(float centerX, float centerY) { argument
1065 target.setPositionY(centerY);
/frameworks/base/services/java/com/android/server/accessibility/
H A DScreenMagnifier.java240 final float centerY = (-spec.offsetY + magnifiedFrame.height() / 2) / scale;
242 centerY, false);
1035 final float centerY = normPivotY + offsetY;
1036 setScaleAndMagnifiedRegionCenter(scale, centerX, centerY, animate);
1039 public void setMagnifiedRegionCenter(float centerX, float centerY, boolean animate) { argument
1040 setScaleAndMagnifiedRegionCenter(mCurrentMagnificationSpec.scale, centerX, centerY,
1054 public void setScaleAndMagnifiedRegionCenter(float scale, float centerX, float centerY, argument
1060 centerY) == 0) {
1068 + " offsetY: " + centerY);
1070 updateMagnificationSpec(scale, centerX, centerY);
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java822 * @param centerY the center vertical point around which to scale
824 private void scale(float newScale, float centerX, float centerY) { argument
836 mMatrix.postScale(factor, factor, centerX, centerY);
1043 public boolean start(float startScale, float targetScale, float centerX, float centerY) { argument
1049 mCenterY = centerY;

Completed in 299 milliseconds