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

12

/external/skia/gm/
H A Dimageblur2.cpp53 const SkScalar textSize = 12; variable
68 textPaint.setTextSize(textSize);
74 SkIntToScalar(y * dy + textSize * i + textSize),
H A Dcoloremoji.cpp88 const int textSize[] = { 10, 30, 50, }; variable
90 SkASSERT(sizeof(textSize) == sizeof(textYOffset));
92 for (size_t y = 0; y < sizeof(textSize) / sizeof(int); y++) {
93 paint.setTextSize(SkIntToScalar(textSize[y]));
H A Ddownsamplebitmap.cpp110 DownsampleBitmapTextGM(float textSize, SkFilterQuality filterQuality) argument
111 : INHERITED(filterQuality), fTextSize(textSize)
H A Dfilterbitmap.cpp104 FilterBitmapTextGM(float textSize) argument
105 : fTextSize(textSize)
/external/skia/samplecode/
H A DSampleLCD.cpp39 SkScalar textSize = SkIntToScalar(6); local
48 paint.setTextSize(textSize);
49 textSize += delta;
/external/icu/icu4c/source/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/skia/experimental/PdfViewer/
H A DSkPdfUtils.h65 SkRect bBox, SkMatrix matrix, double textSize);
/external/skia/src/animator/
H A DSkDrawPaint.cpp56 SK_MEMBER(textSize, Float),
72 textAlign((SkPaint::Align) -1), textScaleX(SK_ScalarNaN), textSize(SK_ScalarNaN),
255 if (SkScalarIsNaN(textSize) == false)
256 paint->setTextSize(textSize);
H A DSkDrawPaint.h62 SkScalar textSize; member in class:SkDrawPaint
/external/skia/src/core/
H A DSkTypeface.cpp326 const SkScalar textSize = 2048; local
327 const SkScalar invTextSize = 1 / textSize;
331 paint.setTextSize(textSize);
H A DSkCanvas.cpp2182 const SkRect& r, SkScalar textSize) {
2187 p.setStrokeWidth(SkScalarMul(textSize, paint.getStrokeWidth()));
2229 SkScalar textSize = paint.getTextSize(); local
2230 SkScalar height = SkScalarMul(textSize, kStdUnderline_Thickness);
2237 SkScalar offset = SkScalarMulAdd(textSize, kStdUnderline_Offset,
2241 DrawRect(draw, paint, r, textSize);
2244 SkScalar offset = SkScalarMulAdd(textSize, kStdStrikeThru_Offset,
2248 DrawRect(draw, paint, r, textSize);
2181 DrawRect(const SkDraw& draw, const SkPaint& paint, const SkRect& r, SkScalar textSize) argument
/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/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowTextView.java35 private float textSize = 14.0f; field in class:ShadowTextView
161 textSize = size;
382 return textSize;
/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/skia/include/core/
H A DSkPaint.h716 @param textSize set the paint's text size.
718 void setTextSize(SkScalar textSize);
1106 * Above this size (taking into account CTM and textSize), we never use
1115 // Set flags/hinting/textSize up to use for drawing text as paths.
1116 // Returns scale factor to restore the original textSize, since will will
/external/pdfium/fpdfsdk/include/javascript/
H A DField.h152 FX_BOOL textSize(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
324 JS_STATIC_PROP(textSize, Field);
/external/skia/src/gpu/
H A DGrAtlasTextContext.cpp601 SkScalar textSize = skPaint->getTextSize(); local
602 SkScalar scaledTextSize = textSize;
617 *textRatio = textSize / kSmallDFFontSize;
622 *textRatio = textSize / kMediumDFFontSize;
627 *textRatio = textSize / kLargeDFFontSize;

Completed in 507 milliseconds

12