HomeSort by relevance Sort by last modified time
    Searched defs:textWidth (Results 1 - 17 of 17) sorted by null

  /external/chromium_org/third_party/skia/bench/
PicturePlaybackBench.cpp 81 const SkScalar textWidth = paint.measureText(text, len);
83 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) {
106 const SkScalar textWidth = paint.measureText(text, len);
111 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) {
  /external/chromium_org/third_party/skia/gm/
bitmapcopy.cpp 89 SkScalar textWidth = paint.measureText(name, strlen(name));
90 if (textWidth > width) {
91 width = textWidth;
102 SkScalar textWidth = paint.measureText(name, strlen(name));
103 SkScalar x = (width - textWidth) / SkScalar(2);
  /cts/tests/tests/text/src/android/text/method/cts/
TouchTest.java 115 int textWidth = Math.round(paint.measureText(text));
116 while (textWidth < screenWidth) {
118 textWidth = Math.round(paint.measureText(text));
122 int dragAmount = Math.min(screenWidth, textWidth - screenWidth);
  /external/chromium_org/third_party/WebKit/Source/core/paint/
ImagePainter.cpp 135 float textWidth = font.width(textRun);
137 textRunPaintInfo.bounds = FloatRect(textRectOrigin, FloatSize(textWidth, fontMetrics.height()));
141 textOrigin.move(availableWidth - ceilf(textWidth), 0);
144 if (usableWidth >= textWidth && fontMetrics.height() <= imageOffset.height())
146 } else if (usableWidth >= textWidth && usableHeight >= fontMetrics.height()) {
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderEmbeddedObject.cpp 138 float textWidth;
139 if (!getReplacementTextGeometry(paintOffset, contentRect, path, replacementTextRect, font, run, textWidth))
150 float labelX = roundf(replacementTextRect.location().x() + (replacementTextRect.size().width() - textWidth) / 2);
159 bool RenderEmbeddedObject::getReplacementTextGeometry(const LayoutPoint& accumulatedOffset, FloatRect& contentRect, Path& path, FloatRect& replacementTextRect, Font& font, TextRun& run, float& textWidth) const
176 textWidth = font.width(run);
178 replacementTextRect.setSize(FloatSize(textWidth + replacementTextRoundedRectLeftRightTextMargin * 2, replacementTextRoundedRectHeight));
RenderFileUploadControl.cpp 119 float textWidth = font.width(textRun);
124 textX = contentLeft + contentWidth() - buttonAndSpacingWidth - textWidth;
136 textWidth, style()->fontMetrics().height());
  /external/chromium_org/third_party/WebKit/Source/platform/
DragImage.cpp 192 float textWidth = labelFont.width(textRun);
194 textPos.setX(availableWidth - ceilf(textWidth));
  /bootable/recovery/
screen_ui.cpp 104 int textWidth = gr_get_width(text_surface);
113 int textX = (gr_fb_width() - textWidth) / 2;
  /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;
  /external/chromium_org/third_party/skia/experimental/PdfViewer/
SkPdfFont.h 278 SkScalar textWidth = paint->measureText(utf8, len);
279 return SkScalarToDouble(textWidth);
  /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/chromium_org/third_party/WebKit/Source/core/rendering/line/
BreakingContextInlineHeaders.h 516 ALWAYS_INLINE float textWidth(RenderText* text, unsigned from, unsigned len, const Font& font, float xPos, bool isFixedPitch, bool collapseWhiteSpace, HashSet<const SimpleFontData*>* fallbackFonts = 0)
621 charWidth = textWidth(renderText, m_current.offset(), midWordBreakIsBeforeSurrogatePair ? 2 : 1, font, m_width.committedWidth() + wrapW, isFixedPitch, m_collapseWhiteSpace);
657 additionalTempWidth = textWidth(renderText, lastSpace, m_current.offset() + 1 - lastSpace, font, m_width.currentWidth(), isFixedPitch, m_collapseWhiteSpace, &wordMeasurement.fallbackFonts) - wordTrailingSpaceWidth;
659 additionalTempWidth = textWidth(renderText, lastSpace, m_current.offset() - lastSpace, font, m_width.currentWidth(), isFixedPitch, m_collapseWhiteSpace, &wordMeasurement.fallbackFonts);
683 float charWidth = textWidth(renderText, m_current.offset(), 1, font, m_width.currentWidth(), isFixedPitch, m_collapseWhiteSpace, &wordMeasurement.fallbackFonts) + (applyWordSpacing ? wordSpacing : 0);
    [all...]
  /cts/tests/tests/text/src/android/text/cts/
TextUtilsTest.java 90 float textWidth = p.measureText("long, 3 plus");
95 TextUtils.commaEllipsize(text, p, textWidth - 1.4f, "plus 1", "%d plus").toString());
98 TextUtils.commaEllipsize(text, p, textWidth, "plus 1", "%d plus").toString());
101 textWidth = p.measureText("long, string, 2 more");
103 TextUtils.commaEllipsize(text, p, textWidth, "more 1", "%d more").toString());
106 textWidth = p.measureText("long, string, to, truncate");
108 TextUtils.commaEllipsize(text, p, textWidth, "more 1", "%d more").toString());
112 text + "-extended", p, textWidth, "more 1", "%d more").toString());
121 text + "-extended", p, textWidth, null, "%d more").toString());
124 TextUtils.commaEllipsize(null, p, textWidth, "plus 1", "%d plus")
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.ui.forms_3.5.2.r36_v20100702.jar 
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar 
org.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jar 
org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar 

Completed in 2075 milliseconds