Home
last modified time | relevance | path

Searched refs:getLineWidth (Results 1 – 22 of 22) sorted by relevance

/frameworks/layoutlib/bridge/src/android/text/
DGreedyLineBreaker.java47 float maxWidth = mLineWidth.getLineWidth(lineNum); in computeBreaks()
79 maxWidth = mLineWidth.getLineWidth(lineNum); in computeBreaks()
88 maxWidth = mLineWidth.getLineWidth(lineNum); in computeBreaks()
113 maxWidth = mLineWidth.getLineWidth(lineNum); in computeBreaks()
DLineWidth.java32 public float getLineWidth(int line) { in getLineWidth() method in LineWidth
DOptimizingLineBreaker.java73 float maxWidth = mLineWidth.getLineWidth(lines); in computeBreaks()
111 float maxWidth = mLineWidth.getLineWidth(lines); in computeBreaks()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLPaint.java38 public float getLineWidth() { in getLineWidth() method in GLPaint
DGLES20Canvas.java493 draw(type, offset, count, x, y, width, height, paint.getColor(), paint.getLineWidth()); in draw()
/frameworks/minikin/libs/minikin/
DLineBreaker.cpp154 hyphenPenalty = 0.5 * paint->size * paint->scaleX * mLineWidths.getLineWidth(0); in addStyleRun()
388 return mLineWidths.getLineWidth(mBreaks.size()); in currentLineWidth()
430 float width = mLineWidths.getLineWidth(0); in computeBreaksOptimal()
442 width = mLineWidths.getLineWidth(lineNumberLast); in computeBreaksOptimal()
452 float widthNew = mLineWidths.getLineWidth(lineNumber); in computeBreaksOptimal()
/frameworks/base/core/tests/coretests/src/android/text/style/
DUnderlineSpanTest.java63 return layout.getLineWidth(0); in textWidth()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DTextViewTransformState.java107 return (int) l.getLineWidth(0); in getViewWidth()
/frameworks/minikin/include/minikin/
DLineBreaker.h64 float getLineWidth(int line) const { in getLineWidth() function
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java215 float withHyphenLength = layout.getLineWidth(i); in testHyphenationWidth()
/frameworks/base/core/java/android/text/
DBoringLayout.java347 public float getLineWidth(int line) { in getLineWidth() method in BoringLayout
DLayout.java1300 public float getLineWidth(int line) { in getLineWidth() method in Layout
/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java372 assertEquals(mTextPaint.measureText(text), layout.getLineWidth(i), 1.0f); in testGetLineWidth()
/frameworks/base/core/java/android/widget/
DTextView.java8041 final float textWidth = mLayout.getLineWidth(0); in compressText()
8072 max = Math.max(max, layout.getLineWidth(i)); in desired()
9207 return width > 0 && (mLayout.getLineWidth(0) > width in canMarquee()
9209 && mSavedMarqueeModeLayout.getLineWidth(0) > width)); in canMarquee()
9888 ? (int) mLayout.getLineWidth(0) : mLayout.getWidth(); in computeHorizontalScrollRange()
11913 final float lineWidth = textView.mLayout.getLineWidth(0); in start()
DEditor.java768 max = Math.max(max, l.getLineWidth(i)); in chooseSize()
/frameworks/support/design/src/android/support/design/widget/
DTabLayout.java1780 return layout.getLineWidth(line) * (textSize / layout.getPaint().getTextSize()); in approximateLineWidth()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java6069 int innerWidth = (int) tv.getLayout().getLineWidth(0);
/frameworks/base/config/
Dboot-image-profile.txt30795 HSPLandroid/text/BoringLayout;->getLineWidth(I)F
30906 HSPLandroid/text/Layout;->getLineWidth(I)F
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29707 method public float getLineWidth(int);
/frameworks/base/api/
Dcurrent.txt41406 method public float getLineWidth(int);
Dtest-current.txt41682 method public float getLineWidth(int);
Dsystem-current.txt44991 method public float getLineWidth(int);