Code example for ZoomControls

Methods: setVisibility

0
		} 
	} 
 
	private void onViewChanged(float dscale)
	{ 
		updateChangeMatrix(dscale);
		manageControls(); 
		requestLayout();
		scheduleControlTimeout(); 
	} 
 
	private void computeBaseMatrix() 
	{ 
		Drawable d = imageView.getDrawable();
		baseMatrix.reset();
 
		if (d != null) {
			// The base matrix is the matrix that displays the entire image bitmap. 
			// It orients the image when orientation is set and scales in X and Y independently,  
			// so that src matches dst exactly. 
			// This may change the aspect ratio of the src.