/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 | EncodeVirtualDisplayWithCompositionTest.java | 1202 protected TestPresentationBase mPresentation; field in EncodeVirtualDisplayWithCompositionTest.VirtualDisplayPresentation 1238 mPresentation = doCreatePresentation(); in createPresentation() 1239 mPresentation.show(); in createPresentation() 1249 return mPresentation; in getPresentation() 1256 mPresentation.dismiss(); in dismissPresentation() 1266 mPresentation.doRendering(color); in doRendering() 1424 ((TopWindowPresentation) mPresentation).waitForSurfaceReady(timeoutMs); in waitForSurfaceReady() 1428 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/autofillservice/src/android/autofillservice/cts/ |
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 | 45 private final RemoteViews mPresentation = mock(RemoteViews.class); field in DatasetTest 54 final Dataset.Builder builder = new Dataset.Builder(mPresentation); in testBuilder_setValueNullId() 73 assertThat(new Dataset.Builder(mPresentation).setValue(mId, mValue, (Pattern) null).build()) in testBuilder_setFilteredValueWithNullFilter() 79 assertThat(new Dataset.Builder().setValue(mId, mValue, null, mPresentation).build()) in testBuilder_setFilteredValueWithPresentationNullFilter() 105 builder.setValue(mId, mValue, mPresentation); in testNoMoreInteractionsAfterBuild() 110 () -> builder.setValue(mId, mValue, mPresentation)); in testNoMoreInteractionsAfterBuild() 114 () -> builder.setValue(mId, mValue, mFilter, mPresentation)); in testNoMoreInteractionsAfterBuild()
|
D | CannedFillResponse.java | 77 private final RemoteViews mPresentation; field in CannedFillResponse 106 mPresentation = builder.mPresentation; in CannedFillResponse() 223 mAuthentication, mPresentation); in asFillResponse() local 272 + ", hasPresentation=" + (mPresentation != null) in toString() 307 private RemoteViews mPresentation; field in CannedFillResponse.Builder 388 mPresentation = presentation; in setPresentation() 536 private final RemoteViews mPresentation; field in CannedFillResponse.CannedDataset 544 mPresentation = builder.mPresentation; in CannedDataset() 553 final Dataset.Builder builder = (mPresentation == null) in asDataset() 555 : new Dataset.Builder(mPresentation); in asDataset() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowTest.java | 102 private ProjectedPresentation mPresentation; field in WindowTest 668 assertNotNull(mPresentation); in testSetLocalFocus() 670 PollingCheck.waitFor(() -> (mPresentation.button1 != null) in testSetLocalFocus() 671 && (mPresentation.button2 != null) && (mPresentation.button3 != null) in testSetLocalFocus() 672 && mPresentation.ready); in testSetLocalFocus() 673 assertTrue(mPresentation.button1.isFocusable() && mPresentation.button2.isFocusable() && in testSetLocalFocus() 674 mPresentation.button3.isFocusable()); in testSetLocalFocus() 680 mPresentation.button1.setOnFocusChangeListener(listener); in testSetLocalFocus() 681 mPresentation.button2.setOnFocusChangeListener(listener); in testSetLocalFocus() 682 mPresentation.button3.setOnFocusChangeListener(listener); in testSetLocalFocus() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | CannedAugmentedFillResponse.java | 122 Log.d(TAG, "Setting autofill UI text to:" + dataset.mPresentation); in asFillResponse() 123 rootView.setText(dataset.mPresentation); in asFillResponse() 230 private final String mPresentation; field in CannedAugmentedFillResponse.Dataset 235 mPresentation = builder.mPresentation; in Dataset() 253 return "Dataset: [presentation=" + mPresentation in toString() 262 private final String mPresentation; field in CannedAugmentedFillResponse.Dataset.Builder 266 mPresentation = Preconditions.checkNotNull(presentation); in Builder()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | DisplayTest.java | 87 private TestPresentation mPresentation; field in DisplayTest 354 mPresentation = new TestPresentation( 357 mPresentation.show(); 370 mPresentation.dismiss();
|