/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | GlTextureViewActivity.java | 34 private TextureView mTextureView; field in class:GlTextureViewActivity 40 mTextureView = new TextureView(this); 41 mTextureView.setSurfaceTextureListener(this); 42 setContentView(mTextureView, new FrameLayout.LayoutParams( 52 mTextureView.setCameraDistance(5000); 54 ObjectAnimator animator = ObjectAnimator.ofFloat(mTextureView, "rotationY", 0.0f, 360.0f); 61 mTextureView.invalidate();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GetBitmapActivity.java | 38 private TextureView mTextureView; field in class:GetBitmapActivity 46 mTextureView = new TextureView(this); 47 mTextureView.setSurfaceTextureListener(this); 54 Bitmap b = mTextureView.getBitmap(); 73 content.addView(mTextureView, new FrameLayout.LayoutParams(500, 400, Gravity.CENTER));
|
H A D | TextureViewActivity.java | 42 private TextureView mTextureView; field in class:TextureViewActivity 52 mTextureView = new TextureView(this); 53 mTextureView.setSurfaceTextureListener(this); 54 mTextureView.setOnClickListener(new View.OnClickListener() { 57 Bitmap b = mTextureView.getBitmap(800, 800); 83 mContent.removeView(mTextureView); 85 mContent.addView(mTextureView); 91 mContent.addView(mTextureView, new FrameLayout.LayoutParams( 106 mTextureView.setLayoutParams(new FrameLayout.LayoutParams(
|
H A D | CanvasTextureViewActivity.java | 32 private TextureView mTextureView; field in class:CanvasTextureViewActivity 41 mTextureView = new TextureView(this); 42 mTextureView.setSurfaceTextureListener(this); 43 mTextureView.setOpaque(false); 45 content.addView(mTextureView, new FrameLayout.LayoutParams(500, 500, Gravity.CENTER)); 51 mThread = new RenderingThread(mTextureView);
|
H A D | HardwareCanvasTextureViewActivity.java | 33 private TextureView mTextureView; field in class:HardwareCanvasTextureViewActivity 42 mTextureView = new TextureView(this); 43 mTextureView.setSurfaceTextureListener(this); 44 mTextureView.setOpaque(false); 46 content.addView(mTextureView, new FrameLayout.LayoutParams(500, 500, Gravity.CENTER)); 52 mThread = new RenderingThread(mTextureView);
|
H A D | GLTextureViewActivity.java | 56 private TextureView mTextureView; field in class:GLTextureViewActivity 62 mTextureView = new TextureView(this); 63 mTextureView.setSurfaceTextureListener(this); 64 mTextureView.setOnClickListener(new View.OnClickListener() { 67 Bitmap b = mTextureView.getBitmap(800, 800); 85 setContentView(mTextureView, new FrameLayout.LayoutParams( 95 mTextureView.setCameraDistance(5000); 97 ObjectAnimator animator = ObjectAnimator.ofFloat(mTextureView, "rotationY", 0.0f, 360.0f); 104 mTextureView.invalidate();
|
H A D | SingleFrameTextureViewTestActivity.java | 46 private TextureView mTextureView; field in class:SingleFrameTextureViewTestActivity 56 mTextureView = new TextureView(this); 57 mTextureView.setSurfaceTextureListener(this); 60 content.addView(mTextureView,
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | OverlayDisplayWindow.java | 194 private TextureView mTextureView; field in class:OverlayDisplayWindow.JellybeanMr1Impl 252 mTextureView.getLayoutParams().width = mWidth; 253 mTextureView.getLayoutParams().height = mWidth * height / width; 255 mTextureView.getLayoutParams().width = mHeight * width / height; 256 mTextureView.getLayoutParams().height = mHeight; 263 return mTextureView.getBitmap(); 285 mTextureView = (TextureView)mWindowContent.findViewById( 287 mTextureView.setPivotX(0); 288 mTextureView.setPivotY(0); 289 mTextureView [all...] |
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | OverlayDisplayWindow.java | 194 private TextureView mTextureView; field in class:OverlayDisplayWindow.JellybeanMr1Impl 252 mTextureView.getLayoutParams().width = mWidth; 253 mTextureView.getLayoutParams().height = mWidth * height / width; 255 mTextureView.getLayoutParams().width = mHeight * width / height; 256 mTextureView.getLayoutParams().height = mHeight; 263 return mTextureView.getBitmap(); 285 mTextureView = (TextureView)mWindowContent.findViewById( 287 mTextureView.setPivotX(0); 288 mTextureView.setPivotY(0); 289 mTextureView [all...] |
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | SurfaceAndTextureViews.java | 43 SimpleTextureView mTextureView; field in class:SurfaceAndTextureViews 64 mTextureView = new SimpleTextureView(this); 65 mTextureView.setId(2); 66 mTextureView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE)); 67 container.addView(mTextureView); 83 mTextureView.setLayoutParams(new LayoutParams(SMALL_SIZE * 2, SMALL_SIZE)); 86 mTextureView.mColor = SimpleTextureView.LARGE_COLOR; 90 mTextureView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE)); 93 mTextureView.mColor = SimpleTextureView.SMALL_COLOR;
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | OverlayDisplayWindow.java | 80 private TextureView mTextureView; field in class:OverlayDisplayWindow 174 if (mTextureView != null) { 175 pw.println("mTextureView.getScaleX()=" + mTextureView.getScaleX()); 176 pw.println("mTextureView.getScaleY()=" + mTextureView.getScaleY()); 199 mTextureView = (TextureView)mWindowContent.findViewById( 201 mTextureView.setPivotX(0); 202 mTextureView.setPivotY(0); 203 mTextureView [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageView.java | 57 private BlockingGLTextureView mTextureView; field in class:TiledImageView 100 mTextureView = new BlockingGLTextureView(context); 101 mTextureView.setRenderer(new TileRenderer()); 102 view = mTextureView; 120 mTextureView.destroy(); 196 mTextureView.render(); 217 mTextureView.invalidate();
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityView.java | 117 private final TextureView mTextureView; field in class:ActivityView 162 mTextureView = new TextureView(context); 163 mTextureView.setSurfaceTextureListener(new ActivityViewSurfaceTextureListener()); 164 addView(mTextureView); 178 mTextureView.layout(0, 0, r - l, b - t); 289 mTextureView.setSurfaceTextureListener(null);
|