OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mNeedlePos
(Results
1 - 2
of
2
) sorted by null
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/
Visualization4RS.java
45
private int
mNeedlePos
= 0;
237
//
mNeedlePos
+ mSpringForceAtOrigin is for the force of the spring pushing the needle back
238
int netforce = volt - mNeedleSpeed * 3 - (
mNeedlePos
+ mSpringForceAtOrigin) ;
241
mNeedlePos
+= mNeedleSpeed;
242
if (
mNeedlePos
< 0) {
243
mNeedlePos
= 0;
245
} else if (
mNeedlePos
> 32767) {
246
if (
mNeedlePos
> 33333) {
249
mNeedlePos
= 32767;
256
mWorldState.mAngle = 131f - (
mNeedlePos
/ 410f); // ~80 degree rang
[
all
...]
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/
Visualization5RS.java
45
private int
mNeedlePos
= 0;
360
//
mNeedlePos
+ mSpringForceAtOrigin is for the force of the spring pushing the needle back
361
int netforce = volt - mNeedleSpeed * 3 - (
mNeedlePos
+ mSpringForceAtOrigin) ;
364
mNeedlePos
+= mNeedleSpeed;
365
if (
mNeedlePos
< 0) {
366
mNeedlePos
= 0;
368
} else if (
mNeedlePos
> 32767) {
369
if (
mNeedlePos
> 33333) {
372
mNeedlePos
= 32767;
379
mWorldState.mAngle = 131f - (
mNeedlePos
/ 410f); // ~80 degree rang
[
all
...]
Completed in 58 milliseconds