/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/animator/ |
D | SkTypedArray.cpp | 65 fReserve = fCount = SkToU16(count); in SkDS32Array() 148 fReserve = SkToU16((U16CPU)size); in growBy() 150 fCount = SkToU16(fCount + extra); in growBy()
|
D | SkTDArray_Experimental.h | 59 fCount = SkToU16(fCount - count); 85 fCount = SkToU16(count); in setCount()
|
D | SkBoundable.h | 25 void clearBounds() { fBounds.fLeft = (int16_t) SkToU16(0x8000); }; // mark bounds as unset in clearBounds()
|
D | SkScript2.h | 193 : fOffset(SkToU16(offset)), fOpStackDepth(depth), fOperator(op) in Branch()
|
/external/skia/src/core/ |
D | SkUtils.cpp | 242 dst[0] = SkToU16((0xD800 - 64) + (uni >> 10)); in SkUTF16_FromUnichar() 243 dst[1] = SkToU16(0xDC00 | (uni & 0x3FF)); in SkUTF16_FromUnichar() 248 dst[0] = SkToU16(uni); in SkUTF16_FromUnichar()
|
D | SkScalerContext.cpp | 163 glyph->fWidth = SkToU16(mask.fBounds.width()); in getMetrics() 164 glyph->fHeight = SkToU16(mask.fBounds.height()); in getMetrics() 177 glyph->fWidth = SkToU16(ir.width()); in getMetrics() 178 glyph->fHeight = SkToU16(ir.height()); in getMetrics() 218 glyph->fWidth = SkToU16(dst.fBounds.width()); in getMetrics() 219 glyph->fHeight = SkToU16(dst.fBounds.height()); in getMetrics()
|
D | SkDebug.cpp | 29 uint16_t SkToU16(uintmax_t x) { in SkToU16() function
|
D | SkPixmap.cpp | 117 return SkToU16(pixel); in pack_8888_to_4444()
|
D | SkMetaData.cpp | 128 rec->fDataCount = SkToU16(count); in set()
|
/external/skia/src/views/ |
D | SkProgressView.cpp | 34 fMax = SkToU16(max); in setMax() 54 fValue = SkToU16(value); in setValue()
|
D | SkEventSink.cpp | 114 fExtra16 = SkToU16(count); in SkListenersTagList() 195 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()
|
D | SkTestScalerContext.cpp | 151 info->fLastGlyphID = SkToU16(onCountGlyphs() - 1); in onGetAdvancedTypefaceMetrics()
|
/external/skia/include/gpu/ |
D | GrResourceKey.h | 89 SkASSERT(SkToU16(size) == size); in Builder() 90 SkASSERT(SkToU16(domain) == domain); in Builder()
|
/external/skia/src/gpu/vk/ |
D | GrVkProgramDesc.cpp | 33 k16[i] = SkToU16(caps.configTextureSwizzle(texture->config()).asKey()); in add_texture_key()
|
/external/skia/src/gpu/gl/ |
D | GrGLProgramDesc.cpp | 45 k16[i] = SkToU16(caps.configTextureSwizzle(texture->config()).asKey() | in add_texture_key()
|
/external/skia/include/core/ |
D | SkTypes.h | 263 SK_API uint16_t SkToU16(uintmax_t); 273 #define SkToU16(x) ((uint16_t)(x)) macro
|
D | SkColorPriv.h | 255 return SkToU16((r << SK_R16_SHIFT) | (g << SK_G16_SHIFT) | (b << SK_B16_SHIFT)); in SkPackRGB16() 623 #define SkPixel32ToPixel16_ToU16(src) SkToU16(SkPixel32ToPixel16(src)) 701 SkASSERT(src == SkToU16(src)); in SkPixel16ToPixel32() 716 SkASSERT(src == SkToU16(src)); in SkPixel16ToColor()
|
/external/skia/src/gpu/ |
D | GrClipMaskManager.cpp | 587 builder[1] = SkToU16(bounds.fLeft) | (SkToU16(bounds.fRight) << 16); in GetClipMaskKey() 588 builder[2] = SkToU16(bounds.fTop) | (SkToU16(bounds.fBottom) << 16); in GetClipMaskKey()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 989 return SkToU16(FT_Get_Char_Index( fFace, uni )); in generateCharToGlyph() 1146 glyph->fWidth = SkToU16(SkFDot6Floor(bbox.xMax - bbox.xMin)); in generateMetrics() 1147 glyph->fHeight = SkToU16(SkFDot6Floor(bbox.yMax - bbox.yMin)); in generateMetrics() 1169 glyph->fWidth = SkToU16(fFace->glyph->bitmap.width); in generateMetrics() 1170 glyph->fHeight = SkToU16(fFace->glyph->bitmap.rows); in generateMetrics() 1506 glyphs[i] = SkToU16(id); in onCharsToGlyphs()
|
D | SkScalerContext_win_dw.cpp | 453 glyph->fWidth = SkToU16(bbox.right - bbox.left); in glyph_check_and_set_bounds() 454 glyph->fHeight = SkToU16(bbox.bottom - bbox.top); in glyph_check_and_set_bounds()
|
/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 | 181 *xx++ = SkToU16(fx >> 16); fx += dx; in decal_nofilter_scale_neon()
|