Home
last modified time | relevance | path

Searched refs:exactCenterY (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsShell.kt155 sensorBounds.exactCenterY(), in simFingerDown()
165 sensorBounds.exactCenterY(), in simFingerDown()
183 sensorBounds.exactCenterY(), in simFingerUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/
DSinglePointerTouchProcessorTest.kt436 nativeYWithinSensor = ROTATION_0_NATIVE_SENSOR_BOUNDS.exactCenterY(),
464 nativeYWithinSensor = ROTATION_90_NATIVE_SENSOR_BOUNDS.exactCenterY(),
494 nativeYWithinSensor = ROTATION_180_NATIVE_SENSOR_BOUNDS.exactCenterY(),
522 nativeYWithinSensor = ROTATION_270_NATIVE_SENSOR_BOUNDS.exactCenterY(),
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java416 canvas.drawCircle(getBounds().exactCenterX(), getBounds().exactCenterY(), in rebake()
456 bounds.exactCenterY() - iconRadius, in onBoundsChange()
458 bounds.exactCenterY() + iconRadius); in onBoundsChange()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleForeground.java320 return MathUtils.lerp(mClampedStartingY - mBounds.exactCenterY(), mTargetY, mTweenY); in getCurrentY()
351 final float cY = mBounds.exactCenterY(); in clampStartingPosition()
DRippleDrawable.java694 y = mHotspotBounds.exactCenterY(); in tryRippleEnter()
913 y = bounds.exactCenterY(); in drawPatterned()
1176 final float y = mHotspotBounds.exactCenterY(); in drawBackgroundAndRipples()
1212 final float y = mHotspotBounds.exactCenterY(); in updateRipplePaint()
1269 final int cY = (int) mHotspotBounds.exactCenterY(); in getDirtyBounds()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationControllerTest.java575 windowBounds.exactCenterX(), windowBounds.exactCenterY(), in enableWindowMagnificationWithOffset_windowlessFlagOn_expectedValues()
593 final float expectedY = (int) (windowBounds.exactCenterY() + expectedOffset in enableWindowMagnificationWithOffset_windowlessFlagOn_expectedValues()
612 windowBounds.exactCenterX(), windowBounds.exactCenterY(), in enableWindowMagnificationWithOffset_windowlessFlagOff_expectedValues()
629 (int) (mirrorViewBound.exactCenterY() - windowBounds.exactCenterY())); in enableWindowMagnificationWithOffset_windowlessFlagOff_expectedValues()
DWindowMagnificationControllerWindowlessMagnifierTest.java349 sourceBoundsCaptor.getValue().exactCenterY(), 0); in moveWindowMagnifier_enabled_notifySourceBoundsChanged()
461 final float targetCenterY = sourceBoundsCaptor.getValue().exactCenterY() + 10; in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback()
477 sourceBoundsCaptor.getValue().exactCenterY(), 0); in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback()
494 final float centerY = sourceBoundsCaptor.getValue().exactCenterY(); in moveWindowMagnifierToPositionMultipleTimes_expectedValuesAndInvokeCallback()
518 sourceBoundsCaptor.getValue().exactCenterY(), 0); in moveWindowMagnifierToPositionMultipleTimes_expectedValuesAndInvokeCallback()
555 final float center = Math.min(windowBounds.exactCenterX(), windowBounds.exactCenterY()); in onOrientationChanged_enabled_updateDisplayRotationAndCenterStayAtSamePosition()
DWindowMagnificationControllerTest.java338 sourceBoundsCaptor.getValue().exactCenterY(), 0); in moveWindowMagnifier_enabled_notifySourceBoundsChanged()
446 final float targetCenterY = sourceBoundsCaptor.getValue().exactCenterY() + 10; in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback()
461 sourceBoundsCaptor.getValue().exactCenterY(), 0); in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback()
478 final float centerY = sourceBoundsCaptor.getValue().exactCenterY(); in moveWindowMagnifierToPositionMultipleTimes_expectedValuesAndInvokeCallback()
501 sourceBoundsCaptor.getValue().exactCenterY(), 0); in moveWindowMagnifierToPositionMultipleTimes_expectedValuesAndInvokeCallback()
538 final float center = Math.min(windowBounds.exactCenterX(), windowBounds.exactCenterY()); in onOrientationChanged_enabled_updateDisplayRotationAndCenterStayAtSamePosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/
DScreenshotAnimationController.kt278 val startPos = PointF(bounds.exactCenterX(), bounds.exactCenterY()) in <lambda>()
279 val endPos = PointF(targetPosition.exactCenterX(), targetPosition.exactCenterY()) in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMockMagnificationConnection.java146 : centerY - mMirrorWindowFrame.exactCenterY(); in computeMirrorWindowFrame()
DMagnificationConnectionManagerTest.java414 eq(requestedRect.exactCenterX()), eq(requestedRect.exactCenterY()), in onRectangleOnScreenRequested_trackingEnabledByDefault_movingMagnifier()
454 eq(requestedRect.exactCenterX()), eq(requestedRect.exactCenterY()), in onRectangleOnScreenRequested_trackingEnabledByDragAndReset_movingMagnifier()
515 eq(requestedRect.exactCenterX()), eq(requestedRect.exactCenterY()), in onRectangleOnScreenRequested_trackingDisabledAndEnabledMagnifier_movingMagnifier()
DMagnificationControllerTest.java379 magnificationBounds.exactCenterX(), magnificationBounds.exactCenterY(), true, in transitionToFullScreen_centerNotInTheBounds_magnifyBoundsCenter()
672 assertEquals(actualRect.exactCenterY(), actualConfig.getCenterY(), 0); in enableWindowMode_notifyMagnificationChanged()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java637 bounds.exactCenterY() - mTextBounds.exactCenterY(), in draw()
DFastBitmapDrawable.java131 canvas.scale(mScale, mScale, bounds.exactCenterX(), bounds.exactCenterY()); in draw()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/animation/
DFullscreenUnfoldTaskAnimator.java169 context.mCurrentCropRect.exactCenterY()); in applyAnimationProgress()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationController.java524 .setCenterY(bounds.exactCenterY()).build(); in onSourceBoundsChanged()
972 mCurrentCenter.set(bounds.exactCenterX(), bounds.exactCenterY()); in adjustCurrentCenterIfNeededLocked()
DMagnificationConnectionManager.java1284 return mSourceBounds.exactCenterY(); in getCenterY()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Settings.java576 translateMatrix.setTranslate(requestedCrop.exactCenterX(), requestedCrop.exactCenterY()); in effectiveCropRectFromRequested()
/frameworks/base/graphics/java/android/graphics/
DRect.java346 public final float exactCenterY() { in exactCenterY() method in Rect
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java717 getBounds().exactCenterX(), getBounds().exactCenterY()); in draw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationController.java1418 : newMagnificationFrameCenterY - mMagnificationFrame.exactCenterY(); in updateWindowMagnificationInternal()
1525 return isActivated() ? mMagnificationFrame.exactCenterY() : Float.NaN; in getCenterY()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotView.java526 targetPosition.exactCenterY()); in createScreenshotDropInAnimation()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java5315 bounds.exactCenterY()); in updateSurfacePosition()
/frameworks/base/core/java/android/widget/
DAbsListView.java2677 final float y = bounds.exactCenterY(); in positionSelectorLikeFocus()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...

12