Home
last modified time | relevance | path

Searched refs:mTextureView (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTextureViewActivity.java42 private TextureView mTextureView; field in TextureViewActivity
52 mTextureView = new TextureView(this); in onCreate()
53 mTextureView.setSurfaceTextureListener(this); in onCreate()
54 mTextureView.setOnClickListener(new View.OnClickListener() { in onCreate()
57 Bitmap b = mTextureView.getBitmap(800, 800); in onCreate()
83 mContent.removeView(mTextureView); in onCreate()
85 mContent.addView(mTextureView); in onCreate()
91 mContent.addView(mTextureView, new FrameLayout.LayoutParams( in onCreate()
106 mTextureView.setLayoutParams(new FrameLayout.LayoutParams( in onSurfaceTextureAvailable()
DCanvasTextureViewActivity.java32 private TextureView mTextureView; field in CanvasTextureViewActivity
41 mTextureView = new TextureView(this); in onCreate()
42 mTextureView.setSurfaceTextureListener(this); in onCreate()
43 mTextureView.setOpaque(false); in onCreate()
45 content.addView(mTextureView, new FrameLayout.LayoutParams(500, 500, Gravity.CENTER)); in onCreate()
51 mThread = new RenderingThread(mTextureView); in onSurfaceTextureAvailable()
DGetBitmapActivity.java38 private TextureView mTextureView; field in GetBitmapActivity
46 mTextureView = new TextureView(this); in onCreate()
47 mTextureView.setSurfaceTextureListener(this); in onCreate()
54 Bitmap b = mTextureView.getBitmap(); in onCreate()
73 content.addView(mTextureView, new FrameLayout.LayoutParams(500, 400, Gravity.CENTER)); in onCreate()
DGLTextureViewActivity.java57 private TextureView mTextureView; field in GLTextureViewActivity
63 mTextureView = new TextureView(this); in onCreate()
64 mTextureView.setSurfaceTextureListener(this); in onCreate()
65 mTextureView.setOnClickListener(new View.OnClickListener() { in onCreate()
68 Bitmap b = mTextureView.getBitmap(800, 800); in onCreate()
86 setContentView(mTextureView, new FrameLayout.LayoutParams( in onCreate()
96 mTextureView.setCameraDistance(5000); in onSurfaceTextureAvailable()
98 ObjectAnimator animator = ObjectAnimator.ofFloat(mTextureView, "rotationY", 0.0f, 360.0f); in onSurfaceTextureAvailable()
105 mTextureView.invalidate(); in onSurfaceTextureAvailable()