Searched refs:textWidth (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/com/android/internal/widget/ |
D | TextProgressBar.java | 157 int textWidth = mChronometer.getWidth(); in onChronometerTick() local 159 adjustLeft = -textWidth; in onChronometerTick() 161 adjustLeft = -(textWidth / 2); in onChronometerTick() 166 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/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestView.java | 205 private void logAdvances(String text, float textWidth, float textWidthICU, float[] advances) { in logAdvances() argument 206 …Log.v(TAG, "Advances for text: " + text + " total= " + textWidth + " - totalICU= " + textWidthICU); in logAdvances()
|
/frameworks/base/core/java/android/text/ |
D | StaticLayout.java | 592 float ellipsisWidth, float textWidth, in out() argument 704 textWidth, paint, forceEllipsis); in out() 715 int line, float textWidth, TextPaint paint, in calculateEllipsis() argument 717 if (textWidth <= avail && !forceEllipsis) { in calculateEllipsis()
|
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 223 float textWidth = SkScalarToFloat(paint->measureText(text, len)); in render() local 226 textWidth *= 0.5f; in render() 229 penX += pathOffset - textWidth; in render()
|
/frameworks/base/core/java/android/widget/ |
D | NumberPicker.java | 1199 final float textWidth = mSelectorWheelPaint.measureText(mDisplayedValues[i]); in tryComputeMaxWidth() local 1200 if (textWidth > maxTextWidth) { in tryComputeMaxWidth() 1201 maxTextWidth = (int) textWidth; in tryComputeMaxWidth()
|
D | TextView.java | 6058 final float textWidth = mLayout.getLineWidth(0); in compressText() local 6059 final float overflow = (textWidth + 1.0f - width) / width; in compressText() 7674 final int textWidth = (mRight - mLeft) - getCompoundPaddingLeft() - in getRightFadingEdgeStrength() local 7677 return (lineWidth - textWidth) / getHorizontalFadingEdgeLength(); in getRightFadingEdgeStrength() 8815 final int textWidth = textView.getWidth() - textView.getCompoundPaddingLeft() - in start() local 8818 final float gap = textWidth / 3.0f; in start() 8819 mGhostStart = lineWidth - textWidth + gap; in start() 8820 mMaxScroll = mGhostStart + textWidth; in start() 8822 mFadeStop = lineWidth + textWidth / 6.0f; in start()
|