Home
last modified time | relevance | path

Searched refs:textWidth (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DTextProgressBar.java157 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/
Dtext_test.rs56 int textWidth = right - left;
70 rsgDrawText(sampleText, xOffset + textWidth * h, yPos);
Drsbench.rs403 float textWidth = (float)(right - left);
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestView.java199 private void logAdvances(String text, float textWidth, float textWidthICU, float[] advances) { in logAdvances() argument
200 …Log.v(TAG, "Advances for text: " + text + " total= " + textWidth + " - totalICU= " + textWidthICU); in logAdvances()
/frameworks/base/core/java/android/text/
DStaticLayout.java636 float textWidth, TextPaint paint, boolean moreChars) { in out() argument
746 textWidth, paint, forceEllipsis); in out()
757 int line, float textWidth, TextPaint paint, in calculateEllipsis() argument
759 if (textWidth <= avail && !forceEllipsis) { in calculateEllipsis()
/frameworks/base/core/java/android/widget/
DTextView.java6333 final float textWidth = mLayout.getLineWidth(0); in compressText() local
6334 final float overflow = (textWidth + 1.0f - width) / width; in compressText()
7439 final int textWidth = textView.getWidth() - textView.getCompoundPaddingLeft() - in start() local
7442 final float gap = textWidth / 3.0f; in start()
7443 mGhostStart = lineWidth - textWidth + gap; in start()
7444 mMaxScroll = mGhostStart + textWidth; in start()
7446 mFadeStop = lineWidth + textWidth / 6.0f; in start()
8590 final int textWidth = (mRight - mLeft) - getCompoundPaddingLeft() - in getRightFadingEdgeStrength() local
8593 return (lineWidth - textWidth) / getHorizontalFadingEdgeLength(); in getRightFadingEdgeStrength()