Searched refs:halfHeight (Results 1 - 6 of 6) sorted by relevance
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | RippleComponent.java | 90 final float halfHeight = bounds.height() / 2.0f; 91 return (float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight); 263 final float halfHeight = mBounds.height() / 2.0f; 265 + halfHeight * halfHeight);
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
H A D | ImageUtils.java | 281 int halfHeight = sourceHeight / 2; 282 scaled = new BufferedImage(halfWidth, halfHeight, imageType); 285 g2.drawImage(source, 0, 0, halfWidth, halfHeight, 0, 0, sourceWidth, sourceHeight, 290 sourceHeight = halfHeight;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | ScreenRotationAnimation.java | 491 final int halfHeight = (finalHeight + mOriginalHeight) / 2; 495 halfWidth, halfHeight); 496 mStartExitAnimation.initialize(halfWidth, halfHeight, 499 halfWidth, halfHeight); 500 mFinishExitAnimation.initialize(halfWidth, halfHeight,
|
H A D | AppTransition.java | 745 int halfHeight = mTmpRect.height() / 2; 747 int clipStartY = centerY - halfHeight - appFrame.top; 753 if (appFrame.top > centerY - halfHeight) { 754 translationY = (centerY - halfHeight) - appFrame.top;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ResolverDrawerLayout.java | 489 final int halfHeight = height / 2; 491 final float distance = halfHeight + halfHeight *
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 3708 int32_t halfHeight = virtualKeyDefinition.height / 2; local 3714 virtualKey.hitTop = (virtualKeyDefinition.centerY - halfHeight) 3716 virtualKey.hitBottom = (virtualKeyDefinition.centerY + halfHeight)
|
Completed in 279 milliseconds