/external/skia/src/effects/ |
D | SkPaintFlagsDrawFilter.cpp | 13 fClearFlags = SkToU16(clearFlags & SkPaint::kAllFlags); in SkPaintFlagsDrawFilter() 14 fSetFlags = SkToU16(setFlags & SkPaint::kAllFlags); in SkPaintFlagsDrawFilter()
|
D | SkEmbossMask.cpp | 64 uint16_t value = SkToU16((1 << 15) / SkSqrt32(dx * dx + dy * dy + kDelta*kDelta/4)); in SkEmbossMask_BuildTable()
|
/external/skia/src/core/ |
D | SkUtils.cpp | 335 dst[0] = SkToU16((0xD800 - 64) + (uni >> 10)); in SkUTF16_FromUnichar() 336 dst[1] = SkToU16(0xDC00 | (uni & 0x3FF)); in SkUTF16_FromUnichar() 341 dst[0] = SkToU16(uni); in SkUTF16_FromUnichar()
|
D | SkScalerContext.cpp | 145 glyph->fWidth = SkToU16(mask.fBounds.width()); in getMetrics() 146 glyph->fHeight = SkToU16(mask.fBounds.height()); in getMetrics() 159 glyph->fWidth = SkToU16(ir.width()); in getMetrics() 160 glyph->fHeight = SkToU16(ir.height()); in getMetrics() 200 glyph->fWidth = SkToU16(dst.fBounds.width()); in getMetrics() 201 glyph->fHeight = SkToU16(dst.fBounds.height()); in getMetrics()
|
D | SkMetaData.cpp | 129 rec->fDataCount = SkToU16(count); in set()
|
D | SkPixmap.cpp | 110 return SkToU16(pixel); in pack_8888_to_4444()
|
D | SkBitmapProcState_matrixProcs.cpp | 240 *xx++ = SkToU16(fx >> 16); fx += dx; in decal_nofilter_scale()
|
/external/skia/src/pdf/ |
D | SkPDFFont.cpp | 200 SkGlyphID lastGlyph = SkToU16(typeface->countGlyphs() - 1); in GetFontResource() 210 lastGlyph = SkToU16(SkTMin<int>((int)lastGlyph, 254 + (int)subsetCode)); in GetFontResource() 366 uint16_t emSize = SkToU16(this->typeface()->getUnitsPerEm()); in getFontSubset() 475 uint16_t emSize = SkToU16(typeface->getUnitsPerEm()); in make_type1_font_descriptor() 515 widths->appendScalar(from_font_units(advance, SkToU16(emSize))); in populate_type_1_font() 518 widths->appendScalar(from_font_units(advance, SkToU16(emSize))); in populate_type_1_font()
|
D | SkPDFDevice.cpp | 1338 const SkGlyphID maxGlyphID = SkToU16(typeface->countGlyphs() - 1); in internalDrawText()
|
/external/skia/src/views/ |
D | SkEventSink.cpp | 113 fExtra16 = SkToU16(count); in SkListenersTagList() 194 list->fExtra16 = SkToU16(count - 1); in removeListenerID()
|
/external/skia/src/fonts/ |
D | SkRandomScalerContext.cpp | 118 glyph->fWidth = SkToU16(ir.width()); in generateMetrics() 119 glyph->fHeight = SkToU16(ir.height()); in generateMetrics()
|
/external/skia/include/gpu/ |
D | GrResourceKey.h | 90 SkASSERT(SkToU16(size) == size); in Builder() 91 SkASSERT(SkToU16(domain) == domain); in Builder()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 263 return SkToU16((r << SK_R16_SHIFT) | (g << SK_G16_SHIFT) | (b << SK_B16_SHIFT)); in SkPackRGB16() 646 #define SkPixel32ToPixel16_ToU16(src) SkToU16(SkPixel32ToPixel16(src)) 724 SkASSERT(src == SkToU16(src)); in SkPixel16ToPixel32() 739 SkASSERT(src == SkToU16(src)); in SkPixel16ToColor()
|
D | SkStream.h | 203 uint16_t v = SkToU16(value); in write16()
|
D | SkTypes.h | 218 #define SkToU16(x) SkTo<uint16_t>(x) macro
|
/external/skia/src/gpu/ |
D | GrProgramDesc.cpp | 59 return SkToU16(samplerTypeKey | in sampler_key()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 1014 return SkToU16(FT_Get_Char_Index( fFace, uni )); in generateCharToGlyph() 1182 glyph->fWidth = SkToU16(SkFDot6Floor(bbox.xMax - bbox.xMin)); in generateMetrics() 1183 glyph->fHeight = SkToU16(SkFDot6Floor(bbox.yMax - bbox.yMin)); in generateMetrics() 1216 glyph->fWidth = SkToU16(irect.width()); in generateMetrics() 1217 glyph->fHeight = SkToU16(irect.height()); in generateMetrics() 1547 glyphs[i] = SkToU16(id); in onCharsToGlyphs()
|
D | SkScalerContext_win_dw.cpp | 516 glyph->fWidth = SkToU16(bbox.right - bbox.left); in glyph_check_and_set_bounds() 517 glyph->fHeight = SkToU16(bbox.bottom - bbox.top); in glyph_check_and_set_bounds()
|
D | SkFontHost_mac.cpp | 765 fGlyphCount = SkToU16(numGlyphs); in SkScalerContext_Mac() 1030 glyph->fWidth = SkToU16(skIBounds.width()); in generateMetrics() 1031 glyph->fHeight = SkToU16(skIBounds.height()); in generateMetrics()
|
/external/skia/src/sfnt/ |
D | SkOTUtils.cpp | 132 nameRecords[i].length = SkEndian_SwapBE16(SkToU16(fontNameLen * sizeof(wchar_t))); in RenameFont()
|
/external/skia/src/opts/ |
D | SkBitmapProcState_matrixProcs_neon.cpp | 177 *xx++ = SkToU16(fx >> 16); fx += dx; in decal_nofilter_scale_neon()
|
D | SkBitmapProcState_opts_SSE2.cpp | 424 *xx++ = SkToU16(fx >> 16); in ClampX_ClampY_nofilter_scale_SSE2()
|
/external/skia/tests/ |
D | MathTest.cpp | 517 SkToU16(65536); in DEF_TEST() 518 SkToU16(-5); in DEF_TEST()
|
/external/skia/src/xml/ |
D | SkDOM.cpp | 209 node->fAttrCount = SkToU16(attrCount); in flushAttributes()
|
/external/skia/src/pipe/ |
D | SkPipeCanvas.cpp | 89 return SkToU16(bits); in compute_nondef()
|