/frameworks/base/core/java/android/view/ |
H A D | ViewAnimationUtils.java | 51 * 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); 64 * @param centerY The y 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/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | Transform3dActivity.java | 58 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 D | RadialGradient.java | 45 @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));
|
/frameworks/base/core/java/android/gesture/ |
H A D | OrientedBoundingBox.java | 34 public final float centerY; field in class:OrientedBoundingBox 41 centerY = cy; 62 matrix.postTranslate(centerX, centerY);
|
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | IAccessibilityServiceClient.aidl | 44 void onMagnificationChanged(in Region region, float scale, float centerX, float centerY);
|
H A D | AccessibilityService.java | 375 float scale, float centerX, float centerY); 689 float centerX, float centerY) { 692 region, scale, centerX, centerY); 812 final float centerX, final float centerY) { 835 region, scale, centerX, centerY); 840 listener.onMagnificationChanged(this, region, scale, centerX, centerY); 1030 * @param centerY the unscaled screen-relative Y coordinate on which to 1036 public boolean setCenter(float centerX, float centerY, boolean animate) { argument 1043 Float.NaN, centerX, centerY, animate); 1064 * @param centerY th 374 onMagnificationChanged(@onNull Region region, float scale, float centerX, float centerY) argument 688 onMagnificationChanged(@onNull Region region, float scale, float centerX, float centerY) argument 811 dispatchMagnificationChanged(final @NonNull Region region, final float scale, final float centerX, final float centerY) argument 1067 onMagnificationChanged(@onNull MagnificationController controller, @NonNull Region region, float scale, float centerX, float centerY) argument 1555 onMagnificationChanged(@onNull Region region, float scale, float centerX, float centerY) argument [all...] |
H A D | IAccessibilityServiceConnection.aidl | 82 boolean setMagnificationScaleAndCenter(float scale, float centerX, float centerY,
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiObject.java | 201 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), 202 dstRect.centerX(), dstRect.centerY(), steps, true); 220 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), destX, destY, 302 rect.centerY(), rect.left + SWIPE_MARGIN_LIMIT, rect.centerY(), steps); 329 rect.centerY(), rect.right - SWIPE_MARGIN_LIMIT, rect.centerY(), steps); 402 return getInteractionController().clickAndSync(rect.centerX(), rect.centerY(), 442 return getInteractionController().clickAndWaitForNewWindow(rect.centerX(), rect.centerY(), 511 return getInteractionController().longTapNoSync(rect.centerX(), rect.centerY()); [all...] |
H A D | UiScrollable.java | 443 downY = rect.centerY(); 445 upY = rect.centerY(); 524 downY = rect.centerY(); 526 upY = rect.centerY();
|
/frameworks/base/tests/Assist/src/com/android/test/assist/ |
H A D | AssistInteractionSession.java | 135 int centerY = (int) (mBackground.getHeight()/5*3.8f); 136 int radius = (int) Math.sqrt(centerX*centerX + centerY*centerY) + 1; 137 Animator animator = ViewAnimationUtils.createCircularReveal(mBackground, centerX, centerY,
|
/frameworks/native/include/input/ |
H A D | VirtualKeyMap.h | 37 int32_t centerY; member in struct:android::VirtualKeyDefinition
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | MagnificationController.java | 212 final float centerY = (mMagnificationBounds.height() / 2.0f 215 scale, centerX, centerY, false, INVALID_ID); 420 final float centerY = normPivotY + offsetY; 422 return setScaleAndCenterLocked(scale, centerX, centerY, animate, id); 432 * @param centerY the screen-relative Y coordinate around which to 440 public boolean setCenter(float centerX, float centerY, boolean animate, int id) { argument 445 return setScaleAndCenterLocked(Float.NaN, centerX, centerY, animate, id); 457 * @param centerY the screen-relative Y coordinate around which to 466 float scale, float centerX, float centerY, boolean animate, int id) { 471 return setScaleAndCenterLocked(scale, centerX, centerY, animat 465 setScaleAndCenter( float scale, float centerX, float centerY, boolean animate, int id) argument 475 setScaleAndCenterLocked(float scale, float centerX, float centerY, boolean animate, int id) argument 569 updateMagnificationSpecLocked(float scale, float centerX, float centerY) argument [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | CircularBitmapDrawable.java | 114 canvas.drawCircle(bounds.centerX(), bounds.centerY(), 152 canvas.drawCircle(dst.centerX(), dst.centerY(), dst.width() / 2, 157 canvas.drawCircle(dst.centerX(), dst.centerY(),
|
/frameworks/base/core/java/com/android/internal/transition/ |
H A D | EpicenterTranslateClipReveal.java | 132 final float startY = startBounds.centerY() - endBounds.centerY(); 169 final float endY = endBounds.centerY() - startBounds.centerY(); 198 final int centerY = bestRect.centerY(); 199 return new Rect(centerX, centerY, centerX, centerY);
|
/frameworks/native/libs/input/ |
H A D | VirtualKeyMap.cpp | 116 && parseNextIntField(&defn.centerY) 126 ALOGD("Parsed virtual key: scanCode=%d, centerX=%d, centerY=%d, " 128 defn.scanCode, defn.centerX, defn.centerY, defn.width, defn.height);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | CircularImageView.java | 107 canvas.drawCircle(dest.centerX(), dest.centerY(), dest.width() / 2f, 111 canvas.drawCircle(dest.centerX(), dest.centerY(),
|
/frameworks/base/core/java/android/transition/ |
H A D | Explode.java | 140 focalY = epicenter.centerY(); 144 int centerY = bounds.centerY(); 146 double yVector = centerY - focalY;
|
H A D | CircularPropagation.java | 79 epicenterY = epicenter.centerY();
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | NotificationExpandButton.java | 59 rect.top = rect.centerY() - touchTargetSize / 2;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | CropView.java | 102 float centerY = (height / 2f - rendererCenter[1] + (imageHeight - height) / 2f) 106 float topEdge = centerY - imageHeight / 2f * scale; 107 float bottomEdge = centerY + imageHeight / 2f * scale; 139 mCenterY = mRenderer.centerY; 211 mRenderer.centerY = Math.round(mCenterY);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLU.java | 65 * @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
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
H A D | TransformTestActivity.java | 98 float centerY = detector.getFocusY(); 100 float diffY = centerY - mPosY;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageView.java | 65 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,
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
H A D | TestUtils.java | 216 final int centerY = bitmap.getHeight() / 2; 217 final @ColorInt int colorAtCenterPixel = bitmap.getPixel(centerX, centerY); 223 + " but at position (" + centerX + "," + centerY + ") out of ("
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 279 float centerX, centerY; 288 centerY = (getHeight() / 2 - relativeScale * mTranslateRect.centerY()) / 306 centerY = mTranslateRect.centerY(); 308 centerY = Math.min(Math.max(mTranslateRect.top + heightBuffer, 313 mScaleRunnable.start(currentScale, targetScale, centerX, centerY); 911 * @param centerY the center vertical point around which to scale 913 private void scale(float newScale, float centerX, float centerY) { argument 972 mMatrix.postScale(factor, factor, centerX, centerY); 1184 start(float startScale, float targetScale, float centerX, float centerY) argument [all...] |