Home
last modified time | relevance | path

Searched refs:mSurfaceView (Results 1 – 8 of 8) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
DSecureSurfaceViewActivity.java54 private GLSurfaceView mSurfaceView; field in SecureSurfaceViewActivity
74 mSurfaceView = (GLSurfaceView)findViewById(R.id.surface_view); in onCreate()
75 mSurfaceView.setRenderer(new CubeRenderer(false)); in onCreate()
81 mSurfaceView.setSecure(true); in onCreate()
90 mSurfaceView.onResume(); in onResume()
99 mSurfaceView.onPause(); in onPause()
DPresentationWithMediaRouterActivity.java72 private GLSurfaceView mSurfaceView; field in PresentationWithMediaRouterActivity
95 mSurfaceView = (GLSurfaceView)findViewById(R.id.surface_view); in onCreate()
96 mSurfaceView.setRenderer(new CubeRenderer(false)); in onCreate()
197 mSurfaceView.setVisibility(View.INVISIBLE); in updateContents()
198 mSurfaceView.onPause(); in updateContents()
208 mSurfaceView.setVisibility(View.VISIBLE); in updateContents()
210 mSurfaceView.onPause(); in updateContents()
212 mSurfaceView.onResume(); in updateContents()
262 private GLSurfaceView mSurfaceView; field in PresentationWithMediaRouterActivity.DemoPresentation
281 mSurfaceView = (GLSurfaceView)findViewById(R.id.surface_view); in onCreate()
[all …]
/development/samples/browseable/ScreenCapture/src/com.example.android.screencapture/
DScreenCaptureFragment.java62 private SurfaceView mSurfaceView; field in ScreenCaptureFragment
81 mSurfaceView = (SurfaceView) view.findViewById(R.id.surface); in onViewCreated()
82 mSurface = mSurfaceView.getHolder().getSurface(); in onViewCreated()
184 mSurfaceView.getWidth() + "x" + mSurfaceView.getHeight() + in setUpVirtualDisplay()
187 mSurfaceView.getWidth(), mSurfaceView.getHeight(), mScreenDensity, in setUpVirtualDisplay()
/development/samples/ApiDemos/src/com/example/android/apis/media/projection/
DMediaProjectionDemo.java66 private SurfaceView mSurfaceView; field in MediaProjectionDemo
78 mSurfaceView = (SurfaceView) findViewById(R.id.surface); in onCreate()
79 mSurface = mSurfaceView.getHolder().getSurface(); in onCreate()
176 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); in onItemSelected()
187 mSurfaceView.setLayoutParams(lp); in onItemSelected()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DLocalPlayer.java378 private final SurfaceView mSurfaceView; field in LocalPlayer.SurfaceViewPlayer
386 mSurfaceView = (SurfaceView)((Activity)context).findViewById(R.id.surface_view); in SurfaceViewPlayer()
389 SurfaceHolder holder = mSurfaceView.getHolder(); in SurfaceViewPlayer()
412 SurfaceHolder holder = mSurfaceView.getHolder(); in release()
416 mSurfaceView.setVisibility(View.GONE); in release()
488 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); in updateSize()
501 mSurfaceView.setLayoutParams(lp); in updateSize()
512 mSurfaceView.setVisibility(View.GONE); in updateContents()
515 mSurfaceView.setVisibility(View.VISIBLE); in updateContents()
DOverlayDisplayWindow.java107 private SurfaceView mSurfaceView; field in OverlayDisplayWindow.LegacyImpl
120 mSurfaceView = new SurfaceView(mContext); in show()
145 mWindowManager.addView(mSurfaceView, params); in show()
148 SurfaceHolder holder = mSurfaceView.getHolder(); in show()
159 mWindowManager.removeView(mSurfaceView); in dismiss()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCameraPreview.java164 SurfaceView mSurfaceView; field in Preview
173 mSurfaceView = new SurfaceView(context); in Preview()
174 addView(mSurfaceView); in Preview()
178 mHolder = mSurfaceView.getHolder(); in Preview()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DCameraFragment.java173 SurfaceView mSurfaceView; field in Preview
183 mSurfaceView = new SurfaceView(context); in Preview()
184 addView(mSurfaceView); in Preview()
188 mHolder = mSurfaceView.getHolder(); in Preview()