OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SkScalarRoundToInt
(Results
1 - 25
of
68
) sorted by null
1
2
3
/external/skia/example/
HelloWorld.h
41
const SkImageInfo info = SkImageInfo::MakeN32Premul(
SkScalarRoundToInt
(this->width()),
42
SkScalarRoundToInt
(this->height()));
/external/skia/samplecode/
SampleLayerMask.cpp
38
int w =
SkScalarRoundToInt
(r.width());
39
int h =
SkScalarRoundToInt
(r.height());
SampleHT.cpp
27
return SkColorSetARGB(
SkScalarRoundToInt
(f[0]),
28
SkScalarRoundToInt
(f[1]),
29
SkScalarRoundToInt
(f[2]),
30
SkScalarRoundToInt
(f[3]));
SampleLines.cpp
96
fAlpha =
SkScalarRoundToInt
(y);
/external/skia/tools/
iOSShell.cpp
37
int w =
SkScalarRoundToInt
(this->width());
38
int h =
SkScalarRoundToInt
(this->height());
skhello.cpp
80
int w =
SkScalarRoundToInt
(width) + 30;
81
int h =
SkScalarRoundToInt
(spacing) + 30;
/external/skia/debugger/QT/
SkGLWidget.cpp
83
desc.fWidth =
SkScalarRoundToInt
(this->width());
84
desc.fHeight =
SkScalarRoundToInt
(this->height());
/external/skia/include/core/
SkSize.h
100
s.set(
SkScalarRoundToInt
(fWidth),
SkScalarRoundToInt
(fHeight));
/external/skia/tests/
PathCoverageTest.cpp
29
int idx = SkAbs32(
SkScalarRoundToInt
(dx));
30
int idy = SkAbs32(
SkScalarRoundToInt
(dy));
81
return estimate_pointCount(
SkScalarRoundToInt
(distance));
PathOpsConicIntersectionTest.cpp
92
SkScalarRoundToInt
(bounds.width()),
SkScalarRoundToInt
(bounds.height())));
130
SkScalarRoundToInt
(SkDoubleToScalar(bounds.width())),
131
SkScalarRoundToInt
(SkDoubleToScalar(bounds.height()))));
268
SkScalarRoundToInt
(SkDoubleToScalar(bounds.width())),
269
SkScalarRoundToInt
(SkDoubleToScalar(bounds.height()))));
PathOpsOpLoopThreadedTest.cpp
14
int asInt =
SkScalarRoundToInt
(x);
21
asInt =
SkScalarRoundToInt
(y);
DetermineDomainModeTest.cpp
55
return SkIRect::MakeLTRB(
SkScalarRoundToInt
(r.fLeft),
56
SkScalarRoundToInt
(r.fTop),
57
SkScalarRoundToInt
(r.fRight),
58
SkScalarRoundToInt
(r.fBottom));
/external/skia/gm/
path_stroke_with_zero_length.cpp
148
offscreen.allocN32Pixels(
SkScalarRoundToInt
(bounds.width() + 4),
149
SkScalarRoundToInt
(bounds.height() + 4));
154
if (!canvas->readPixels(&offscreen,
SkScalarRoundToInt
(pathX + cMatrix.getTranslateX()),
155
SkScalarRoundToInt
(pathY + cMatrix.getTranslateY()))) {
complexclip2.cpp
136
return SkISize::Make(
SkScalarRoundToInt
(fTotalWidth),
137
SkScalarRoundToInt
(fTotalHeight));
/external/skia/src/core/
SkColor.cpp
79
U8CPU v_byte =
SkScalarRoundToInt
(v * 255);
88
unsigned p =
SkScalarRoundToInt
((SK_Scalar1 - s) * v * 255);
89
unsigned q =
SkScalarRoundToInt
((SK_Scalar1 - (s * f)) * v * 255);
90
unsigned t =
SkScalarRoundToInt
((SK_Scalar1 - (s * (SK_Scalar1 - f))) * v * 255);
/external/skia/src/effects/
SkBlurMask.cpp
511
int outerWeight = 255 -
SkScalarRoundToInt
((SkIntToScalar(rx) - passRadius) * 255);
749
dst->fBounds.set(
SkScalarRoundToInt
(src.fLeft - pad),
750
SkScalarRoundToInt
(src.fTop - pad),
751
SkScalarRoundToInt
(src.fRight + pad),
752
SkScalarRoundToInt
(src.fBottom + pad));
763
dst->fBounds.set(
SkScalarRoundToInt
(src.fLeft),
764
SkScalarRoundToInt
(src.fTop),
765
SkScalarRoundToInt
(src.fRight),
766
SkScalarRoundToInt
(src.fBottom)); // restore trimmed bounds
815
dst->fBounds.set(
SkScalarRoundToInt
(src.fLeft)
[
all
...]
SkDiscretePathEffect.cpp
90
uint32_t seed = fSeedAssist ^
SkScalarRoundToInt
(meas.getLength());
103
int n =
SkScalarRoundToInt
(length / fSegLength);
SkOffsetImageFilter.cpp
41
offset->fX = srcOffset.fX +
SkScalarRoundToInt
(vec.fX);
42
offset->fY = srcOffset.fY +
SkScalarRoundToInt
(vec.fY);
/external/skia/experimental/SkV8Example/
SkV8Example.cpp
90
desc.fWidth =
SkScalarRoundToInt
(this->width());
91
desc.fHeight =
SkScalarRoundToInt
(this->height());
/external/skia/bench/
MorphologyBench.cpp
44
fName.printf("morph_%d_%s",
SkScalarRoundToInt
(rad), name);
BlurRectBench.cpp
85
name.printf("blurrect_direct_%d",
SkScalarRoundToInt
(rad));
137
name.printf("blurrect_boxfilter_%d",
SkScalarRoundToInt
(rad));
165
name.printf("blurrect_gaussian_%d",
SkScalarRoundToInt
(rad));
BlurBench.cpp
46
fName.printf("blur_%d_%s_%s",
SkScalarRoundToInt
(rad), name, quality);
/external/skia/src/views/
SkWindow.cpp
87
SkScalarRoundToInt
(this->width()),
88
SkScalarRoundToInt
(this->height()));
328
desc.fWidth =
SkScalarRoundToInt
(this->width());
329
desc.fHeight =
SkScalarRoundToInt
(this->height());
/external/skia/tools/skdiff/
skdiff_html.cpp
128
if (
SkScalarRoundToInt
(diff.fAverageMismatchA) > 0) {
130
stream->writeDecAsText(
SkScalarRoundToInt
(diff.fAverageMismatchA));
134
stream->writeDecAsText(
SkScalarRoundToInt
(diff.fMaxMismatchA));
141
stream->writeDecAsText(
SkScalarRoundToInt
(MAX3(diff.fAverageMismatchR,
/external/skia/experimental/svg/model/
SkSVGRenderContext.cpp
126
return SkTo<uint8_t>(
SkScalarRoundToInt
(o * 255));
305
SkScalarRoundToInt
(opacity * pctx->fFillPaint.getAlpha()));
308
SkScalarRoundToInt
(opacity * pctx->fStrokePaint.getAlpha()));
Completed in 811 milliseconds
1
2
3