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

1 2

  /external/skia/src/effects/
SkPaintFlagsDrawFilter.cpp 22 fClearFlags = SkToU16(clearFlags & SkPaint::kAllFlags);
23 fSetFlags = SkToU16(setFlags & SkPaint::kAllFlags);
SkEmbossMask.cpp 71 uint16_t value = SkToU16((1 << 15) / SkSqrt32(dx * dx + dy * dy + kDelta*kDelta/4));
  /external/skia/src/animator/
SkBoundable.h 33 void clearBounds() { fBounds.fLeft = (int16_t) SkToU16(0x8000); }; // mark bounds as unset
SkTime.cpp 33 t->fYear = SkToU16(syst.wYear);
65 t->fYear = SkToU16(syst.tm_year);
SkTypedArray.cpp 73 fReserve = fCount = SkToU16(count);
156 fReserve = SkToU16((U16CPU)size);
158 fCount = SkToU16(fCount + extra);
SkTDArray_Experimental.h 67 fCount = SkToU16(fCount - count);
93 fCount = SkToU16(count);
  /external/skia/src/utils/
SkUnitMappers.cpp 20 return SkToU16(x);
55 return SkToU16(x);
  /external/skia/src/core/
SkColorTable.cpp 30 fCount = SkToU16(count);
43 fCount = SkToU16(count);
60 fCount = SkToU16(count);
SkDebug.cpp 40 uint16_t SkToU16(size_t x)
SkScalerContext.cpp 262 return SkToU16(glyphID);
325 glyph->fWidth = SkToU16(mask.fBounds.width());
326 glyph->fHeight = SkToU16(mask.fBounds.height());
340 glyph->fWidth = SkToU16(ir.width());
341 glyph->fHeight = SkToU16(ir.height());
361 glyph->fWidth = SkToU16(dst.fBounds.width());
362 glyph->fHeight = SkToU16(dst.fBounds.height());
SkString.cpp 206 rec->fLength = SkToU16(len);
252 SkASSERT(SkToU16(len) == len); // can't handle larger than 64K
375 fRec->fLength = SkToU16(len);
383 fRec->fLength = SkToU16(len);
453 fRec->fLength = SkToU16(length + len);
597 *dst++ = SkToU16(uni);
SkUtils.cpp 368 // dst[0] = SkToU16(0xD800 | ((uni - 0x10000) >> 10));
369 // dst[0] = SkToU16(0xD800 | ((uni >> 10) - 64));
370 dst[0] = SkToU16((0xD800 - 64) + (uni >> 10));
371 dst[1] = SkToU16(0xDC00 | (uni & 0x3FF));
376 dst[0] = SkToU16(uni);
SkBitmapSampler.cpp 41 fMaxX = SkToU16(bm.width() - 1);
42 fMaxY = SkToU16(bm.height() - 1);
SkMetaData.cpp 136 rec->fDataCount = SkToU16(count);
SkMath.cpp 437 table[i] = SkToU16(ival);
SkPoint.cpp 180 unsigned x = SkToU16((1 << 28) / SkSqrt32(i << 25));
  /external/skia/src/views/
SkProgressView.cpp 26 fMax = SkToU16(max);
46 fValue = SkToU16(value);
SkWidget.cpp 210 return SkToU16(SkMax32(0, SkMin32(value, max)));
217 fMax = SkToU16(max);
230 fValue = SkToU16(value);
SkEventSink.cpp 133 fExtra16 = SkToU16(count);
214 list->fExtra16 = SkToU16(count - 1);
SkListWidget.cpp 472 fBindingCount = SkToU16(count);
  /external/skia/src/ports/
SkHarfBuzzFont.cpp 70 glyphs16[i] = SkToU16(glyphs[i]);
102 uint16_t glyph16 = SkToU16(glyph);
127 uint16_t glyph16 = SkToU16(glyph);
SkFontHost_FreeType.cpp 830 return SkToU16(FT_Get_Char_Index( fFace, uni ));
940 glyph->fWidth = SkToU16((bbox.xMax - bbox.xMin) >> 6);
941 glyph->fHeight = SkToU16((bbox.yMax - bbox.yMin) >> 6);
952 glyph->fWidth = SkToU16(fFace->glyph->bitmap.width)
    [all...]
  /external/skia/include/core/
SkTypes.h 158 SK_API uint16_t SkToU16(size_t);
165 #define SkToU16(x) ((uint16_t)(x))
SkColorPriv.h 79 return SkToU16((r << SK_R16_SHIFT) | (g << SK_G16_SHIFT) | (b << SK_B16_SHIFT));
286 #define SkPixel32ToPixel16_ToU16(src) SkToU16(SkPixel32ToPixel16(src))
364 SkASSERT(src == SkToU16(src));
379 SkASSERT(src == SkToU16(src));
  /external/skia/tests/
MathTest.cpp 307 SkToU16(65536);
308 SkToU16(-5);

Completed in 217 milliseconds

1 2