Searched refs:halfWidth (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 232 const float halfWidth = glyph->mBitmapWidth * 0.5f; in drawCachedGlyph() local 238 bool ok = measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent); in drawCachedGlyph() 244 destination[0].set(-tangent->fX * halfWidth - tangent->fY * vOffset, in drawCachedGlyph() 245 -tangent->fY * halfWidth + tangent->fX * vOffset); in drawCachedGlyph() 246 destination[1].set(tangent->fX * halfWidth - tangent->fY * vOffset, in drawCachedGlyph() 247 tangent->fY * halfWidth + tangent->fX * vOffset); in drawCachedGlyph()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | RotarySelector.java | 468 final int halfWidth = (outerRadius - innerRadius) / 2; in getYOnArc() local 469 final int middleRadius = innerRadius + halfWidth; in getYOnArc() 482 return middleRadius - triangleY + halfWidth; in getYOnArc()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | ScreenRotationAnimation.java | 475 final int halfWidth = (finalWidth + mOriginalWidth) / 2; in startAnimation() local 480 halfWidth, halfHeight); in startAnimation() 481 mStartExitAnimation.initialize(halfWidth, halfHeight, in startAnimation() 484 halfWidth, halfHeight); in startAnimation() 485 mFinishExitAnimation.initialize(halfWidth, halfHeight, in startAnimation()
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
D | load-bitmap.jd | 114 final int halfWidth = width / 2; 119 && (halfWidth / inSampleSize) > reqWidth) {
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | ViewDragHelper.java | 623 final int halfWidth = width / 2; in computeAxisDuration() local 625 final float distance = halfWidth + halfWidth * in computeAxisDuration()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | ViewPager.java | 809 final int halfWidth = width / 2; in smoothScrollTo() local 811 final float distance = halfWidth + halfWidth * in smoothScrollTo()
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
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/ |
D | InputReader.cpp | 3355 int32_t halfWidth = virtualKeyDefinition.width / 2; in configureVirtualKeys() local 3358 virtualKey.hitLeft = (virtualKeyDefinition.centerX - halfWidth) in configureVirtualKeys() 3360 virtualKey.hitRight= (virtualKeyDefinition.centerX + halfWidth) in configureVirtualKeys()
|