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

1 2 3

  /cts/tests/tests/graphics/src/android/graphics/cts/
PaintTest.java 68 float[] widths = new float[text.length()]; local
69 assertEquals(text.length(), p.getTextWidths(text, widths));
73 totalWidth += widths[i];
78 assertBreakText(text, textChars, textSpan, i, i + 1, true, totalWidth, 1, widths[i]);
86 3, widths[0] + widths[1] + widths[2]);
90 3, widths[0] + widths[1] + widths[2])
    [all...]
  /external/skia/gm/
getpostextpath.cpp 51 SkAutoTArray<SkScalar> widths(len);
52 paint.getTextWidths(text, len, &widths[0]);
59 x += widths[i];
techtalk1.cpp 301 SkScalar widths[256]; local
302 int count = paint.getTextWidths(text, len, widths, bounds);
307 adv += widths[j];
  /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];
  /frameworks/base/core/java/android/text/
GraphicsOperations.java 24 * draw/measure/widths calculations from an internal array.
51 public int getTextWidths(int start, int end, float[] widths, Paint p);
StaticLayout.java 241 float[] widths = measured.mWidths; local
334 w += widths[j - paraStart];
337 w += widths[j - paraStart];
340 w += widths[j - paraStart];
407 currentTextWidth = widths[here - paraStart];
414 chs, widths, paraStart, ellipsize, ellipsizedWidth,
463 widths, paraStart, ellipsize,
591 float[] widths, int widthStart, TextUtils.TruncateAt ellipsize,
702 calculateEllipsis(start, end, widths, widthStart,
713 float[] widths, int widthStart
    [all...]
  /dalvik/libdex/
InstrUtils.h 118 InstructionWidth* widths; member in struct:InstructionInfoTables
145 return gDexOpcodeInfo.widths[opcode];
  /frameworks/base/graphics/java/android/graphics/
Paint.java     [all...]
  /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_
aftypes.h 91 AF_Width widths );
  /cts/tests/tests/text/src/android/text/cts/
StaticLayoutLineBreakingTest.java 500 int[] widths = new int[] { 0, 4, 10 }; local
508 for (int width: widths) {
515 int[] widths = new int[] { 0, 4 }; local
516 for (int width: widths) {
533 int[] widths = new int[] { 0, 4 }; local
534 for (int width: 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_
pshglob.c 33 /***** STANDARD WIDTHS *****/
39 /* scale the widths/heights table */
47 PSH_Width width = stdw->widths;
100 w = dimension->stdw.widths[n].cur;
639 /* copy standard widths */
642 PSH_Width write = dim->stdw.widths;
662 PSH_Width write = dim->stdw.widths;
  /cts/tests/tests/text/src/android/text/method/cts/
TouchTest.java 186 float[] widths = new float[str.length()]; local
187 paint.getTextWidths(str, widths);
188 for (float f : widths) {
  /external/webkit/Tools/Scripts/
validate-committer-lists 208 def _print_three_column_row(widths, values):
209 print "%s%s%s" % (values[0].ljust(widths[0]), values[1].ljust(widths[1]), values[2])
  /frameworks/base/core/java/android/widget/
TableLayout.java 459 // children with the widths computed in findLargestCells()
508 final int[] widths = row.getColumnsWidths(widthMeasureSpec); local
509 final int newLength = widths.length;
515 System.arraycopy(widths, 0, mMaxWidths, 0, newLength);
527 System.arraycopy(widths, oldMaxWidths.length,
538 maxWidths[j] = Math.max(maxWidths[j], widths[j]);
589 // Column's widths are changed: force child table rows to re-measure.
  /external/webkit/Source/WebCore/inspector/front-end/
DataGrid.js 324 var widths = {};
327 widths[columnIdentifier] = (columns[columnIdentifier].title || "").length;
334 if (text.length > widths[columnIdentifier])
335 widths[columnIdentifier] = text.length;
341 totalColumnWidths += widths[columnIdentifier];
345 var width = Math.round(100 * widths[columnIdentifier] / totalColumnWidths);
353 widths[columnIdentifier] = width;
358 if (widths[columnIdentifier] > minPercent) {
359 --widths[columnIdentifier];
369 if (widths[columnIdentifier] < maxPercent)
    [all...]
NetworkPanel.js     [all...]
  /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/webkit/Source/WebKit/android/plugins/
ANPPaintInterface.cpp 151 If widths is not null, returns the array of advance widths for each
156 uint32_t byteLength, float widths[], ANPRectF bounds[]) {
157 return paint->getTextWidths(text, byteLength, 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;
  /packages/apps/DeskClock/src/com/android/deskclock/timer/
CountingTimerView.java 103 float widths[] = new float[allDigits.length()]; local
104 int ll = mPaint.getTextWidths(allDigits, widths);
107 if (widths[ii] > widths[largest]) {
112 mEm = widths[largest];
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Paint_Delegate.java 925 int count, int bidiFlags, float[] widths) {
942 if (widths != null) {
943 widths[i] = adv;
953 if (widths != null) {
954 widths[i] = 0.f;
967 int end, int bidiFlags, float[] widths) {
969 bidiFlags, widths);
    [all...]

Completed in 985 milliseconds

1 2 3