Searched refs:halfHeight (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | RippleComponent.java | 74 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/ |
D | ImageUtils.java | 278 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/ |
D | Utils.java | 105 final int halfHeight = height / 2; in calculateInSampleSize() local 110 while ((halfHeight / inSampleSize) > reqHeight in calculateInSampleSize()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ScreenRotationAnimation.java | 483 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()
|
D | AppTransition.java | 814 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/ |
D | ResolverDrawerLayout.java | 534 final int halfHeight = height / 2; 536 final float distance = halfHeight + halfHeight *
|