HomeSort by relevance Sort by last modified time
    Searched refs:mSurfaceView (Results 1 - 25 of 48) sorted by null

1 2

  /cts/tests/camera/src/android/hardware/cts/
CameraCtsActivity.java 27 private SurfaceView mSurfaceView;
36 mSurfaceView = (SurfaceView)findViewById(R.id.surface_view);
37 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams();
40 mSurfaceView.setLayoutParams(lp);
41 mSurfaceView.getHolder().setFixedSize(LAYOUT_WIDTH, LAYOUT_HEIGHT);
42 mSurfaceView.getHolder().setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
46 return mSurfaceView;
  /development/samples/ApiDemos/src/com/example/android/apis/app/
SecureSurfaceViewActivity.java 54 private GLSurfaceView mSurfaceView;
74 mSurfaceView = (GLSurfaceView)findViewById(R.id.surface_view);
75 mSurfaceView.setRenderer(new CubeRenderer(false));
81 mSurfaceView.setSecure(true);
90 mSurfaceView.onResume();
99 mSurfaceView.onPause();
PresentationWithMediaRouterActivity.java 72 private GLSurfaceView mSurfaceView;
95 mSurfaceView = (GLSurfaceView)findViewById(R.id.surface_view);
96 mSurfaceView.setRenderer(new CubeRenderer(false));
197 mSurfaceView.setVisibility(View.INVISIBLE);
198 mSurfaceView.onPause();
208 mSurfaceView.setVisibility(View.VISIBLE);
210 mSurfaceView.onPause();
212 mSurfaceView.onResume();
262 private GLSurfaceView mSurfaceView;
281 mSurfaceView = (GLSurfaceView)findViewById(R.id.surface_view)
    [all...]
  /platform_testing/tests/androidbvt/src/com/android/androidbvt/app/
MediaPlaybackTestApp.java 28 private SurfaceView mSurfaceView;
34 mSurfaceView = (SurfaceView)findViewById(R.id.surface_view);
38 return mSurfaceView.getHolder();
  /cts/tests/camera/src/android/hardware/camera2/cts/
Camera2MultiViewCtsActivity.java 31 private SurfaceView[] mSurfaceView = new SurfaceView[2];
39 mSurfaceView[0] = (SurfaceView) findViewById(R.id.surface_view_1);
40 mSurfaceView[1] = (SurfaceView) findViewById(R.id.surface_view_2);
57 return mSurfaceView[index];
Camera2SurfaceViewCtsActivity.java 33 private SurfaceView mSurfaceView;
46 mSurfaceView = (SurfaceView) findViewById(R.id.surface_view);
47 mSurfaceView.getHolder().addCallback(this);
51 return mSurfaceView;
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
MovingSurfaceViewActivity.java 33 SurfaceView mSurfaceView;
48 mSurfaceView.setScaleX(mScaled ? 1.6f : 1f);
49 mSurfaceView.setScaleY(mScaled ? 0.8f : 1f);
85 mSurfaceView = new MySurfaceView(this);
86 mSurfaceView.getHolder().addCallback(this);
91 content.addView(mSurfaceView, new FrameLayout.LayoutParams(
93 mAnimator = ObjectAnimator.ofFloat(mSurfaceView, "myTranslationY",
GetBitmapSurfaceViewActivity.java 39 private SurfaceView mSurfaceView;
47 mSurfaceView = new SurfaceView(this);
48 mSurfaceView.getHolder().addCallback(this);
54 mSurfaceView.getWidth(), mSurfaceView.getHeight(),
56 PixelCopy.request(mSurfaceView, b,
71 }, mSurfaceView.getHandler());
74 content.addView(mSurfaceView, new FrameLayout.LayoutParams(500, 400, Gravity.CENTER));
HardwareCanvasSurfaceViewActivity.java 40 private SurfaceView mSurfaceView;
49 mSurfaceView = new SurfaceView(this);
50 mSurfaceView.getHolder().addCallback(this);
56 mSurfaceView.getWidth(), mSurfaceView.getHeight(),
58 PixelCopy.request(mSurfaceView, b,
73 }, mSurfaceView.getHandler());
80 layout.addView(mSurfaceView, LinearLayout.LayoutParams.MATCH_PARENT,
  /cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
MediaRecorderCameraActivity.java 49 private SurfaceView mSurfaceView;
72 mSurfaceView = (SurfaceView)this.findViewById(R.id.surface_view);
73 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams();
76 mSurfaceView.setLayoutParams(lp);
78 SurfaceHolder holder = mSurfaceView.getHolder();
124 mMediaRecorder.setPreviewDisplay(mSurfaceView.getHolder().getSurface());
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
MediaFrameworkTest.java 34 private static SurfaceView mSurfaceView;
39 return mSurfaceView;
47 mSurfaceView = (SurfaceView)findViewById(R.id.surface_view);
48 mSurfaceView.getHolder().addCallback(this);
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
Camera2SurfaceViewActivity.java 36 private SurfaceView mSurfaceView;
46 mSurfaceView = (SurfaceView) findViewById(R.id.surface_view);
47 mSurfaceView.getHolder().addCallback(this);
54 return mSurfaceView;
MediaFrameworkTest.java 55 public static SurfaceView mSurfaceView;
79 mSurfaceView = (SurfaceView)findViewById(R.id.surface_view);
81 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams();
82 mSurfaceHolder = mSurfaceView.getHolder();
  /frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DemoPresentation.java 43 private GLSurfaceView mSurfaceView;
66 mSurfaceView = (GLSurfaceView)findViewById(R.id.surface_view);
67 mSurfaceView.setRenderer(mRenderer);
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
SurfaceRenderFilter.java 50 private FilterSurfaceView mSurfaceView;
85 if (mSurfaceView == null) {
120 MutableFrameFormat screenFormat = ImageFormat.create(mSurfaceView.getWidth(),
121 mSurfaceView.getHeight(),
133 mSurfaceView.unbind();
134 mSurfaceView.bindToListener(this, context.getGLEnvironment());
148 GLEnvironment glEnv = mSurfaceView.getGLEnv();
178 glEnv.activateSurfaceWithId(mSurfaceView.getSurfaceId());
198 mSurfaceView.unbind();
  /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
SurfaceAndTextureViews.java 42 SimpleSurfaceView mSurfaceView;
59 mSurfaceView = new SimpleSurfaceView(this);
60 mSurfaceView.setId(1);
61 mSurfaceView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE));
62 container.addView(mSurfaceView);
82 mSurfaceView.setLayoutParams(new LayoutParams(SMALL_SIZE * 2, SMALL_SIZE));
85 mSurfaceView.mColor = SimpleSurfaceView.LARGE_COLOR;
89 mSurfaceView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE));
92 mSurfaceView.mColor = SimpleSurfaceView.SMALL_COLOR;
  /frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
CameraTooActivity.java 72 SurfaceView mSurfaceView;
137 mSurfaceView = (SurfaceView) layout.findViewById(R.id.mainSurfaceView);
138 mSurfaceView.getHolder().addCallback(mSurfaceHolderCallback);
139 setContentView(mSurfaceView);
153 mSurfaceView.getHolder().setFixedSize(/*width*/0, /*height*/0);
262 mSurfaceView.getWidth() + 'x' + mSurfaceView.getHeight());
268 SurfaceHolder surfaceHolder = mSurfaceView.getHolder();
316 mSurfaceView.getHolder().getSurface(), mCaptureBuffer.getSurface());
347 SurfaceHolder holder = mSurfaceView.getHolder()
    [all...]
  /developers/build/prebuilts/gradle/ScreenCapture/Application/src/main/java/com/example/android/screencapture/
ScreenCaptureFragment.java 62 private SurfaceView mSurfaceView;
81 mSurfaceView = (SurfaceView) view.findViewById(R.id.surface);
82 mSurface = mSurfaceView.getHolder().getSurface();
184 mSurfaceView.getWidth() + "x" + mSurfaceView.getHeight() +
187 mSurfaceView.getWidth(), mSurfaceView.getHeight(), mScreenDensity,
  /developers/samples/android/media/ScreenCapture/Application/src/main/java/com/example/android/screencapture/
ScreenCaptureFragment.java 62 private SurfaceView mSurfaceView;
81 mSurfaceView = (SurfaceView) view.findViewById(R.id.surface);
82 mSurface = mSurfaceView.getHolder().getSurface();
184 mSurfaceView.getWidth() + "x" + mSurfaceView.getHeight() +
187 mSurfaceView.getWidth(), mSurfaceView.getHeight(), mScreenDensity,
  /development/samples/browseable/ScreenCapture/src/com.example.android.screencapture/
ScreenCaptureFragment.java 62 private SurfaceView mSurfaceView;
81 mSurfaceView = (SurfaceView) view.findViewById(R.id.surface);
82 mSurface = mSurfaceView.getHolder().getSurface();
184 mSurfaceView.getWidth() + "x" + mSurfaceView.getHeight() +
187 mSurfaceView.getWidth(), mSurfaceView.getHeight(), mScreenDensity,
  /cts/tests/tests/view/src/android/view/cts/
SurfaceViewCtsActivity.java 30 private MockSurfaceView mSurfaceView;
37 mSurfaceView = new MockSurfaceView(this);
38 setContentView(mSurfaceView);
42 return mSurfaceView;
  /frameworks/base/media/java/android/media/tv/
TvView.java 83 private SurfaceView mSurfaceView;
231 if (mSurfaceView != null) {
234 mSurfaceView.setZOrderOnTop(false);
235 mSurfaceView.setZOrderMediaOverlay(isMediaOverlay);
260 if (mSurfaceView != null) {
261 mSurfaceView.setZOrderMediaOverlay(false);
262 mSurfaceView.setZOrderOnTop(onTop);
706 mSurfaceView.layout(mSurfaceViewLeft, mSurfaceViewTop, mSurfaceViewRight,
709 mSurfaceView.layout(0, 0, right - left, bottom - top);
715 mSurfaceView.measure(widthMeasureSpec, heightMeasureSpec)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
PlayVideoActivity.java 66 private SurfaceView mSurfaceView;
81 mSurfaceView = (SurfaceView) findViewById(R.id.surface);
83 mHolder = mSurfaceView.getHolder();
193 LayoutParams lp = mSurfaceView.getLayoutParams();
202 mSurfaceView.setLayoutParams(lp);
  /development/samples/ApiDemos/src/com/example/android/apis/media/projection/
MediaProjectionDemo.java 66 private SurfaceView mSurfaceView;
78 mSurfaceView = (SurfaceView) findViewById(R.id.surface);
79 mSurface = mSurfaceView.getHolder().getSurface();
168 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams();
179 mSurfaceView.setLayoutParams(lp);
  /external/replicaisland/src/com/replica/replicaisland/
Game.java 37 private GLSurfaceView mSurfaceView;
285 mSurfaceView.flushTextures(BaseObject.sSystemRegistry.shortTermTextureLibrary);
287 mSurfaceView.flushBuffers(BaseObject.sSystemRegistry.bufferLibrary);
332 mSurfaceView.loadTextures(BaseObject.sSystemRegistry.longTermTextureLibrary);
333 mSurfaceView.loadTextures(BaseObject.sSystemRegistry.shortTermTextureLibrary);
334 mSurfaceView.loadBuffers(BaseObject.sSystemRegistry.bufferLibrary);
484 mSurfaceView = view;
505 mSurfaceView.loadTextures(BaseObject.sSystemRegistry.longTermTextureLibrary);
506 mSurfaceView.loadTextures(BaseObject.sSystemRegistry.shortTermTextureLibrary);
507 mSurfaceView.loadBuffers(BaseObject.sSystemRegistry.bufferLibrary)
    [all...]

Completed in 985 milliseconds

1 2