Home
last modified time | relevance | path

Searched refs:mCurrentAngle (Results 1 – 4 of 4) sorted by relevance

/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DVUMeter.java38 float mCurrentAngle; field in VUMeter
63 mCurrentAngle = 0; in init()
82 if (angle > mCurrentAngle) in onDraw()
83 mCurrentAngle = angle; in onDraw()
85 mCurrentAngle = Math.max(angle, mCurrentAngle - DROPOFF_STEP); in onDraw()
87 mCurrentAngle = Math.min(maxAngle, mCurrentAngle); in onDraw()
94 float sin = (float) Math.sin(mCurrentAngle); in onDraw()
95 float cos = (float) Math.cos(mCurrentAngle); in onDraw()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/
DAnimationParticle.java65 private float mCurrentAngle; // 0 is to the right, in radians field in AnimationParticle
86 mCurrentAngle = (float) index / totalParticles * 2 * (float) Math.PI; in AnimationParticle()
143 mCurrentAngle += dtSec * mRotationSpeed; in updateDot()
184 mCurrentAngle += dtSec * mRotationSpeed; in updateRing()
222 mBounds.exactCenterX() + w * (float) Math.cos(mCurrentAngle), in drawDot()
223 mBounds.exactCenterY() + h * (float) Math.sin(mCurrentAngle), in drawDot()
233 path.arcTo(arc, (float) Math.toDegrees(mCurrentAngle), mSweepAngle); in drawRing()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DAnimationParticle.java65 private float mCurrentAngle; // 0 is to the right, in radians field in AnimationParticle
86 mCurrentAngle = (float) index / totalParticles * 2 * (float) Math.PI; in AnimationParticle()
143 mCurrentAngle += dtSec * mRotationSpeed; in updateDot()
184 mCurrentAngle += dtSec * mRotationSpeed; in updateRing()
222 mBounds.exactCenterX() + w * (float) Math.cos(mCurrentAngle), in drawDot()
223 mBounds.exactCenterY() + h * (float) Math.sin(mCurrentAngle), in drawDot()
233 path.arcTo(arc, (float) Math.toDegrees(mCurrentAngle), mSweepAngle); in drawRing()
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
DTinyPlanetFragment.java96 private float mCurrentAngle = 0; field in TinyPlanetFragment
161 mPreviewSizePx, mCurrentZoom, mCurrentAngle);
354 outputSize, mCurrentZoom, mCurrentAngle); in createFinalTinyPlanet()
420 mCurrentAngle = (float) Math.toRadians(angle); in onAngleChange()