Home
last modified time | relevance | path

Searched refs:exactCenterX (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DFixedScaleDrawable.java31 getBounds().exactCenterX(), getBounds().exactCenterY()); in draw()
DBaseIconFactory.java613 bounds.exactCenterX() - mTextBounds.exactCenterX(), in draw()
DFastBitmapDrawable.java116 canvas.scale(mScale, mScale, bounds.exactCenterX(), bounds.exactCenterY()); in draw()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java416 canvas.drawCircle(getBounds().exactCenterX(), getBounds().exactCenterY(), in rebake()
455 RectF dstRect = new RectF(bounds.exactCenterX() - iconRadius, in onBoundsChange()
457 bounds.exactCenterX() + iconRadius, in onBoundsChange()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationControllerTest.java236 sourceBoundsCaptor.getValue().exactCenterX(), 0); in moveWindowMagnifier_enabled_notifySourceBoundsChanged()
347 final float targetCenterX = sourceBoundsCaptor.getValue().exactCenterX() + 10; in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback()
361 sourceBoundsCaptor.getValue().exactCenterX(), 0); in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback()
381 final float centerX = sourceBoundsCaptor.getValue().exactCenterX(); in moveWindowMagnifierToPositionMultipleTimes_expectedValuesAndInvokeCallback()
403 sourceBoundsCaptor.getValue().exactCenterX(), 0); in moveWindowMagnifierToPositionMultipleTimes_expectedValuesAndInvokeCallback()
442 final float center = Math.min(windowBounds.exactCenterX(), windowBounds.exactCenterY()); in onOrientationChanged_enabled_updateDisplayRotationAndCenterStayAtSamePosition()
DWindowMagnificationAnimationControllerTest.java435 windowBounds.exactCenterX(), windowBounds.exactCenterY(), in enableWindowMagnificationWithOffset_expectedValues()
446 assertEquals(mirrorViewBound.exactCenterX() - windowBounds.exactCenterX(), in enableWindowMagnificationWithOffset_expectedValues()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleForeground.java316 return MathUtils.lerp(mClampedStartingX - mBounds.exactCenterX(), mTargetX, mTweenX); in getCurrentX()
350 final float cX = mBounds.exactCenterX(); in clampStartingPosition()
DRippleDrawable.java689 x = mHotspotBounds.exactCenterX(); in tryRippleEnter()
902 x = bounds.exactCenterX(); in drawPatterned()
1164 final float x = mHotspotBounds.exactCenterX(); in drawBackgroundAndRipples()
1200 final float x = mHotspotBounds.exactCenterX(); in updateRipplePaint()
1257 final int cX = (int) mHotspotBounds.exactCenterX(); in getDirtyBounds()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/
DSinglePointerTouchProcessorTest.kt434 nativeXWithinSensor = ROTATION_0_NATIVE_SENSOR_BOUNDS.exactCenterX(),
462 nativeXWithinSensor = ROTATION_90_NATIVE_SENSOR_BOUNDS.exactCenterX(),
496 nativeXWithinSensor = ROTATION_270_NATIVE_SENSOR_BOUNDS.exactCenterX(),
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMockWindowMagnificationConnection.java144 : centerX - mMirrorWindowFrame.exactCenterX(); in computeMirrorWindowFrame()
DMagnificationControllerTest.java295 magnificationBounds.exactCenterX(), magnificationBounds.exactCenterY(), true, in transitionToFullScreen_centerNotInTheBounds_magnifyBoundsCenter()
478 assertEquals(actualRect.exactCenterX(), actualConfig.getCenterX(), 0); in enableWindowMode_notifyMagnificationChanged()
1085 private float mCenterX = MAGNIFICATION_REGION.getBounds().exactCenterX();
1162 mCenterX = MAGNIFICATION_REGION.getBounds().exactCenterX(); in reset()
DWindowMagnificationManagerTest.java398 eq(requestedRect.exactCenterX()), eq(requestedRect.exactCenterY()), in onRectangleOnScreenRequested_trackingEnabledByDefault_movingMagnifier()
438 eq(requestedRect.exactCenterX()), eq(requestedRect.exactCenterY()), in onRectangleOnScreenRequested_trackingEnabledByDragAndReset_movingMagnifier()
499 eq(requestedRect.exactCenterX()), eq(requestedRect.exactCenterY()), in onRectangleOnScreenRequested_trackingDisabledAndEnabledMagnifier_movingMagnifier()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/animation/
DFullscreenUnfoldTaskAnimator.java159 context.mMatrix.setScale(scale, scale, context.mCurrentCropRect.exactCenterX(), in applyAnimationProgress()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationController.java459 .setCenterX(bounds.exactCenterX()) in onSourceBoundsChanged()
865 mCurrentCenter.set(bounds.exactCenterX(), bounds.exactCenterY()); in adjustCurrentCenterIfNeededLocked()
DWindowMagnificationManager.java1183 return mSourceBounds.exactCenterX(); in getCenterX()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Settings.java576 translateMatrix.setTranslate(requestedCrop.exactCenterX(), requestedCrop.exactCenterY()); in effectiveCropRectFromRequested()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationController.java967 : newMagnificationFrameCenterX - mMagnificationFrame.exactCenterX(); in enableWindowMagnificationInternal()
1036 return isWindowVisible() ? mMagnificationFrame.exactCenterX() : Float.NaN; in getCenterX()
/frameworks/base/graphics/java/android/graphics/
DRect.java338 public final float exactCenterX() { in exactCenterX() 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/screenshot/
DScreenshotView.java538 final PointF finalPos = new PointF(targetPosition.exactCenterX(), in createScreenshotDropInAnimation()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java5576 matrix.postScale(mWallpaperScale, mWallpaperScale, bounds.exactCenterX(), in updateSurfacePosition()
/frameworks/base/core/java/android/widget/
DAbsListView.java2660 final float x = bounds.exactCenterX(); in positionSelectorLikeFocus()
/frameworks/base/boot/
Dboot-image-profile.txt6541 HSPLandroid/graphics/Rect;->exactCenterX()F
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt11361 method public final float exactCenterX();
/frameworks/base/config/
Dboot-image-profile.txt6543 HSPLandroid/graphics/Rect;->exactCenterX()F

12