/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 …]
|
D | PixelCopyWindow.java | 63 canvas.drawLine(0, bounds.centerY(), bounds.width(), bounds.centerY(), mPaint); in onCreate()
|
/frameworks/base/graphics/java/android/graphics/ |
D | RadialGradient.java | 64 public RadialGradient(float centerX, float centerY, float radius, in RadialGradient() argument 67 this(centerX, centerY, radius, convertColors(colors), stops, tileMode, in RadialGradient() 88 public RadialGradient(float centerX, float centerY, float radius, in RadialGradient() argument 91 this(centerX, centerY, radius, colors.clone(), stops, tileMode, detectColorSpace(colors)); in RadialGradient() 98 private RadialGradient(float centerX, float centerY, float radius, in RadialGradient() argument 110 mY = centerY; in RadialGradient() 127 public RadialGradient(float centerX, float centerY, float radius, in RadialGradient() argument 129 this(centerX, centerY, radius, Color.pack(centerColor), Color.pack(edgeColor), tileMode); in RadialGradient() 145 public RadialGradient(float centerX, float centerY, float radius, in RadialGradient() argument 147 this(centerX, centerY, radius, new long[] {centerColor, edgeColor}, null, tileMode); in RadialGradient()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiObject.java | 201 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), in dragTo() 202 dstRect.centerX(), dstRect.centerY(), steps, true); in dragTo() 220 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), destX, destY, in dragTo() 302 rect.centerY(), rect.left + SWIPE_MARGIN_LIMIT, rect.centerY(), steps); in swipeLeft() 329 rect.centerY(), rect.right - SWIPE_MARGIN_LIMIT, rect.centerY(), steps); in swipeRight() 402 return getInteractionController().clickAndSync(rect.centerX(), rect.centerY(), in click() 442 return getInteractionController().clickAndWaitForNewWindow(rect.centerX(), rect.centerY(), in clickAndWaitForNewWindow() 511 return getInteractionController().longTapNoSync(rect.centerX(), rect.centerY()); in longClick() 633 getInteractionController().longTapNoSync(rect.left + 20, rect.centerY()); in clearTextField() 942 Point startPoint1 = new Point(rect.centerX() - FINGER_TOUCH_HALF_WIDTH, rect.centerY()); in pinchOut() [all …]
|
D | UiScrollable.java | 443 downY = rect.centerY(); in scrollForward() 445 upY = rect.centerY(); in scrollForward() 524 downY = rect.centerY(); in scrollBackward() 526 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()
|
/frameworks/base/core/java/android/view/ |
D | ViewAnimationUtils.java | 70 int centerX, int centerY, float startRadius, float endRadius) { in createCircularReveal() argument 71 return new RevealAnimator(view, centerX, centerY, startRadius, endRadius); in createCircularReveal()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ScaleGestureDetectorTest.java | 67 final int centerY = displayHeight / 2; in testScaleGestureDetector() local 70 final float[] firstFingerStartCoords = new float[] {centerX + 1.0f, centerY - 1.0f}; in testScaleGestureDetector() 73 final float[] secondFingerStartCoords = new float[] {centerX - 1.0f, centerY + 1.0f}; in testScaleGestureDetector()
|
/frameworks/base/tests/Assist/src/com/android/test/assist/ |
D | AssistInteractionSession.java | 135 int centerY = (int) (mBackground.getHeight()/5*3.8f); in playAssistAnimation() local 136 int radius = (int) Math.sqrt(centerX*centerX + centerY*centerY) + 1; in playAssistAnimation() 137 Animator animator = ViewAnimationUtils.createCircularReveal(mBackground, centerX, centerY, in playAssistAnimation()
|
/frameworks/base/core/java/com/android/internal/transition/ |
D | EpicenterTranslateClipReveal.java | 132 final float startY = startBounds.centerY() - endBounds.centerY(); in onAppear() 169 final float endY = endBounds.centerY() - startBounds.centerY(); in onDisappear() 198 final int centerY = bestRect.centerY(); in getEpicenterOrCenter() local 199 return new Rect(centerX, centerY, centerX, centerY); in getEpicenterOrCenter()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityService.java | 388 float scale, float centerX, float centerY); in onMagnificationChanged() argument 798 float centerX, float centerY) { in onMagnificationChanged() argument 804 controller.dispatchMagnificationChanged(region, scale, centerX, centerY); in onMagnificationChanged() 939 final float centerX, final float centerY) { in dispatchMagnificationChanged() argument 962 region, scale, centerX, centerY); in dispatchMagnificationChanged() 967 listener.onMagnificationChanged(this, region, scale, centerX, centerY); in dispatchMagnificationChanged() 1163 public boolean setCenter(float centerX, float centerY, boolean animate) { in setCenter() argument 1170 Float.NaN, centerX, centerY, animate); in setCenter() 1195 @NonNull Region region, float scale, float centerX, float centerY); in onMagnificationChanged() argument 1661 float scale, float centerX, float centerY) { in onBind() argument [all …]
|
D | IAccessibilityServiceClient.aidl | 44 …onMagnificationChanged(int displayId, in Region region, float scale, float centerX, float centerY); in onMagnificationChanged() argument
|
/frameworks/base/core/java/android/transition/ |
D | Explode.java | 140 focalY = epicenter.centerY(); in calculateOut() 144 int centerY = bounds.centerY(); in calculateOut() local 146 double yVector = centerY - focalY; in calculateOut()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MagnificationController.java | 444 final float centerY = normPivotY + offsetY; in setScale() local 446 return setScaleAndCenter(scale, centerX, centerY, animate, id); in setScale() 450 boolean setScaleAndCenter(float scale, float centerX, float centerY, in setScaleAndCenter() argument 458 + ", centerY = " + centerY + ", animate = " + animate in setScaleAndCenter() 462 final boolean changed = updateMagnificationSpecLocked(scale, centerX, centerY); in setScaleAndCenter() 481 boolean updateMagnificationSpecLocked(float scale, float centerX, float centerY) { in updateMagnificationSpecLocked() argument 486 if (Float.isNaN(centerY)) { in updateMagnificationSpecLocked() 487 centerY = getCenterY(); in updateMagnificationSpecLocked() 505 + mMagnificationBounds.top - centerY * normScale; in updateMagnificationSpecLocked() 913 public boolean setCenter(int displayId, float centerX, float centerY, boolean animate, int id) { in setCenter() argument [all …]
|
D | AbstractAccessibilityServiceConnection.java | 897 float centerY, boolean animate) { in setMagnificationScaleAndCenter() argument 913 .setScaleAndCenter(displayId, scale, centerX, centerY, animate, mId); in setMagnificationScaleAndCenter() 1141 float scale, float centerX, float centerY) { in notifyMagnificationChangedLocked() argument 1143 .notifyMagnificationChangedLocked(displayId, region, scale, centerX, centerY); in notifyMagnificationChangedLocked() 1163 float scale, float centerX, float centerY) { in notifyMagnificationChangedInternal() argument 1167 listener.onMagnificationChanged(displayId, region, scale, centerX, centerY); in notifyMagnificationChangedInternal() 1312 final float centerY = (float) args.arg4; in handleMessage() local 1314 notifyMagnificationChangedInternal(displayId, region, scale, centerX, centerY); in handleMessage() 1339 float scale, float centerX, float centerY) { in notifyMagnificationChangedLocked() argument 1350 args.arg4 = centerY; in notifyMagnificationChangedLocked()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | CropView.java | 102 float centerY = (height / 2f - rendererCenter[1] + (imageHeight - height) / 2f) in getEdgesHelper() local 106 float topEdge = centerY - imageHeight / 2f * scale; in getEdgesHelper() 107 float bottomEdge = centerY + imageHeight / 2f * scale; in getEdgesHelper() 139 mCenterY = mRenderer.centerY; in setTileSource() 211 mRenderer.centerY = Math.round(mCenterY); in updateCenter()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | CircularBitmapDrawable.java | 114 canvas.drawCircle(bounds.centerX(), bounds.centerY(), in onDrawPlaceholderOrProgress() 152 canvas.drawCircle(dst.centerX(), dst.centerY(), dst.width() / 2, in onDrawCircularBitmap() 157 canvas.drawCircle(dst.centerX(), dst.centerY(), in onDrawCircularBitmap()
|
/frameworks/native/libs/input/ |
D | VirtualKeyMap.cpp | 101 && parseNextIntField(&defn.centerY) in parse() 113 defn.scanCode, defn.centerX, defn.centerY, defn.width, defn.height); in parse()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternView.java | 1128 final float centerY = getCenterYForRow(currentCell.row); in onDraw() 1134 (getCenterYForRow(nextCell.row) - centerY); in onDraw() 1136 mInProgressY = centerY + dy; in onDraw() 1147 float centerY = getCenterYForRow(i); in onDraw() 1161 drawCircle(canvas, (int) centerX, (int) centerY + translationY, in onDraw() 1196 float centerY = getCenterYForRow(cell.row); in onDraw() 1213 currentPath.lineTo(centerX, centerY); in onDraw() 1223 lastY = centerY; in onDraw() 1266 private void drawCircle(Canvas canvas, float centerX, float centerY, float radius, 1270 canvas.drawCircle(centerX, centerY, radius, mPaint); [all …]
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 279 float centerX, centerY; in scale() local 288 centerY = (getHeight() / 2 - relativeScale * mTranslateRect.centerY()) / in scale() 306 centerY = mTranslateRect.centerY(); in scale() 308 centerY = Math.min(Math.max(mTranslateRect.top + heightBuffer, in scale() 313 mScaleRunnable.start(currentScale, targetScale, centerX, centerY); in scale() 913 private void scale(float newScale, float centerX, float centerY) { in scale() argument 972 mMatrix.postScale(factor, factor, centerX, centerY); in scale() 1184 public boolean start(float startScale, float targetScale, float centerX, float centerY) { in start() argument 1190 mCenterY = centerY; in start()
|
/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/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()
|
/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/tests/FlickerTests/lib/src/com/android/server/wm/flicker/ |
D | AutomationUtils.java | 105 navBarVisibleBounds.centerX(), navBarVisibleBounds.centerY(), in openQuickstep() 107 (navBarVisibleBounds.centerY() - height * 2 / 3) / 100); // 100 px/step in openQuickstep() 212 device.drag(divider.getVisibleBounds().centerX(), divider.getVisibleBounds().centerY(), in resizeSplitScreen()
|
/frameworks/native/include/input/ |
D | VirtualKeyMap.h | 37 int32_t centerY; member
|