Searched refs:textWidth (Results 1 – 6 of 6) 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 | 56 int textWidth = right - left; 70 rsgDrawText(sampleText, xOffset + textWidth * h, yPos);
|
D | rsbench.rs | 403 float textWidth = (float)(right - left);
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestView.java | 199 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/ |
D | StaticLayout.java | 636 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/ |
D | TextView.java | 6333 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()
|