/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | GlTextureViewActivity.java | 35 private TextureView mTextureView; field in GlTextureViewActivity 41 mTextureView = new TextureView(this); in onCreate() 42 mTextureView.setSurfaceTextureListener(this); in onCreate() 43 setContentView(mTextureView, new FrameLayout.LayoutParams( in onCreate() 53 DisplayMetrics metrics = mTextureView.getContext().getResources().getDisplayMetrics(); in onSurfaceTextureAvailable() 54 int distance = Math.max(mTextureView.getWidth(), mTextureView.getHeight()); in onSurfaceTextureAvailable() 55 mTextureView.setCameraDistance(distance * metrics.density); in onSurfaceTextureAvailable() 57 ObjectAnimator animator = ObjectAnimator.ofFloat(mTextureView, "rotationY", 0.0f, 360.0f); in onSurfaceTextureAvailable() 64 mTextureView.invalidate(); in onSurfaceTextureAvailable()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | TextureViewActivity.java | 42 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()
|
D | CanvasTextureViewActivity.java | 32 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()
|
D | HardwareCanvasTextureViewActivity.java | 33 private TextureView mTextureView; field in HardwareCanvasTextureViewActivity 42 mTextureView = new TextureView(this); in onCreate() 43 mTextureView.setSurfaceTextureListener(this); in onCreate() 44 mTextureView.setOpaque(false); in onCreate() 46 content.addView(mTextureView, new FrameLayout.LayoutParams(500, 500, Gravity.CENTER)); in onCreate() 52 mThread = new RenderingThread(mTextureView); in onSurfaceTextureAvailable()
|
D | GetBitmapActivity.java | 38 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()
|
D | GLTextureViewActivity.java | 56 private TextureView mTextureView; field in GLTextureViewActivity 62 mTextureView = new TextureView(this); in onCreate() 63 mTextureView.setSurfaceTextureListener(this); in onCreate() 64 mTextureView.setOnClickListener(new View.OnClickListener() { in onCreate() 67 Bitmap b = mTextureView.getBitmap(800, 800); in onCreate() 85 setContentView(mTextureView, new FrameLayout.LayoutParams( in onCreate() 95 mTextureView.setCameraDistance(5000); in onSurfaceTextureAvailable() 97 ObjectAnimator animator = ObjectAnimator.ofFloat(mTextureView, "rotationY", 0.0f, 360.0f); in onSurfaceTextureAvailable() 104 mTextureView.invalidate(); in onSurfaceTextureAvailable()
|
D | SingleFrameTextureViewTestActivity.java | 46 private TextureView mTextureView; field in SingleFrameTextureViewTestActivity 56 mTextureView = new TextureView(this); in onCreate() 57 mTextureView.setSurfaceTextureListener(this); in onCreate() 60 content.addView(mTextureView, in onCreate()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | SurfaceAndTextureViews.java | 43 SimpleTextureView mTextureView; field in SurfaceAndTextureViews 64 mTextureView = new SimpleTextureView(this); in onCreate() 65 mTextureView.setId(2); in onCreate() 66 mTextureView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE)); in onCreate() 67 container.addView(mTextureView); in onCreate() 83 … mTextureView.setLayoutParams(new LayoutParams(SMALL_SIZE * 2, SMALL_SIZE)); in onCreate() 86 mTextureView.mColor = SimpleTextureView.LARGE_COLOR; in onCreate() 90 mTextureView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE)); in onCreate() 93 mTextureView.mColor = SimpleTextureView.SMALL_COLOR; in onCreate()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 81 private TextureView mTextureView; field in OverlayDisplayWindow 177 if (mTextureView != null) { in dump() 178 pw.println("mTextureView.getScaleX()=" + mTextureView.getScaleX()); in dump() 179 pw.println("mTextureView.getScaleY()=" + mTextureView.getScaleY()); in dump() 202 mTextureView = (TextureView)mWindowContent.findViewById( in createWindow() 204 mTextureView.setPivotX(0); in createWindow() 205 mTextureView.setPivotY(0); in createWindow() 206 mTextureView.getLayoutParams().width = mWidth; in createWindow() 207 mTextureView.getLayoutParams().height = mHeight; in createWindow() 208 mTextureView.setOpaque(false); in createWindow() [all …]
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageView.java | 57 private BlockingGLTextureView mTextureView; field in TiledImageView 100 mTextureView = new BlockingGLTextureView(context); in TiledImageView() 101 mTextureView.setRenderer(new TileRenderer()); in TiledImageView() 102 view = mTextureView; in TiledImageView() 120 mTextureView.destroy(); in destroy() 196 mTextureView.render(); in dispatchDraw() 217 mTextureView.invalidate(); in invalidate()
|