Searched refs:SkToU16 (Results 1 - 25 of 64) sorted by relevance

123

/external/chromium_org/third_party/skia/src/effects/
H A DSkPaintFlagsDrawFilter.cpp13 fClearFlags = SkToU16(clearFlags & SkPaint::kAllFlags);
14 fSetFlags = SkToU16(setFlags & SkPaint::kAllFlags);
H A DSkEmbossMask.cpp64 uint16_t value = SkToU16((1 << 15) / SkSqrt32(dx * dx + dy * dy + kDelta*kDelta/4));
/external/skia/src/effects/
H A DSkPaintFlagsDrawFilter.cpp13 fClearFlags = SkToU16(clearFlags & SkPaint::kAllFlags);
14 fSetFlags = SkToU16(setFlags & SkPaint::kAllFlags);
H A DSkEmbossMask.cpp64 uint16_t value = SkToU16((1 << 15) / SkSqrt32(dx * dx + dy * dy + kDelta*kDelta/4));
/external/chromium_org/third_party/skia/src/animator/
H A DSkBoundable.h25 void clearBounds() { fBounds.fLeft = (int16_t) SkToU16(0x8000); }; // mark bounds as unset
H A DSkTime.cpp21 t->fYear = SkToU16(syst.wYear);
51 t->fYear = SkToU16(syst.tm_year);
H A DSkTypedArray.cpp65 fReserve = fCount = SkToU16(count);
148 fReserve = SkToU16((U16CPU)size);
150 fCount = SkToU16(fCount + extra);
H A DSkTDArray_Experimental.h59 fCount = SkToU16(fCount - count);
85 fCount = SkToU16(count);
/external/skia/src/animator/
H A DSkBoundable.h25 void clearBounds() { fBounds.fLeft = (int16_t) SkToU16(0x8000); }; // mark bounds as unset
H A DSkTime.cpp21 t->fYear = SkToU16(syst.wYear);
51 t->fYear = SkToU16(syst.tm_year);
H A DSkTypedArray.cpp65 fReserve = fCount = SkToU16(count);
148 fReserve = SkToU16((U16CPU)size);
150 fCount = SkToU16(fCount + extra);
H A DSkTDArray_Experimental.h59 fCount = SkToU16(fCount - count);
85 fCount = SkToU16(count);
/external/chromium_org/third_party/skia/src/core/
H A DSkColorTable.cpp22 fCount = SkToU16(count);
42 fCount = SkToU16(count);
H A DSkDebug.cpp29 uint16_t SkToU16(uintmax_t x) { function
H A DSkUtils.cpp382 // dst[0] = SkToU16(0xD800 | ((uni - 0x10000) >> 10));
383 // dst[0] = SkToU16(0xD800 | ((uni >> 10) - 64));
384 dst[0] = SkToU16((0xD800 - 64) + (uni >> 10));
385 dst[1] = SkToU16(0xDC00 | (uni & 0x3FF));
390 dst[0] = SkToU16(uni);
H A DSkScalerContext.cpp163 glyph->fWidth = SkToU16(mask.fBounds.width());
164 glyph->fHeight = SkToU16(mask.fBounds.height());
178 glyph->fWidth = SkToU16(ir.width());
179 glyph->fHeight = SkToU16(ir.height());
220 glyph->fWidth = SkToU16(dst.fBounds.width());
221 glyph->fHeight = SkToU16(dst.fBounds.height());
/external/chromium_org/third_party/skia/src/views/
H A DSkProgressView.cpp34 fMax = SkToU16(max);
54 fValue = SkToU16(value);
H A DSkEventSink.cpp116 fExtra16 = SkToU16(count);
197 list->fExtra16 = SkToU16(count - 1);
/external/skia/src/core/
H A DSkColorTable.cpp22 fCount = SkToU16(count);
42 fCount = SkToU16(count);
H A DSkDebug.cpp29 uint16_t SkToU16(uintmax_t x) { function
H A DSkUtils.cpp382 // dst[0] = SkToU16(0xD800 | ((uni - 0x10000) >> 10));
383 // dst[0] = SkToU16(0xD800 | ((uni >> 10) - 64));
384 dst[0] = SkToU16((0xD800 - 64) + (uni >> 10));
385 dst[1] = SkToU16(0xDC00 | (uni & 0x3FF));
390 dst[0] = SkToU16(uni);
H A DSkScalerContext.cpp274 return SkToU16(glyphID);
337 glyph->fWidth = SkToU16(mask.fBounds.width());
338 glyph->fHeight = SkToU16(mask.fBounds.height());
352 glyph->fWidth = SkToU16(ir.width());
353 glyph->fHeight = SkToU16(ir.height());
394 glyph->fWidth = SkToU16(dst.fBounds.width());
395 glyph->fHeight = SkToU16(dst.fBounds.height());
/external/skia/src/views/
H A DSkProgressView.cpp34 fMax = SkToU16(max);
54 fValue = SkToU16(value);
H A DSkEventSink.cpp116 fExtra16 = SkToU16(count);
197 list->fExtra16 = SkToU16(count - 1);
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLProgramDesc.cpp156 *processorKeySize = SkToU16(size);
176 *processorKeySize = SkToU16(size);
248 offsetAndSize[0] = SkToU16(processorOffset);
270 offsetAndSize[0] = SkToU16(processorOffset);
290 offsetAndSize[0] = SkToU16(processorOffset);

Completed in 3574 milliseconds

123