/external/skia/gm/ |
glyph_pos.cpp | 119 SkScalar widths[sizeof(kText) - 1]; local 120 paint.getTextWidths(kText, sizeof(kText) - 1, widths, nullptr); 130 w += widths[i];
|
glyph_pos_align.cpp | 45 SkScalar widths[kMaxStringLength]; local 51 paint.getTextWidths(text, length, widths); 63 posX[i] = x + originX * widths[i]; 65 x += widths[i];
|
path_stroke_with_zero_length.cpp | 116 SkScalar widths[] = { 0, .999f, 1, 1.001f, 20 }; variable 120 for (SkScalar width : widths) {
|
typeface.cpp | 19 SkScalar* widths = widthStorage.get(); local 20 paint.getTextWidths(glyphs, count * sizeof(uint16_t), widths); 24 x += widths[i];
|
blurrect.cpp | 177 const int widths[] = {25, 5, 5, 100, 150, 25}; local 189 for (size_t i = 0 ; i < SK_ARRAY_COUNT(widths) ; i++) { 190 int width = widths[i];
|
hairlines.cpp | 245 const SkScalar widths[] = { 0, 0.999f, 1, 1.001f }; local 249 for (auto width : widths) {
|
texteffects.cpp | 323 SkTDArray<SkScalar> widths; local 324 widths.setCount(widthCount); 325 (void) paint.getTextWidths(test, sizeof(test) - 1, widths.begin()); 331 posX += widths[index]; 364 SkTDArray<SkScalar> widths; local 365 widths.setCount(widthCount); 366 (void) paint.getTextWidths(test, sizeof(test) - 1, widths.begin()); 371 posX += widths[0]; 374 posX += widths[index];
|
/external/skia/samplecode/ |
SampleMeasure.cpp | 42 SkScalar* widths = autoWidths.get(); local 52 int n = p.getTextWidths(text, len, widths, rects); 69 x += widths[j];
|
/external/pdfium/xfa/src/fxbarcode/ |
BC_UtilRSS.cpp | 34 CBC_AutoPtr<CFX_Int32Array> widths(iTemp);
66 (*widths)[bar] = elmWidth;
68 (*widths)[bar] = n;
69 return widths.release();
71 int32_t CBC_UtilRSS::GetRSSvalue(CFX_Int32Array& widths,
74 int32_t elements = widths.GetSize();
77 n += widths[i];
83 for (elmWidth = 1, narrowMask |= (1 << bar); elmWidth < widths[bar];
134 CFX_Int32Array* widths = new CFX_Int32Array;
local 135 widths->SetSize(eDist.GetSize() + 2); [all...] |
/external/skia/tests/ |
StrokerTest.cpp | 15 const SkScalar widths[] = {-FLT_MAX, -1, -0.1f, -FLT_EPSILON, 0, FLT_EPSILON, variable 19 size_t widths_count = SK_ARRAY_COUNT(widths); 26 p.setStrokeWidth(widths[index]);
|
SwizzlerTest.cpp | 75 // Test on an invalid width and representative widths 76 const uint32_t widths[] = { 0, 10, 50 }; local 86 for (uint32_t width : widths) {
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
PaintTest.java | 85 final float[] widths = new float[count]; local 86 p.getTextWidths(str, start, end, widths); 88 assertEquals(advanceArrays[0][i], widths[i], 1.0f);
|
/cts/tests/tests/text/src/android/text/method/cts/ |
TouchTest.java | 193 float[] widths = new float[str.length()]; local 194 paint.getTextWidths(str, widths); 195 for (float f : widths) {
|
/external/freetype/src/autofit/ |
afcjk.h | 78 FT_UInt width_count; /* number of used widths */ 79 AF_WidthRec widths[AF_CJK_MAX_WIDTHS]; /* widths array */ member in struct:AF_CJKAxisRec_
|
aflatin.h | 87 FT_UInt width_count; /* number of used widths */ 88 AF_WidthRec widths[AF_LATIN_MAX_WIDTHS]; /* widths array */ member in struct:AF_LatinAxisRec_ 168 AF_WidthRec* widths, 178 AF_WidthRec* widths,
|
/external/pdfium/xfa/src/fxbarcode/oned/ |
BC_OnedCode39Writer.cpp | 276 int32_t widths[9] = {0};
local 290 ToIntArray(CBC_OnedCode39Reader::CHARACTER_ENCODINGS[i], widths);
292 codeWidth += widths[k];
299 ToIntArray(CBC_OnedCode39Reader::CHARACTER_ENCODINGS[39], widths);
300 int32_t pos = AppendPattern(result, 0, widths, 9, 1, e);
314 ToIntArray(CBC_OnedCode39Reader::CHARACTER_ENCODINGS[i], widths);
315 pos += AppendPattern(result, pos, widths, 9, 1, e);
328 ToIntArray(CBC_OnedCode39Reader::CHARACTER_ENCODINGS[39], widths);
329 pos += AppendPattern(result, pos, widths, 9, 1, e);
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/ |
Relay.java | 103 float[] widths = null; local 106 widths = new float[BUFFER_SIZE]; 143 bridge.getPaint().getTextWidths(charArray, 0, offset, widths); 145 wideAttribute[i] = (byte) (((int) widths[i] != charWidth) ? 1 : 0);
|
/frameworks/base/core/jni/ |
android_text_StaticLayout.cpp | 46 jfieldID widths; member in struct:android::JLineBreaksID 76 const jfloat* widths, const jint* flags) { 84 env->SetObjectField(recycle, gLineBreaks_fieldID.widths, recycleWidths); 89 env->SetFloatArrayRegion(recycleWidths, 0, nBreaks, widths); 168 jint start, jint end, jfloatArray widths) { 170 env->GetFloatArrayRegion(widths, start, end - start, b->charWidths() + start); 180 static void nGetWidths(JNIEnv* env, jclass, jlong nativePtr, jfloatArray widths) { 182 env->SetFloatArrayRegion(widths, 0, b->size(), b->charWidths()); 208 gLineBreaks_fieldID.widths = GetFieldIDOrDie(env, gLineBreaks_class, "widths", "[F") [all...] |
/frameworks/base/core/tests/coretests/src/android/graphics/ |
PaintTest.java | 87 float[] widths = new float[testCase.mText.length()]; local 90 paint.getTextWidths(String.valueOf(testCase.mText), widths); local 92 testCase.mWidthWithoutHinting, widths); 95 paint.getTextWidths(String.valueOf(testCase.mText), widths); local 97 testCase.mWidthWithHinting, widths);
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerView.java | 87 float widths[] = new float[allDigits.length()]; local 88 int ll = paint.getTextWidths(allDigits, widths); 91 if (widths[ii] > widths[largest]) { 96 textView.setPadding((int) (gapPadding * widths[largest]), 0, 0, 0);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyPreviewView.java | 104 final float[] widths = new float[len]; local 105 final int count = paint.getTextWidths(text, 0, len, widths); 108 width += widths[i];
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
MeasureText.java | 72 float[] widths = new float[text.length()]; local 74 int count = mPaint.getTextWidths(text, 0, text.length(), widths); 89 x += widths[i];
|
TextAlign.java | 53 float[] widths = new float[text.length()]; local 54 // initially get the widths for each char 55 int n = paint.getTextWidths(text, widths); 62 accumulatedX += widths[i];
|
/external/freetype/src/pshinter/ |
pshglob.h | 57 /* The maximum number of standard and snap widths in either the */ 73 /* standard and snap widths table */ 77 PSH_WidthRec widths[PS_GLOBALS_MAX_STD_WIDTHS]; member in struct:PSH_WidthsRec_
|
/external/pdfium/third_party/freetype/src/pshinter/ |
pshglob.h | 57 /* The maximum number of standard and snap widths in either the */ 73 /* standard and snap widths table */ 77 PSH_WidthRec widths[PS_GLOBALS_MAX_STD_WIDTHS]; member in struct:PSH_WidthsRec_
|