Searched refs:textSize (Results 1 - 25 of 34) sorted by relevance

12

/external/skia/samplecode/
H A DSampleLCD.cpp39 SkScalar textSize = SkIntToScalar(6); local
48 paint.setTextSize(textSize);
49 textSize += delta;
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DFontPlatformDataLinux.h84 FontPlatformData(float textSize, bool fakeBold, bool fakeItalic) argument
86 , m_textSize(textSize)
95 FontPlatformData(SkTypeface*, const char* name, float textSize, bool fakeBold, bool fakeItalic, FontOrientation = Horizontal, TextOrientation = TextOrientationVerticalRight);
96 FontPlatformData(const FontPlatformData& src, float textSize);
H A DFontPlatformDataLinux.cpp86 FontPlatformData::FontPlatformData(SkTypeface* tf, const char* family, float textSize, bool fakeBold, bool fakeItalic, FontOrientation orientation, TextOrientation textOrientation) argument
89 , m_textSize(textSize)
100 FontPlatformData::FontPlatformData(const FontPlatformData& src, float textSize) argument
103 , m_textSize(textSize)
/external/icu4c/test/perf/ubrkperf/
H A 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);
H A Dubrkperfold.cpp164 int32_t textSize = 0; variable
289 brkit->setText(UnicodeString(text, textSize));
316 UniCharCount startOffset = 0, breakOffset = 0, numUniChars = textSize;
356 int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize));
359 printf("number of code units %d average time per code unit %d\n", textSize, timePerCU);
362 printf("time=%d\nevents=%d\nsize=%d\n", elapsedTime, noBreaks, textSize);
374 brkit->setText(UnicodeString(text, textSize));
376 for(j = 0; j < textSize; j++) {
390 for(j = 0; j < textSize; j++) {
400 int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize));
[all...]
/external/svox/pico/lib/
H A Dpicoctrl.h68 picoos_int16 textSize,
H A Dpicoapi.h375 'textSize' is the maximum size in number of bytes accessible in
391 const pico_Int16 textSize,
H A Dpicoapi.c587 * @param textSize : text buffer size
597 const pico_Int16 textSize,
606 } else if (textSize < 0) {
612 status = picoctrl_engFeedText((picoctrl_Engine) engine, (picoos_char *)text, textSize, bytesPut);
594 pico_putTextUtf8( pico_Engine engine, const pico_Char *text, const pico_Int16 textSize, pico_Int16 *bytesPut) argument
H A Dpicoctrl.c716 * @param textSize : size of the input text
725 picoos_int16 textSize, picoos_int16 * bytesPut) {
731 while ((*bytesPut < textSize) && (PICO_OK == picodata_cbPutCh(this->cbIn, text[*bytesPut]))) {
723 picoctrl_engFeedText(picoctrl_Engine this, picoos_char * text, picoos_int16 textSize, picoos_int16 * bytesPut) argument
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
H A DFontPlatformData.h57 FontPlatformData(SkTypeface*, float textSize, bool fakeBold, bool fakeItalic,
59 FontPlatformData(const FontPlatformData& src, float textSize);
H A DFontPlatformDataAndroid.cpp103 FontPlatformData::FontPlatformData(SkTypeface* tf, float textSize, bool fakeBold, bool fakeItalic, argument
105 : m_typeface(tf), m_textSize(textSize), m_emSizeInFontUnits(0), m_fakeBold(fakeBold), m_fakeItalic(fakeItalic),
116 FontPlatformData::FontPlatformData(const FontPlatformData& src, float textSize) argument
117 : m_typeface(src.m_typeface), m_textSize(textSize), m_emSizeInFontUnits(src.m_emSizeInFontUnits), m_fakeBold(src.m_fakeBold), m_fakeItalic(src.m_fakeItalic),
/external/skia/src/animator/
H A DSkDrawPaint.cpp58 SK_MEMBER(textSize, Float),
74 textAlign((SkPaint::Align) -1), textScaleX(SK_ScalarNaN), textSize(SK_ScalarNaN),
257 if (SkScalarIsNaN(textSize) == false)
258 paint->setTextSize(textSize);
H A DSkDrawPaint.h62 SkScalar textSize; member in class:SkDrawPaint
/external/webkit/Source/WebCore/platform/network/
H A DMIMESniffing.cpp380 static inline bool checkText(const char* data, size_t& pos, size_t dataSize, const char* text, size_t textSize) argument
382 if (dataSize - pos < textSize || memcmp(data + pos, text, textSize))
385 pos += textSize;
/external/webkit/Source/WebKit/android/plugins/
H A DANPPaintInterface.cpp127 static void anp_setTextSize(ANPPaint* paint, float textSize) { argument
128 paint->setTextSize(SkFloatToScalar(textSize));
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
H A DDrawUtils.java64 Point textSize = gc.stringExtent(text);
66 if (textSize.x > width) {
69 gc.drawString(text, x + (width - textSize.x) / 2, textStartY);
/external/skia/src/core/
H A DSkPictureFlat.cpp129 SkScalar textSize = buffer.readScalar(); local
130 if (textSize != defaultPaint.getTextSize())
132 "textSize:%g ", SkScalarToFloat(textSize));
H A DSkCanvas.cpp1632 const SkRect& r, SkScalar textSize) {
1637 p.setStrokeWidth(SkScalarMul(textSize, paint.getStrokeWidth()));
1679 SkScalar textSize = paint.getTextSize(); local
1680 SkScalar height = SkScalarMul(textSize, kStdUnderline_Thickness);
1687 SkScalar offset = SkScalarMulAdd(textSize, kStdUnderline_Offset,
1691 DrawRect(draw, paint, r, textSize);
1694 SkScalar offset = SkScalarMulAdd(textSize, kStdStrikeThru_Offset,
1698 DrawRect(draw, paint, r, textSize);
1631 DrawRect(const SkDraw& draw, const SkPaint& paint, const SkRect& r, SkScalar textSize) argument
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/
H A 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/core/controls/
H A DCSpinner.java510 Point textSize = m_text.computeSize(SWT.DEFAULT, SWT.DEFAULT);
513 int width = textSize.x + arrowWidth;
514 int height = Math.max(spinnerSize.y, textSize.y);
H A DCCombo3.java504 Point textSize = m_text.computeSize(areaWidth - buttonSize.x, areaHeight);
508 m_text.setSize(areaWidth - buttonSize.x, Math.max(textSize.y, areaHeight));
H A DCTableCombo.java544 Point textSize = m_text.computeSize(wHint, SWT.DEFAULT, changed);
554 height = Math.max(hHint, Math.max(textSize.y, arrowSize.y) + 2 * borderWidth);
555 width = Math.max(wHint, Math.max(textSize.x + arrowSize.x, tableWidth) + 2 * borderWidth);
/external/webkit/Source/WebCore/rendering/svg/
H A DSVGInlineTextBox.cpp613 FloatSize textSize(fragment.width, fragment.height);
617 textSize.scale(scalingFactor);
620 FloatRect shadowRect(FloatPoint(textOrigin.x(), textOrigin.y() - scaledFont.fontMetrics().floatAscent()), textSize); local
/external/webkit/Source/WebCore/rendering/
H A DRenderImage.cpp116 IntSize textSize(min(font.width(TextRun(m_altText.characters(), m_altText.length())), maxAltTextWidth), min(font.fontMetrics().height(), maxAltTextHeight));
117 imageSize = imageSize.expandedTo(textSize);
/external/webkit/Source/WebKit/win/
H A DFullscreenVideoController.cpp66 static const int textSize = 11; variable
523 desc.setComputedSize(textSize);

Completed in 357 milliseconds

12