Searched defs:centerX (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/core/java/android/view/
H A DViewAnimationUtils.java51 * 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);
62 * @param centerX The x 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);
69 createCircularReveal(View view, int centerX, int centerY, float startRadius, float endRadius) argument
/frameworks/base/core/java/android/gesture/
H A DOrientedBoundingBox.java33 public final float centerX; field in class:OrientedBoundingBox
40 centerX = cx;
62 matrix.postTranslate(centerX, centerY);
/frameworks/native/include/input/
H A DVirtualKeyMap.h36 int32_t centerX; member in struct:android::VirtualKeyDefinition
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTransform3dActivity.java57 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, 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.java47 * @param centerX The x-coordinate of the center of the radius
57 public RadialGradient(float centerX, float centerY, float radius, argument
70 mX = centerX;
81 * @param centerX The x-coordinate of the center of the radius
88 public RadialGradient(float centerX, float centerY, float radius, argument
94 mX = centerX;
H A DRect.java226 public final int centerX() { method in class:Rect
H A DRectF.java168 public final float centerX() { 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.cpp449 RevealAnimator::RevealAnimator(int centerX, int centerY, argument
452 , mCenterX(centerX)
/frameworks/base/opengl/java/android/opengl/
H A DGLU.java64 * @param centerX center of view X
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.java690 * @param centerX center of view X
699 float centerX, float centerY, float centerZ, float upX, float upY,
705 float fx = centerX - eyeX;
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,
45 float fx = centerX - eyeX;
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,
31 float fx = centerX - eyeX;
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,
42 float fx = centerX - eyeX;
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
159 mRenderer.centerX = source != null ? source.getImageWidth() / 2 : 0;
275 mRenderer.centerX = swap ? cy : cx;
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
245 mCenterX = centerX;
430 int centerX = mViewWidth / 2, centerY = mViewHeight / 2;
431 canvas.translate(centerX, centerY);
433 canvas.translate(-centerX, -centerY);
/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityService.java378 float scale, float centerX, float centerY);
719 float centerX, float centerY) {
722 region, scale, centerX, centerY);
856 final float centerX, final float centerY) {
879 region, scale, centerX, centerY);
884 listener.onMagnificationChanged(this, region, scale, centerX, centerY);
1072 * @param centerX the unscaled screen-relative X coordinate on which to
1080 public boolean setCenter(float centerX, float centerY, boolean animate) { argument
1087 Float.NaN, centerX, centerY, animate);
1106 * @param centerX th
377 onMagnificationChanged(@onNull Region region, float scale, float centerX, float centerY) argument
718 onMagnificationChanged(@onNull Region region, float scale, float centerX, float centerY) argument
855 dispatchMagnificationChanged(final @NonNull Region region, final float scale, final float centerX, final float centerY) argument
1111 onMagnificationChanged(@onNull MagnificationController controller, @NonNull Region region, float scale, float centerX, float centerY) argument
1657 onMagnificationChanged(@onNull Region region, float scale, float centerX, float centerY) argument
[all...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DMagnificationController.java448 final float centerX = normPivotX + offsetX;
451 return setScaleAndCenterLocked(scale, centerX, centerY, animate, id);
459 * @param centerX the screen-relative X coordinate around which to
469 public boolean setCenter(float centerX, float centerY, boolean animate, int id) { argument
474 return setScaleAndCenterLocked(Float.NaN, centerX, centerY, animate, id);
484 * @param centerX the screen-relative X coordinate around which to
495 float scale, float centerX, float centerY, boolean animate, int id) {
500 return setScaleAndCenterLocked(scale, centerX, centerY, animate, id);
504 private boolean setScaleAndCenterLocked(float scale, float centerX, float centerY, argument
506 final boolean changed = updateMagnificationSpecLocked(scale, centerX, center
494 setScaleAndCenter( float scale, float centerX, float centerY, boolean animate, int id) argument
595 updateMagnificationSpecLocked(float scale, float centerX, float centerY) argument
[all...]
H A DAccessibilityManagerService.java932 * @param centerX the new screen-relative center X coordinate
936 float scale, float centerX, float centerY) {
939 notifyMagnificationChangedLocked(region, scale, centerX, centerY);
1135 float scale, float centerX, float centerY) {
1139 service.notifyMagnificationChangedLocked(region, scale, centerX, centerY);
3528 public boolean setMagnificationScaleAndCenter(float scale, float centerX, float centerY, argument
3545 .setScaleAndCenter(scale, centerX, centerY, animate, mId);
3851 float scale, float centerX, float centerY) {
3853 .notifyMagnificationChangedLocked(region, scale, centerX, centerY);
3873 float scale, float centerX, floa
935 notifyMagnificationChanged(@onNull Region region, float scale, float centerX, float centerY) argument
1134 notifyMagnificationChangedLocked(@onNull Region region, float scale, float centerX, float centerY) argument
3850 notifyMagnificationChangedLocked(@onNull Region region, float scale, float centerX, float centerY) argument
3872 notifyMagnificationChangedInternal(@onNull Region region, float scale, float centerX, float centerY) argument
4150 notifyMagnificationChangedLocked(@onNull Region region, float scale, float centerX, float centerY) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java1087 final float centerX = getCenterXForColumn(currentCell.column);
1092 (getCenterXForColumn(nextCell.column) - centerX);
1095 mInProgressX = centerX + dx;
1110 float centerX = getCenterXForColumn(j);
1121 drawCircle(canvas, (int) centerX, (int) centerY + translationY,
1150 float centerX = getCenterXForColumn(cell.column);
1159 currentPath.lineTo(centerX, centerY);
1163 lastX = centerX;
1207 private void drawCircle(Canvas canvas, float centerX, float centerY, float radius, argument
1211 canvas.drawCircle(centerX, center
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java279 float centerX, centerY;
286 centerX = (getWidth() / 2 - relativeScale * mTranslateRect.centerX()) /
300 centerX = mTranslateRect.centerX();
302 centerX = Math.min(Math.max(mTranslateRect.left + widthBuffer,
313 mScaleRunnable.start(currentScale, targetScale, centerX, centerY);
910 * @param centerX the center horizontal point around which to scale
913 private void scale(float newScale, float centerX, float centerY) { argument
972 mMatrix.postScale(factor, factor, centerX, center
1184 start(float startScale, float targetScale, float centerX, float centerY) argument
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 3565 milliseconds