Exemplo n.º 1
0
 @Override
 public void onZoom(int diff) {
   synchronized (renderLock) {
     nextDistance += .1 * diff;
     nextDistance = QuickMath.max(.1, nextDistance);
   }
   refresh();
 }
Exemplo n.º 2
0
 @Override
 public void onMoveBackward() {
   synchronized (renderLock) {
     nextDistance += .1;
     nextDistance = QuickMath.max(.1, nextDistance);
   }
   refresh();
 }