Searched refs:textWidth (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/com/android/internal/widget/ |
D | TextProgressBar.java | 160 int textWidth = mChronometer.getWidth(); in onChronometerTick() local 162 adjustLeft = -textWidth; in onChronometerTick() 164 adjustLeft = -(textWidth / 2); in onChronometerTick() 169 int rightLimit = contentWidth - params.rightMargin - textWidth; in onChronometerTick()
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | text_test.rs | 61 int textWidth = right - left; 75 rsgDrawText(sampleText, xOffset + textWidth * h, yPos);
|
D | ui_test.rs | 308 float textWidth = (float)(right - left);
|
/frameworks/base/core/java/android/text/ |
D | StaticLayout.java | 517 float ellipsisWidth, float textWidth, 633 textWidth, paint, forceEllipsis); 644 int line, float textWidth, TextPaint paint, 646 if (textWidth <= avail && !forceEllipsis) {
|
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 325 float textWidth = SkScalarToFloat(paint->measureText(text, len)); in render() local 328 textWidth *= 0.5f; in render() 331 penX += pathOffset - textWidth; in render()
|
/frameworks/base/core/java/android/widget/ |
D | NumberPicker.java | 1299 final float textWidth = mSelectorWheelPaint.measureText(mDisplayedValues[i]); in tryComputeMaxWidth() local 1300 if (textWidth > maxTextWidth) { in tryComputeMaxWidth() 1301 maxTextWidth = (int) textWidth; in tryComputeMaxWidth()
|
D | TextView.java | 6477 final float textWidth = mLayout.getLineWidth(0); in compressText() local 6478 final float overflow = (textWidth + 1.0f - width) / width; in compressText() 8131 final int textWidth = (mRight - mLeft) - getCompoundPaddingLeft() - in getRightFadingEdgeStrength() local 8134 return (lineWidth - textWidth) / getHorizontalFadingEdgeLength(); in getRightFadingEdgeStrength() 9407 final int textWidth = textView.getWidth() - textView.getCompoundPaddingLeft() - in start() local 9410 final float gap = textWidth / 3.0f; in start() 9411 mGhostStart = lineWidth - textWidth + gap; in start() 9412 mMaxScroll = mGhostStart + textWidth; in start() 9414 mFadeStop = lineWidth + textWidth / 6.0f; in start()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 655 int textWidth = (int) paint.measureText(ellipsizedText, 0, ellipsizedText.length()); in createChipBitmap() local 661 int width = Math.max(iconWidth * 2, textWidth + startPadding + mChipTextEndPadding in createChipBitmap() 684 width - backgroundPadding.right - mChipTextEndPadding - textWidth; in createChipBitmap()
|