/external/jmonkeyengine/engine/src/android/jme3test/android/ |
TestMovingParticle.java | 54 private float angle = 0; field in class:TestMovingParticle 96 angle += tpf; 97 angle %= FastMath.TWO_PI; 98 float x = FastMath.cos(angle) * 2; 99 float y = FastMath.sin(angle) * 2;
|
TestNormalMapping.java | 50 float angle; field in class:TestNormalMapping 92 angle += tpf * 0.25f; 93 angle %= FastMath.TWO_PI; 95 pl.setPosition(new Vector3f(FastMath.cos(angle) * 4f, 0.5f, FastMath.sin(angle) * 4f));
|
/external/jmonkeyengine/engine/src/test/jme3test/effect/ |
TestMovingParticle.java | 52 private float angle = 0; field in class:TestMovingParticle 88 angle += tpf; 89 angle %= FastMath.TWO_PI; 90 float x = FastMath.cos(angle) * 2; 91 float y = FastMath.sin(angle) * 2;
|
/external/jmonkeyengine/engine/src/test/jme3test/light/ |
TestLightNode.java | 50 float angle; field in class:TestLightNode 105 angle += tpf; 106 angle %= FastMath.TWO_PI; 108 movingNode.setLocalTranslation(new Vector3f(FastMath.cos(angle) * 3f, 2, FastMath.sin(angle) * 3f));
|
TestSimpleLighting.java | 48 float angle; field in class:TestSimpleLighting 105 angle += tpf; 106 angle %= FastMath.TWO_PI; 108 pl.setPosition(new Vector3f(FastMath.cos(angle) * 2f, 0.5f, FastMath.sin(angle) * 2f));
|
TestTangentGenBadUV.java | 49 float angle; field in class:TestTangentGenBadUV 102 angle += tpf; 103 angle %= FastMath.TWO_PI; 105 pl.setPosition(new Vector3f(FastMath.cos(angle) * 2f, 0.5f, FastMath.sin(angle) * 2f));
|
/external/jmonkeyengine/engine/src/test/jme3test/material/ |
TestBumpModel.java | 50 float angle; field in class:TestBumpModel 96 angle += tpf * 0.25f; 97 angle %= FastMath.TWO_PI; 99 pl.setPosition(new Vector3f(FastMath.cos(angle) * 6f, 3f, FastMath.sin(angle) * 6f));
|
TestNormalMapping.java | 48 float angle; field in class:TestNormalMapping 86 angle += tpf * 0.25f; 87 angle %= FastMath.TWO_PI; 89 pl.setPosition(new Vector3f(FastMath.cos(angle) * 4f, 0.5f, FastMath.sin(angle) * 4f));
|
/external/jmonkeyengine/engine/src/test/jme3test/model/ |
TestMonkeyHead.java | 47 float angle; field in class:TestMonkeyHead 93 angle += tpf * 0.25f; 94 angle %= FastMath.TWO_PI; 96 pl.setPosition(new Vector3f(FastMath.cos(angle) * 6f, 3f, FastMath.sin(angle) * 6f));
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
VUMeter.java | 78 float angle = minAngle; local 80 angle += (float)(maxAngle - minAngle)*mRecorder.getMaxAmplitude()/32768; 82 if (angle > mCurrentAngle) 83 mCurrentAngle = angle; 85 mCurrentAngle = Math.max(angle, mCurrentAngle - DROPOFF_STEP);
|
/external/chromium_org/third_party/skia/src/core/ |
SkCordic.cpp | 204 for (float angle = -720; angle < 720; angle += 30) { 205 float radian = angle * 3.1415925358f / 180.0f; 216 SkDebugf("sin error : angle = %g ; sin = %g ; cordic = %g\n", angle, sine, sine2); 219 SkDebugf("cos error : angle = %g ; cos = %g ; cordic = %g\n", angle, cosine, cosine2); 226 SkDebugf("tan error : angle = %g ; tan = %g ; cordic = %g\n", angle, _tan, tan2) [all...] |
/external/skia/src/core/ |
SkCordic.cpp | 204 for (float angle = -720; angle < 720; angle += 30) { 205 float radian = angle * 3.1415925358f / 180.0f; 216 SkDebugf("sin error : angle = %g ; sin = %g ; cordic = %g\n", angle, sine, sine2); 219 SkDebugf("cos error : angle = %g ; cos = %g ; cordic = %g\n", angle, cosine, cosine2); 226 SkDebugf("tan error : angle = %g ; tan = %g ; cordic = %g\n", angle, _tan, tan2) [all...] |
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
NavCalculator.java | 286 * a distance and an angle. 294 * given offset at given distance and angle. 302 double angle; local 304 angle = heading; 306 angle = 180 - heading; 308 angle = heading - 180; 310 angle = 360 - heading; 317 angle = Math.toRadians(angle); 320 double dlat = distance * Math.cos(angle); 562 int angle = computeAngle(p1, p2); local [all...] |
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/ |
PolarClockWallpaper.java | 495 float angle; local 501 angle = (float) (millis % 60000) / 60000.0f; 502 //Log.d("PolarClock", "millis=" + millis + ", angle=" + angle); 503 paint.setColor(mPalette.getSecondColor(angle)); 509 c.drawArc(rect, 0.0f, angle * 360.0f, false, paint); 516 angle = ((calendar.minute * 60.0f + calendar.second) % 3600) / 3600.0f; 517 paint.setColor(mPalette.getMinuteColor(angle)); 523 c.drawArc(rect, 0.0f, angle * 360.0f, false, paint); 529 angle = ((calendar.hour * 60.0f + calendar.minute) % 1440) / 1440.0f [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
mobile_setup_portal.js | 178 var oArc = Math.PI * 2 * (1 / segmentCount - oGap); // Angle of outer arcs 179 var iArc = Math.PI * 2 * (1 / segmentCount - iGap); // Angle of inner arcs 184 var angle = - Math.PI * 2 * i / segmentCount; 188 angle - oArc / 2, angle + oArc / 2, false); 190 angle + iArc / 2, angle - iArc / 2, true);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGAnimatedAngle.cpp | 39 SVGAngle angle; local 40 SVGMarkerOrientType orientType = SVGPropertyTraits<SVGMarkerOrientType>::fromString(string, angle); 44 animatedPair.first = angle; 102 // Animating from an angle value to eg. 'auto' - this disabled additive as 'auto' is a keyword.. 126 // If the enumeration value is not angle or auto, its unknown. 133 // Regular from angle to angle animation, with all features like additive etc.
|
/packages/apps/InCallUI/src/com/android/incallui/ |
AccelerometerListener.java | 124 // compute the vertical angle 125 double angle = Math.atan2(xy, z); local 127 angle = angle * 180.0 / Math.PI; 128 final int orientation = (angle > VERTICAL_ANGLE ? ORIENTATION_VERTICAL : ORIENTATION_HORIZONTAL); 129 if (VDEBUG) Log.d(TAG, "angle: " + angle + " orientation: " + orientation);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
ZoomControlWheel.java | 95 double angle = Math.atan2(dy, dx); local 96 if (angle < 0) angle += (2 * Math.PI); 97 mSliderRadians = getSliderDrawAngle(angle); 123 // Rotate the wheel with the angle when the wheel is rotating or 181 public void rotate(double angle) { 182 mRotateAngle = angle;
|
/packages/services/Telephony/src/com/android/phone/ |
AccelerometerListener.java | 124 // compute the vertical angle 125 double angle = Math.atan2(xy, z); local 127 angle = angle * 180.0 / Math.PI; 128 int orientation = (angle > VERTICAL_ANGLE ? ORIENTATION_VERTICAL : ORIENTATION_HORIZONTAL); 129 if (VDEBUG) Log.d(TAG, "angle: " + angle + " orientation: " + orientation);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
UVProjectionGenerator.java | 128 float angle = v.angleBetween(uBase);// result between [0; PI] local 129 if (v.x < 0) {// the angle should be greater than PI, we're on the other part of the image then 130 angle = FastMath.TWO_PI - angle; 132 uvCoordinates[j] = angle / FastMath.TWO_PI; 187 float angle = v.angleBetween(uBase);// result between [0; PI] local 188 if (v.x < 0) {// the angle should be greater than PI, we're on the other part of the image then 189 angle = FastMath.TWO_PI - angle; 191 uvCoordinates[j] = angle / FastMath.TWO_PI [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/effect/ |
Particle.java | 76 * Particle rotation angle (in radians). 78 public float angle; field in class:Particle 81 * Particle rotation angle speed (in radians).
|
/external/nist-sip/java/gov/nist/javax/sip/header/ims/ |
PAssociatedURIHeader.java | 49 * name-addr = [display-name] angle-addr 50 * angle-addr = [CFWS] "<" addr-spec ">" [CFWS] / obs-angle-addr
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterTinyPlanetRepresentation.java | 25 private static final String SERIAL_ANGLE = "Angle"; 61 public void setAngle(float angle) { 62 mAngle = angle;
|
/cts/apps/CtsVerifier/lib/colorchecker/ |
imagetesthandler.cpp | 77 void ImageTestHandler::drawLine(int angle, int radius, const Vec3i &color) { 88 float angleRad = static_cast<float>(angle) * M_PI / 180.0; 90 //ALOGV("draw line for (%d, %d)", angle, radius); 94 assert(angle != 0);
|
/development/samples/ApiDemos/res/drawable/ |
scrollbar_vertical_thumb.xml | 19 android:angle="0"/>
|