/cts/tests/tests/media/src/android/media/cts/ |
D | RemoteVirtualDisplayService.java | 49 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 …]
|
D | EncodeVirtualDisplayWithCompositionTestImpl.java | 1136 protected TestPresentationBase mPresentation; field in EncodeVirtualDisplayWithCompositionTestImpl.VirtualDisplayPresentation 1172 mPresentation = doCreatePresentation(); in createPresentation() 1173 mPresentation.show(); in createPresentation() 1183 return mPresentation; in getPresentation() 1190 mPresentation.dismiss(); in dismissPresentation() 1200 mPresentation.doRendering(color); in doRendering() 1357 ((TopWindowPresentation) mPresentation).waitForSurfaceReady(timeoutMs); in waitForSurfaceReady() 1361 return ((TopWindowPresentation) mPresentation).getSurface(windowIndex); in getSurface()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
D | ProjectionService.java | 87 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() 122 if (mPresentation != null) { in onTouchEvent() 123 mPresentation.injectTouchEvent(event); in onTouchEvent() 136 if (mPresentation != null) { in onKeyEvent() 137 mPresentation.injectKeyEvent(event); in onKeyEvent() [all …]
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | PresentationActivity.java | 34 private Presentation mPresentation; field in PresentationActivity 59 if (mPresentation != null) { in createPresentationWindow() 60 mPresentation.dismiss(); in createPresentationWindow() 62 mPresentation = new Presentation(this, presentationDisplay); in createPresentationWindow() 63 mPresentation.setContentView(view); in createPresentationWindow() 64 mPresentation.setTitle(getPackageName()); in createPresentationWindow() 66 mPresentation.show(); in createPresentationWindow()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
D | FillResponseTest.java | 55 @Mock private RemoteViews mPresentation; field in FillResponseTest 65 () -> mBuilder.setAuthentication(null, mIntentSender, mPresentation)); in testBuilder_setAuthentication_invalid() 69 mPresentation)); in testBuilder_setAuthentication_invalid() 73 mPresentation)); in testBuilder_setAuthentication_invalid() 76 () -> mBuilder.setAuthentication(mIds, null, mPresentation)); in testBuilder_setAuthentication_invalid() 85 new FillResponse.Builder().setAuthentication(mIds, mIntentSender, mPresentation); in testBuilder_setAuthentication_valid() 92 mIntentSender, mPresentation)); in testBuilder_setAuthentication_illegalState() 95 mIntentSender, mPresentation)); in testBuilder_setAuthentication_illegalState() 107 new FillResponse.Builder().setAuthentication(mIds, mIntentSender, mPresentation); in testBuilder_setHeaderOrFooterAfterAuthentication() 121 new FillResponse.Builder().setAuthentication(mIds, mIntentSender, mPresentation); in testBuilder_setUserDataAfterAuthentication() [all …]
|
D | DatasetTest.java | 67 private final RemoteViews mPresentation = mock(RemoteViews.class); field in DatasetTest 82 assertThat(new Dataset.Builder(mPresentation)).isNotNull(); in testBuilder_validPresentations() 88 final Dataset.Builder builder = new Dataset.Builder(mPresentation); in testBuilder_setNullInlinePresentation() 99 final Dataset.Builder builder = new Dataset.Builder(mPresentation); in testBuilder_setValueNullId() 127 mPresentation, null)); in testBuilder_setValueWithBothPresentation_nullInlinePresentation() 139 assertThat(new Dataset.Builder(mPresentation).setValue(mId, mValue, (Pattern) null).build()) in testBuilder_setFilteredValueWithNullFilter() 145 assertThat(new Dataset.Builder().setValue(mId, mValue, null, mPresentation).build()) in testBuilder_setFilteredValueWithPresentation_nullFilter() 173 mPresentation, null)); in testBuilder_setFilteredValueWithBothPresentation_nullInlinePresentation() 297 builder.setValue(mId, mValue, mPresentation); in testNoMoreInteractionsAfterBuild() 304 () -> builder.setValue(mId, mValue, mPresentation)); in testNoMoreInteractionsAfterBuild() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowTest.java | 109 private ProjectedPresentation mPresentation; field in WindowTest 731 assertNotNull(mPresentation); in testSetLocalFocus() 733 PollingCheck.waitFor(() -> (mPresentation.button1 != null) in testSetLocalFocus() 734 && (mPresentation.button2 != null) && (mPresentation.button3 != null) in testSetLocalFocus() 735 && mPresentation.ready); in testSetLocalFocus() 736 assertTrue(mPresentation.button1.isFocusable() && mPresentation.button2.isFocusable() && in testSetLocalFocus() 737 mPresentation.button3.isFocusable()); in testSetLocalFocus() 743 mPresentation.button1.setOnFocusChangeListener(listener); in testSetLocalFocus() 744 mPresentation.button2.setOnFocusChangeListener(listener); in testSetLocalFocus() 745 mPresentation.button3.setOnFocusChangeListener(listener); in testSetLocalFocus() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | CannedFillResponse.java | 80 private final RemoteViews mPresentation; field in CannedFillResponse 112 mPresentation = builder.mPresentation; in CannedFillResponse() 235 mAuthentication, mPresentation, mInlinePresentation); in asFillResponse() local 285 + ", hasPresentation=" + (mPresentation != null) in toString() 322 private RemoteViews mPresentation; field in CannedFillResponse.Builder 406 mPresentation = presentation; in setPresentation() 422 mPresentation = createPresentation(message); in setPresentation() 591 private final RemoteViews mPresentation; field in CannedFillResponse.CannedDataset 603 mPresentation = builder.mPresentation; in CannedDataset() 614 final Dataset.Builder builder = mPresentation != null in asDataset() [all …]
|
D | CannedAugmentedFillResponse.java | 135 Log.d(TAG, "Setting autofill UI text to:" + dataset.mPresentation); in asFillResponse() 136 rootView.setText(dataset.mPresentation); in asFillResponse() 294 private final String mPresentation; field in CannedAugmentedFillResponse.Dataset 301 mPresentation = builder.mPresentation; in Dataset() 328 return "Dataset: [presentation=" + mPresentation in toString() 341 private final String mPresentation; field in CannedAugmentedFillResponse.Dataset.Builder 348 mPresentation = Objects.requireNonNull(presentation); in Builder()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | DisplayTest.java | 125 private TestPresentation mPresentation; field in DisplayTest 854 mPresentation = new TestPresentation( 857 mPresentation.show(); 866 handler.post(() -> mPresentation.dismiss());
|