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

1 2

  /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) {
  /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_
  /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_
  /external/skia/gm/
techtalk1.cpp 301 SkScalar widths[256]; local
302 int count = paint.getTextWidths(text, len, widths, bounds);
307 adv += widths[j];
  /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) {
  /dalvik/libdex/
InstrUtils.h 118 InstructionWidth* widths; member in struct:InstructionInfoTables
145 return gDexOpcodeInfo.widths[opcode];
  /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...]
  /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.
  /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/webkit/Source/WebCore/platform/graphics/android/fonts/
FontAndroid.cpp 359 SkScalar* widths = storage.get(); local
363 count = paint.getTextWidths(run.characters(), count << 1, widths);
370 if (x < SkScalarRound(pos + SkScalarHalf(widths[i])))
372 pos += widths[i];
474 // Get the advances (widths) for each glyph.
    [all...]
  /frameworks/base/core/java/android/text/
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...]
TextUtils.java 1227 float[] widths = mt.mWidths; local
    [all...]
  /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];
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
SuggestionStripView.java 536 final float[] widths = new float[len]; local
537 final int count = paint.getTextWidths(text, 0, len, widths);
540 width += Math.round(widths[i] + 0.5f);
    [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...]
  /frameworks/ex/chips/src/com/android/ex/chips/
RecipientEditTextView.java 539 float[] widths = new float[1]; local
540 paint.getTextWidths(" ", widths);
542 calculateAvailableWidth() - deleteWidth - widths[0]);
582 float[] widths = new float[1]; local
583 paint.getTextWidths(" ", widths);
585 calculateAvailableWidth() - iconWidth - widths[0]);
829 // Check the widths of the associated chips.
    [all...]
  /external/zxing/core/
core.jar 
  /prebuilts/devtools/tools/lib/
traceview.jar 
org-eclipse-jface-3.6.2.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.jface_3.6.1.M20100825-0800.jar 

Completed in 529 milliseconds

1 2