Code examples for TextureView

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
46:	mTextureView = new TextureView(this); 
47:	mTextureView.setSurfaceTextureListener(this); 
Full Snippet Info
8
CodeRank
41:	mTextureView = new TextureView(this); 
42:	mTextureView.setSurfaceTextureListener(this); 
43:	mTextureView.setOpaque(false); 
Full Snippet Info
7
CodeRank
52:	mTextureView = new TextureView(this); 
53:	mTextureView.setSurfaceTextureListener(this); 
54:	mTextureView.setOnClickListener(new View.OnClickListener() { 
Full Snippet Info
7
CodeRank
35:	widget=new TextureView(cameraView.getContext()); 
36:	widget.setSurfaceTextureListener(this); 
Full Snippet Info
7
CodeRank
63:	mTextureView = new TextureView(this); 
64:	mTextureView.setSurfaceTextureListener(this); 
65:	mTextureView.setOnClickListener(new View.OnClickListener() { 
Full Snippet Info
7
CodeRank
25:	mTextureView = new TextureView(this); 
26:	mTextureView.setSurfaceTextureListener(this); 
Full Snippet Info
6
CodeRank
54:	Bitmap b = mTextureView.getBitmap(); 
Full Snippet Info
6
CodeRank
46:	mTextureView = new TextureView(this); 
47:	mTextureView.setSurfaceTextureListener(this); 
Full Snippet Info
6
CodeRank
57:	Bitmap b = mTextureView.getBitmap(800, 800); 
Full Snippet Info
6
CodeRank
85:	mTextureView.requestLayout(); 
86:	mTextureView.invalidate(); 
-
144:	mTextureView.setKeepScreenOn(true); 
145:	mTextureView.setOnClickListener(mClickListener); 
-
147:	mTextureView.setSurfaceTextureListener(mSurfaceTextureListener); 
Full Snippet Info
5
CodeRank
121:	mDisplayView.invalidate(); 
Full Snippet Info
5
CodeRank
55:	textureView.setLayoutParams(new FrameLayout.LayoutParams(480, 320, Gravity.CENTER)); 
-
58:	textureView.setScaleX(0.5f); 
59:	textureView.setScaleY(0.5f); 
Full Snippet Info
5
CodeRank
25:	textureView = new TextureView(this); 
26:	textureView.setSurfaceTextureListener(this); 
Full Snippet Info
4
CodeRank
49:	if (tv.isAvailable()) 
-
70:	cam.setPreviewTexture(tv.getSurfaceTexture()); 
Full Snippet Info
4
CodeRank
132:	final float a = textureView.getAlpha(); 
133:	textureView.setAlpha(Math.min(VIEW_ALPHA_MAX, a + ALPHA_MOVE)); 
Full Snippet Info
4
CodeRank
104:	mTextureView.invalidate(); 
Full Snippet Info
4
CodeRank
39:	if (surface.isAvailable()) 
Full Snippet Info
4
CodeRank