HomeSort by relevance Sort by last modified time
    Searched full:yrot (Results 1 - 3 of 3) sorted by null

  /development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/
CubeWallpaper1.java 205 float yrot = (0.5f - mOffset) * 2.0f; local
217 float newx1 = (float)(Math.sin(yrot) * newz1 + Math.cos(yrot) * x1);
218 float newx2 = (float)(Math.sin(yrot) * newz2 + Math.cos(yrot) * x2);
219 newz1 = (float)(Math.cos(yrot) * newz1 - Math.sin(yrot) * x1);
220 newz2 = (float)(Math.cos(yrot) * newz2 - Math.sin(yrot) * x2);
  /development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
CubeWallpaper2.java 247 float yrot = (0.5f - mOffset) * 2.0f; local
248 rotateAndProjectPoints(xrot, yrot);
253 void rotateAndProjectPoints(float xrot, float yrot) {
265 float newx = (float)(Math.sin(yrot) * newz + Math.cos(yrot) * x);
266 newz = (float)(Math.cos(yrot) * newz - Math.sin(yrot) * x);
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/
waveform.rs 136 float yrot = gYRotation;
137 float scale = 0.004165f * (1.0f + 2.f * fabs(sin(radians(yrot))));
147 rsMatrixRotate(&mat1, yrot, 0.f, 0.f, 1.f);

Completed in 47 milliseconds