Searched refs:halfHeight (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | RippleComponent.java | 82 final float halfHeight = bounds.height() / 2.0f; 83 return (float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight); 255 final float halfHeight = mBounds.height() / 2.0f; 257 + halfHeight * halfHeight);
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
H A D | ImageUtils.java | 277 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 D | ScreenRotationAnimation.java | 476 final int halfHeight = (finalHeight + mOriginalHeight) / 2; 480 halfWidth, halfHeight); 481 mStartExitAnimation.initialize(halfWidth, halfHeight, 484 halfWidth, halfHeight); 485 mFinishExitAnimation.initialize(halfWidth, halfHeight,
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ResolverDrawerLayout.java | 417 final int halfHeight = height / 2; 419 final float distance = halfHeight + halfHeight *
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 3559 int32_t halfHeight = virtualKeyDefinition.height / 2; local 3565 virtualKey.hitTop = (virtualKeyDefinition.centerY - halfHeight) 3567 virtualKey.hitBottom = (virtualKeyDefinition.centerY + halfHeight)
|
Completed in 310 milliseconds