Home
last modified time | relevance | path

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

/cts/tests/autofillservice/src/android/autofillservice/cts/
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 …]
DCustomDescriptionTest.java103 final RemoteViews presentation = in testSanitizationBeforeBatchUpdates()
117 .Builder(presentation) in testSanitizationBeforeBatchUpdates()
151 final RemoteViews presentation = in testSanitizationBeforeTransformations()
163 .Builder(presentation) in testSanitizationBeforeTransformations()
191 RemoteViews presentation = newTemplate(R.layout.two_horizontal_text_fields); in validTransformation() local
202 return new CustomDescription.Builder(presentation) in validTransformation()
212 RemoteViews presentation = newTemplate(R.layout.two_horizontal_text_fields); in validTransformationWithOneTemplateUpdate() local
226 return new CustomDescription.Builder(presentation) in validTransformationWithOneTemplateUpdate()
238 RemoteViews presentation = newTemplate(R.layout.two_horizontal_text_fields); in validTransformationWithMultipleTemplateUpdates() local
264 return new CustomDescription.Builder(presentation) in validTransformationWithMultipleTemplateUpdates()
[all …]
DCannedFillResponse.java405 public Builder setPresentation(RemoteViews presentation) { in setPresentation() argument
406 mPresentation = presentation; in setPresentation()
627 final RemoteViews presentation = mFieldPresentations.get(id); in asDataset() local
630 if (presentation != null) { in asDataset()
633 builder.setValue(autofillId, value, presentation, in asDataset()
636 builder.setValue(autofillId, value, presentation); in asDataset()
640 builder.setValue(autofillId, value, filter.second, presentation, in asDataset()
643 builder.setValue(autofillId, value, filter.second, presentation); in asDataset()
691 public Builder(RemoteViews presentation) { in Builder() argument
692 mPresentation = presentation; in Builder()
[all …]
DCustomDescriptionWithLinkTestCase.java265 final RemoteViews presentation = new RemoteViews(mPackageName, in newTemplate() local
267 return presentation; in newTemplate()
283 final RemoteViews presentation = newTemplate(); in newCustomDescriptionBuilder() local
285 presentation.setOnClickPendingIntent(R.id.link, pendingIntent); in newCustomDescriptionBuilder()
286 return new CustomDescription.Builder(presentation); in newCustomDescriptionBuilder()
DCheckoutActivityTest.java277 final RemoteViews presentation = new RemoteViews(packageName,
299 new CustomDescription.Builder(presentation)
369 final RemoteViews presentation = new RemoteViews(packageName,
378 new CustomDescription.Builder(presentation)
DAutoFillServiceTestCase.java441 final RemoteViews presentation = new RemoteViews(getContext()
443 presentation.setTextViewText(R.id.text1, message);
444 return presentation;
DSimpleSaveActivityTest.java1862 final RemoteViews presentation = newTemplate(); in newCustomDescriptionWithUrlSpan() local
1863 presentation.setTextViewText(R.id.custom_text, newDescriptionWithUrlSpan(action)); in newCustomDescriptionWithUrlSpan()
1864 return new CustomDescription.Builder(presentation).build(); in newCustomDescriptionWithUrlSpan()
DHelper.java1538 final RemoteViews presentation = new RemoteViews(getContext() in createPresentation() local
1540 presentation.setTextViewText(R.id.text1, message); in createPresentation()
1541 return presentation; in createPresentation()
DLoginActivityTest.java2473 RemoteViews presentation = new RemoteViews(mPackageName, R.layout.list_item); in testClickCustomButton() local
2474 presentation.setTextViewText(R.id.text1, "Poke"); in testClickCustomButton()
2476 presentation.setOnClickPendingIntent(R.id.text1, PendingIntent.getActivity( in testClickCustomButton()
2483 .setPresentation(presentation) in testClickCustomButton()
/cts/tests/tests/media/src/android/media/cts/
DAudioPresentationTest.java46 AudioPresentation presentation = (new AudioPresentation.Builder(PRESENTATION_ID) in testGetters() local
54 assertEquals(PRESENTATION_ID, presentation.getPresentationId()); in testGetters()
55 assertEquals(PROGRAM_ID, presentation.getProgramId()); in testGetters()
56 assertEquals(LABELS, presentation.getLabels()); in testGetters()
57 assertEquals(LOCALE, presentation.getLocale()); in testGetters()
58 assertEquals(MASTERING_INDICATION, presentation.getMasteringIndication()); in testGetters()
59 assertEquals(HAS_AUDIO_DESCRIPTION, presentation.hasAudioDescription()); in testGetters()
60 assertEquals(HAS_SPOKEN_SUBTITLES, presentation.hasSpokenSubtitles()); in testGetters()
61 assertEquals(HAS_DIALOGUE_ENHANCEMENT, presentation.hasDialogueEnhancement()); in testGetters()
DEncodeVirtualDisplayTest.java536 for (TestPresentation presentation : mPresentations) { in run()
537 presentation.dismiss(); in run()
544 final TestPresentation[] presentation = new TestPresentation[1]; in showPresentation() local
552 presentation[0] = new TestPresentation(getContext(), mDisplay, color); in showPresentation()
554 presentation[0].show(); in showPresentation()
567 if (presentation[0] != null) { in showPresentation()
568 mPresentations.add(presentation[0]); in showPresentation()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java283 final TestPresentation[] presentation = new TestPresentation[1]; in assertDisplayCanShowPresentation() local
289 presentation[0] = new TestPresentation(getContext(), display, in assertDisplayCanShowPresentation()
291 presentation[0].show(); in assertDisplayCanShowPresentation()
299 if (presentation[0] != null) { in assertDisplayCanShowPresentation()
303 presentation[0].dismiss(); in assertDisplayCanShowPresentation()
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DCannedAugmentedFillResponse.java324 public Builder(@NonNull String presentation) { in Builder() argument
325 mPresentation = Objects.requireNonNull(presentation); in Builder()
343 @NonNull InlinePresentation presentation) { in setField() argument
348 mFieldPresentationById.put(id, presentation); in setField()
/cts/tests/tests/telecom/src/android/telecom/cts/
DRemoteConnectionTest.java394 int presentation) { in testRemoteConnectionCallbacks_AddressChange()
395 super.onAddressChanged(connection, address, presentation); in testRemoteConnectionCallbacks_AddressChange()
396 callbackInvoker.invoke(connection, address, presentation); in testRemoteConnectionCallbacks_AddressChange()
423 RemoteConnection connection, String callerDisplayName, int presentation) { in testRemoteConnectionCallbacks_CallerDisplayName()
424 super.onCallerDisplayNameChanged(connection, callerDisplayName, presentation); in testRemoteConnectionCallbacks_CallerDisplayName()
425 callbackInvoker.invoke(connection, callerDisplayName, presentation); in testRemoteConnectionCallbacks_CallerDisplayName()