/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | Transform3dActivity.java | 58 final float centerY = getHeight() / 2.0f - mBitmap1.getHeight() / 2.0f; in onDraw() local 63 rotate(centerX, centerY, camera, matrix, 32.0f); in onDraw() 64 drawBitmap(canvas, centerX, centerY, 0.0f, matrix); in onDraw() 66 rotate(centerX, centerY, camera, matrix, 12.0f); in onDraw() 67 drawBitmap(canvas, centerX, centerY, -mBitmap1.getWidth(), matrix); in onDraw() 69 rotate(centerX, centerY, camera, matrix, 52.0f); in onDraw() 70 drawBitmap(canvas, centerX, centerY, mBitmap1.getWidth(), matrix); in onDraw() 72 rotate(centerX, centerY, camera, matrix, 122.0f); in onDraw() 73 drawBitmap(canvas, centerX, centerY, mBitmap1.getWidth() * 2.0f, matrix); in onDraw() 77 private void drawBitmap(Canvas canvas, float centerX, float centerY, float offset, in drawBitmap() argument [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | RadialGradient.java | 54 public RadialGradient(float centerX, float centerY, float radius, in RadialGradient() argument 67 mY = centerY; in RadialGradient() 72 init(nativeCreate1(centerX, centerY, radius, colors, stops, tileMode.nativeInt)); in RadialGradient() 83 public RadialGradient(float centerX, float centerY, float radius, in RadialGradient() argument 90 mY = centerY; in RadialGradient() 95 init(nativeCreate2(centerX, centerY, radius, centerColor, edgeColor, tileMode.nativeInt)); in RadialGradient()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiObject.java | 198 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), in dragTo() 199 dstRect.centerX(), dstRect.centerY(), steps, true); in dragTo() 217 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), destX, destY, in dragTo() 299 rect.centerY(), rect.left + SWIPE_MARGIN_LIMIT, rect.centerY(), steps); in swipeLeft() 326 rect.centerY(), rect.right - SWIPE_MARGIN_LIMIT, rect.centerY(), steps); in swipeRight() 395 return getInteractionController().clickAndSync(rect.centerX(), rect.centerY(), in click() 435 return getInteractionController().clickAndWaitForNewWindow(rect.centerX(), rect.centerY(), in clickAndWaitForNewWindow() 504 return getInteractionController().longTapNoSync(rect.centerX(), rect.centerY()); in longClick() 626 getInteractionController().longTapNoSync(rect.left + 20, rect.centerY()); in clearTextField() 935 Point startPoint1 = new Point(rect.centerX() - FINGER_TOUCH_HALF_WIDTH, rect.centerY()); in pinchOut() [all …]
|
D | UiScrollable.java | 440 downY = rect.centerY(); in scrollForward() 442 upY = rect.centerY(); in scrollForward() 521 downY = rect.centerY(); in scrollBackward() 523 upY = rect.centerY(); in scrollBackward()
|
/frameworks/base/core/java/android/gesture/ |
D | OrientedBoundingBox.java | 34 public final float centerY; field in OrientedBoundingBox 41 centerY = cy; in OrientedBoundingBox() 62 matrix.postTranslate(centerX, centerY); in toPath()
|
D | GestureUtils.java | 131 float preDy = -rect.centerY(); in spatialSampling() 332 float centerY = 0; in computeCentroid() local 337 centerY += points[i]; in computeCentroid() 341 center[1] = 2 * centerY / count; in computeCentroid()
|
/frameworks/base/core/java/android/view/ |
D | ViewAnimationUtils.java | 52 int centerX, int centerY, float startRadius, float endRadius) { in createCircularReveal() argument 53 return new RevealAnimator(view, centerX, centerY, startRadius, endRadius); in createCircularReveal()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 277 float centerX, centerY; in scale() local 286 centerY = (getHeight() / 2 - relativeScale * mTranslateRect.centerY()) / in scale() 304 centerY = mTranslateRect.centerY(); in scale() 306 centerY = Math.min(Math.max(mTranslateRect.top + heightBuffer, in scale() 311 mScaleRunnable.start(currentScale, targetScale, centerX, centerY); in scale() 398 float centerY = getHeight() / 2; in onScaleEnd() local 414 centerY = (minY + maxY) / 2; in onScaleEnd() 416 centerY = Math.min(Math.max(minY, centerY), maxY); in onScaleEnd() 418 mScaleRunnable.start(currentScale, mMaxScale, centerX, centerY); in onScaleEnd() 942 private void scale(float newScale, float centerX, float centerY) { in scale() argument [all …]
|
/frameworks/base/core/java/android/transition/ |
D | Explode.java | 141 focalY = epicenter.centerY(); in calculateOut() 145 int centerY = bounds.centerY(); in calculateOut() local 147 float yVector = centerY - focalY; in calculateOut()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | CropView.java | 103 float centerY = (height / 2f - rendererCenter[1] + (imageHeight - height) / 2f) in getEdgesHelper() local 107 float topEdge = centerY - imageHeight / 2f * scale; in getEdgesHelper() 108 float bottomEdge = centerY + imageHeight / 2f * scale; in getEdgesHelper() 140 mCenterY = mRenderer.centerY; in setTileSource() 212 mRenderer.centerY = Math.round(mCenterY); in updateCenter()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternView.java | 918 final float centerY = getCenterYForRow(currentCell.row); in onDraw() 924 (getCenterYForRow(nextCell.row) - centerY); in onDraw() 926 mInProgressY = centerY + dy; in onDraw() 937 float centerY = getCenterYForRow(i); in onDraw() 943 drawCircle(canvas, (int) centerX, (int) centerY + translationY, in onDraw() 971 float centerY = getCenterYForRow(cell.row); in onDraw() 979 currentPath.lineTo(centerX, centerY); in onDraw() 984 lastY = centerY; in onDraw() 1027 private void drawCircle(Canvas canvas, float centerX, float centerY, float size, 1031 canvas.drawCircle(centerX, centerY, size/2, mPaint);
|
/frameworks/native/libs/input/ |
D | VirtualKeyMap.cpp | 116 && parseNextIntField(&defn.centerY) in parse() 128 defn.scanCode, defn.centerX, defn.centerY, defn.width, defn.height); in parse()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageView.java | 65 public int centerX, centerY; field in TiledImageView.ImageRendererWrapper 160 mRenderer.centerY = source != null ? source.getImageHeight() / 2 : 0; in setTileSource() 276 mRenderer.centerY = swap ? cx : cy; in positionFromMatrix() 305 mRenderer.image.setPosition(mRenderer.centerX, mRenderer.centerY, in onDrawFrame()
|
D | TiledImageRenderer.java | 240 public void setPosition(int centerX, int centerY, float scale) { in setPosition() argument 241 if (mCenterX == centerX && mCenterY == centerY in setPosition() 246 mCenterY = centerY; in setPosition() 430 int centerX = mViewWidth / 2, centerY = mViewHeight / 2; in draw() local 431 canvas.translate(centerX, centerY); in draw() 433 canvas.translate(-centerX, -centerY); in draw()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | CircularImageView.java | 107 canvas.drawCircle(dest.centerX(), dest.centerY(), dest.width() / 2f, in drawBitmapWithCircleOnCanvas() 111 canvas.drawCircle(dest.centerX(), dest.centerY(), in drawBitmapWithCircleOnCanvas()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | ScreenMagnifier.java | 233 final float centerY = (-spec.offsetY + magnifiedFrame.height() / 2) / scale; in handleOnMagnifiedBoundsChanged() local 235 centerY, false); in handleOnMagnifiedBoundsChanged() 1024 final float centerY = normPivotY + offsetY; in setScale() local 1025 setScaleAndMagnifiedRegionCenter(scale, centerX, centerY, animate); in setScale() 1028 public void setMagnifiedRegionCenter(float centerX, float centerY, boolean animate) { in setMagnifiedRegionCenter() argument 1029 setScaleAndMagnifiedRegionCenter(mCurrentMagnificationSpec.scale, centerX, centerY, in setMagnifiedRegionCenter() 1043 public void setScaleAndMagnifiedRegionCenter(float scale, float centerX, float centerY, in setScaleAndMagnifiedRegionCenter() argument 1049 centerY) == 0) { in setScaleAndMagnifiedRegionCenter() 1057 + " offsetY: " + centerY); in setScaleAndMagnifiedRegionCenter() 1059 updateMagnificationSpec(scale, centerX, centerY); in setScaleAndMagnifiedRegionCenter()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLU.java | 72 float centerX, float centerY, float centerZ, float upX, float upY, in gluLookAt() argument 77 Matrix.setLookAtM(scratch, 0, eyeX, eyeY, eyeZ, centerX, centerY, centerZ, in gluLookAt()
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
D | GlowPadView.java | 1155 private void updateTargetPosition(int i, float centerX, float centerY) { in updateTargetPosition() argument 1157 updateTargetPosition(i, centerX, centerY, angle); in updateTargetPosition() 1160 private void updateTargetPosition(int i, float centerX, float centerY, float angle) { in updateTargetPosition() argument 1167 targetIcon.setPositionY(centerY); in updateTargetPosition() 1173 private void updateTargetPositions(float centerX, float centerY) { in updateTargetPositions() argument 1174 updateTargetPositions(centerX, centerY, false); in updateTargetPositions() 1177 private void updateTargetPositions(float centerX, float centerY, boolean skipActive) { in updateTargetPositions() argument 1183 updateTargetPosition(i, centerX, centerY, getAngle(alpha, i)); in updateTargetPositions() 1196 private void updatePointCloudPosition(float centerX, float centerY) { in updatePointCloudPosition() argument 1197 mPointCloud.setCenter(centerX, centerY); in updatePointCloudPosition()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | CircularBitmapDrawable.java | 142 canvas.drawCircle(dst.centerX(), dst.centerY(), dst.width() / 2, in onDrawCircularBitmap() 147 canvas.drawCircle(dst.centerX(), dst.centerY(), in onDrawCircularBitmap()
|
/frameworks/native/include/input/ |
D | VirtualKeyMap.h | 37 int32_t centerY; member
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
D | TransformTestActivity.java | 98 float centerY = detector.getFocusY(); in onScale() local 100 float diffY = centerY - mPosY; in onScale()
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
D | gl_code.cpp | 25 float centerX, float centerY, float centerZ, float upX, float upY, in gluLookAt() argument 32 float fy = centerY - eyeY; in gluLookAt()
|
/frameworks/native/opengl/tests/tritex/ |
D | tritex.cpp | 36 float centerX, float centerY, float centerZ, float upX, float upY, in gluLookAt() argument 43 float fy = centerY - eyeY; in gluLookAt()
|
/frameworks/base/libs/hwui/ |
D | Animator.cpp | 303 RevealAnimator::RevealAnimator(int centerX, int centerY, in RevealAnimator() argument 307 , mCenterY(centerY) { in RevealAnimator()
|
/frameworks/base/core/java/android/widget/ |
D | EdgeEffect.java | 324 final float centerY = mBounds.height() - mRadius; in draw() local 334 canvas.drawCircle(centerX, centerY, mRadius, mPaint); in draw()
|