/* * Sets how fast you get zoom events when the user holds down the * zoom in/out buttons. */ public void setZoomSpeed(long speed) { mZoomIn.setZoomSpeed(speed); mZoomOut.setZoomSpeed(speed); }
public void setOnZoomOutClickListener(OnClickListener listener) { mZoomOut.setOnClickListener(listener); }
public void setOnZoomInClickListener(OnClickListener listener) { mZoomIn.setOnClickListener(listener); }
@Override public boolean hasFocus() { return mZoomIn.hasFocus() || mZoomOut.hasFocus(); }
public void setIsZoomOutEnabled(boolean isEnabled) { mZoomOut.setEnabled(isEnabled); }
public void setIsZoomInEnabled(boolean isEnabled) { mZoomIn.setEnabled(isEnabled); }