Best code examples for ImageView getImageMatrix method (android.widget.ImageView.getImageMatrix)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for ImageView getImageMatrix method.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

ImageView getImageMatrix examples from Open Source projects
This code example shows how to use the following methods: getImageMatrix, getHeight, getWidth
74:	Matrix m = v.getImageMatrix(); 
75:	m.setRotate(180, v.getWidth() / 2, v.getHeight() / 2); 
Full Snippet Info
This code example shows how to use the following methods: getImageMatrix, getLeft, getTop
190:	mPreviewImageView.getImageMatrix().mapRect(mTmpScaleRect); 
195:	canvas.drawBitmap(mHolographicOutline, mPreviewImageView.getLeft(), 
196:	mPreviewImageView.getTop(), mPaint); 
Full Snippet Info
Related ImageView getImageMatrix Questions & Answers:
Displays an arbitrary image, such as an icon. The ImageView class can load images from various sources (such as resources or content providers), takes care of computing its measurement from the image so that it can be used in any layout manager, and pr...
getImageMatrix Method Overview
Return the view's optional matrix.
See Also
  • getDrawable
    Return the view's drawable, or null if no drawable has been assigned.
  • setAdjustViewBounds
    Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable.
  • setAlpha
    This method was deprecated in API level 16. use #setImageAlpha(int) instead
  • setImageURI
    Sets the content of this ImageView to the specified Uri.
  • setMaxHeight
    An optional argument to supply a maximum height for this view.
  • setMaxWidth
    An optional argument to supply a maximum width for this view.
  • setScaleType
    Controls how the image should be resized or moved to match the size of this ImageView.