/frameworks/base/core/java/android/view/ |
H A D | ViewAnimationUtils.java | 46 * @param centerX The x coordinate of the center of the animating circle, relative to 54 int centerX, int centerY, float startRadius, float endRadius) { 55 return new RevealAnimator(view, centerX, centerY, startRadius, endRadius); 53 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/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/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiObject.java | 198 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), 199 dstRect.centerX(), dstRect.centerY(), steps, true); 217 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), destX, destY, 242 return getInteractionController().swipe(rect.centerX(), 243 rect.bottom - SWIPE_MARGIN_LIMIT, rect.centerX(), rect.top + SWIPE_MARGIN_LIMIT, 270 return getInteractionController().swipe(rect.centerX(), 271 rect.top + SWIPE_MARGIN_LIMIT, rect.centerX(), 399 return getInteractionController().clickAndSync(rect.centerX(), rect.centerY(), 439 return getInteractionController().clickAndWaitForNewWindow(rect.centerX(), rect.centerY(), 508 return getInteractionController().longTapNoSync(rect.centerX(), rec [all...] |
H A D | UiScrollable.java | 431 downX = rect.centerX(); 433 upX = rect.centerX(); 511 downX = rect.centerX(); 513 upX = rect.centerX();
|
/frameworks/base/tests/Assist/src/com/android/test/assist/ |
H A D | AssistInteractionSession.java | 131 int centerX = mBackground.getWidth()/2; 133 int radius = (int) Math.sqrt(centerX*centerX + centerY*centerY) + 1; 134 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/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | RecentsResizeTaskDialog.java | 135 mBounds[0].right = mBounds[0].centerX(); 140 mBounds[1].right = mBounds[1].centerX(); 155 mBounds[0].right = mBounds[0].centerX(); 166 mBounds[0].left = mBounds[0].centerX(); 177 mBounds[0].right = mBounds[0].centerX(); 188 mBounds[0].left = mBounds[0].centerX();
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | NumPadKey.java | 140 int centerX = getWidth() / 2; 141 int left = centerX - mDigitText.getMeasuredWidth() / 2; 147 left = centerX - mKlondikeText.getMeasuredWidth() / 2;
|
/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;
|
H A D | CircularPropagation.java | 78 epicenterX = epicenter.centerX();
|
/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/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 277 float centerX, centerY; 284 centerX = (getWidth() / 2 - relativeScale * mTranslateRect.centerX()) / 298 centerX = mTranslateRect.centerX(); 300 centerX = Math.min(Math.max(mTranslateRect.left + widthBuffer, 311 mScaleRunnable.start(currentScale, targetScale, centerX, centerY); 397 float centerX = getWidth() / 2; 408 centerX = (minX + maxX) / 2; 410 centerX 942 scale(float newScale, float centerX, float centerY) argument 1167 start(float startScale, float targetScale, float centerX, float centerY) argument [all...] |
/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;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageView.java | 65 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,
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | ScreenMagnifier.java | 234 final float centerX = (-spec.offsetX + magnifiedFrame.width() / 2) / scale; 236 mMagnificationController.setScaleAndMagnifiedRegionCenter(scale, centerX, 1030 final float centerX = normPivotX + offsetX; 1032 setScaleAndMagnifiedRegionCenter(scale, centerX, centerY, animate); 1035 public void setMagnifiedRegionCenter(float centerX, float centerY, boolean animate) { argument 1036 setScaleAndMagnifiedRegionCenter(mCurrentMagnificationSpec.scale, centerX, centerY, 1050 public void setScaleAndMagnifiedRegionCenter(float scale, float centerX, float centerY, argument 1054 centerX) == 0 1063 Slog.i(LOG_TAG, "scale: " + scale + " offsetX: " + centerX 1066 updateMagnificationSpec(scale, centerX, center [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 1072 final float centerX = getCenterXForColumn(currentCell.column); 1077 (getCenterXForColumn(nextCell.column) - centerX); 1080 mInProgressX = centerX + dx; 1095 float centerX = getCenterXForColumn(j); 1102 drawCircle(canvas, (int) centerX, (int) centerY + translationY, 1131 float centerX = getCenterXForColumn(cell.column); 1140 currentPath.lineTo(centerX, centerY); 1144 lastX = centerX; 1188 private void drawCircle(Canvas canvas, float centerX, float centerY, float radius, argument 1192 canvas.drawCircle(centerX, center [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_RenderNodeAnimator.cpp | 136 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
|