Tabnine Logo
PresentationActivity$DemoPresentation.setPreferredDisplayMode
Code IndexAdd Tabnine to your IDE (free)

How to use
setPreferredDisplayMode
method
in
com.example.android.apis.app.PresentationActivity$DemoPresentation

Best Java code snippets using com.example.android.apis.app.PresentationActivity$DemoPresentation.setPreferredDisplayMode (Showing top 1 results out of 315)

origin: qiubiteme/android_api_demos

/**
 * Sets the display mode of the {@link Presentation} on the specified display
 * if it is already shown.
 */
private void setPresentationDisplayMode(Display display, int displayModeId) {
  final int displayId = display.getDisplayId();
  DemoPresentation presentation = mActivePresentations.get(displayId);
  if (presentation == null) {
    return;
  }
  presentation.setPreferredDisplayMode(displayModeId);
}
com.example.android.apis.appPresentationActivity$DemoPresentationsetPreferredDisplayMode

Javadoc

Sets the preferred display mode id for the presentation.

Popular methods of PresentationActivity$DemoPresentation

  • <init>
  • dismiss
  • findViewById
  • getContext
  • getDisplay
  • setContentView
  • setOnDismissListener
  • show
  • getWindow

Popular in Java

  • Start an intent from android
  • requestLocationUpdates (LocationManager)
  • onCreateOptionsMenu (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now