HomeSort by relevance Sort by last modified time
    Searched refs:widths (Results 26 - 50 of 144) sorted by null

12 3 4 5 6

  /external/chromium_org/third_party/WebKit/Source/core/rendering/
AbstractInlineTextBox.cpp 119 void AbstractInlineTextBox::characterWidths(Vector<float>& widths) const
124 m_inlineTextBox->characterWidths(widths);
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
DataGrid.js 477 * @param {!Array.<number>} widths
482 _autoSizeWidths: function(widths, minPercent, maxPercent)
485 minPercent = Math.min(minPercent, Math.floor(100 / widths.length));
487 for (var i = 0; i < widths.length; ++i)
488 totalWidth += widths[i];
490 for (var i = 0; i < widths.length; ++i) {
491 var width = Math.round(100 * widths[i] / totalWidth);
497 widths[i] = width;
502 for (var i = 0; i < widths.length; ++i) {
503 if (widths[i] > minPercent)
    [all...]
  /external/chromium_org/third_party/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/freetype/src/autofit/
afcjk.h 82 FT_UInt width_count; /* number of used widths */
83 AF_WidthRec widths[AF_CJK_MAX_WIDTHS]; /* widths array */ member in struct:AF_CJKAxisRec_
  /frameworks/base/core/java/android/text/
StaticLayout.java 240 float[] widths = measured.mWidths; local
338 w += widths[j - paraStart];
341 w += widths[j - paraStart];
344 w += widths[j - paraStart];
409 while (endPos < spanEnd && widths[endPos - paraStart] == 0) {
416 currentTextWidth = widths[here - paraStart];
427 chs, widths, paraStart, ellipsize, ellipsizedWidth,
477 widths, paraStart, ellipsize,
516 float[] widths, int widthStart, TextUtils.TruncateAt ellipsize,
631 calculateEllipsis(start, end, widths, widthStart
    [all...]
  /external/chromium_org/third_party/skia/experimental/Intersection/
EdgeDemo.cpp 277 SkScalar widths[testStrLen]; local
281 paint.getTextWidths(testStr, testStrLen, widths, NULL);
284 SkScalar width = widths[x];
285 widths[x] = running;
288 SkScalar bias = (width - widths[testStrLen - 1]) / 2;
290 textPos[x].fX = bias + widths[x];
  /external/skia/experimental/Intersection/
EdgeDemo.cpp 277 SkScalar widths[testStrLen]; local
281 paint.getTextWidths(testStr, testStrLen, widths, NULL);
284 SkScalar width = widths[x];
285 widths[x] = running;
288 SkScalar bias = (width - widths[testStrLen - 1]) / 2;
290 textPos[x].fX = bias + widths[x];
  /external/pdfium/core/src/fpdftext/
fpdf_text.cpp 228 int* widths = FX_Alloc(int, m_BaseLines.GetSize()); local
229 if (widths) {
231 widths[i] = 0;
239 widths[i] = (int)((MaxRightX - MinLeftX) / charwidth);
241 if (widths[i] > 1000) {
242 widths[i] = 1000;
244 if (widths[i] < minchars) {
245 widths[i] = minchars;
250 if (widths[i]) {
251 AvgWidth += widths[i];
    [all...]
  /external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
vp9_denoiser.c 34 static const int widths[] = {4, 4, 8, 8, 8, 16, 16, 16, 32, 32, 32, 64, 64}; variable
55 return widths[bs] * heights[bs] * (increase_denoising ? 60 : 40);
64 return widths[bs] * heights[bs] * 20;
69 return widths[bs] * heights[bs] * (increase_denoising ? 3 : 2);
73 return widths[bs] * heights[bs] * (increase_denoising ? 3 : 2);
106 for (c = 0; c < widths[bs]; ++c) {
156 for (c = 0; c < widths[bs]; ++c) {
197 vpx_memcpy(dest, src, widths[bs]);
  /external/chromium_org/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_
  /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/core/src/fxge/fx_freetype/fxft2.5.01/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_
  /cts/tests/tests/text/src/android/text/method/cts/
TouchTest.java 190 float[] widths = new float[str.length()]; local
191 paint.getTextWidths(str, widths);
192 for (float f : widths) {
  /external/chromium_org/third_party/WebKit/Tools/Scripts/
validate-committer-lists 213 def _print_three_column_row(widths, values):
214 print "%s%s%s" % (values[0].ljust(widths[0]), values[1].ljust(widths[1]), values[2])
  /external/chromium_org/third_party/skia/gm/
dftext.cpp 123 SkAutoTArray<SkScalar> widths(textLen);
126 paint.getTextWidths(text, textLen, &widths[0]);
132 x += widths[i];
glyph_pos.cpp 151 SkScalar widths[sizeof(kText) - 1]; local
152 paint.getTextWidths(kText, sizeof(kText) - 1, widths, NULL);
162 w += widths[i];
typeface.cpp 82 SkScalar* widths = widthStorage.get(); local
83 paint.getTextWidths(glyphs, count * sizeof(uint16_t), widths);
87 x += widths[i];
  /external/skia/gm/
typeface.cpp 82 SkScalar* widths = widthStorage.get(); local
83 paint.getTextWidths(glyphs, count * sizeof(uint16_t), widths);
87 x += widths[i];
  /packages/apps/Terminal/src/com/android/terminal/
TerminalView.java 98 final float[] widths = new float[1]; local
99 textPaint.getTextWidths("X", widths);
100 charWidth = (int) Math.ceil(widths[0]);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
CursorAnchorInfoUtils.java 148 final float[] widths = new float[offsetEnd - offsetStart]; local
149 layout.getPaint().getTextWidths(text, offsetStart, offsetEnd, widths);
153 final float charWidth = widths[offset - offsetStart];
  /external/pdfium/core/src/fpdfapi/fpdf_edit/
fpdf_edit_doc.cpp 198 int* widths = FX_Alloc(int, size); local
199 GetCharWidth(hDC, start, end, widths);
202 if (widths[i] != *widths) {
208 pWidthArray->AddInteger(*widths);
213 pWidthArray1->AddInteger(widths[i]);
216 FX_Free(widths);
346 pBaseDict->SetAt("Widths", pWidths);
582 int* widths = FX_Alloc(int, size); local
583 FX_GetCharWidth(font, start, end, widths);
848 int* widths = FX_Alloc(int, size); local
    [all...]
  /external/chromium_org/third_party/skia/tools/
create_test_font.cpp 185 SkTDArray<unsigned>* charCodes, SkTDArray<SkScalar>* widths) {
221 *widths->append() = width;
275 SkTDArray<SkScalar> widths; local
277 output_path_data(paint, used, emSize, &ptsOut, &verbs, &charCodes, &widths);
328 output_fixed(widths[index], emSize, &widthsStr);
  /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/chromium_org/content/common/gpu/media/
rendering_helper.cc 561 // heights(widths) of the rows(columns). It scales the elements in
581 // Find the widths and heights of the grid.
582 std::vector<int> widths(cols);
589 widths[i % cols] = std::max(widths[i % cols], size.width());
593 ScaleAndCalculateOffsets(&widths, &offset_x, screen_size_.width());
600 std::min(static_cast<float>(widths[i % cols]) / size.width(),
608 size_t x = offset_x[i % cols] + (widths[i % cols] - w) / 2;

Completed in 1320 milliseconds

12 3 4 5 6