Home
last modified time | relevance | path

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

/cts/tests/autofillservice/src/android/autofillservice/cts/
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.java387 public Builder setPresentation(RemoteViews presentation) { in setPresentation() argument
388 mPresentation = presentation; in setPresentation()
566 final RemoteViews presentation = mFieldPresentations.get(id); in asDataset() local
568 if (presentation != null) { in asDataset()
570 builder.setValue(autofillId, value, presentation); in asDataset()
572 builder.setValue(autofillId, value, filter.second, presentation); in asDataset()
609 public Builder(RemoteViews presentation) { in Builder() argument
610 mPresentation = presentation; in Builder()
705 public Builder setField(String id, String text, RemoteViews presentation) { in setField() argument
707 mFieldPresentations.put(id, presentation); in setField()
[all …]
DCustomDescriptionWithLinkTestCase.java264 final RemoteViews presentation = new RemoteViews(mPackageName, in newTemplate() local
266 return presentation; in newTemplate()
282 final RemoteViews presentation = newTemplate(); in newCustomDescriptionBuilder() local
284 presentation.setOnClickPendingIntent(R.id.link, pendingIntent); in newCustomDescriptionBuilder()
285 return new CustomDescription.Builder(presentation); in newCustomDescriptionBuilder()
DAutoFillServiceTestCase.java406 final RemoteViews presentation = new RemoteViews(getContext()
408 presentation.setTextViewText(R.id.text1, message);
409 return presentation;
DCheckoutActivityTest.java278 final RemoteViews presentation = new RemoteViews(packageName,
300 new CustomDescription.Builder(presentation)
370 final RemoteViews presentation = new RemoteViews(packageName,
379 new CustomDescription.Builder(presentation)
DLoginActivityTest.java2464 RemoteViews presentation = new RemoteViews(mPackageName, R.layout.list_item); in testClickCustomButton() local
2465 presentation.setTextViewText(R.id.text1, "Poke"); in testClickCustomButton()
2467 presentation.setOnClickPendingIntent(R.id.text1, PendingIntent.getActivity( in testClickCustomButton()
2474 .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.java542 final TestPresentation[] presentation = new TestPresentation[1]; in showPresentation() local
550 presentation[0] = new TestPresentation(getContext(), mDisplay, color); in showPresentation()
552 presentation[0].show(); in showPresentation()
565 if (presentation[0] != null) { in showPresentation()
569 presentation[0].dismiss(); in showPresentation()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java235 final TestPresentation[] presentation = new TestPresentation[1]; in assertDisplayCanShowPresentation() local
241 presentation[0] = new TestPresentation(getContext(), display, in assertDisplayCanShowPresentation()
243 presentation[0].show(); in assertDisplayCanShowPresentation()
251 if (presentation[0] != null) { in assertDisplayCanShowPresentation()
255 presentation[0].dismiss(); in assertDisplayCanShowPresentation()
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DCannedAugmentedFillResponse.java265 public Builder(@NonNull String presentation) { in Builder() argument
266 mPresentation = Preconditions.checkNotNull(presentation); in Builder()
/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()