HomeSort by relevance Sort by last modified time
    Searched refs:mNeedleSpeed (Results 1 - 2 of 2) sorted by null

  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/
Visualization4RS.java 52 private int mNeedleSpeed = 0;
231 // mNeedleSpeed * 3 is for the movement of the needle, which induces an opposite current
234 int netforce = volt - mNeedleSpeed * 3 - (mNeedlePos + mSpringForceAtOrigin) ;
236 mNeedleSpeed += acceleration;
237 mNeedlePos += mNeedleSpeed;
240 mNeedleSpeed = 0;
246 mNeedleSpeed = 0;
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/
Visualization5RS.java 54 private int mNeedleSpeed = 0;
359 // mNeedleSpeed * 3 is for the movement of the needle, which induces an opposite current
362 int netforce = volt - mNeedleSpeed * 3 - (mNeedlePos + mSpringForceAtOrigin) ;
364 mNeedleSpeed += acceleration;
365 mNeedlePos += mNeedleSpeed;
368 mNeedleSpeed = 0;
374 mNeedleSpeed = 0;

Completed in 37 milliseconds