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

  /packages/apps/Gallery3D/src/com/cooliris/media/
Shared.java 93 public static float normalizePositive(float angleToRotate) {
94 if (angleToRotate == 0.0f) {
97 float nf = (angleToRotate / 360.0f);
99 if (angleToRotate < 0) {
101 } else if (angleToRotate > 360) {
104 angleToRotate -= (n * 360.0f);
105 if (angleToRotate == 360.0f) {
106 angleToRotate = 0;
108 return angleToRotate;
LocalDataSource.java 327 float angleToRotate = ((Float) data).floatValue();
328 if (angleToRotate == 0) {
333 rotateItem(items.get(j), angleToRotate);
341 private void rotateItem(final MediaItem item, float angleToRotate) {
345 angleToRotate += currentOrientation;
346 float rotation = Shared.normalizePositive(angleToRotate);

Completed in 507 milliseconds