Home
last modified time | relevance | path

Searched defs:halfWidth (Results 1 – 15 of 15) sorted by relevance

/aosp14/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleComponent.java66 final float halfWidth = bounds.width() / 2.0f; in getTargetRadius() local
H A DRippleDrawable.java976 final float halfWidth = mHotspotBounds.width() / 2.0f; in computeRadius() local
/aosp14/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
H A DUtils.java106 final int halfWidth = width / 2; in calculateInSampleSize() local
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DImageUtils.java194 final int halfWidth = currentSize.getWidth() / 2; in calculateSampleSize() local
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DSurfaceSyncGroupTests.java179 int halfWidth = swBitmap.getWidth() / 2; in validateScreenshot() local
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A DMockWindowMagnificationConnection.java133 final int halfWidth = mMirrorWindowFrame.width() / 2; in computeSourceBounds() local
/aosp14/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java559 final int halfWidth = (int) (textWidth / 2.0f); in testEllipsis_singleLine() local
594 final int halfWidth = (int) (textWidth / 2.0f); in testEllipsis_singleLine() local
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DLaunchAnimator.kt328 val halfWidth = MathUtils.lerp(startWidth, endWidth, progress) / 2f regex
H A DViewHierarchyAnimator.kt879 val halfWidth = (right - left) / 2 regex
/aosp14/frameworks/base/tests/MirrorSurfaceTest/src/com/google/android/test/mirrorsurface/
H A DMirrorSurfaceActivity.java424 int halfWidth = displayFrame.width() / 2; in getSourceBounds() local
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DSplashScreenExitAnimationUtils.java113 final int halfWidth = splashScreenView.getWidth() / 2; in createAnimator() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DWindowMagnificationController.java917 int halfWidth = displayFrame.width() / 2; in calculateSourceBounds() local
952 final int halfWidth = mMagnificationFrame.width() / 2; in calculateMagnificationFrameBoundary() local
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DViewPager.java792 final int halfWidth = width / 2; in smoothScrollTo() local
/aosp14/frameworks/base/libs/hwui/
H A DSkiaCanvas.cpp819 float halfWidth = layout.getCharAdvance(i) * 0.5f; in drawLayoutOnPath() local
/aosp14/frameworks/base/core/java/com/android/internal/policy/
H A DTransitionAnimation.java493 int halfWidth = mTmpRect.width() / 2; in createClipRevealAnimationLockedCompat() local