@Override
 public boolean dispatchTouchEvent(MotionEvent m) {
   if (mPaused) return true;
   if (mZoomButtonsController.isVisible()) {
     scheduleDismissOnScreenControls();
   }
   return super.dispatchTouchEvent(m);
 }
Exemplo n.º 2
0
 void invokeZoomPicker() {
   ZoomButtonsController zoomControls = getZoomControls();
   if (zoomControls != null && !zoomControls.isVisible()) {
     zoomControls.setVisible(true);
   }
 }
Exemplo n.º 3
0
 void dismissZoomPicker() {
   ZoomButtonsController zoomControls = getZoomControls();
   if (zoomControls != null && zoomControls.isVisible()) {
     zoomControls.setVisible(false);
   }
 }
Exemplo n.º 4
0
 public boolean isVisible() {
   return mZoomButtonsController != null && mZoomButtonsController.isVisible();
 }