Home
last modified time | relevance | path

Searched refs:textSize (Results 1 – 25 of 31) sorted by relevance

12

/external/icu4c/test/perf/ubrkperf/
Dubrkperfold.cpp164 int32_t textSize = 0; variable
289 brkit->setText(UnicodeString(text, textSize)); in doForwardTest()
316 UniCharCount startOffset = 0, breakOffset = 0, numUniChars = textSize; in doForwardTest()
356 int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize)); in doForwardTest()
359 printf("number of code units %d average time per code unit %d\n", textSize, timePerCU); in doForwardTest()
362 printf("time=%d\nevents=%d\nsize=%d\n", elapsedTime, noBreaks, textSize); in doForwardTest()
374 brkit->setText(UnicodeString(text, textSize)); in doIsBoundTest()
376 for(j = 0; j < textSize; j++) { in doIsBoundTest()
390 for(j = 0; j < textSize; j++) { in doIsBoundTest()
400 int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize)); in doIsBoundTest()
[all …]
Dubrkperf.cpp90 UniCharCount startOffset = 0, breakOffset = 0, numUniChars = textSize;
130 int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize));
133 printf("number of code units %d average time per code unit %d\n", textSize, timePerCU);
136 printf("time=%d\nevents=%d\nsize=%d\n", elapsedTime, noBreaks, textSize);
/external/webkit/Source/WebCore/platform/graphics/chromium/
DFontPlatformDataLinux.h84 FontPlatformData(float textSize, bool fakeBold, bool fakeItalic) in FontPlatformData() argument
86 , m_textSize(textSize) in FontPlatformData()
95 …FontPlatformData(SkTypeface*, const char* name, float textSize, bool fakeBold, bool fakeItalic, Fo…
96 FontPlatformData(const FontPlatformData& src, float textSize);
DFontPlatformDataLinux.cpp86 FontPlatformData::FontPlatformData(SkTypeface* tf, const char* family, float textSize, bool fakeBol… in FontPlatformData() argument
89 , m_textSize(textSize) in FontPlatformData()
100 FontPlatformData::FontPlatformData(const FontPlatformData& src, float textSize) in FontPlatformData() argument
103 , m_textSize(textSize) in FontPlatformData()
/external/skia/samplecode/
DSampleLCD.cpp39 SkScalar textSize = SkIntToScalar(6); in onDraw() local
48 paint.setTextSize(textSize); in onDraw()
49 textSize += delta; in onDraw()
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
DFontPlatformDataAndroid.cpp103 FontPlatformData::FontPlatformData(SkTypeface* tf, float textSize, bool fakeBold, bool fakeItalic, in FontPlatformData() argument
105 …: m_typeface(tf), m_textSize(textSize), m_emSizeInFontUnits(0), m_fakeBold(fakeBold), m_fakeItalic… in FontPlatformData()
116 FontPlatformData::FontPlatformData(const FontPlatformData& src, float textSize) in FontPlatformData() argument
117 …: m_typeface(src.m_typeface), m_textSize(textSize), m_emSizeInFontUnits(src.m_emSizeInFontUnits), … in FontPlatformData()
DFontPlatformData.h57 FontPlatformData(SkTypeface*, float textSize, bool fakeBold, bool fakeItalic,
59 FontPlatformData(const FontPlatformData& src, float textSize);
/external/skia/src/animator/
DSkDrawPaint.cpp58 SK_MEMBER(textSize, Float),
74 textAlign((SkPaint::Align) -1), textScaleX(SK_ScalarNaN), textSize(SK_ScalarNaN), in SkDrawPaint()
257 if (SkScalarIsNaN(textSize) == false) in setupPaint()
258 paint->setTextSize(textSize); in setupPaint()
DSkDrawPaint.h62 SkScalar textSize; variable
/external/chromium/chrome/browser/ui/cocoa/
Dspeech_input_window_controller.mm96 NSSize textSize = [[instructionLabel_ cell] cellSize];
101 if (textSize.width > multiLineSize.width)
102 textSize = multiLineSize;
103 newHeight += textSize.height + kBubbleControlVerticalSpacing;
104 newWidth = std::max(newWidth, textSize.width);
/external/webkit/Source/WebCore/platform/network/
DMIMESniffing.cpp380 …e bool checkText(const char* data, size_t& pos, size_t dataSize, const char* text, size_t textSize) in checkText() argument
382 if (dataSize - pos < textSize || memcmp(data + pos, text, textSize)) in checkText()
385 pos += textSize; in checkText()
/external/svox/pico/lib/
Dpicoctrl.h68 picoos_int16 textSize,
Dpicoapi.c597 const pico_Int16 textSize, in pico_putTextUtf8() argument
606 } else if (textSize < 0) { in pico_putTextUtf8()
612 … status = picoctrl_engFeedText((picoctrl_Engine) engine, (picoos_char *)text, textSize, bytesPut); in pico_putTextUtf8()
Dpicoapi.h391 const pico_Int16 textSize,
Dpicoctrl.c725 picoos_int16 textSize, picoos_int16 * bytesPut) { in picoctrl_engFeedText() argument
731 while ((*bytesPut < textSize) && (PICO_OK == picodata_cbPutCh(this->cbIn, text[*bytesPut]))) { in picoctrl_engFeedText()
/external/skia/src/core/
DSkPictureFlat.cpp129 SkScalar textSize = buffer.readScalar(); in dump() local
130 if (textSize != defaultPaint.getTextSize()) in dump()
132 "textSize:%g ", SkScalarToFloat(textSize)); in dump()
DSkCanvas.cpp1632 const SkRect& r, SkScalar textSize) { in DrawRect() argument
1637 p.setStrokeWidth(SkScalarMul(textSize, paint.getStrokeWidth())); in DrawRect()
1679 SkScalar textSize = paint.getTextSize(); in DrawTextDecorations() local
1680 SkScalar height = SkScalarMul(textSize, kStdUnderline_Thickness); in DrawTextDecorations()
1687 SkScalar offset = SkScalarMulAdd(textSize, kStdUnderline_Offset, in DrawTextDecorations()
1691 DrawRect(draw, paint, r, textSize); in DrawTextDecorations()
1694 SkScalar offset = SkScalarMulAdd(textSize, kStdStrikeThru_Offset, in DrawTextDecorations()
1698 DrawRect(draw, paint, r, textSize); in DrawTextDecorations()
/external/webkit/Source/WebKit/android/plugins/
DANPPaintInterface.cpp127 static void anp_setTextSize(ANPPaint* paint, float textSize) { in anp_setTextSize() argument
128 paint->setTextSize(SkFloatToScalar(textSize)); in anp_setTextSize()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/
DFlyoutControlComposite.java860 Point textSize;
864 textSize = gc.textExtent(text);
874 m_titleWidth = textSize.x + 2 * TITLE_LINES + 4 * TITLE_MARGIN;
875 m_titleHeight = textSize.y;
893 x += textSize.x;
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DDrawUtils.java64 Point textSize = gc.stringExtent(text); in drawStringCHCV() local
66 if (textSize.x > width) { in drawStringCHCV()
69 gc.drawString(text, x + (width - textSize.x) / 2, textStartY); in drawStringCHCV()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
DCSpinner.java510 Point textSize = m_text.computeSize(SWT.DEFAULT, SWT.DEFAULT); in computeSize() local
513 int width = textSize.x + arrowWidth; in computeSize()
514 int height = Math.max(spinnerSize.y, textSize.y); in computeSize()
DCCombo3.java504 Point textSize = m_text.computeSize(areaWidth - buttonSize.x, areaHeight); in doResize() local
508 m_text.setSize(areaWidth - buttonSize.x, Math.max(textSize.y, areaHeight)); in doResize()
DCTableCombo.java544 Point textSize = m_text.computeSize(wHint, SWT.DEFAULT, changed); in computeSize() local
554 height = Math.max(hHint, Math.max(textSize.y, arrowSize.y) + 2 * borderWidth); in computeSize()
555 width = Math.max(wHint, Math.max(textSize.x + arrowSize.x, tableWidth) + 2 * borderWidth); in computeSize()
/external/webkit/Source/WebCore/rendering/svg/
DSVGInlineTextBox.cpp613 FloatSize textSize(fragment.width, fragment.height); in paintTextWithShadows() local
617 textSize.scale(scalingFactor); in paintTextWithShadows()
620 …ect(FloatPoint(textOrigin.x(), textOrigin.y() - scaledFont.fontMetrics().floatAscent()), textSize); in paintTextWithShadows()
/external/webkit/Source/WebCore/rendering/
DRenderImage.cpp116 …IntSize textSize(min(font.width(TextRun(m_altText.characters(), m_altText.length())), maxAltTextWi… in setImageSizeForAltText() local
117 imageSize = imageSize.expandedTo(textSize); in setImageSizeForAltText()

12