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

1 2 3 4 5 6 7 8 91011>>

  /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...]
BitmapRegionDecoderTest.java 67 private static int WIDTHS[] = new int[] {
114 assertEquals(WIDTHS[i], decoder.getWidth());
117 assertEquals(WIDTHS[i], -1);
133 assertEquals(WIDTHS[i], decoder.getWidth());
136 assertEquals(WIDTHS[i], -1);
150 assertEquals(WIDTHS[i], decoder1.getWidth());
155 assertEquals(WIDTHS[i], decoder2.getWidth());
158 assertEquals(WIDTHS[i], -1);
268 Rect rect = new Rect(0, 0, WIDTHS[0], HEIGHTS[0]);
362 assertEquals("mismatching widths", expected.getWidth()
    [all...]
  /external/skia/gm/
getpostextpath.cpp 51 SkAutoTArray<SkScalar> widths(len);
52 paint.getTextWidths(text, len, &widths[0]);
59 x += widths[i];
  /external/clang/test/CodeGen/
vector-alignment.c 28 // Check non-power of 2 widths.
34 // Check non-power of 2 widths with aligned attribute.
  /external/webkit/Source/WebCore/manual-tests/
select-narrow-width.html 11 widths properly, and while a click on the control would display the popup,
15 (more than 20) items that had narrow 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;
  /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...]
  /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/autofit/
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_
afcjk.h 81 AF_WidthRec widths[AF_CJK_MAX_WIDTHS]; member in struct:AF_CJKAxisRec_
  /external/llvm/lib/Target/X86/Utils/
X86ShuffleDecode.h 48 /// widths.
53 /// different datatypes and vector widths.
58 /// different datatypes and vector 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,
  /frameworks/base/core/tests/coretests/src/android/view/
ZeroSized.java 25 * This activity contains Views with various widths and heights. The goal is to exercise the
  /frameworks/base/graphics/java/android/graphics/
Paint.java     [all...]
  /external/webkit/Source/WebCore/rendering/
FixedTableLayout.cpp 60 widths (plus cell spacing or borders). If the table is wider than
66 not affect column widths. Any cell that has content that overflows
188 // numeric_limits<int>::max() will too easily overflow widths.
224 // widths be infinite.
241 // Compute requirements and try to satisfy fixed and percent widths.
265 // Fixed widths only scale up
  /packages/wallpapers/Basic/res/values/
strings.xml 78 <!-- Polar clock: label for "variable widths" pref -->
79 <string name="variable_line_width">Vary ring widths</string>
  /external/chromium/chrome/browser/ui/cocoa/content_settings/
cookie_details_view_controller.h 25 // alter the widths of some of the fields displayed in the view.
  /external/qemu/hw/
sd.h 60 * SD bus widths
  /external/webkit/Source/WebCore/css/
CSSBorderImageValue.h 54 int m_horizontalSizeRule; // Rule for how to adjust the widths of the top/middle/bottom
  /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/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...]
  /external/chromium-trace/trace-viewer/src/tracks/
slice_track_test.html 70 var widths = [10, 5, 4, 3, 2, 1, 0.5, 0.4, 0.3, 0.2, 0.1, 0.05];
72 for (var i = 0; i < widths.length; i++) {
73 var s = new Slice('', 'a', 1, x, {}, widths[i]);

Completed in 1104 milliseconds

1 2 3 4 5 6 7 8 91011>>