Home
last modified time | relevance | path

Searched refs:halfHeight (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DRippleComponent.java74 final float halfHeight = bounds.height() / 2.0f; in getTargetRadius() local
75 return (float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight); in getTargetRadius()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DImageUtils.java278 int halfHeight = sourceHeight / 2; in scale() local
279 scaled = new BufferedImage(halfWidth, halfHeight, imageType); in scale()
282 g2.drawImage(source, 0, 0, halfWidth, halfHeight, 0, 0, sourceWidth, sourceHeight, in scale()
287 sourceHeight = halfHeight; in scale()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DUtils.java105 final int halfHeight = height / 2; in calculateInSampleSize() local
110 while ((halfHeight / inSampleSize) > reqHeight in calculateInSampleSize()
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRotationAnimation.java483 final int halfHeight = (finalHeight + mOriginalHeight) / 2; in startAnimation() local
487 halfWidth, halfHeight); in startAnimation()
488 mStartExitAnimation.initialize(halfWidth, halfHeight, in startAnimation()
491 halfWidth, halfHeight); in startAnimation()
492 mFinishExitAnimation.initialize(halfWidth, halfHeight, in startAnimation()
DAppTransition.java814 int halfHeight = mTmpRect.height() / 2; in createClipRevealAnimationLocked() local
816 int clipStartY = centerY - halfHeight - appFrame.top; in createClipRevealAnimationLocked()
822 if (appFrame.top > centerY - halfHeight) { in createClipRevealAnimationLocked()
823 translationY = (centerY - halfHeight) - appFrame.top; in createClipRevealAnimationLocked()
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java534 final int halfHeight = height / 2;
536 final float distance = halfHeight + halfHeight *