/external/skia/gm/ |
hugepath.cpp | 18 const float widths[] = { 0.9f, 1.0f, 1.1f }; local 21 for (float w : widths) {
|
glyph_pos.cpp | 120 SkScalar widths[sizeof(kText) - 1]; local 121 paint.getTextWidths(kText, sizeof(kText) - 1, widths, nullptr); 131 w += widths[i];
|
glyph_pos_align.cpp | 41 SkScalar widths[kMaxStringLength]; local 47 paint.getTextWidths(text, length, widths); 59 posX[i] = x + originX * widths[i]; 61 x += widths[i];
|
texteffects.cpp | 109 SkTDArray<SkScalar> widths; local 110 widths.setCount(widthCount); 111 (void) paint.getTextWidths(test, sizeof(test) - 1, widths.begin()); 117 posX += widths[index]; 153 SkAutoTArray<SkScalar> widths(glyphCount); 154 blobPaint.getTextWidths(glyphs.get(), glyphTextBytes, widths.get()); 169 advance += widths[glyphIndex++]; 183 advance += widths[glyphIndex++]; 196 advance += widths[glyphIndex++]; 258 SkTDArray<SkScalar> widths; local [all...] |
typeface.cpp | 23 SkScalar* widths = widthStorage.get(); local 24 paint.getTextWidths(glyphs, count * sizeof(uint16_t), widths); 28 x += widths[i];
|
/external/skqp/gm/ |
hugepath.cpp | 18 const float widths[] = { 0.9f, 1.0f, 1.1f }; local 21 for (float w : widths) {
|
glyph_pos.cpp | 120 SkScalar widths[sizeof(kText) - 1]; local 121 paint.getTextWidths(kText, sizeof(kText) - 1, widths, nullptr); 131 w += widths[i];
|
glyph_pos_align.cpp | 41 SkScalar widths[kMaxStringLength]; local 47 paint.getTextWidths(text, length, widths); 59 posX[i] = x + originX * widths[i]; 61 x += widths[i];
|
texteffects.cpp | 109 SkTDArray<SkScalar> widths; local 110 widths.setCount(widthCount); 111 (void) paint.getTextWidths(test, sizeof(test) - 1, widths.begin()); 117 posX += widths[index]; 153 SkAutoTArray<SkScalar> widths(glyphCount); 154 blobPaint.getTextWidths(glyphs.get(), glyphTextBytes, widths.get()); 169 advance += widths[glyphIndex++]; 183 advance += widths[glyphIndex++]; 196 advance += widths[glyphIndex++]; 258 SkTDArray<SkScalar> widths; local [all...] |
typeface.cpp | 23 SkScalar* widths = widthStorage.get(); local 24 paint.getTextWidths(glyphs, count * sizeof(uint16_t), widths); 28 x += widths[i];
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
TextureSharedData.h | 23 std::map<GLsizei, GLsizei> widths; member in struct:TextureDims
|
/external/skia/samplecode/ |
SampleMeasure.cpp | 41 SkScalar* widths = autoWidths.get(); local 51 int n = p.getTextWidths(text, len, widths, rects); 68 x += widths[j];
|
/external/skqp/samplecode/ |
SampleMeasure.cpp | 41 SkScalar* widths = autoWidths.get(); local 51 int n = p.getTextWidths(text, len, widths, rects); 68 x += widths[j];
|
/external/skia/tests/ |
StrokerTest.cpp | 24 const SkScalar widths[] = {-FLT_MAX, -1, -0.1f, -FLT_EPSILON, 0, FLT_EPSILON, variable 28 size_t widths_count = SK_ARRAY_COUNT(widths); 35 p.setStrokeWidth(widths[index]);
|
SwizzlerTest.cpp | 73 // Test on an invalid width and representative widths 74 const uint32_t widths[] = { 0, 10, 50 }; local 84 for (uint32_t width : widths) {
|
/external/skqp/tests/ |
StrokerTest.cpp | 24 const SkScalar widths[] = {-FLT_MAX, -1, -0.1f, -FLT_EPSILON, 0, FLT_EPSILON, variable 28 size_t widths_count = SK_ARRAY_COUNT(widths); 35 p.setStrokeWidth(widths[index]);
|
SwizzlerTest.cpp | 72 // Test on an invalid width and representative widths 73 const uint32_t widths[] = { 0, 10, 50 }; local 83 for (uint32_t width : widths) {
|
/frameworks/base/core/jni/ |
android_text_StaticLayout.cpp | 47 jfieldID widths; member in struct:android::JLineBreaksID 102 env->SetObjectField(recycle, gLineBreaks_fieldID.widths, recycleWidths); 109 env->SetFloatArrayRegion(recycleWidths, 0, nBreaks, result.widths.data()); 151 env->SetFloatArrayRegion(charWidths, 0, measuredText->widths.size(), 152 measuredText->widths.data()); 204 gLineBreaks_fieldID.widths = GetFieldIDOrDie(env, gLineBreaks_class, "widths", "[F");
|
/frameworks/minikin/include/minikin/ |
LineBreaker.h | 101 std::vector<float> widths; member in struct:minikin::LineBreakResult 111 std::reverse(widths.begin(), widths.end());
|
MeasuredText.h | 160 // Character widths. 161 std::vector<float> widths; member in class:minikin::MeasuredText 178 return sizeof(float) * widths.size() + sizeof(MinikinExtent) * extents.size() + 200 : widths(textBuf.size()), extents(textBuf.size()), runs(std::move(runs)) {
|
/cts/tests/pdf/src/android/graphics/pdf/cts/ |
PdfRendererTransformTest.java | 67 int[] widths = new int[] { A4_WIDTH_PTS * 3 / 4, A4_WIDTH_PTS, A4_WIDTH_PTS * 4 / 3 local 99 for (int width : widths) {
|
/external/freetype/src/autofit/ |
afcjk.h | 78 FT_UInt width_count; /* number of used widths */ 79 AF_WidthRec widths[AF_CJK_MAX_WIDTHS]; /* widths array */ member in struct:AF_CJKAxisRec_
|
/external/libvpx/libvpx/vpx_dsp/ |
psnr.c | 204 const int widths[3] = { a->y_crop_width, a->uv_crop_width, a->uv_crop_width }; local 218 const int w = widths[i]; 252 const int widths[3] = { a->y_crop_width, a->uv_crop_width, a->uv_crop_width }; local 264 const int w = widths[i];
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/ |
Relay.java | 102 float[] widths = null; local 105 widths = new float[BUFFER_SIZE]; 142 bridge.getPaint().getTextWidths(charArray, 0, offset, widths); 144 wideAttribute[i] = (byte) (((int) widths[i] != charWidth) ? 1 : 0);
|
/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];
|