/external/skia/src/animator/ |
D | SkTime.cpp | 26 t->fMonth = SkToU8(syst.wMonth); in GetDateTime() 27 t->fDayOfWeek = SkToU8(syst.wDayOfWeek); in GetDateTime() 28 t->fDay = SkToU8(syst.wDay); in GetDateTime() 29 t->fHour = SkToU8(syst.wHour); in GetDateTime() 30 t->fMinute = SkToU8(syst.wMinute); in GetDateTime() 31 t->fSecond = SkToU8(syst.wSecond); in GetDateTime() 58 t->fMonth = SkToU8(syst.tm_mon + 1); in GetDateTime() 59 t->fDayOfWeek = SkToU8(syst.tm_wday); in GetDateTime() 60 t->fDay = SkToU8(syst.tm_mday); in GetDateTime() 61 t->fHour = SkToU8(syst.tm_hour); in GetDateTime() [all …]
|
D | SkDrawColor.cpp | 230 alpha = scalar == SK_Scalar1 ? 255 : SkToU8((U8CPU) (scalar * 256)); in setProperty() 232 alpha = SkToU8((scalar - (scalar >= SK_ScalarHalf)) >> 8); in setProperty() 240 SkColorGetG(color), SkToU8((U8CPU) scalar)); in setProperty() 245 SkToU8((U8CPU) scalar), SkColorGetB(color)); in setProperty() 253 color = SkColorSetARGB(SkColorGetA(color), SkToU8((U8CPU) scalar), in setProperty()
|
/external/skia/src/ports/ |
D | SkTime_Unix.cpp | 25 dt->fMonth = SkToU8(tstruct->tm_mon + 1); in GetDateTime() 26 dt->fDayOfWeek = SkToU8(tstruct->tm_wday); in GetDateTime() 27 dt->fDay = SkToU8(tstruct->tm_mday); in GetDateTime() 28 dt->fHour = SkToU8(tstruct->tm_hour); in GetDateTime() 29 dt->fMinute = SkToU8(tstruct->tm_min); in GetDateTime() 30 dt->fSecond = SkToU8(tstruct->tm_sec); in GetDateTime()
|
D | SkTime_win.cpp | 20 dt->fMonth = SkToU8(st.wMonth + 1); in GetDateTime() 21 dt->fDayOfWeek = SkToU8(st.wDayOfWeek); in GetDateTime() 22 dt->fDay = SkToU8(st.wDay); in GetDateTime() 23 dt->fHour = SkToU8(st.wHour); in GetDateTime() 24 dt->fMinute = SkToU8(st.wMinute); in GetDateTime() 25 dt->fSecond = SkToU8(st.wSecond); in GetDateTime()
|
D | SkFontHost_gamma.cpp | 46 table[i] = SkToU8(xx); in build_power_table()
|
/external/skia/src/core/ |
D | SkBlitter_A8.cpp | 45 device[i] = SkToU8(srcA + SkAlphaMul(device[i], scale)); in blitH() 74 device[i] = SkToU8(sa + SkAlphaMul(device[i], scale)); in blitAntiH() 106 if (bw & 0x80) dst[0] = SkToU8(sa + SkAlphaMul(dst[0], dst_scale)); in blend_8_pixels() 107 if (bw & 0x40) dst[1] = SkToU8(sa + SkAlphaMul(dst[1], dst_scale)); in blend_8_pixels() 108 if (bw & 0x20) dst[2] = SkToU8(sa + SkAlphaMul(dst[2], dst_scale)); in blend_8_pixels() 109 if (bw & 0x10) dst[3] = SkToU8(sa + SkAlphaMul(dst[3], dst_scale)); in blend_8_pixels() 110 if (bw & 0x08) dst[4] = SkToU8(sa + SkAlphaMul(dst[4], dst_scale)); in blend_8_pixels() 111 if (bw & 0x04) dst[5] = SkToU8(sa + SkAlphaMul(dst[5], dst_scale)); in blend_8_pixels() 112 if (bw & 0x02) dst[6] = SkToU8(sa + SkAlphaMul(dst[6], dst_scale)); in blend_8_pixels() 113 if (bw & 0x01) dst[7] = SkToU8(sa + SkAlphaMul(dst[7], dst_scale)); in blend_8_pixels() [all …]
|
D | SkPathEffect.cpp | 75 fStyle(SkToU8(paint.getStyle())), fJoin(SkToU8(paint.getStrokeJoin())), in SkStrokePathEffect() 76 fCap(SkToU8(paint.getStrokeCap())) { in SkStrokePathEffect() 81 : fWidth(width), fMiter(miter), fStyle(SkToU8(style)), in SkStrokePathEffect() 82 fJoin(SkToU8(join)), fCap(SkToU8(cap)) { in SkStrokePathEffect()
|
D | SkProcSpriteBlitter.cpp | 17 …: SkSpriteBlitter(source), fProc(proc), fSrcShift(SkToU8(srcShift)), fDstShift(SkToU8(dstShift)) {}
|
D | SkShader.cpp | 90 fDeviceConfig = SkToU8(device.getConfig()); in setContext() 140 *alpha++ = SkToU8(a0); in shadeSpanAlpha() 141 *alpha++ = SkToU8(a1); in shadeSpanAlpha() 142 *alpha++ = SkToU8(a2); in shadeSpanAlpha() 143 *alpha++ = SkToU8(a3); in shadeSpanAlpha()
|
D | SkAlphaRuns.cpp | 95 …alpha[x] = SkToU8(tmp - (tmp >> 8)); // was (tmp >> 7), but that seems wrong if we're trying to… in add() 110 alpha[0] = SkToU8(alpha[0] + maxValue); in add() 124 alpha[0] = SkToU8(alpha[0] + stopAlpha); in add()
|
D | SkScan_AntiPath.cpp | 447 *alpha = SkToU8(tmp - (tmp >> 8)); in add_aa_span() 471 *alpha++ = SkToU8(tmp - (tmp >> 8)); in add_aa_span() 476 *alpha++ = SkToU8(tmp - (tmp >> 8)); in add_aa_span() 482 alpha[0] = SkToU8(alpha[0] + maxValue); in add_aa_span() 500 alpha[0] = SkToU8(alpha[0] + maxValue); in add_aa_span() 508 *alpha = SkToU8(*alpha + stopAlpha); in add_aa_span()
|
D | SkString.cpp | 80 *--p = SkToU8('0' + dec % 10); in SkStrAppendS32() 110 *--p = SkToU8('0' + dec % 10); in SkStrAppendS64() 174 *string++ = SkToU8('0' + x / powerOfTen); in SkStrAppendFixed() 403 p[i] = SkToU8(src[i]); in setUTF16() 411 p[i] = SkToU8(src[i]); in setUTF16()
|
D | SkDebug.cpp | 20 uint8_t SkToU8(size_t x) in SkToU8() function
|
D | SkEdge.cpp | 224 fCurveShift = SkToU8(shift); in setQuadratic() 388 fCurveShift = SkToU8(shift); in setCubic() 389 fCubicDShift = SkToU8(downShift); in setCubic()
|
/external/skia/src/effects/ |
D | SkBlurMask.cpp | 134 *dst++ = SkToU8(tmp * scale >> 24); in kernel_clamped() 204 *dst++ = SkToU8(tmp * scale >> 24); in apply_kernel() 221 *dst++ = SkToU8(tmp * scale >> 24); in apply_kernel() 223 *dst++ = SkToU8(tmp * scale >> 24); in apply_kernel() 225 *dst++ = SkToU8(tmp * scale >> 24); in apply_kernel() 227 *dst++ = SkToU8(tmp * scale >> 24); in apply_kernel() 239 *dst++ = SkToU8(tmp * scale >> 24); in apply_kernel() 253 *dst++ = SkToU8(tmp * scale >> 24); in apply_kernel() 310 *dst++ = SkToU8((outer_sum * outer_scale in kernel_interp_clamped() 407 *dst++ = SkToU8((outer_sum * outer_scale in apply_kernel_interp() [all …]
|
D | SkEmbossMaskFilter.cpp | 41 light.fAmbient = SkToU8(am); in CreateEmboss() 42 light.fSpecular = SkToU8(sp); in CreateEmboss()
|
D | SkEmbossMask.cpp | 150 multiply[x] = SkToU8(mul); in Emboss() 151 additive[x] = SkToU8(add); in Emboss()
|
/external/skia/include/utils/ |
D | SkInterpolator.h | 46 fFlags = SkToU8((fFlags & ~kMirror) | (int)mirror); in setMirror() 59 fFlags = SkToU8((fFlags & ~kReset) | (int)reset); in setReset()
|
/external/skia/src/views/ |
D | SkStackViewLayout.cpp | 23 fOrient = SkToU8(ori); in setOrient() 45 fPack = SkToU8(pack); in setPack() 51 fAlign = SkToU8(align); in setAlign() 56 fRound = SkToU8(r); in setRound()
|
D | SkStaticTextView.cpp | 57 fMode = SkToU8(mode); in setMode() 64 fSpacingAlign = SkToU8(align); in setSpacingAlign()
|
D | SkTagList.h | 29 SkTagList(U8CPU tag) : fTag(SkToU8(tag)) in SkTagList()
|
D | SkTextBox.cpp | 97 fMode = SkToU8(mode); in setMode() 103 fSpacingAlign = SkToU8(align); in setSpacingAlign()
|
/external/skia/src/images/ |
D | SkImageDecoder_libjpeg.cpp | 795 dst[0] = SkToU8(y); in rgb2yuv_32() 796 dst[1] = SkToU8(u + 128); in rgb2yuv_32() 797 dst[2] = SkToU8(v + 128); in rgb2yuv_32() 809 dst[0] = SkToU8(y); in rgb2yuv_4444() 810 dst[1] = SkToU8(u + 128); in rgb2yuv_4444() 811 dst[2] = SkToU8(v + 128); in rgb2yuv_4444() 823 dst[0] = SkToU8(y); in rgb2yuv_16() 824 dst[1] = SkToU8(u + 128); in rgb2yuv_16() 825 dst[2] = SkToU8(v + 128); in rgb2yuv_16()
|
/external/skia/include/core/ |
D | SkStroke.h | 41 void setDoFill(bool doFill) { fDoFill = SkToU8(doFill); } in setDoFill()
|
D | SkTypes.h | 165 SK_API uint8_t SkToU8(size_t); 172 #define SkToU8(x) ((uint8_t)(x)) macro
|