HomeSort by relevance Sort by last modified time
    Searched refs:PI (Results 1 - 25 of 117) sorted by null

1 2 3 4 5

  /frameworks/base/core/java/android/gesture/
Instance.java 30 0, (float) (Math.PI / 4), (float) (Math.PI / 2), (float) (Math.PI * 3 / 4),
31 (float) Math.PI, -0, (float) (-Math.PI / 4), (float) (-Math.PI / 2),
32 (float) (-Math.PI * 3 / 4), (float) -Math.PI
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/
15.8.2.5.js 54 array[item++] = new TestCase( SECTION, "Math.atan2(1, 0)", Math.PI/2, Math.atan2(1,0) );
55 array[item++] = new TestCase( SECTION, "Math.atan2(1,-0)", Math.PI/2, Math.atan2(1,-0) );
58 array[item++] = new TestCase( SECTION, "Math.atan2(0, -0)", Math.PI, Math.atan2(0,-0) );
59 array[item++] = new TestCase( SECTION, "Math.atan2(0, -1)", Math.PI, Math.atan2(0, -1) );
65 array[item++] = new TestCase( SECTION, "Math.atan2(-0, -0)", -Math.PI, Math.atan2(-0, -0) );
66 array[item++] = new TestCase( SECTION, "Math.atan2(-0, -1)", -Math.PI, Math.atan2(-0, -1) );
67 array[item++] = new TestCase( SECTION, "Math.atan2(-1, 0)", -Math.PI/2, Math.atan2(-1, 0) );
68 array[item++] = new TestCase( SECTION, "Math.atan2(-1, -0)", -Math.PI/2, Math.atan2(-1, -0) );
70 array[item++] = new TestCase( SECTION, "Math.atan2(1,-Infinity)", Math.PI, Math.atan2(1, Number.NEGATIVE_INFINITY) );
75 array[item++] = new TestCase( SECTION, "Math.atan2(-1,-Infinity)", -Math.PI, Math.atan2(-1,Number.NEGATIVE_INFINITY) )
    [all...]
15.8.2.2.js 27 range is from +0 to +PI. special cases:
53 array[item++] = new TestCase( SECTION, "Math.acos(null)", Math.PI/2, Math.acos(null) );
57 array[item++] = new TestCase( SECTION, "Math.acos('0')", Math.PI/2, Math.acos('0') );
59 array[item++] = new TestCase( SECTION, "Math.acos('-1')", Math.PI, Math.acos('-1') );
64 array[item++] = new TestCase( SECTION, "Math.acos(-1)", Math.PI, Math.acos(-1) );
65 array[item++] = new TestCase( SECTION, "Math.acos(0)", Math.PI/2, Math.acos(0) );
66 array[item++] = new TestCase( SECTION, "Math.acos(-0)", Math.PI/2, Math.acos(-0) );
67 array[item++] = new TestCase( SECTION, "Math.acos(Math.SQRT1_2)", Math.PI/4, Math.acos(Math.SQRT1_2));
68 array[item++] = new TestCase( SECTION, "Math.acos(-Math.SQRT1_2)", Math.PI/4*3, Math.acos(-Math.SQRT1_2));
69 array[item++] = new TestCase( SECTION, "Math.acos(0.9999619230642)", Math.PI/360, Math.acos(0.9999619230642))
    [all...]
15.8.2.3.js 27 range is from -PI/2 to +PI/2. special cases:
58 array[item++] = new TestCase( SECTION, "Math.asin('1')", Math.PI/2, Math.asin("1") );
59 array[item++] = new TestCase( SECTION, "Math.asin('-1')", -Math.PI/2, Math.asin("-1") );
60 array[item++] = new TestCase( SECTION, "Math.asin(Math.SQRT1_2+'')", Math.PI/4, Math.asin(Math.SQRT1_2+'') );
61 array[item++] = new TestCase( SECTION, "Math.asin(-Math.SQRT1_2+'')", -Math.PI/4, Math.asin(-Math.SQRT1_2+'') );
70 array[item++] = new TestCase( SECTION, "Math.asin(1)", Math.PI/2, Math.asin(1) );
71 array[item++] = new TestCase( SECTION, "Math.asin(-1)", -Math.PI/2, Math.asin(-1) );
72 array[item++] = new TestCase( SECTION, "Math.asin(Math.SQRT1_2))", Math.PI/4, Math.asin(Math.SQRT1_2) );
73 array[item++] = new TestCase( SECTION, "Math.asin(-Math.SQRT1_2))", -Math.PI/4, Math.asin(-Math.SQRT1_2))
    [all...]
15.8.2.4.js 27 range is from -PI/2 to +PI/2. special cases:
31 - if x == +Infinity, the result is approximately +PI/2
32 - if x == -Infinity, the result is approximately -PI/2
62 array[item++] = new TestCase( SECTION, "Math.atan('1')", Math.PI/4, Math.atan('1') );
63 array[item++] = new TestCase( SECTION, "Math.atan('-1')", -Math.PI/4, Math.atan('-1') );
64 array[item++] = new TestCase( SECTION, "Math.atan('Infinity)", Math.PI/2, Math.atan('Infinity') );
65 array[item++] = new TestCase( SECTION, "Math.atan('-Infinity)", -Math.PI/2, Math.atan('-Infinity') );
70 array[item++] = new TestCase( SECTION, "Math.atan(Infinity)", Math.PI/2, Math.atan(Number.POSITIVE_INFINITY) );
71 array[item++] = new TestCase( SECTION, "Math.atan(-Infinity)", -Math.PI/2, Math.atan(Number.NEGATIVE_INFINITY) )
    [all...]
15.8.2.7.js 69 array[item++] = new TestCase( SECTION, "Math.cos(Math.PI*2)", 1, Math.cos(Math.PI*2) );
70 array[item++] = new TestCase( SECTION, "Math.cos(Math.PI/4)", Math.SQRT2/2, Math.cos(Math.PI/4) );
71 array[item++] = new TestCase( SECTION, "Math.cos(Math.PI/2)", 0, Math.cos(Math.PI/2) );
72 array[item++] = new TestCase( SECTION, "Math.cos(3*Math.PI/4)", -Math.SQRT2/2, Math.cos(3*Math.PI/4) );
73 array[item++] = new TestCase( SECTION, "Math.cos(Math.PI)", -1, Math.cos(Math.PI) );
    [all...]
15.8.2.18.js 63 array[item++] = new TestCase( SECTION, "Math.tan(Math.PI/4)", 1, Math.tan(Math.PI/4));
64 array[item++] = new TestCase( SECTION, "Math.tan(3*Math.PI/4)", -1, Math.tan(3*Math.PI/4));
65 array[item++] = new TestCase( SECTION, "Math.tan(Math.PI)", -0, Math.tan(Math.PI));
66 array[item++] = new TestCase( SECTION, "Math.tan(5*Math.PI/4)", 1, Math.tan(5*Math.PI/4));
67 array[item++] = new TestCase( SECTION, "Math.tan(7*Math.PI/4)", -1, Math.tan(7*Math.PI/4))
    [all...]
15.8.2.1.js 74 array[item++] = new TestCase( SECTION, "Math.abs( Math.PI )", Math.PI, Math.abs( Math.PI ) );
75 array[item++] = new TestCase( SECTION, "Math.abs( -Math.PI )", Math.PI, Math.abs( -Math.PI ) );
15.8.1.js 30 15.8.1.6 PI
62 array[item++] = new TestCase( "15.8.1.6", "Math.PI", 3.14159265358979323846, Math.PI );
63 array[item++] = new TestCase( "15.8.1.6", "typeof Math.PI", "number", typeof Math.PI );
  /external/proguard/src/proguard/gui/splash/
SineTiming.java 51 return 0.5 + 0.5 * Math.sin(2.0 * Math.PI * (time + phase) / period);
  /frameworks/base/core/java/android/view/animation/
AccelerateDecelerateInterpolator.java 36 return (float)(Math.cos((input + 1) * Math.PI) / 2.0f) + 0.5f;
CycleInterpolator.java 43 return (float)(Math.sin(2 * mCycles * Math.PI * input));
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
SweepGradient.java 112 angle = (float) (dy < 0 ? 3 * Math.PI / 2 : Math.PI / 2);
114 angle = (float) (dx < 0 ? Math.PI : 0);
119 angle += Math.PI * 2;
122 angle += Math.PI;
127 data[index++] = getGradientColor((float) (angle / (2 * Math.PI)));
  /external/chromium/third_party/icu/source/i18n/
astro.cpp 22 #if defined (PI)
23 #undef PI
202 const double CalendarAstronomer::PI = 3.14159265358979323846;
204 #define CalendarAstronomer_PI2 (CalendarAstronomer::PI*2.0)
205 #define RAD_HOUR ( 12 / CalendarAstronomer::PI ) // radians -> hours
206 #define DEG_RAD ( CalendarAstronomer::PI / 180 ) // degrees -> radians
207 #define RAD_DEG ( 180 / CalendarAstronomer::PI ) // radians -> degrees
218 * Normalize an angle so that it's in the range 0 - 2pi.
219 * For positive angles this is just (angle % 2pi), but the Java
223 return normalize(angle, CalendarAstronomer::PI * 2.0)
    [all...]
  /external/icu4c/i18n/
astro.cpp 22 #if defined (PI)
23 #undef PI
202 const double CalendarAstronomer::PI = 3.14159265358979323846;
204 #define CalendarAstronomer_PI2 (CalendarAstronomer::PI*2.0)
205 #define RAD_HOUR ( 12 / CalendarAstronomer::PI ) // radians -> hours
206 #define DEG_RAD ( CalendarAstronomer::PI / 180 ) // degrees -> radians
207 #define RAD_DEG ( 180 / CalendarAstronomer::PI ) // radians -> degrees
218 * Normalize an angle so that it's in the range 0 - 2pi.
219 * For positive angles this is just (angle % 2pi), but the Java
223 return normalize(angle, CalendarAstronomer::PI * 2.0)
    [all...]
  /external/webkit/SunSpider/tests/sunspider-0.9/
3d-morph.js 31 var PI2nx = Math.PI * 8/nx
33 var f30 = -(50 * sin(f*Math.PI*2))
  /external/webkit/SunSpider/tests/sunspider-0.9.1/
3d-morph.js 31 var PI2nx = Math.PI * 8/nx
33 var f30 = -(50 * sin(f*Math.PI*2))
  /packages/apps/Email/src/com/android/exchange/adapter/
Wbxml.java 37 static public final int PI = 0x43;
  /frameworks/base/services/java/com/android/server/
TwilightCalculator.java 31 private static final float DEGREES_TO_RADIANS = (float) (Math.PI / 180.0f);
82 final float solarLng = trueAnomaly + 1.796593063f + (float) Math.PI;
111 float hourAngle = (float) (Math.acos(cosHourAngle) / (2 * Math.PI));
  /external/webkit/JavaScriptCore/tests/mozilla/ecma_2/Statements/
try-004.js 21 TryToCatch( "Math.PI", Math.PI );
try-005.js 23 TryToCatch( "Math.PI", Math.PI );
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Expressions/
11.4.1.js 56 array[item++] = new TestCase( SECTION, "delete(Math.PI)", false, delete(Math.PI) );
94 this.prop8 = Math.PI;
11.4.2.js 53 array[item++] = new TestCase( SECTION, "void(Math.PI)", void 0, void(Math.PI) );
65 array[item++] = new TestCase( SECTION, "void Math.PI", void 0, void Math.PI );
  /external/v8/test/mjsunit/regress/
regress-925537.js 38 assertClose( Math.PI / 4, Math.atan2(pinf, pinf));
39 assertClose(-Math.PI / 4, Math.atan2(ninf, pinf));
40 assertClose( 3 * Math.PI / 4, Math.atan2(pinf, ninf));
41 assertClose(-3 * Math.PI / 4, Math.atan2(ninf, ninf));
  /development/samples/GlobalTime/src/com/android/globaltime/
Shape.java 38 public static final float DEGREES_TO_RADIANS = (float) Math.PI / 180.0f;
39 public static final float PI = (float) Math.PI;
40 public static final float TWO_PI = (float) (2.0 * Math.PI);
41 public static final float PI_OVER_TWO = (float) (Math.PI / 2.0);

Completed in 734 milliseconds

1 2 3 4 5