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

/frameworks/base/core/java/android/view/
H A DViewAnimationUtils.java47 * @param centerY The y coordinate of the center of the animating circle.
52 int centerX, int centerY, float startRadius, float endRadius) {
53 return new RevealAnimator(view, centerX, centerY, startRadius, endRadius);
51 createCircularReveal(View view, int centerX, int centerY, float startRadius, float endRadius) argument
/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 DRadialGradient.java45 @param centerY The y-coordinate of the center of the radius
54 public RadialGradient(float centerX, float centerY, float radius, argument
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, argument
90 mY = centerY;
95 init(nativeCreate2(centerX, centerY, radius, centerColor, edgeColor, tileMode.nativeInt));
H A DRect.java224 public final int centerY() { method in class:Rect
H A DRectF.java177 public final float centerY() { method in class:RectF
/frameworks/base/core/jni/
H A Dandroid_view_RenderNodeAnimator.cpp136 jint centerX, jint centerY, jfloat startRadius, jfloat endRadius) {
137 BaseRenderNodeAnimator* animator = new RevealAnimator(centerX, centerY, startRadius, endRadius);
135 createRevealAnimator(JNIEnv* env, jobject clazz, jint centerX, jint centerY, jfloat startRadius, jfloat endRadius) argument
/frameworks/base/libs/hwui/
H A DAnimator.cpp303 RevealAnimator::RevealAnimator(int centerX, int centerY, argument
307 , mCenterY(centerY) {
/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/
H A DLockPatternView.java918 final float centerY = getCenterYForRow(currentCell.row);
924 (getCenterYForRow(nextCell.row) - centerY);
926 mInProgressY = centerY + dy;
937 float centerY = getCenterYForRow(i);
943 drawCircle(canvas, (int) centerX, (int) centerY + translationY,
971 float centerY = getCenterYForRow(cell.row);
979 currentPath.lineTo(centerX, centerY);
984 lastY = centerY;
1027 private void drawCircle(Canvas canvas, float centerX, float centerY, float size, argument
1031 canvas.drawCircle(centerX, centerY, siz
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java1155 private void updateTargetPosition(int i, float centerX, float centerY) { argument
1157 updateTargetPosition(i, centerX, centerY, angle);
1160 private void updateTargetPosition(int i, float centerX, float centerY, float angle) { argument
1167 targetIcon.setPositionY(centerY);
1173 private void updateTargetPositions(float centerX, float centerY) { argument
1174 updateTargetPositions(centerX, centerY, false);
1177 private void updateTargetPositions(float centerX, float centerY, boolean skipActive) { argument
1183 updateTargetPosition(i, centerX, centerY, getAngle(alpha, i));
1196 private void updatePointCloudPosition(float centerX, float centerY) { argument
1197 mPointCloud.setCenter(centerX, centerY);
[all...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DScreenMagnifier.java233 final float centerY = (-spec.offsetY + magnifiedFrame.height() / 2) / scale;
235 centerY, false);
1024 final float centerY = normPivotY + offsetY;
1025 setScaleAndMagnifiedRegionCenter(scale, centerX, centerY, animate);
1028 public void setMagnifiedRegionCenter(float centerX, float centerY, boolean animate) { argument
1029 setScaleAndMagnifiedRegionCenter(mCurrentMagnificationSpec.scale, centerX, centerY,
1043 public void setScaleAndMagnifiedRegionCenter(float scale, float centerX, float centerY, argument
1049 centerY) == 0) {
1057 + " offsetY: " + centerY);
1059 updateMagnificationSpec(scale, centerX, centerY);
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java277 float centerX, centerY;
286 centerY = (getHeight() / 2 - relativeScale * mTranslateRect.centerY()) /
304 centerY = mTranslateRect.centerY();
306 centerY = Math.min(Math.max(mTranslateRect.top + heightBuffer,
311 mScaleRunnable.start(currentScale, targetScale, centerX, centerY);
398 float centerY = getHeight() / 2;
414 centerY = (minY + maxY) / 2;
416 centerY
942 scale(float newScale, float centerX, float centerY) argument
1167 start(float startScale, float targetScale, float centerX, float centerY) argument
[all...]

Completed in 6089 milliseconds