Home | History | Annotate | Download | only in globaltime

Lines Matching full:math

485         float twoPi = (float) (2.0 * Math.PI);
489 cosTheta[i] = (float)Math.cos(theta);
490 sinTheta[i] = (float)Math.sin(theta);
495 float scaleH = (float) (Math.PI / lightHeight);
498 cosPhi[j] = (float)Math.cos(phi);
499 sinPhi[j] = (float)Math.sin(phi);
534 return Math.abs(o1 - o2) < 0.001;
726 float delx = Math.abs(dx);
727 float dely = Math.abs(dy);
1023 Math.cos(Shape.TWO_PI * (day + 10) / 365.0));
1030 float sinPhi = (float) Math.sin(phi);
1031 float cosPhi = (float) Math.cos(phi);
1032 float sinTheta = (float) Math.sin(theta);
1033 float cosTheta = (float) Math.cos(theta);
1061 double sinlat2 = Math.sin(dlat / 2.0f);
1063 double sinlon2 = Math.sin(dlon / 2.0f);
1066 double a = sinlat2 + Math.cos(lat1) * Math.cos(lat2) * sinlon2;
1067 double c = 2.0 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));
1246 float bigRadius = 0.75f * 0.5f * Math.min(w, h);
1276 float lerp = Math.min((now - mClockFadeTime)/1000.0f, 1.0f);
1344 lerp = Math.min(lerp, 1.0f);
1377 float lerp = Math.min((now - mClockFadeTime)/1000.0f, 1.0f);