Searched refs:halfHeight (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleBackground.java114 final float halfHeight = mBounds.height() / 2.0f;
115 mOuterRadius = (float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight);
126 final float halfHeight = mBounds.height() / 2.0f;
127 mOuterRadius = (float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight);
H A DRipple.java126 final float halfHeight = mBounds.height() / 2.0f;
127 mOuterRadius = (float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight);
161 final float halfHeight = mBounds.height() / 2.0f;
162 mOuterRadius = (float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight);
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A DImageUtils.java277 int halfHeight = sourceHeight / 2;
278 scaled = new BufferedImage(halfWidth, halfHeight, imageType);
281 g2.drawImage(source, 0, 0, halfWidth, halfHeight, 0, 0, sourceWidth, sourceHeight,
286 sourceHeight = halfHeight;
/frameworks/base/services/core/java/com/android/server/wm/
H A DScreenRotationAnimation.java482 final int halfHeight = (finalHeight + mOriginalHeight) / 2;
486 halfWidth, halfHeight);
487 mStartExitAnimation.initialize(halfWidth, halfHeight,
490 halfWidth, halfHeight);
491 mFinishExitAnimation.initialize(halfWidth, halfHeight,
/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java406 final int halfHeight = height / 2;
408 final float distance = halfHeight + halfHeight *
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DSlidingChallengeLayout.java414 final int halfHeight = childHeight / 2;
416 final float distance = halfHeight + halfHeight *
/frameworks/native/services/inputflinger/
H A DInputReader.cpp3398 int32_t halfHeight = virtualKeyDefinition.height / 2; local
3404 virtualKey.hitTop = (virtualKeyDefinition.centerY - halfHeight)
3406 virtualKey.hitBottom = (virtualKeyDefinition.centerY + halfHeight)

Completed in 169 milliseconds