Home
last modified time | relevance | path

Searched refs:xCenter (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DTransitionAnimator.kt381 val xCenter = MathUtils.lerp(startCenterX, endCenterX, xProgress) in <lambda>() constant
386 state.left = (xCenter - halfWidth).roundToInt() in <lambda>()
387 state.right = (xCenter + halfWidth).roundToInt() in <lambda>()
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java884 private static void calculatePositions(Paint paint, float radius, float xCenter, float yCenter, in calculatePositions() argument
891 x[i] = xCenter - radius * COS_30[i]; in calculatePositions()
1353 final float xCenter = mXCenter + centerRadius * (float) Math.sin(radians); in getBoundsForVirtualView() local
1356 bounds.set((int) (xCenter - radius), (int) (yCenter - radius), in getBoundsForVirtualView()
1357 (int) (xCenter + radius), (int) (yCenter + radius)); in getBoundsForVirtualView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotView.java573 float xCenter = MathUtils.lerp(startPos.x, finalPos.x, in createScreenshotDropInAnimation()
575 mScreenshotPreview.setX(xCenter - mScreenshotPreview.getWidth() / 2f); in createScreenshotDropInAnimation()