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

12 3 4 5 6

  /cts/tests/tests/text/src/android/text/cts/
StaticLayoutLineBreakingTest.java 413 int[] widths = new int[] { 0, 4, 10 }; local
421 for (int width: widths) {
429 int[] widths = new int[] { 1, 4 }; local
430 for (int width: widths) {
  /cts/tests/tests/text/src/android/text/method/cts/
TouchTest.java 184 float[] widths = new float[str.length()]; local
185 paint.getTextWidths(str, widths);
186 for (float f : 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/freetype/src/autofit/
aflatin.h 93 FT_UInt width_count; /* number of used widths */
94 AF_WidthRec widths[AF_LATIN_MAX_WIDTHS]; /* widths array */ member in struct:AF_LatinAxisRec_
174 AF_WidthRec* widths,
184 AF_WidthRec* 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/pdfium/fpdfsdk/
fpdfedittext.cpp 273 fontDict->SetNewFor<CPDF_Reference>("Widths", pDoc, widthsArray->GetObjNum());
329 std::map<uint32_t, uint32_t> widths; local
334 widths[glyphIndex] = pFont->GetGlyphWidth(glyphIndex);
342 for (auto it = widths.begin(); it != widths.end(); ++it) {
345 if (std::next(it) == widths.end()) {
363 if (next_it == widths.end() || next_it->first != it->first + 1 ||
382 if (next_it == widths.end() || next_it->first != it->first + 1)
  /external/skia/gm/
blurrect.cpp 177 const int widths[] = {25, 5, 5, 100, 150, 25}; local
189 for (size_t i = 0 ; i < SK_ARRAY_COUNT(widths) ; i++) {
190 int width = widths[i];
drawatlas.cpp 113 SkScalar* widths = (SkScalar*)(xform + count); local
122 paint.getTextWidths(text, length, widths);
126 const SkScalar offset = SkScalarHalf(widths[i]);
hairlines.cpp 245 const SkScalar widths[] = { 0, 0.999f, 1, 1.001f }; local
249 for (auto width : widths) {
  /external/skqp/gm/
blurrect.cpp 177 const int widths[] = {25, 5, 5, 100, 150, 25}; local
189 for (size_t i = 0 ; i < SK_ARRAY_COUNT(widths) ; i++) {
190 int width = widths[i];
drawatlas.cpp 113 SkScalar* widths = (SkScalar*)(xform + count); local
122 paint.getTextWidths(text, length, widths);
126 const SkScalar offset = SkScalarHalf(widths[i]);
hairlines.cpp 245 const SkScalar widths[] = { 0, 0.999f, 1, 1.001f }; local
249 for (auto width : widths) {
  /frameworks/base/core/tests/coretests/src/android/graphics/
PaintTest.java 89 float[] widths = new float[testCase.mText.length()]; local
92 paint.getTextWidths(String.valueOf(testCase.mText), widths); local
94 testCase.mWidthWithoutHinting, widths);
97 paint.getTextWidths(String.valueOf(testCase.mText), widths); local
99 testCase.mWidthWithHinting, widths);
228 final float[] widths = new float[count]; local
229 p.getTextWidths(str, start, end, widths);
231 assertEquals(advanceArrays[0][i], widths[i], 1.0f);
  /frameworks/layoutlib/bridge/src/android/text/
OptimizingLineBreaker.java 52 breakInfo.widths = new float[]{p.width};
130 breakInfo.widths[count] = opt[idx].mWidth;
141 float[] widths = new float[size]; local
146 System.arraycopy(lineBreaks.widths, 0, widths, 0, toCopy);
150 lineBreaks.widths = widths;
  /packages/apps/Terminal/src/com/android/terminal/
TerminalView.java 101 final float[] widths = new float[1]; local
102 textPaint.getTextWidths("X", widths);
103 charWidth = (int) Math.ceil(widths[0]);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
CursorAnchorInfoUtils.java 176 final float[] widths = new float[offsetEnd - offsetStart]; local
177 layout.getPaint().getTextWidths(text, offsetStart, offsetEnd, widths);
181 final float charWidth = widths[offset - offsetStart];
  /dalvik/libdex/
InstrUtils.h 124 InstructionWidth* widths; member in struct:InstructionInfoTables
151 return gDexOpcodeInfo.widths[opcode];
  /external/iw/
info.c 399 unsigned long widths = nla_get_u32(tb_comb[NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS]); local
401 if (widths) {
405 printf(", radar detect widths: {");
407 if (widths & (1 << width)) {
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_fs_surface_builder.cpp 247 * Return the per-channel bitfield widths for a given image format.
266 const color_u widths = get_bit_widths(format); local
267 return color_u(0, widths.r, widths.r + widths.g,
268 widths.r + widths.g + widths.b);
277 const color_u widths = get_bit_widths(format); local
278 return ((widths.g == 0 || widths.g == widths.r) &
301 const color_u widths = get_bit_widths(format); local
    [all...]
  /external/skia/tools/fonts/
create_test_font.cpp 142 SkTDArray<unsigned>* charCodes, SkTDArray<SkScalar>* widths) {
181 *widths->append() = width;
237 SkTDArray<SkScalar> widths; local
239 output_path_data(paint, emSize, &ptsOut, &verbs, &charCodes, &widths);
292 output_fixed(widths[index], emSize, &widthsStr);
  /external/skqp/tools/
create_test_font.cpp 141 SkTDArray<unsigned>* charCodes, SkTDArray<SkScalar>* widths) {
180 *widths->append() = width;
236 SkTDArray<SkScalar> widths; local
238 output_path_data(paint, emSize, &ptsOut, &verbs, &charCodes, &widths);
291 output_fixed(widths[index], emSize, &widthsStr);
  /frameworks/base/core/java/android/text/
StaticLayout.java 620 FloatArray widths = new FloatArray(); local
747 widths.resize(chs.length);
771 lineBreaks.widths,
775 widths.getRawArray());
778 final float[] lineWidths = lineBreaks.widths;
    [all...]
  /frameworks/support/compat/src/androidTest/java/androidx/core/graphics/
TypefaceCompatTest.java 113 final float[] widths = { local
119 for (int i = 0; i < widths.length; ++i) {
120 if (maxValue < widths[i]) {
122 maxValue = widths[i];
  /external/skia/src/pdf/
SkPDFFont.cpp 463 sk_sp<SkPDFArray> widths = SkPDFMakeCIDGlyphWidthsArray( local
465 if (widths && widths->size() > 0) {
466 newCIDFont->insertObject("W", std::move(widths));
539 auto widths = sk_make_sp<SkPDFArray>(); local
541 widths->appendScalar(from_font_units(advance, SkToU16(emSize)));
544 widths->appendScalar(from_font_units(advance, SkToU16(emSize)));
546 font->insertObject("Widths", std::move(widths));
732 font->insertObject("Widths", std::move(widthArray))
    [all...]

Completed in 917 milliseconds

12 3 4 5 6