/cts/tests/tests/media/codec/src/android/media/codec/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 | 1135 protected TestPresentationBase mPresentation; field in EncodeVirtualDisplayWithCompositionTestImpl.VirtualDisplayPresentation 1171 mPresentation = doCreatePresentation(); in createPresentation() 1172 mPresentation.show(); in createPresentation() 1182 return mPresentation; in getPresentation() 1189 mPresentation.dismiss(); in dismissPresentation() 1199 mPresentation.doRendering(color); in doRendering() 1356 ((TopWindowPresentation) mPresentation).waitForSurfaceReady(timeoutMs); in waitForSurfaceReady() 1360 return ((TopWindowPresentation) mPresentation).getSurface(windowIndex); in getSurface()
|
/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/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/unittests/ |
D | FillResponseTest.java | 59 @Mock private RemoteViews mPresentation; field in FillResponseTest 74 () -> mBuilder.setAuthentication(null, mIntentSender, mPresentation)); in testBuilder_setAuthentication_invalid() 78 mPresentation)); in testBuilder_setAuthentication_invalid() 82 mPresentation)); in testBuilder_setAuthentication_invalid() 85 () -> mBuilder.setAuthentication(mIds, null, mPresentation)); in testBuilder_setAuthentication_invalid() 94 new FillResponse.Builder().setAuthentication(mIds, mIntentSender, mPresentation); in testBuilder_setAuthentication_valid() 101 mIntentSender, mPresentation)); in testBuilder_setAuthentication_illegalState() 104 mIntentSender, mPresentation)); in testBuilder_setAuthentication_illegalState() 116 new FillResponse.Builder().setAuthentication(mIds, mIntentSender, mPresentation); in testBuilder_setHeaderOrFooterAfterAuthentication() 130 new FillResponse.Builder().setAuthentication(mIds, mIntentSender, mPresentation); in testBuilder_setUserDataAfterAuthentication() [all …]
|
D | DatasetTest.java | 71 private final RemoteViews mPresentation = mock(RemoteViews.class); field in DatasetTest 91 assertThat(new Dataset.Builder(mPresentation)).isNotNull(); in testBuilder_validPresentations() 97 final Dataset.Builder builder = new Dataset.Builder(mPresentation); in testBuilder_setNullInlinePresentation() 108 final Dataset.Builder builder = new Dataset.Builder(mPresentation); in testBuilder_setValueNullId() 136 mPresentation, null)); in testBuilder_setValueWithBothPresentation_nullInlinePresentation() 148 assertThat(new Dataset.Builder(mPresentation).setValue(mId, mValue, (Pattern) null).build()) in testBuilder_setFilteredValueWithNullFilter() 154 assertThat(new Dataset.Builder().setValue(mId, mValue, null, mPresentation).build()) in testBuilder_setFilteredValueWithPresentation_nullFilter() 182 mPresentation, null)); in testBuilder_setFilteredValueWithBothPresentation_nullInlinePresentation() 240 new Presentations.Builder().setMenuPresentation(mPresentation).build(); in testField() 263 .setMenuPresentation(mPresentation) in testPresentations() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | WindowTest.java | 111 private ProjectedPresentation mPresentation; field in WindowTest 770 assertNotNull(mPresentation); in testSetLocalFocus() 772 PollingCheck.waitFor(() -> (mPresentation.button1 != null) in testSetLocalFocus() 773 && (mPresentation.button2 != null) && (mPresentation.button3 != null) in testSetLocalFocus() 774 && mPresentation.ready); in testSetLocalFocus() 775 assertTrue(mPresentation.button1.isFocusable() && mPresentation.button2.isFocusable() && in testSetLocalFocus() 776 mPresentation.button3.isFocusable()); in testSetLocalFocus() 782 mPresentation.button1.setOnFocusChangeListener(listener); in testSetLocalFocus() 783 mPresentation.button2.setOnFocusChangeListener(listener); in testSetLocalFocus() 784 mPresentation.button3.setOnFocusChangeListener(listener); in testSetLocalFocus() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | CannedFillResponse.java | 83 private final RemoteViews mPresentation; field in CannedFillResponse 122 mPresentation = builder.mPresentation; in CannedFillResponse() 303 mAuthentication, mPresentation, mInlinePresentation); 365 + ", hasPresentation=" + (mPresentation != null) 402 private RemoteViews mPresentation; 521 mPresentation = presentation; 537 mPresentation = createPresentation(message); 723 private final RemoteViews mPresentation; 737 mPresentation = builder.mPresentation; 760 if (mPresentation != null) { [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 | 152 private TestPresentation mPresentation; field in DisplayTest 990 mPresentation = new TestPresentation( 993 mPresentation.show(); 1002 handler.post(() -> mPresentation.dismiss());
|