HomeSort by relevance Sort by last modified time
    Searched refs:SkToU16 (Results 1 - 25 of 26) sorted by null

1 2

  /external/skia/src/effects/
SkPaintFlagsDrawFilter.cpp 13 fClearFlags = SkToU16(clearFlags & SkPaint::kAllFlags);
14 fSetFlags = SkToU16(setFlags & SkPaint::kAllFlags);
  /external/skia/src/core/
SkUtils.cpp 317 // dst[0] = SkToU16(0xD800 | ((uni - 0x10000) >> 10));
318 // dst[0] = SkToU16(0xD800 | ((uni >> 10) - 64));
319 dst[0] = SkToU16((0xD800 - 64) + (uni >> 10));
320 dst[1] = SkToU16(0xDC00 | (uni & 0x3FF));
325 dst[0] = SkToU16(uni);
SkScalerContext.cpp 146 glyph->fWidth = SkToU16(mask.fBounds.width());
147 glyph->fHeight = SkToU16(mask.fBounds.height());
160 glyph->fWidth = SkToU16(ir.width());
161 glyph->fHeight = SkToU16(ir.height());
201 glyph->fWidth = SkToU16(dst.fBounds.width());
202 glyph->fHeight = SkToU16(dst.fBounds.height());
SkMetaData.cpp 129 rec->fDataCount = SkToU16(count);
SkBitmapProcState_matrixProcs.cpp 233 *xx++ = SkToU16(fx >> 16); fx += dx;
SkPixmap.cpp 98 return SkToU16(pixel);
SkDraw.cpp 277 ((uint16_t*)((char*)addr + y * rb))[x] = SkToU16(value);
    [all...]
SkPaint.cpp     [all...]
  /external/skia/include/gpu/
GrResourceKey.h 90 SkASSERT(SkToU16(size) == size);
91 SkASSERT(SkToU16(domain) == domain);
  /external/skia/src/fonts/
SkRandomScalerContext.cpp 120 glyph->fWidth = SkToU16(ir.width());
121 glyph->fHeight = SkToU16(ir.height());
  /external/skia/src/views/
SkEventSink.cpp 113 fExtra16 = SkToU16(count);
194 list->fExtra16 = SkToU16(count - 1);
  /external/skia/src/pdf/
SkPDFFont.cpp 226 SkGlyphID lastGlyph = SkToU16(typeface->countGlyphs() - 1);
236 lastGlyph = SkToU16(SkTMin<int>((int)lastGlyph, 254 + (int)subsetCode));
392 uint16_t emSize = SkToU16(this->typeface()->getUnitsPerEm());
501 uint16_t emSize = SkToU16(typeface->getUnitsPerEm());
541 widths->appendScalar(from_font_units(advance, SkToU16(emSize)));
544 widths->appendScalar(from_font_units(advance, SkToU16(emSize)));
  /external/skia/include/core/
SkColorPriv.h 263 return SkToU16((r << SK_R16_SHIFT) | (g << SK_G16_SHIFT) | (b << SK_B16_SHIFT));
646 #define SkPixel32ToPixel16_ToU16(src) SkToU16(SkPixel32ToPixel16(src))
724 SkASSERT(src == SkToU16(src));
739 SkASSERT(src == SkToU16(src));
    [all...]
SkStream.h 203 uint16_t v = SkToU16(value);
SkTypes.h 218 #define SkToU16(x) SkTo<uint16_t>(x)
  /external/skia/src/gpu/
GrProgramDesc.cpp 59 return SkToU16(samplerTypeKey |
  /external/skia/src/opts/
SkBitmapProcState_matrixProcs_neon.cpp 176 *xx++ = SkToU16(fx >> 16); fx += dx;
SkBitmapProcState_opts_SSE2.cpp 424 *xx++ = SkToU16(fx >> 16);
  /external/skia/src/sfnt/
SkOTUtils.cpp 132 nameRecords[i].length = SkEndian_SwapBE16(SkToU16(fontNameLen * sizeof(wchar_t)));
  /external/skia/src/ports/
SkFontHost_FreeType.cpp     [all...]
SkScalerContext_win_dw.cpp 508 glyph->fWidth = SkToU16(bbox.right - bbox.left);
509 glyph->fHeight = SkToU16(bbox.bottom - bbox.top);
    [all...]
SkFontHost_mac.cpp 784 fGlyphCount = SkToU16(numGlyphs);
    [all...]
  /external/skia/src/xml/
SkDOM.cpp 209 node->fAttrCount = SkToU16(attrCount);
  /external/skia/tests/
MathTest.cpp 517 SkToU16(65536);
518 SkToU16(-5);
  /external/skia/src/pipe/
SkPipeCanvas.cpp 89 return SkToU16(bits);
    [all...]

Completed in 735 milliseconds

1 2