HomeSort by relevance Sort by last modified time
    Searched defs:widths (Results 1 - 25 of 35) sorted by null

1 2

  /external/skia/samplecode/
SampleMeasure.cpp 42 SkScalar* widths = autoWidths.get(); local
53 int n = p.getTextWidths(text, len, widths, rects);
70 x += widths[j];
SampleTextOnPath.cpp 31 static SkScalar sum_widths(const SkScalar widths[], int count) {
34 w += widths[i];
41 SkScalar widths[256]; local
50 paint.getTextWidths(text, count, widths, NULL);
51 SkDEBUGCODE(SkScalar tw0 = sum_widths(widths, count);)
52 paint.getTextWidths(text, count, widths, rects);
53 SkDEBUGCODE(SkScalar tw1 = sum_widths(widths, count);)
64 x += widths[j-1];
  /cts/tests/tests/text/src/android/text/method/cts/
TouchTest.java 216 float[] widths = new float[str.length()]; local
217 paint.getTextWidths(str, widths);
218 for (float f : widths) {
  /dalvik/vm/analysis/
Liveness.cpp 32 * Create a table of instruction widths that indicate the width of the
40 InstructionWidth* widths; local
42 widths = (InstructionWidth*)
44 if (widths == NULL)
49 widths[idx] = insnWidth;
54 return widths;
  /external/freetype/src/autofit/
afcjk.h 81 AF_WidthRec widths[AF_CJK_MAX_WIDTHS]; member in struct:AF_CJKAxisRec_
aflatin.h 101 FT_UInt width_count; /* number of used widths */
102 AF_WidthRec widths[AF_LATIN_MAX_WIDTHS]; /* widths array */ member in struct:AF_LatinAxisRec_
  /external/skia/bench/
TextBench.cpp 38 SkScalar* widths = storage.get(); local
39 fCount = fPaint.getTextWidths(fText.c_str(), fText.size(), widths);
44 x += widths[i];
  /external/skia/src/images/
SkImageDecoder_libpvjpeg.cpp 109 int32 widths[3], heights[3]; local
112 frame.iWidth = widths;
  /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/chromium/chrome/browser/ui/views/frame/
browser_view_layout.cc 82 int widths[] = { tabstrip_size.width(), toolbar_size.width(), local
84 int min_width = *std::max_element(&widths[0], &widths[arraysize(widths)]);
  /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_
  /frameworks/base/core/jni/android/graphics/
TextLayout.cpp 327 size_t widths; local
344 widths = paint->getTextWidths(text, count << 1, scalarArray);
347 widths = paint->getTextWidths(text, count << 1, scalarArray);
351 if (widths < count) {
353 LOGD("ICU -- count=%d", widths);
359 // leaving the remaining widths zero. Not nice.
360 for (size_t i = 0, p = 0; i < widths; ++i) {
  /dalvik/libdex/
InstrUtils.h 124 InstructionWidth* widths; member in struct:InstructionInfoTables
151 return gDexOpcodeInfo.widths[opcode];
  /sdk/traceview/src/com/android/traceview/
ProfileProvider.java 143 int[] widths = Arrays.copyOf(mColumnWidths, mColumnWidths.length); local
145 widths[COL_EXCLUSIVE_CPU_TIME] = 0;
146 widths[COL_EXCLUSIVE_CPU_TIME_PER] = 0;
147 widths[COL_INCLUSIVE_CPU_TIME] = 0;
148 widths[COL_INCLUSIVE_CPU_TIME_PER] = 0;
149 widths[COL_CPU_TIME_PER_CALL] = 0;
152 widths[COL_EXCLUSIVE_REAL_TIME] = 0;
153 widths[COL_EXCLUSIVE_REAL_TIME_PER] = 0;
154 widths[COL_INCLUSIVE_REAL_TIME] = 0;
155 widths[COL_INCLUSIVE_REAL_TIME_PER] = 0
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
PaintTest.java 87 float[] widths = new float[text.length()]; local
88 assertEquals(text.length(), p.getTextWidths(text, widths));
92 totalWidth += widths[i];
97 assertBreakText(text, textChars, textSpan, i, i + 1, true, totalWidth, 1, widths[i]);
105 3, widths[0] + widths[1] + widths[2]);
109 3, widths[0] + widths[1] + widths[2])
    [all...]
  /frameworks/base/core/java/android/widget/
TableLayout.java 451 // children with the widths computed in findLargestCells()
500 final int[] widths = row.getColumnsWidths(widthMeasureSpec); local
501 final int newLength = widths.length;
507 System.arraycopy(widths, 0, mMaxWidths, 0, newLength);
519 System.arraycopy(widths, oldMaxWidths.length,
530 maxWidths[j] = Math.max(maxWidths[j], widths[j]);
581 // Column's widths are changed: force child table rows to re-measure.
  /packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
VideoChatTestActivity.java 188 final int widths[] = new int[] {320, 640}; local
234 TestCamera(whichCamera, widths[whichResolution],
  /external/skia/src/pdf/
SkPDFFont.cpp 648 SkRefPtr<SkPDFArray> widths = local
651 widths->unref(); // SkRefPtr and compose both took a reference.
652 if (widths->size())
653 insert("W", widths.get());
807 insert("Widths", widthArray.get());
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/android/
FontAndroid.cpp 318 SkScalar* widths = storage.get(); local
322 count = paint.getTextWidths(run.characters(), count << 1, widths);
329 if (x < SkScalarRound(pos + SkScalarHalf(widths[i])))
331 pos += widths[i];
433 // Get the advances (widths) for each glyph.
    [all...]
  /frameworks/base/core/java/android/text/
StaticLayout.java 241 float[] widths = measured.mWidths; local
337 w += widths[j - paraStart];
340 w += widths[j - paraStart];
343 w += widths[j - paraStart];
431 currentTextWidth = widths[here - paraStart];
438 chs, widths, paraStart, ellipsize, ellipsizedWidth,
444 // we've measured the raw widths, though, so
486 widths, paraStart, ellipsize,
614 float[] widths, int widthStart, TextUtils.TruncateAt ellipsize,
724 calculateEllipsis(start, end, widths, widthStart
    [all...]
TextUtils.java 1198 float[] widths = mt.mWidths; local
    [all...]
  /external/freetype/include/freetype/internal/
tttypes.h 322 /* A small structure used to model the pre-computed widths of a given */
330 /* widths :: An array of widths. Note: These are 8-bit bytes. */
336 FT_Byte* widths; member in struct:TT_HdmxEntryRec_
348 /* pre-computed widths for a set of given sizes/dimensions. */
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
SuggestionsView.java 619 final float[] widths = new float[len]; local
620 final int count = paint.getTextWidths(text, 0, len, widths);
623 width += Math.round(widths[i] + 0.5f);
    [all...]
  /frameworks/ex/chips/src/com/android/ex/chips/
RecipientEditTextView.java 417 float[] widths = new float[1]; local
418 paint.getTextWidths(" ", widths);
420 calculateAvailableWidth(true) - deleteWidth - widths[0]);
459 float[] widths = new float[1]; local
460 paint.getTextWidths(" ", widths);
462 calculateAvailableWidth(false) - iconWidth - widths[0]);
679 // Check the widths of the associated chips.
    [all...]

Completed in 751 milliseconds

1 2