OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:textWidth
(Results
1 - 12
of
12
) sorted by null
/frameworks/base/awt/org/apache/harmony/awt/gl/render/
JavaTextRenderer.java
136
int
textWidth
= gl.bmp_width;
140
if ((xDstSurf > cMaxX) || (yDstSurf > cMaxY) || (xDstSurf +
textWidth
< cMinX)
145
clWidth = Math.min(
textWidth
, cMaxX - xDstSurf);
148
clWidth = Math.min(cMaxX - cMinX,
textWidth
- (cMinX - xDstSurf));
222
int
textWidth
= gl.bmp_width;
226
if ((xDstSurf > cMaxX) || (yDstSurf > cMaxY) || (xDstSurf +
textWidth
< cMinX)
231
clWidth = Math.min(
textWidth
, cMaxX - xDstSurf);
234
clWidth = Math.min(cMaxX - cMinX,
textWidth
- (cMinX - xDstSurf));
/frameworks/base/core/java/com/android/internal/widget/
TextProgressBar.java
156
int
textWidth
= mChronometer.getWidth();
158
adjustLeft = -
textWidth
;
160
adjustLeft = -(
textWidth
/ 2);
165
int rightLimit = contentWidth - params.rightMargin -
textWidth
;
/packages/apps/Gallery3D/src/com/cooliris/media/
GridDrawables.java
115
float
textWidth
= (seedTextWidth / (float) itemWidth) * width;
119
sTextGrid = GridQuad.createGridQuad(
textWidth
, textHeight, 0, textOffsetY, 1.0f, 1.0f, false);
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
CandidateView.java
183
float
textWidth
= paint.measureText(suggestion);
184
final int wordWidth = (int)
textWidth
+ X_GAP * 2;
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
LabelMaker.java
197
int
textWidth
= Math.min(mStrikeWidth,measuredTextWidth);
202
int width = Math.max(minWidth,
textWidth
+ padWidth);
207
int centerOffsetWidth = (effectiveTextWidth -
textWidth
) / 2;
/external/webkit/WebCore/rendering/
RenderImage.cpp
419
int
textWidth
= font.width(textRun);
421
if (usableWidth >=
textWidth
&& font.height() <= imageY)
423
} else if (usableWidth >=
textWidth
&& cHeight >= font.height())
RenderListBox.cpp
118
float
textWidth
= itemFont.floatWidth(TextRun(text.impl(), 0, 0, 0, false, false, false, false));
119
width = max(width,
textWidth
);
RenderBlockLineLayout.cpp
[
all
...]
SVGRootInlineBox.cpp
589
int
textWidth
= 0;
614
textWidth
= styleToUse->font().width(svgTextRunForInlineTextBox(stringStart, stringLength, styleToUse, textBox, (*it).x));
619
if (textDecorations & UNDERLINE &&
textWidth
!= 0.0f)
620
textBox->paintDecoration(UNDERLINE, m_paintInfo.context, decorationOrigin.x(), decorationOrigin.y(),
textWidth
, *it, info);
622
if (textDecorations & OVERLINE &&
textWidth
!= 0.0f)
623
textBox->paintDecoration(OVERLINE, m_paintInfo.context, decorationOrigin.x(), decorationOrigin.y(),
textWidth
, *it, info);
630
if (textDecorations & LINE_THROUGH &&
textWidth
!= 0.0f)
631
textBox->paintDecoration(LINE_THROUGH, m_paintInfo.context, decorationOrigin.x(), decorationOrigin.y(),
textWidth
, *it, info);
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
CandidateView.java
247
float
textWidth
= paint.measureText(suggestion, 0, suggestion.length());
248
wordWidth = Math.max(mMinTouchableWidth, (int)
textWidth
+ X_GAP * 2);
/cts/tests/tests/text/src/android/text/cts/
TextUtilsTest.java
96
float
textWidth
= p.measureText("long, 3 plus");
101
TextUtils.commaEllipsize(text, p,
textWidth
- 1, "plus 1", "%d plus").toString());
104
TextUtils.commaEllipsize(text, p,
textWidth
, "plus 1", "%d plus").toString());
107
textWidth
= p.measureText("long, string, 2 more");
109
TextUtils.commaEllipsize(text, p,
textWidth
, "more 1", "%d more").toString());
112
textWidth
= p.measureText("long, string, to, truncate");
114
TextUtils.commaEllipsize(text, p,
textWidth
, "more 1", "%d more").toString());
118
text + "-extended", p,
textWidth
, "more 1", "%d more").toString());
127
text + "-extended", p,
textWidth
, null, "%d more").toString());
130
TextUtils.commaEllipsize(null, p,
textWidth
, "plus 1", "%d plus")
[
all
...]
/frameworks/base/core/java/android/widget/
TextView.java
[
all
...]
Completed in 2540 milliseconds