Code example for ZoomButtonsController

Methods: getZoomControls

0
		{ 
	        mHideZoomButtonsRunnable = new Runnable() 
	    	{ 
	    		public void run() 
	    		{ 
	                mZoomButtons.getZoomControls().startAnimation(mFadeOut);
	                mZoomButtons.getZoomControls().setVisibility(View.GONE);
	                mZoomButtonsAnimationHandler.removeCallbacks(this);
	    		} 
	    	}; 
		} 
   	} 
	 
	protected void initialize(Context context)
	{ 
        super.setClickable(true); 
        this.mContext = context;
        mScaleDetector = VersionedGestureDetector.newInstance(context, new ScaleListener());
        matrix.setTranslate(1f, 1f);
        m = new float[9];
        setImageMatrix(matrix);