Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DRemoteVirtualDisplayService.java49 private VirtualDisplayPresentation mPresentation; field in RemoteVirtualDisplayService
89 if (mPresentation != null) { in onDestroy()
90 mPresentation.dismissPresentation(); in onDestroy()
91 mPresentation.destroyVirtualDisplay(); in onDestroy()
92 mPresentation = null; in onDestroy()
98 mPresentation = new VirtualDisplayPresentation(this, surface, w, h); in start()
99 mPresentation.createVirtualDisplay(); in start()
100 mPresentation.createPresentation(); in start()
107 mPresentation.doRendering(color); in render()
117 private TestPresentation mPresentation; field in RemoteVirtualDisplayService.VirtualDisplayPresentation
[all …]
DEncodeVirtualDisplayWithCompositionTest.java1070 protected TestPresentationBase mPresentation; field in EncodeVirtualDisplayWithCompositionTest.VirtualDisplayPresentation
1106 mPresentation = doCreatePresentation(); in createPresentation()
1107 mPresentation.show(); in createPresentation()
1117 return mPresentation; in getPresentation()
1124 mPresentation.dismiss(); in dismissPresentation()
1134 mPresentation.doRendering(color); in doRendering()
1248 ((TopWindowPresentation) mPresentation).waitForSurfaceReady(timeoutMs); in waitForSurfaceReady()
1252 return ((TopWindowPresentation) mPresentation).getSurface(windowIndex); in getSurface()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectionService.java87 mPresentation = createPresentation(viewType); in startRendering()
88 if (mPresentation == null) { in startRendering()
92 mPresentation.show(); in startRendering()
103 if (mPresentation != null) { in stopRendering()
104 mPresentation.dismiss(); in stopRendering()
105 mPresentation = null; in stopRendering()
118 if (mPresentation != null) { in onTouchEvent()
119 mPresentation.injectTouchEvent(event); in onTouchEvent()
132 if (mPresentation != null) { in onKeyEvent()
133 mPresentation.injectKeyEvent(event); in onKeyEvent()
[all …]
/cts/tests/tests/view/src/android/view/cts/
DWindowTest.java79 private ProjectedPresentation mPresentation; field in WindowTest
694 assertNotNull(mPresentation); in testSetLocalFocus()
698 return (mPresentation.button1 != null) && (mPresentation.button2 != null) && in testSetLocalFocus()
699 (mPresentation.button3 != null) && mPresentation.ready; in testSetLocalFocus()
702 assertTrue(mPresentation.button1.isFocusable() && mPresentation.button2.isFocusable() && in testSetLocalFocus()
703 mPresentation.button3.isFocusable()); in testSetLocalFocus()
713 mPresentation.button1.setOnFocusChangeListener(listener); in testSetLocalFocus()
714 mPresentation.button2.setOnFocusChangeListener(listener); in testSetLocalFocus()
715 mPresentation.button3.setOnFocusChangeListener(listener); in testSetLocalFocus()
716 final Window presentationWindow = mPresentation.getWindow(); in testSetLocalFocus()
[all …]
/cts/tests/tests/display/src/android/display/cts/
DDisplayTest.java65 private TestPresentation mPresentation; field in DisplayTest
279 mPresentation = new TestPresentation( in testModeSwitch()
281 mPresentation.show(); in testModeSwitch()
294 mPresentation.dismiss(); in testModeSwitch()