Home
last modified time | relevance | path

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

/cts/tests/autofillservice/src/android/autofillservice/cts/
DCannedFillResponse.java248 public Builder setPresentation(RemoteViews presentation) { in setPresentation() argument
249 mPresentation = presentation; in setPresentation()
340 final RemoteViews presentation = mFieldPresentations.get(resourceId); in asDataset() local
341 if (presentation != null) { in asDataset()
342 builder.setValue(id, value, presentation); in asDataset()
371 public Builder(RemoteViews presentation) { in Builder() argument
372 mPresentation = presentation; in Builder()
414 public Builder setField(String resourceId, String text, RemoteViews presentation) { in setField() argument
416 mFieldPresentations.put(resourceId, presentation); in setField()
423 public Builder setPresentation(RemoteViews presentation) { in setPresentation() argument
[all …]
DAutoFillServiceTestCase.java198 final RemoteViews presentation = new RemoteViews(getContext() in createPresentation() local
200 presentation.setTextViewText(R.id.text1, message); in createPresentation()
201 return presentation; in createPresentation()
DLoginActivityTest.java2520 RemoteViews presentation = new RemoteViews(getContext().getPackageName(), in testClickCustomButton() local
2522 presentation.setTextViewText(R.id.text1, "Poke"); in testClickCustomButton()
2524 presentation.setOnClickPendingIntent(R.id.text1, PendingIntent.getActivity( in testClickCustomButton()
2531 .setPresentation(presentation) in testClickCustomButton()
/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/tests/media/src/android/media/cts/
DEncodeVirtualDisplayTest.java541 final TestPresentation[] presentation = new TestPresentation[1]; in showPresentation() local
548 presentation[0] = new TestPresentation(getContext(), mDisplay, color); in showPresentation()
550 presentation[0].show(); in showPresentation()
559 if (presentation[0] != null) { in showPresentation()
563 presentation[0].dismiss(); in showPresentation()
/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()