OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:distSq
(Results
1 - 12
of
12
) sorted by null
/external/skia/tests/
PathOpsLineParametetersTest.cpp
54
double
distSq
= denormalizedDistance[inner];
55
distSq
*=
distSq
;
58
if (AlmostEqualUlps(
distSq
, normalSquared * answersSq)) {
62
"
distSq
:%g answerSq:%g normalSquared:%g\n",
65
distSq
, answersSq, normalSquared);
/external/skia/src/core/
SkDistanceFieldGen.cpp
202
float
distSq
= check->fDistSq - 2.0f*(distVec.fX + distVec.fY - 1.0f);
203
if (
distSq
< curr->fDistSq) {
206
curr->fDistSq =
distSq
;
213
distSq
= check->fDistSq - 2.0f*distVec.fY + 1.0f;
214
if (
distSq
< curr->fDistSq) {
216
curr->fDistSq =
distSq
;
223
distSq
= check->fDistSq + 2.0f*(distVec.fX - distVec.fY + 1.0f);
224
if (
distSq
< curr->fDistSq) {
227
curr->fDistSq =
distSq
;
234
distSq
= check->fDistSq - 2.0f*distVec.fX + 1.0f
[
all
...]
/external/skia/src/pathops/
SkPathOpsLine.cpp
49
double dist = realPt.distance(xy); // OPTIMIZATION: can we compare against
distSq
instead ?
73
double dist = realPt.distance(xy); // OPTIMIZATION: can we compare against
distSq
instead ?
105
double
distSq
= distU.fX * distU.fX + distU.fY * distU.fY;
106
double dist = sqrt(
distSq
); // OPTIMIZATION: can we compare against
distSq
instead ?
140
double
distSq
= distU.fX * distU.fX + distU.fY * distU.fY;
141
double dist = sqrt(
distSq
); // OPTIMIZATION: can we compare against
distSq
instead ?
SkOpSegment.cpp
489
double SkOpSegment::
distSq
(double t, const SkOpAngle* oppAngle) const {
[
all
...]
SkOpSegment.h
186
double
distSq
(double t, const SkOpAngle* opp) const;
SkPathOpsTSect.h
371
double
distSq
= (fPerpPt - cPt).lengthSquared();
373
if (dist2Sq <
distSq
) {
[
all
...]
SkPathOpsDebug.cpp
[
all
...]
/external/skia/samplecode/
SampleLitAtlas.cpp
243
SkScalar
distSq
= (x - bigCenter.fX) * (x - bigCenter.fX) +
245
if (
distSq
> kBigSize*kBigSize/4.0f) {
277
SkScalar
distSq
= (x - smCenter.fX) * (x - smCenter.fX) +
279
if (
distSq
> kSmSize*kSmSize/4.0f) {
/external/skia/src/gpu/
GrDistanceFieldGenFromVector.cpp
688
const float
distSq
= dataPtr[idx].fDistSq;
689
int dilation =
distSq
< 1.5 * 1.5 ? 1 :
690
distSq
< 2.5 * 2.5 ? 2 :
691
distSq
< 3.5 * 3.5 ? 3 : SK_DistanceFieldPad;
713
if (currDistSq <
distSq
) {
/external/skia/src/utils/
SkShadowTessellator.cpp
860
SkScalar
distSq
= fCentroid.distanceToLineSegmentBetweenSqd(currPoint, nextPoint);
861
if (
distSq
< minDistSq) {
862
minDistSq =
distSq
;
[
all
...]
/external/skia/src/gpu/ops/
GrAAConvexTessellator.cpp
58
SkScalar
distSq
= p0.distanceToSqd(p1);
59
return
distSq
< kCloseSqd;
[
all
...]
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
FlingUpDownMethod.java
313
double
distSq
=
315
return
distSq
>= Math.pow(radius, 2);
[
all
...]
Completed in 122 milliseconds