/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); 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/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | Transform3dActivity.java | 57 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 D | RadialGradient.java | 44 @param centerX The x-coordinate of the center of the radius 54 public RadialGradient(float centerX, float centerY, float radius, argument 66 mX = centerX; 72 init(nativeCreate1(centerX, centerY, radius, colors, stops, tileMode.nativeInt)); 76 @param centerX The x-coordinate of the center of the radius 83 public RadialGradient(float centerX, float centerY, float radius, argument 89 mX = centerX; 95 init(nativeCreate2(centerX, centerY, radius, centerColor, edgeColor, tileMode.nativeInt));
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
H A D | AppBarWithToolbarAndTabsTest.java | 59 final int centerX = appbarOnScreenXY[0] + mAppBar.getWidth() / 2; 71 centerX, 84 centerX, 99 centerX, 114 centerX, 128 centerX, 152 final int centerX = appbarOnScreenXY[0] + mAppBar.getWidth() / 2; 164 centerX, 177 centerX, 192 centerX, [all...] |
H A D | AppBarWithCollapsingToolbarTest.java | 50 final int centerX = appbarOnScreenXY[0] + mAppBar.getWidth() / 2; 63 centerX, 76 centerX, 92 centerX, 107 centerX, 121 centerX, 152 final int centerX = appbarOnScreenXY[0] + mAppBar.getWidth() / 2; 166 centerX, 181 centerX, 196 centerX, [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | OrientedBoundingBox.java | 33 public final float centerX; field in class:OrientedBoundingBox 40 centerX = cx; 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 | 374 float scale, float centerX, float centerY); 688 float centerX, float centerY) { 691 region, scale, centerX, centerY); 811 final float centerX, final float centerY) { 834 region, scale, centerX, centerY); 839 listener.onMagnificationChanged(this, region, scale, centerX, centerY); 1027 * @param centerX the unscaled screen-relative X coordinate on which to 1035 public boolean setCenter(float centerX, float centerY, boolean animate) { argument 1042 Float.NaN, centerX, centerY, animate); 1061 * @param centerX th 373 onMagnificationChanged(@onNull Region region, float scale, float centerX, float centerY) argument 687 onMagnificationChanged(@onNull Region region, float scale, float centerX, float centerY) argument 810 dispatchMagnificationChanged(final @NonNull Region region, final float scale, final float centerX, final float centerY) argument 1066 onMagnificationChanged(@onNull MagnificationController controller, @NonNull Region region, float scale, float centerX, float centerY) argument 1554 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, 245 return getInteractionController().swipe(rect.centerX(), 246 rect.bottom - SWIPE_MARGIN_LIMIT, rect.centerX(), rect.top + SWIPE_MARGIN_LIMIT, 273 return getInteractionController().swipe(rect.centerX(), 274 rect.top + SWIPE_MARGIN_LIMIT, rect.centerX(), 402 return getInteractionController().clickAndSync(rect.centerX(), rect.centerY(), 442 return getInteractionController().clickAndWaitForNewWindow(rect.centerX(), rect.centerY(), 511 return getInteractionController().longTapNoSync(rect.centerX(), rec [all...] |
H A D | UiScrollable.java | 434 downX = rect.centerX(); 436 upX = rect.centerX(); 514 downX = rect.centerX(); 516 upX = rect.centerX();
|
/frameworks/base/tests/Assist/src/com/android/test/assist/ |
H A D | AssistInteractionSession.java | 134 int centerX = mBackground.getWidth()/2; 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 | 36 int32_t centerX; member in struct:android::VirtualKeyDefinition
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | MagnificationController.java | 210 final float centerX = (mMagnificationBounds.width() / 2.0f 215 scale, centerX, centerY, false, INVALID_ID); 419 final float centerX = normPivotX + offsetX; 422 return setScaleAndCenterLocked(scale, centerX, centerY, animate, id); 430 * @param centerX the screen-relative X 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); 455 * @param centerX the screen-relative X coordinate around which to 466 float scale, float centerX, float centerY, boolean animate, int id) { 471 return setScaleAndCenterLocked(scale, centerX, center 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/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationSettingsIconRow.java | 257 final float centerX = ((mHorizSpaceForGear - mGearIcon.getWidth()) / 2); 258 setTranslationX(onLeft ? left + centerX : right + centerX); 287 final int centerX = (int) (mHorizSpaceForGear / 2); 290 final int x = mGearLocation[0] - mParentLocation[0] + centerX;
|
/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 | 131 final float startX = startBounds.centerX() - endBounds.centerX(); 168 final float endX = endBounds.centerX() - startBounds.centerX(); 197 final int centerX = bestRect.centerX(); 199 return new Rect(centerX, centerY, centerX, centerY);
|
/frameworks/native/libs/input/ |
H A D | VirtualKeyMap.cpp | 115 && parseNextIntField(&defn.centerX) 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 | 139 focalX = epicenter.centerX(); 143 int centerX = bounds.centerX(); 145 double xVector = centerX - focalX;
|
/frameworks/base/core/java/android/widget/ |
H A D | EdgeEffect.java | 324 final float centerX = mBounds.centerX(); 327 canvas.scale(1.f, Math.min(mGlowScaleY, 1.f) * mBaseGlowScale, centerX, 0); 335 canvas.drawCircle(centerX, centerY, mRadius, mPaint);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | NotificationExpandButton.java | 57 rect.left = rect.centerX() - touchTargetSize / 2;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | CropView.java | 100 float centerX = (width / 2f - rendererCenter[0] + (imageWidth - width) / 2f) 104 float leftEdge = centerX - imageWidth / 2f * scale; 105 float rightEdge = centerX + imageWidth / 2f * scale; 138 mCenterX = mRenderer.centerX; 210 mRenderer.centerX = Math.round(mCenterX);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLU.java | 64 * @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
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
H A D | TransformTestActivity.java | 97 float centerX = detector.getFocusX(); 99 float diffX = centerX - mPosX;
|