Home
last modified time | relevance | path

Searched refs:mPresentation (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/
DMainActivity.java62 private SamplePresentation mPresentation; field in MainActivity
167 if (mPresentation != null && mPresentation.getDisplay() != selectedDisplay) { in updatePresentation()
168 mPresentation.dismiss(); in updatePresentation()
169 mPresentation = null; in updatePresentation()
180 if (mPresentation == null && selectedDisplay != null) { in updatePresentation()
183 mPresentation = new SamplePresentation(this, selectedDisplay); in updatePresentation()
184 mPresentation.setOnDismissListener(mOnDismissListener); in updatePresentation()
189 mPresentation.show(); in updatePresentation()
196 mPresentation = null; in updatePresentation()
236 if (mPresentation != null) { in onStop()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPresentationWithMediaRouterActivity.java71 private DemoPresentation mPresentation; field in PresentationWithMediaRouterActivity
134 if (mPresentation != null) { in onStop()
136 mPresentation.dismiss(); in onStop()
137 mPresentation = null; in onStop()
165 if (mPresentation != null && mPresentation.getDisplay() != presentationDisplay) { in updatePresentation()
168 mPresentation.dismiss(); in updatePresentation()
169 mPresentation = null; in updatePresentation()
173 if (mPresentation == null && presentationDisplay != null) { in updatePresentation()
175 mPresentation = new DemoPresentation(this, presentationDisplay); in updatePresentation()
176 mPresentation.setOnDismissListener(mOnDismissListener); in updatePresentation()
[all …]
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DLocalPlayer.java380 private DemoPresentation mPresentation; field in LocalPlayer.SurfaceViewPlayer
405 if (mPresentation != null) { in release()
407 mPresentation.dismiss(); in release()
408 mPresentation = null; in release()
426 if (mPresentation != null && mPresentation.getDisplay() != presentationDisplay) { in updatePresentation()
429 mPresentation.dismiss(); in updatePresentation()
430 mPresentation = null; in updatePresentation()
434 if (mPresentation == null && presentationDisplay != null) { in updatePresentation()
436 mPresentation = new DemoPresentation(getContext(), presentationDisplay); in updatePresentation()
437 mPresentation.setOnDismissListener(mOnDismissListener); in updatePresentation()
[all …]