/frameworks/base/core/tests/coretests/src/android/graphics/ |
PaintTest.java | 87 float[] widths = new float[testCase.mText.length()]; local 90 paint.getTextWidths(String.valueOf(testCase.mText), widths); local 92 testCase.mWidthWithoutHinting, widths); 95 paint.getTextWidths(String.valueOf(testCase.mText), widths); local 97 testCase.mWidthWithHinting, 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/skia/gm/ |
typeface.cpp | 19 SkScalar* widths = widthStorage.get(); local 20 paint.getTextWidths(glyphs, count * sizeof(uint16_t), widths); 24 x += widths[i];
|
texteffects.cpp | 323 SkTDArray<SkScalar> widths; local 324 widths.setCount(widthCount); 325 (void) paint.getTextWidths(test, sizeof(test) - 1, widths.begin()); 331 posX += widths[index]; 364 SkTDArray<SkScalar> widths; local 365 widths.setCount(widthCount); 366 (void) paint.getTextWidths(test, sizeof(test) - 1, widths.begin()); 371 posX += widths[0]; 374 posX += widths[index];
|
thinstrokedrects.cpp | 12 // Draw rects with various stroke widths at 1/8 pixel increments
|
/external/skia/src/codec/ |
SkCodecImageGenerator.cpp | 65 // Save the true widths 81 // Set the sizeInfo with the true widths and heights 87 // Set the sizeInfo with the allocated widths
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyPreviewView.java | 104 final float[] widths = new float[len]; local 105 final int count = paint.getTextWidths(text, 0, len, widths); 108 width += widths[i];
|
/cts/tests/camera/src/android/hardware/cts/helpers/ |
CameraUtils.java | 52 * the widths.</p> 67 * <p>If two the areas of two sizes are same, compare the widths.</p>
|
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/bench/ |
write.py | 93 pythons, widths = [], [0] * (benched_per_table + 1) 141 # calculate column widths (global for all tables) 143 widths[idx] = max(widths[idx], max(map(len, row))) 155 c * (width + 2) for width in widths 178 for width, col in zip(widths, row) 184 ' %s%*s ' % (col, len(col) - widths[j], '') 186 ['%*s ', ' %*s '][idx == 1] % (widths[j], col)
|
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/bench/ |
write.py | 96 pythons, widths = [], [0] * (benched_per_table + 1) 144 # calculate column widths (global for all tables) 146 widths[idx] = max(widths[idx], max(map(len, row))) 158 c * (width + 2) for width in widths 181 for width, col in zip(widths, row) 187 ' %s%*s ' % (col, len(col) - widths[j], '') 189 ['%*s ', ' %*s '][idx == 1] % (widths[j], col)
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
CameraUtils.java | 56 * the widths.</p> 71 * <p>If two the areas of two sizes are same, compare the widths.</p>
|
/external/chromium-trace/catapult/tracing/tracing/extras/chrome/cc/ |
debug_colors.html | 13 * to border colors and widths.
|
/external/skia/experimental/ChromeUtils/ |
SkBorder.h | 69 SkBorder(const SkPaint paints[4], const SkScalar widths[4], const BorderStyle styles[4]);
|
/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
|
/packages/apps/PhoneCommon/res/layout/ |
dialpad_key.xml | 24 <!-- Note in the referenced styles that we assign hard widths to these components
|
dialpad_key_zero.xml | 26 <!-- Note in the referenced styles that we assign hard widths to these components
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
fpdf_edit_doc.cpp | 192 int* widths = FX_Alloc(int, size); local 193 GetCharWidth(hDC, start, end, widths); 196 if (widths[i] != *widths) { 202 pWidthArray->AddInteger(*widths); 207 pWidthArray1->AddInteger(widths[i]); 210 FX_Free(widths); 344 pBaseDict->SetAt("Widths", pWidths); 528 int* widths = FX_Alloc(int, size); local 529 FX_GetCharWidth(font, start, end, widths); 803 int* widths = FX_Alloc(int, size); local [all...] |
/external/clang/test/CodeGen/ |
vector-alignment.c | 47 // Check non-power of 2 widths. 57 // Check non-power of 2 widths with aligned attribute.
|
/external/llvm/test/CodeGen/Mips/msa/ |
llvm-stress-s449609655-simplified.ll | 9 ; "Comparison requires equal bit widths" assertion.
|
/external/skia/tests/ |
BlitMaskClip.cpp | 32 // Exercise all clips compared with different widths of bitMask. Make sure that no buffer
|
/frameworks/base/packages/SystemUI/res/values-sw600dp-land/ |
dimens.xml | 29 <!-- Screen pinning request bottom button circle widths -->
|
/packages/apps/PhoneCommon/res/layout-land/ |
dialpad_key.xml | 27 <!-- Note in the referenced styles that we assign hard widths to these components
|
dialpad_key_zero.xml | 29 <!-- Note in the referenced styles that we assign hard widths to these components
|
/external/freetype/src/autofit/ |
aflatin.c | 53 /* Find segments and links, compute all stem widths, and initialize */ 65 "latin standard widths computation (style `%s')\n" 203 axis->widths[num_widths++].org = dist; 207 /* this also replaces multiple almost identical stem widths */ 209 af_sort_and_quantize_widths( &num_widths, axis->widths, 221 stdw = ( axis->width_count > 0 ) ? axis->widths[0].org 234 FT_TRACE5(( "%s widths:\n", 240 FT_TRACE5(( " %d", axis->widths[i].org )); 884 /* Adjust scaling value, then scale and shift widths */ 1001 FT_TRACE5(( "%s widths (style `%s')\n" [all...] |