PhotoView

public class PhotoView

A zoomable ImageView. See PhotoViewAttacher for most of the details on how the zooming is accomplished

Constructors

Link copied to clipboard
public void PhotoView(Context context)
public void PhotoView(Context context, AttributeSet attr)
public void PhotoView(Context context, AttributeSet attr, int defStyle)
public void PhotoView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)

Properties

Link copied to clipboard
public PhotoViewAttacher attacher

Functions

Link copied to clipboard
public PhotoViewAttacher getAttacher()
Get the current PhotoViewAttacher for this view.
Link copied to clipboard
public void getDisplayMatrix(Matrix matrix)
Link copied to clipboard
public RectF getDisplayRect()
Link copied to clipboard
public Matrix getImageMatrix()
Link copied to clipboard
public float getMaximumScale()
Link copied to clipboard
public float getMediumScale()
Link copied to clipboard
public float getMinimumScale()
Link copied to clipboard
public float getScale()
Link copied to clipboard
public ScaleType getScaleType()
Link copied to clipboard
public void getSuppMatrix(Matrix matrix)
Link copied to clipboard
public boolean isZoomable()
Link copied to clipboard
@Deprecated()
public boolean isZoomEnabled()
Link copied to clipboard
public void setAllowParentInterceptOnEdge(boolean allow)
Link copied to clipboard
public boolean setDisplayMatrix(Matrix finalRectangle)
Link copied to clipboard
public void setImageDrawable(Drawable drawable)
Link copied to clipboard
public void setImageResource(int resId)
Link copied to clipboard
public void setImageURI(Uri uri)
Link copied to clipboard
public void setMaximumScale(float maximumScale)
Link copied to clipboard
public void setMediumScale(float mediumScale)
Link copied to clipboard
public void setMinimumScale(float minimumScale)
Link copied to clipboard
public void setOnClickListener(OnClickListener l)
Link copied to clipboard
public void setOnDoubleTapListener(OnDoubleTapListener onDoubleTapListener)
Link copied to clipboard
public void setOnLongClickListener(OnLongClickListener l)
Link copied to clipboard
public void setOnMatrixChangeListener(OnMatrixChangedListener listener)
Link copied to clipboard
public void setOnOutsidePhotoTapListener(OnOutsidePhotoTapListener listener)
Link copied to clipboard
public void setOnPhotoTapListener(OnPhotoTapListener listener)
Link copied to clipboard
public void setOnScaleChangeListener(OnScaleChangedListener onScaleChangedListener)
Link copied to clipboard
public void setOnSingleFlingListener(OnSingleFlingListener onSingleFlingListener)
Link copied to clipboard
public void setOnViewDragListener(OnViewDragListener listener)
Link copied to clipboard
public void setOnViewTapListener(OnViewTapListener listener)
Link copied to clipboard
public void setRotationBy(float rotationDegree)
Link copied to clipboard
public void setRotationTo(float rotationDegree)
Link copied to clipboard
public void setScale(float scale)
public void setScale(float scale, boolean animate)
public void setScale(float scale, float focalX, float focalY, boolean animate)
Link copied to clipboard
public void setScaleLevels(float minimumScale, float mediumScale, float maximumScale)
Link copied to clipboard
public void setScaleType(ScaleType scaleType)
Link copied to clipboard
public boolean setSuppMatrix(Matrix matrix)
Link copied to clipboard
public void setZoomable(boolean zoomable)
Link copied to clipboard
public void setZoomTransitionDuration(int milliseconds)