/prebuilts/go/darwin-x86/src/math/cmplx/ |
cmath_test.go | 209 var polar = []ff{ var 706 if r, theta := Polar(vc[i]); !veryclose(polar[i].r, r) && !veryclose(polar[i].theta, theta) { 707 t.Errorf("Polar(%g) = %g, %g want %g, %g", vc[i], r, theta, polar[i].r, polar[i].theta) 711 if r, theta := Polar(vcPolarSC[i]); !alike(polarSC[i].r, r) && !alike(polarSC[i].theta, theta) { 712 t.Errorf("Polar(%g) = %g, %g, want %g, %g", vcPolarSC[i], r, theta, polarSC[i].r, polarSC[i].theta) 749 if f := Rect(polar[i].r, polar[i].theta); !cVeryclose(vc[i], f) [all...] |
/prebuilts/go/linux-x86/src/math/cmplx/ |
cmath_test.go | 209 var polar = []ff{ var 706 if r, theta := Polar(vc[i]); !veryclose(polar[i].r, r) && !veryclose(polar[i].theta, theta) { 707 t.Errorf("Polar(%g) = %g, %g want %g, %g", vc[i], r, theta, polar[i].r, polar[i].theta) 711 if r, theta := Polar(vcPolarSC[i]); !alike(polarSC[i].r, r) && !alike(polarSC[i].theta, theta) { 712 t.Errorf("Polar(%g) = %g, %g, want %g, %g", vcPolarSC[i], r, theta, polarSC[i].r, polarSC[i].theta) 749 if f := Rect(polar[i].r, polar[i].theta); !cVeryclose(vc[i], f) [all...] |
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
PieRenderer.java | 414 PointF polar = getPolar(x, y, !(tapMode)); local 420 PieItem item = findItem(polar); 434 item = findItem(polar); 457 if (polar.y < radius) { 465 PieItem item = findItem(polar); 558 * @param polar x: angle, y: dist 561 private PieItem findItem(PointF polar) { 565 if (inside(polar, item)) { 572 private boolean inside(PointF polar, PieItem item) { 573 return (item.getInnerRadius() < polar.y [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
PieRenderer.java | 413 PointF polar = getPolar(x, y, !(mTapMode)); local 419 PieItem item = findItem(polar); 433 item = findItem(polar); 457 if (polar.y < mRadius) { 465 PieItem item = findItem(polar); 559 * @param polar x: angle, y: dist 562 private PieItem findItem(PointF polar) { 566 if (inside(polar, item)) { 573 private boolean inside(PointF polar, PieItem item) { 574 return (item.getInnerRadius() < polar.y [all...] |