/external/skia/src/core/ |
D | SkTime.cpp | 38 dt->fMonth = SkToU8(st.wMonth); in GetDateTime() 39 dt->fDayOfWeek = SkToU8(st.wDayOfWeek); in GetDateTime() 40 dt->fDay = SkToU8(st.wDay); in GetDateTime() 41 dt->fHour = SkToU8(st.wHour); in GetDateTime() 42 dt->fMinute = SkToU8(st.wMinute); in GetDateTime() 43 dt->fSecond = SkToU8(st.wSecond); in GetDateTime() 58 dt->fMonth = SkToU8(tstruct->tm_mon + 1); in GetDateTime() 59 dt->fDayOfWeek = SkToU8(tstruct->tm_wday); in GetDateTime() 60 dt->fDay = SkToU8(tstruct->tm_mday); in GetDateTime() 61 dt->fHour = SkToU8(tstruct->tm_hour); in GetDateTime() [all …]
|
D | SkBlitter_A8.cpp | 44 device[i] = SkToU8(srcA + SkAlphaMul(device[i], scale)); in blitH() 73 device[i] = SkToU8(sa + SkAlphaMul(device[i], scale)); in blitAntiH() 105 if (bw & 0x80) dst[0] = SkToU8(sa + SkAlphaMul(dst[0], dst_scale)); in blend_8_pixels() 106 if (bw & 0x40) dst[1] = SkToU8(sa + SkAlphaMul(dst[1], dst_scale)); in blend_8_pixels() 107 if (bw & 0x20) dst[2] = SkToU8(sa + SkAlphaMul(dst[2], dst_scale)); in blend_8_pixels() 108 if (bw & 0x10) dst[3] = SkToU8(sa + SkAlphaMul(dst[3], dst_scale)); in blend_8_pixels() 109 if (bw & 0x08) dst[4] = SkToU8(sa + SkAlphaMul(dst[4], dst_scale)); in blend_8_pixels() 110 if (bw & 0x04) dst[5] = SkToU8(sa + SkAlphaMul(dst[5], dst_scale)); in blend_8_pixels() 111 if (bw & 0x02) dst[6] = SkToU8(sa + SkAlphaMul(dst[6], dst_scale)); in blend_8_pixels() 112 if (bw & 0x01) dst[7] = SkToU8(sa + SkAlphaMul(dst[7], dst_scale)); in blend_8_pixels() [all …]
|
D | SkBlitter.h | 66 aa[0] = SkToU8(a0); in blitAntiH2() 67 aa[1] = SkToU8(a1); in blitAntiH2() 78 aa[0] = SkToU8(a0); in blitAntiV2() 83 aa[0] = SkToU8(a1); in blitAntiV2()
|
D | SkAntiRun.h | 69 …alpha[x] = SkToU8(tmp - (tmp >> 8)); // was (tmp >> 7), but that seems wrong if we're trying to… in add() 83 alpha[0] = SkToU8(alpha[0] + maxValue); in add() 97 alpha[0] = SkToU8(alpha[0] + stopAlpha); in add()
|
D | SkShader.cpp | 163 *alpha++ = SkToU8(a0); in shadeSpanAlpha() 164 *alpha++ = SkToU8(a1); in shadeSpanAlpha() 165 *alpha++ = SkToU8(a2); in shadeSpanAlpha() 166 *alpha++ = SkToU8(a3); in shadeSpanAlpha()
|
D | SkMaskGamma.cpp | 97 table[i] = SkToU8(sk_float_round2int(255.0f * srca)); in SkTMaskGamma_build_correcting_lut() 121 table[i] = SkToU8(sk_float_round2int(255.0f * result)); in SkTMaskGamma_build_correcting_lut()
|
D | SkString.cpp | 79 *--p = SkToU8('0' + dec % 10); in SkStrAppendU32() 108 *--p = SkToU8('0' + (int32_t) (dec % 10)); in SkStrAppendU64() 176 *string++ = SkToU8('0' + x / powerOfTen); in SkStrAppendFixed() 422 p[i] = SkToU8(src[i]); in setUTF16() 430 p[i] = SkToU8(src[i]); in setUTF16()
|
D | SkScan_AntiPath.cpp | 467 *alpha = SkToU8(tmp - (tmp >> 8)); in add_aa_span() 483 *ptr = SkToU8(tmp - (tmp >> 8)); in saturated_add() 499 alpha[0] = SkToU8(alpha[0] + maxValue); in add_aa_span() 517 alpha[0] = SkToU8(alpha[0] + maxValue); in add_aa_span()
|
D | SkStroke.h | 44 void setDoFill(bool doFill) { fDoFill = SkToU8(doFill); } in setDoFill()
|
D | SkDebug.cpp | 19 uint8_t SkToU8(uintmax_t x) { in SkToU8() function
|
D | SkEdge.cpp | 251 fCurveShift = SkToU8(shift - 1); in setQuadratic() 407 fCurveShift = SkToU8(shift); in setCubic() 408 fCubicDShift = SkToU8(downShift); in setCubic()
|
D | SkMetaData.cpp | 123 rec->fType = SkToU8(type); in set() 127 rec->fDataLen = SkToU8(dataSize); in set()
|
/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 | SkTagList.h | 29 SkTagList(U8CPU tag) : fTag(SkToU8(tag)) in SkTagList()
|
/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/animator/ |
D | SkDrawColor.cpp | 229 alpha = scalar == SK_Scalar1 ? 255 : SkToU8((U8CPU) (scalar * 256)); in setProperty() 236 SkColorGetG(color), SkToU8((U8CPU) scalar)); in setProperty() 241 SkToU8((U8CPU) scalar), SkColorGetB(color)); in setProperty() 249 color = SkColorSetARGB(SkColorGetA(color), SkToU8((U8CPU) scalar), in setProperty()
|
/external/skia/src/pdf/ |
D | SkPDFGraphicState.cpp | 108 , fStrokeCap(SkToU8(p.getStrokeCap())) in SkPDFGraphicState() 109 , fStrokeJoin(SkToU8(p.getStrokeJoin())) in SkPDFGraphicState() 110 , fMode(SkToU8(mode_for_pdf(p.getXfermode()))) {} in SkPDFGraphicState()
|
D | SkPDFBitmap.cpp | 135 rgb[0] = SkToU8(255 * r / a); in get_neighbor_avg_color() 136 rgb[1] = SkToU8(255 * g / a); in get_neighbor_avg_color() 137 rgb[2] = SkToU8(255 * b / a); in get_neighbor_avg_color()
|
/external/skia/src/effects/ |
D | SkEmbossMask.cpp | 150 multiply[x] = SkToU8(mul); in Emboss() 151 additive[x] = SkToU8(add); in Emboss()
|
D | SkEmbossMaskFilter.cpp | 51 light.fAmbient = SkToU8(am); in CreateEmboss() 52 light.fSpecular = SkToU8(sp); in CreateEmboss()
|
/external/skia/src/views/animated/ |
D | SkStaticTextView.cpp | 57 fMode = SkToU8(mode); in setMode() 64 fSpacingAlign = SkToU8(align); in setSpacingAlign()
|
/external/skia/src/utils/ |
D | SkTextBox.cpp | 127 fMode = SkToU8(mode); in setMode() 133 fSpacingAlign = SkToU8(align); in setSpacingAlign()
|
/external/skia/bench/ |
D | BitmapRectBench.cpp | 54 fAlpha = SkToU8(alpha); in BitmapRectBench()
|
/external/skia/src/gpu/ |
D | GrSwizzle.h | 142 fKey = SkToU8(CharToIdx(fSwiz[0]) | (CharToIdx(fSwiz[1]) << 2) | in GrSwizzle()
|
/external/skia/include/core/ |
D | SkTypes.h | 261 SK_API uint8_t SkToU8(uintmax_t); 271 #define SkToU8(x) ((uint8_t)(x)) macro
|