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

123

/external/skia/gm/
H A Dimageblur2.cpp53 const SkScalar textSize = 12; variable
70 textPaint.setTextSize(textSize);
76 SkIntToScalar(y * dy + textSize * i + textSize),
H A Dtexteffects.cpp234 SkScalar uPos, SkScalar uWidth, SkScalar textSize) {
240 if (start > last && last + textSize / 12 < start) {
273 for (SkScalar textSize = 100; textSize > 10; textSize -= 20) {
274 paint.setTextSize(textSize);
275 const SkScalar uWidth = textSize / 15;
287 SkPath underline = create_underline(intersections, start, end, uPos, uWidth, textSize);
291 canvas->translate(0, textSize * 1.3f);
317 for (SkScalar textSize
232 create_underline(const SkTDArray<SkScalar>& intersections, SkScalar last, SkScalar finalPos, SkScalar uPos, SkScalar uWidth, SkScalar textSize) argument
[all...]
H A Dcoloremoji.cpp80 const int textSize[] = { 10, 30, 50, }; variable
82 SkASSERT(sizeof(textSize) == sizeof(textYOffset));
84 for (size_t y = 0; y < sizeof(textSize) / sizeof(int); y++) {
85 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/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.cpp335 const SkScalar textSize = 2048;
336 const SkScalar invTextSize = 1 / textSize;
340 paint.setTextSize(textSize);
/external/skia/src/gpu/text/
H A DGrTextUtils.cpp202 SkScalar textSize = skPaint->getTextSize(); local
203 SkScalar scaledTextSize = textSize;
218 *textRatio = textSize / kSmallDFFontSize;
223 *textRatio = textSize / kMediumDFFontSize;
228 *textRatio = textSize / kLargeDFFontSize;
/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/v1/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/skia/tools/
H A Dsk_tool_utils.h115 int textSize, const char* str);
H A Dsk_tool_utils.cpp208 int textSize, const char* str) {
217 paint.setTextSize(SkIntToScalar(textSize));
207 create_string_bitmap(int w, int h, SkColor c, int x, int y, int textSize, const char* str) 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));
/external/skia/experimental/docs/
H A DcanvasBackend.js136 if ('textSize' in paint) {
137 font += " " + paint.textSize;
H A DsvgBackend.js200 if ('textSize' in paint) {
201 svgElement.setAttribute("font-size", paint.textSize);

Completed in 430 milliseconds

123