Searched refs:centerY (Results 1 - 25 of 29) sorted by relevance

12

/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/core/java/android/gesture/
H A DOrientedBoundingBox.java34 public final float centerY; field in class:OrientedBoundingBox
41 centerY = cy;
62 matrix.postTranslate(centerX, centerY);
H A DGestureUtils.java131 float preDy = -rect.centerY();
332 float centerY = 0;
337 centerY += points[i];
341 center[1] = 2 * centerY / count;
/frameworks/base/include/androidfw/
H A DVirtualKeyMap.h37 int32_t centerY; member in struct:android::VirtualKeyDefinition
/frameworks/base/libs/androidfw/
H A DVirtualKeyMap.cpp115 && parseNextIntField(&defn.centerY)
125 ALOGD("Parsed virtual key: scanCode=%d, centerX=%d, centerY=%d, "
127 defn.scanCode, defn.centerX, defn.centerY, defn.width, defn.height);
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DUiObject.java218 rect.centerY(), rect.left + SWIPE_MARGIN_LIMIT, rect.centerY(), steps);
238 rect.centerY(), rect.right - SWIPE_MARGIN_LIMIT, rect.centerY(), steps);
303 return getInteractionController().clickAndWaitForEvents(rect.centerX(), rect.centerY(),
341 rect.centerX(), rect.centerY(), timeout);
401 return getInteractionController().longTap(rect.centerX(), rect.centerY());
495 getInteractionController().longTap(rect.left + 20, rect.centerY());
H A DUiScrollable.java335 downY = rect.centerY();
337 upY = rect.centerY();
400 downY = rect.centerY();
402 upY = rect.centerY();
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
H A DTransformTestActivity.java98 float centerY = detector.getFocusY();
100 float diffY = centerY - mPosY;
/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.java663 * @param centerY center of view Y
671 float centerX, float centerY, float centerZ, float upX, float upY,
678 float fy = centerY - eyeY;
669 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_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/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/libs/hwui/
H A DShapeCache.cpp154 path.moveTo(r.centerX(), r.centerY());
/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/base/core/java/com/android/internal/widget/
H A DLockPatternView.java894 final float centerY = getCenterYForRow(currentCell.row);
900 (getCenterYForRow(nextCell.row) - centerY);
902 mInProgressY = centerY + dy;
923 //float centerY = mPaddingTop + i * mSquareHeight + (mSquareHeight / 2);
973 float centerY = getCenterYForRow(cell.row);
975 currentPath.moveTo(centerX, centerY);
977 currentPath.lineTo(centerX, centerY);
/frameworks/base/services/java/com/android/server/accessibility/
H A DScreenMagnifier.java419 final float centerY = mMagnificationController.getMagnifiedRegionCenterY() + scrollY;
424 mMagnificationController.setMagnifiedRegionCenter(centerX, centerY, false);
1342 final float centerY = normPivotY + offsetY;
1343 setScaleAndMagnifiedRegionCenter(scale, centerX, centerY, animate);
1346 public void setMagnifiedRegionCenter(float centerX, float centerY, boolean animate) { argument
1347 setScaleAndMagnifiedRegionCenter(mCurrentMagnificationSpec.mScale, centerX, centerY,
1351 public void setScaleAndMagnifiedRegionCenter(float scale, float centerX, float centerY, argument
1357 centerY) == 0) {
1365 + " centerY: " + centerY);
[all...]
H A DTouchExplorer.java1243 clickLocationY = focusBounds.centerY();
1262 clickLocationY = focusBounds.centerY();
1431 clickLocationY = focusBounds.centerY();
1450 clickLocationY = focusBounds.centerY();
/frameworks/ex/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java755 * @param centerY the center vertical point around which to scale
757 private void scale(float newScale, float centerX, float centerY) { argument
769 mMatrix.postScale(factor, factor, centerX, centerY);
971 public boolean start(float startScale, float targetScale, float centerX, float centerY) { argument
977 mCenterY = centerY;
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java761 * @param centerY the center vertical point around which to scale
763 private void scale(float newScale, float centerX, float centerY) { argument
775 mMatrix.postScale(factor, factor, centerX, centerY);
977 public boolean start(float startScale, float targetScale, float centerX, float centerY) { argument
983 mCenterY = centerY;
/frameworks/base/graphics/java/android/graphics/
H A DRectF.java177 public final float centerY() { method in class:RectF
H A DRect.java212 public final int centerY() { method in class:Rect
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java536 float y = r.centerY();
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp2690 int32_t y = toRawY(VIRTUAL_KEYS[0].centerY);
2719 int32_t y = toRawY(VIRTUAL_KEYS[0].centerY);
2765 int32_t y = toRawY(VIRTUAL_KEYS[0].centerY);
2816 int32_t y = toRawY(VIRTUAL_KEYS[0].centerY);

Completed in 420 milliseconds

12