ImageView getImageMatrix - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for ImageView getImageMatrix method.

This code example shows how to use the following methods: getHeight, getWidth, getImageMatrix
		} 
		 
	} 
	 
	private void invertImage(ImageView v) {
		Matrix m = v.getImageMatrix();
		m.setRotate(180, v.getWidth() / 2, v.getHeight() / 2);
	} 
 
	public void onAnimationRepeat(Animation animation) {
		 
	} 
 
	public void onAnimationStart(Animation animation) {
		 
	} 
	 
	TranslateAnimation makeMove(View view) {
 
		return new TranslateAnimation(Animation.ABSOLUTE, view.getLeft(),
Full Snippet Info
7
CodeRank
Stop searching for code, let great code find you!  Add Codota to your java IDE
This code example shows how to use the following methods: getLeft, getTop, getImageMatrix
 
        // draw any blended overlays 
        if (mHolographicOutline != null && mHolographicAlpha > 0) {
            // Calculate how much to scale the holographic preview 
            mTmpScaleRect.set(0,0,1,1);
            mPreviewImageView.getImageMatrix().mapRect(mTmpScaleRect);
 
            mPaint.setAlpha(mHolographicAlpha);
            canvas.save();
            canvas.scale(mTmpScaleRect.right, mTmpScaleRect.bottom);
            canvas.drawBitmap(mHolographicOutline, mPreviewImageView.getLeft(),
                    mPreviewImageView.getTop(), mPaint);
            canvas.restore();
        } 
    } 
 
    @Override 
    protected boolean onSetAlpha(int alpha) {
        return true; 
    } 
Full Snippet Info
5
CodeRank
Stop searching for code, let great code find you!  Add Codota to your java IDE

Related ImageView getImageMatrix Questions & Answers:

getImageMatrix Method Overview
Return the view's optional matrix.
See Code Examples for other Android ImageView Methods: