OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SkToU16
(Results
1 - 25
of
28
) sorted by null
1
2
/external/skia/src/effects/
SkPaintFlagsDrawFilter.cpp
7
fClearFlags =
SkToU16
(clearFlags & SkPaint::kAllFlags);
8
fSetFlags =
SkToU16
(setFlags & SkPaint::kAllFlags);
SkEmbossMask.cpp
78
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
24
return
SkToU16
(x);
63
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)
SkString.cpp
145
rec->fLength =
SkToU16
(len);
194
SkASSERT(
SkToU16
(len) == len); // can't handle larger than 64K
322
fRec->fLength =
SkToU16
(len);
331
fRec->fLength =
SkToU16
(len);
406
fRec->fLength =
SkToU16
(length + len);
572
*dst++ =
SkToU16
(uni);
SkScalerContext.cpp
264
return
SkToU16
(glyphID);
327
glyph->fWidth =
SkToU16
(mask.fBounds.width());
328
glyph->fHeight =
SkToU16
(mask.fBounds.height());
342
glyph->fWidth =
SkToU16
(ir.width());
343
glyph->fHeight =
SkToU16
(ir.height());
361
glyph->fWidth =
SkToU16
(dst.fBounds.width());
362
glyph->fHeight =
SkToU16
(dst.fBounds.height());
SkUtils.cpp
403
// dst[0] =
SkToU16
(0xD800 | ((uni - 0x10000) >> 10));
404
// dst[0] =
SkToU16
(0xD800 | ((uni >> 10) - 64));
405
dst[0] =
SkToU16
((0xD800 - 64) + (uni >> 10));
406
dst[1] =
SkToU16
(0xDC00 | (uni & 0x3FF));
413
dst[0] =
SkToU16
(uni);
SkBitmapSampler.cpp
41
fMaxX =
SkToU16
(bm.width() - 1);
42
fMaxY =
SkToU16
(bm.height() - 1);
SkPoint.cpp
157
unsigned x =
SkToU16
((1 << 28) / SkSqrt32(i << 25));
SkMath.cpp
437
table[i] =
SkToU16
(ival);
/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);
SkMetaData.cpp
109
rec->fDataCount =
SkToU16
(count);
SkListWidget.cpp
472
fBindingCount =
SkToU16
(count);
/external/skia/include/core/
SkTypes.h
126
uint16_t
SkToU16
(size_t);
133
#define
SkToU16
(x) ((uint16_t)(x))
SkColorPriv.h
79
return
SkToU16
((r << SK_R16_SHIFT) | (g << SK_G16_SHIFT) | (b << SK_B16_SHIFT));
291
#define SkPixel32ToPixel16_ToU16(src)
SkToU16
(SkPixel32ToPixel16(src))
369
SkASSERT(src ==
SkToU16
(src));
384
SkASSERT(src ==
SkToU16
(src));
/external/skia/src/ports/
SkFontHost_FreeType.cpp
503
return
SkToU16
(FT_Get_Char_Index( fFace, uni ));
613
glyph->fWidth =
SkToU16
((bbox.xMax - bbox.xMin) >> 6);
614
glyph->fHeight =
SkToU16
((bbox.yMax - bbox.yMin) >> 6);
620
glyph->fWidth =
SkToU16
(fFace->glyph->bitmap.width);
621
glyph->fHeight =
SkToU16
(fFace->glyph->bitmap.rows);
[
all
...]
/external/skia/tests/
MathTest.cpp
227
SkToU16
(65536);
228
SkToU16
(-5);
/external/skia/src/xml/
SkDOM.cpp
230
node->fAttrCount =
SkToU16
(attrCount);
Completed in 292 milliseconds
1
2