Lines Matching refs:Display
33 import android.view.Display;
46 * on a secondary display using a {@link Presentation}.
49 * a presentation display is available and to allow the user to control the
50 * media routes using a menu item. When a presentation display is available,
52 * {@link Presentation} on the preferred presentation display. When a presentation
53 * display is removed, we revert to showing content in the main activity.
54 * We also write information about displays and display-related events to
57 * You can try this out using an HDMI or Wifi display or by using the
59 * simulated secondary displays. Each display will appear in the list along with a
60 * checkbox to show a presentation on that display.
63 * uses the low-level display manager to enumerate displays and to show multiple
159 // Get the current route and its presentation display.
162 Display presentationDisplay = route != null ? route.getPresentationDisplay() : null;
164 // Dismiss the current presentation if the display has changed.
167 + "has a presentation display.");
174 Log.i(TAG, "Showing presentation on display: " + presentationDisplay);
180 Log.w(TAG, "Couldn't show presentation! Display was removed in "
254 * The presentation to show on the secondary display.
256 * Note that this display may have different metrics from the display on which
264 public DemoPresentation(Context context, Display display) {
265 super(context, display);