Searched refs:halfWidth (Results 1 - 7 of 7) sorted by relevance
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 133 const float halfWidth = glyph->mBitmapWidth * 0.5f; local 139 measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent); 142 destination[0].set(-tangent->fX * halfWidth - tangent->fY * vOffset, 143 -tangent->fY * halfWidth + tangent->fX * vOffset); 144 destination[1].set(tangent->fX * halfWidth - tangent->fY * vOffset, 145 tangent->fY * halfWidth + tangent->fX * vOffset);
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | ScreenRotationAnimation.java | 441 final int halfWidth = (finalWidth + mOriginalWidth) / 2; 446 halfWidth, halfHeight); 447 mStartExitAnimation.initialize(halfWidth, halfHeight, 450 halfWidth, halfHeight); 451 mFinishExitAnimation.initialize(halfWidth, halfHeight,
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RotarySelector.java | 468 final int halfWidth = (outerRadius - innerRadius) / 2; 469 final int middleRadius = innerRadius + halfWidth; 482 return middleRadius - triangleY + halfWidth;
|
/frameworks/base/libs/hwui/ |
H A D | OpenGLRenderer.cpp | 2281 const float halfWidth = strokeWidth / 2; local 2315 float left = points[i] - halfWidth; 2316 float right = points[i] + halfWidth; 2317 float top = points[i + 1] - halfWidth; 2318 float bottom = points [i + 1] + halfWidth;
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 778 final int halfWidth = width / 2; 780 final float distance = halfWidth + halfWidth *
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
H A D | carousel.rs | 962 const float halfWidth = lineWidth * 0.5f; 963 const float x0 = trunc(cards[i].detailLineOffset.x + screenCoord.x - halfWidth);
|
/frameworks/base/services/input/ |
H A D | InputReader.cpp | 3317 int32_t halfWidth = virtualKeyDefinition.width / 2; local 3320 virtualKey.hitLeft = (virtualKeyDefinition.centerX - halfWidth) 3322 virtualKey.hitRight= (virtualKeyDefinition.centerX + halfWidth)
|
Completed in 704 milliseconds