Home
last modified time | relevance | path

Searched refs:presentation (Results 1 – 17 of 17) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DInlinePresentationTest.java55 InlinePresentation presentation = in testInlinePresentationValues() local
58 assertThat(presentation.isPinned()).isFalse(); in testInlinePresentationValues()
59 assertThat(presentation.getInlinePresentationSpec()).isNotNull(); in testInlinePresentationValues()
60 assertThat(presentation.getSlice()).isNotNull(); in testInlinePresentationValues()
61 assertThat(presentation.getSlice().getItems().size()).isEqualTo(0); in testInlinePresentationValues()
66 InlinePresentation presentation = in testtInlinePresentationParcelizeDeparcelize() local
70 presentation.writeToParcel(p, 0); in testtInlinePresentationParcelizeDeparcelize()
76 assertThat(targetPresentation.isPinned()).isEqualTo(presentation.isPinned()); in testtInlinePresentationParcelizeDeparcelize()
78 presentation.getInlinePresentationSpec()); in testtInlinePresentationParcelizeDeparcelize()
80 presentation.getSlice().getUri()); in testtInlinePresentationParcelizeDeparcelize()
[all …]
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/area/
DExtensionRearDisplayPresentationKeyguardTest.java196 ExtensionWindowAreaPresentation presentation = in testStartRearDisplayPresentation_afterKeyguardLocked() local
198 assertNotNull(presentation); in testStartRearDisplayPresentation_afterKeyguardLocked()
200 presentation.getPresentationContext()); in testStartRearDisplayPresentation_afterKeyguardLocked()
202 presentation.setPresentationView(presentationView)); in testStartRearDisplayPresentation_afterKeyguardLocked()
241 ExtensionWindowAreaPresentation presentation = in testStartRearDisplayPresentation_thenKeyguardLocked() local
243 assertNotNull(presentation); in testStartRearDisplayPresentation_thenKeyguardLocked()
245 presentation.getPresentationContext()); in testStartRearDisplayPresentation_thenKeyguardLocked()
247 presentation.setPresentationView(presentationView)); in testStartRearDisplayPresentation_thenKeyguardLocked()
289 ExtensionWindowAreaPresentation presentation = in testStartRearDisplayPresentation_thenKeyguardLocked_activityFinishes() local
291 assertNotNull(presentation); in testStartRearDisplayPresentation_thenKeyguardLocked_activityFinishes()
[all …]
DExtensionRearDisplayPresentationTest.java262 ExtensionWindowAreaPresentation presentation = in testStartAndEndRearDisplayPresentationSession() local
264 assertNotNull(presentation); in testStartAndEndRearDisplayPresentationSession()
265 assertNotNull(presentation.getWindow()); in testStartAndEndRearDisplayPresentationSession()
267 presentation.getPresentationContext()); in testStartAndEndRearDisplayPresentationSession()
268 mActivity.runOnUiThread(() -> presentation.setPresentationView(presentationView)); in testStartAndEndRearDisplayPresentationSession()
331 ExtensionWindowAreaPresentation presentation = in testStartAndEndRearDisplayPresentationSession_backgroundApp() local
333 assertNotNull(presentation); in testStartAndEndRearDisplayPresentationSession_backgroundApp()
334 assertNotNull(presentation.getWindow()); in testStartAndEndRearDisplayPresentationSession_backgroundApp()
336 presentation.getPresentationContext()); in testStartAndEndRearDisplayPresentationSession_backgroundApp()
337 mActivity.runOnUiThread(() -> presentation.setPresentationView(presentationView)); in testStartAndEndRearDisplayPresentationSession_backgroundApp()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/
DCustomDescriptionTest.java167 final RemoteViews presentation = in testSanitizationBeforeBatchUpdates()
181 .Builder(presentation) in testSanitizationBeforeBatchUpdates()
215 final RemoteViews presentation = in testSanitizationBeforeTransformations()
227 .Builder(presentation) in testSanitizationBeforeTransformations()
255 RemoteViews presentation = newTemplate(R.layout.two_horizontal_text_fields); in validTransformation() local
266 return new CustomDescription.Builder(presentation) in validTransformation()
276 RemoteViews presentation = newTemplate(R.layout.two_horizontal_text_fields); in validTransformationWithOneTemplateUpdate() local
290 return new CustomDescription.Builder(presentation) in validTransformationWithOneTemplateUpdate()
303 RemoteViews presentation = newTemplate(R.layout.two_horizontal_text_fields); in validTransformationWithMultipleTemplateUpdates() local
329 return new CustomDescription.Builder(presentation) in validTransformationWithMultipleTemplateUpdates()
[all …]
DSimpleSaveActivityTest.java1912 final RemoteViews presentation = newTemplate(); in newCustomDescriptionWithUrlSpan() local
1913 presentation.setTextViewText(R.id.custom_text, newDescriptionWithUrlSpan(action)); in newCustomDescriptionWithUrlSpan()
1914 return new CustomDescription.Builder(presentation).build(); in newCustomDescriptionWithUrlSpan()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioPresentationTest.java49 AudioPresentation presentation = (new AudioPresentation.Builder(PRESENTATION_ID) in testGetters() local
59 presentation.writeToParcel(p, 0); in testGetters()
61 presentation = AudioPresentation.CREATOR.createFromParcel(p); in testGetters()
63 assertEquals(PRESENTATION_ID, presentation.getPresentationId()); in testGetters()
64 assertEquals(PROGRAM_ID, presentation.getProgramId()); in testGetters()
65 assertEquals(LABELS, presentation.getLabels()); in testGetters()
66 assertEquals(LOCALE, presentation.getLocale()); in testGetters()
67 assertEquals(MASTERING_INDICATION, presentation.getMasteringIndication()); in testGetters()
68 assertEquals(HAS_AUDIO_DESCRIPTION, presentation.hasAudioDescription()); in testGetters()
69 assertEquals(HAS_SPOKEN_SUBTITLES, presentation.hasSpokenSubtitles()); in testGetters()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DCannedFillResponse.java520 public Builder setPresentation(RemoteViews presentation) {
521 mPresentation = presentation;
792 final RemoteViews presentation = mFieldPresentations.get(id);
793 if (presentation != null) {
794 fieldPresentationsBuilder.setMenuPresentation(presentation);
877 final RemoteViews presentation = mFieldPresentations.get(id);
878 if (presentation != null) {
879 fieldPresentationsBuilder.setMenuPresentation(presentation);
945 public Builder(RemoteViews presentation) {
946 mPresentation = presentation;
[all …]
DCannedAugmentedFillResponse.java347 public Builder(@NonNull String presentation) { in Builder() argument
348 mPresentation = Objects.requireNonNull(presentation); in Builder()
367 @NonNull InlinePresentation presentation) { in setField() argument
373 mFieldPresentationById.put(id, presentation); in setField()
DHelper.java1651 final RemoteViews presentation = new RemoteViews(getContext() in createPresentation() local
1653 presentation.setTextViewText(R.id.text1, message); in createPresentation()
1654 return presentation; in createPresentation()
1993 final RemoteViews presentation = newTemplate(packageName); in newCustomDescriptionBuilder() local
2004 presentation.setOnClickPendingIntent(R.id.link, pendingIntent); in newCustomDescriptionBuilder()
2005 return new CustomDescription.Builder(presentation); in newCustomDescriptionBuilder()
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DCustomDescriptionWithLinkTestCase.java282 final RemoteViews presentation = new RemoteViews(mPackageName, in newTemplate() local
284 return presentation; in newTemplate()
300 final RemoteViews presentation = newTemplate(); in newCustomDescriptionBuilder() local
307 presentation.setOnClickPendingIntent(R.id.link, pendingIntent); in newCustomDescriptionBuilder()
308 return new CustomDescription.Builder(presentation); in newCustomDescriptionBuilder()
DAutoFillServiceTestCase.java585 final RemoteViews presentation = new RemoteViews(getContext()
587 presentation.setTextViewText(R.id.text1, message);
588 return presentation;
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DEncodeVirtualDisplayTest.java569 final TestPresentation[] presentation = new TestPresentation[1]; in showPresentation() local
575 presentation[0] = new TestPresentation(mContext, mDisplay, color); in showPresentation()
577 presentation[0].show(); in showPresentation()
590 if (presentation[0] != null) { in showPresentation()
591 presentation[0].dismiss(); in showPresentation()
592 presentation[0] = null; in showPresentation()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java476 final TestPresentation[] presentation = new TestPresentation[1]; in assertDisplayCanShowPresentation() local
482 presentation[0] = new TestPresentation(mContext, display, in assertDisplayCanShowPresentation()
484 presentation[0].show(); in assertDisplayCanShowPresentation()
492 if (presentation[0] != null) { in assertDisplayCanShowPresentation()
496 presentation[0].dismiss(); in assertDisplayCanShowPresentation()
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DCheckoutActivityTest.java300 final RemoteViews presentation = new RemoteViews(packageName,
322 new CustomDescription.Builder(presentation)
392 final RemoteViews presentation = new RemoteViews(packageName,
401 new CustomDescription.Builder(presentation)
DLoginActivityTest.java2722 RemoteViews presentation = new RemoteViews(mPackageName, R.layout.list_item); in testClickCustomButton() local
2723 presentation.setTextViewText(R.id.text1, "Poke"); in testClickCustomButton()
2725 presentation.setOnClickPendingIntent(R.id.text1, PendingIntent.getActivity( in testClickCustomButton()
2732 .setPresentation(presentation) in testClickCustomButton()
/cts/tests/tests/telecom/src/android/telecom/cts/
DRemoteConnectionTest.java539 int presentation) { in testRemoteConnectionCallbacks_AddressChange()
540 super.onAddressChanged(connection, address, presentation); in testRemoteConnectionCallbacks_AddressChange()
541 callbackInvoker.invoke(connection, address, presentation); in testRemoteConnectionCallbacks_AddressChange()
568 RemoteConnection connection, String callerDisplayName, int presentation) { in testRemoteConnectionCallbacks_CallerDisplayName()
569 super.onCallerDisplayNameChanged(connection, callerDisplayName, presentation); in testRemoteConnectionCallbacks_CallerDisplayName()
570 callbackInvoker.invoke(connection, callerDisplayName, presentation); in testRemoteConnectionCallbacks_CallerDisplayName()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt35787 field public static final String NUMBER_PRESENTATION = "presentation";