Searched refs:halfWidth (Results 1 - 9 of 9) sorted by relevance
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | RippleBackground.java | 113 final float halfWidth = mBounds.width() / 2.0f; 115 mOuterRadius = (float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight); 125 final float halfWidth = mBounds.width() / 2.0f; 127 mOuterRadius = (float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight);
|
H A D | Ripple.java | 125 final float halfWidth = mBounds.width() / 2.0f; 127 mOuterRadius = (float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight); 160 final float halfWidth = mBounds.width() / 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 D | ImageUtils.java | 276 int halfWidth = sourceWidth / 2; 278 scaled = new BufferedImage(halfWidth, halfHeight, imageType); 281 g2.drawImage(source, 0, 0, halfWidth, halfHeight, 0, 0, sourceWidth, sourceHeight, 285 sourceWidth = halfWidth;
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 245 const float halfWidth = glyph->mBitmapWidth * 0.5f; local 251 bool ok = measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent); 257 destination[0].set(-tangent->fX * halfWidth - tangent->fY * vOffset, 258 -tangent->fY * halfWidth + tangent->fX * vOffset); 259 destination[1].set(tangent->fX * halfWidth - tangent->fY * vOffset, 260 tangent->fY * halfWidth + tangent->fX * vOffset);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | ScreenRotationAnimation.java | 481 final int halfWidth = (finalWidth + mOriginalWidth) / 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 D | RotarySelector.java | 475 final int halfWidth = (outerRadius - innerRadius) / 2; 476 final int middleRadius = innerRadius + halfWidth; 489 return middleRadius - triangleY + halfWidth;
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | ViewDragHelper.java | 630 final int halfWidth = width / 2; 632 final float distance = halfWidth + halfWidth *
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 814 final int halfWidth = width / 2; 816 final float distance = halfWidth + halfWidth *
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 3397 int32_t halfWidth = virtualKeyDefinition.width / 2; local 3400 virtualKey.hitLeft = (virtualKeyDefinition.centerX - halfWidth) 3402 virtualKey.hitRight= (virtualKeyDefinition.centerX + halfWidth)
|
Completed in 1035 milliseconds