/frameworks/base/core/java/android/hardware/display/ |
H A D | WifiDisplay.aidl | 17 package android.hardware.display;
|
H A D | WifiDisplayStatus.aidl | 17 package android.hardware.display;
|
H A D | IDisplayManagerCallback.aidl | 17 package android.hardware.display;
|
H A D | IVirtualDisplayCallback.aidl | 16 package android.hardware.display; 21 * Called when the virtual display video projection has been 29 * Called when the virtual display video projection has been 35 * Called when the virtual display video projection has been 38 * of the application to release() the virtual display.
|
H A D | IDisplayManager.aidl | 17 package android.hardware.display; 19 import android.hardware.display.IDisplayManagerCallback; 20 import android.hardware.display.IVirtualDisplayCallback; 21 import android.hardware.display.WifiDisplay; 22 import android.hardware.display.WifiDisplayStatus;
|
H A D | VirtualDisplay.java | 16 package android.hardware.display; 22 * Represents a virtual display. The content of a virtual display is rendered to a 26 * Because a virtual display renders to a surface provided by the application, it will be 40 VirtualDisplay(DisplayManagerGlobal global, Display display, argument 43 mDisplay = display; 49 * Gets the virtual display. 56 * Gets the surface that backs the virtual display. 63 * Sets the surface that backs the virtual display. 65 * Detaching the surface that backs a virtual display ha [all...] |
H A D | DisplayManager.java | 17 package android.hardware.display; 52 * Broadcast receiver that indicates when the Wifi display status changes. 62 "android.hardware.display.action.WIFI_DISPLAY_STATUS_CHANGED"; 69 "android.hardware.display.extra.WIFI_DISPLAY_STATUS"; 85 "android.hardware.display.category.PRESENTATION"; 88 * Virtual display flag: Create a public display. 92 * When this flag is set, the virtual display is public. 94 * A public virtual display behaves just like most any other display tha [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayBlanker.java | 17 package com.android.server.display; 20 * Interface used to update the actual display state.
|
H A D | WifiDisplayAdapter.java | 17 package com.android.server.display; 26 import android.hardware.display.DisplayManager; 27 import android.hardware.display.WifiDisplay; 28 import android.hardware.display.WifiDisplaySessionInfo; 29 import android.hardware.display.WifiDisplayStatus; 51 * The Wifi display protocol relies on Wifi direct for discovering and pairing 52 * with the display. Once connected, the Media Server opens an RTSP socket and accepts 53 * a connection from the display. After session negotiation, the Media Server 54 * streams encoded buffers to the display. 69 private static final String ACTION_DISCONNECT = "android.server.display 360 addDisplayDeviceLocked(WifiDisplay display, Surface surface, int width, int height, int flags) argument [all...] |
/frameworks/base/tests/RemoteDisplayProvider/src/com/android/media/remotedisplay/test/ |
H A D | RemoteDisplayProviderService.java | 29 * Remote display provider implementation that publishes working routes. 166 public void onConnect(final RemoteDisplay display) { argument 167 Log.d(TAG, "onConnect: display.getId()=" + display.getId()); 169 if (display == mTestDisplay1 || display == mTestDisplay2) { 170 display.setStatus(RemoteDisplay.STATUS_CONNECTING); 171 updateDisplay(display); 175 if ((display == mTestDisplay1 || display 247 onDisconnect(RemoteDisplay display) argument 259 onSetVolume(RemoteDisplay display, int volume) argument 270 onAdjustVolume(RemoteDisplay display, int delta) argument 282 addDisplay(RemoteDisplay display) argument 288 removeDisplay(RemoteDisplay display) argument 294 updateDisplay(RemoteDisplay display) argument [all...] |
/frameworks/support/compat/jellybean-mr1/android/support/v4/hardware/display/ |
H A D | DisplayManagerJellybeanMr1.java | 17 package android.support.v4.hardware.display; 28 return ((android.hardware.display.DisplayManager)displayManagerObj).getDisplay(displayId); 32 return ((android.hardware.display.DisplayManager)displayManagerObj).getDisplays(); 36 return ((android.hardware.display.DisplayManager)displayManagerObj).getDisplays(category);
|
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/ |
H A D | RemoteDisplayProvider.java | 37 * Base class for remote display providers implemented as unbundled services. 39 * To implement your remote display provider service, create a subclass of 67 * Declare your remote display provider service in your application manifest 143 * Creates a remote display provider. 145 * @param context The application context for the remote display provider. 154 * Gets the context of the remote display provider. 164 * a remote display provider service. 182 * Called when the system would like to connect to a display. 184 * @param display The remote display 186 onConnect(RemoteDisplay display) argument 194 onDisconnect(RemoteDisplay display) argument 203 onSetVolume(RemoteDisplay display, int volume) argument 212 onAdjustVolume(RemoteDisplay display, int delta) argument 239 addDisplay(RemoteDisplay display) argument 253 updateDisplay(RemoteDisplay display) argument 265 removeDisplay(RemoteDisplay display) argument [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | EGLLogWrapper.java | 47 public boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, argument 50 arg("display", display); 55 boolean result = mEgl10.eglChooseConfig(display, attrib_list, configs, 64 public boolean eglCopyBuffers(EGLDisplay display, EGLSurface surface, argument 67 arg("display", display); 72 boolean result = mEgl10.eglCopyBuffers(display, surface, native_pixmap); 78 public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, argument 81 arg("display", displa 94 eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list) argument 109 eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list) argument 125 eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list) argument 141 eglDestroyContext(EGLDisplay display, EGLContext context) argument 153 eglDestroySurface(EGLDisplay display, EGLSurface surface) argument 165 eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value) argument 180 eglGetConfigs(EGLDisplay display, EGLConfig[] configs, int config_size, int[] num_config) argument 252 eglInitialize(EGLDisplay display, int[] major_minor) argument 263 eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context) argument 277 eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value) argument 292 eglQueryString(EGLDisplay display, int name) argument 303 eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value) argument 328 eglSwapBuffers(EGLDisplay display, EGLSurface surface) argument 339 eglTerminate(EGLDisplay display) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_AssetAtlasService.cpp | 54 if (fence != EGL_NO_SYNC_KHR) eglDestroySyncKHR(display, fence); \ 55 if (image) eglDestroyImageKHR(display, image); \ 57 if (surface != EGL_NO_SURFACE) eglDestroySurface(display, surface); \ 58 if (context != EGL_NO_CONTEXT) eglDestroyContext(display, context); \ 59 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); \ 61 eglTerminate(display); \ 76 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); local 77 if (display == EGL_NO_DISPLAY) return JNI_FALSE; 81 if (!eglInitialize(display, &major, &minor)) { 100 if (!eglChooseConfig(display, configAttr [all...] |
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | EGLImpl.java | 31 public native boolean eglInitialize(EGLDisplay display, int[] major_minor); argument 32 public native boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value); argument 33 public native boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value); argument 36 public native boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, EGLConfig[] configs, int config_size, int[] num_config); argument 37 public native boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value); argument 38 public native boolean eglGetConfigs(EGLDisplay display, EGLConfig[] configs, int config_size, int[] num_config); argument 40 public native boolean eglDestroyContext(EGLDisplay display, EGLContext context); argument 41 public native boolean eglDestroySurface(EGLDisplay display, EGLSurface surface); argument 42 public native boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context); argument 43 public native String eglQueryString(EGLDisplay display, in argument 44 eglSwapBuffers(EGLDisplay display, EGLSurface surface) argument 45 eglTerminate(EGLDisplay display) argument 46 eglCopyBuffers(EGLDisplay display, EGLSurface surface, Object native_pixmap) argument 51 getInitCount(EGLDisplay display) argument 53 eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list) argument 61 eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list) argument 69 eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list) argument 78 eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list) argument 148 _eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list) argument 149 _eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list) argument 150 _eglCreatePixmapSurface(EGLSurface sur, EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list) argument 151 _eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list) argument 152 _eglCreateWindowSurfaceTexture(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list) argument [all...] |
/frameworks/base/opengl/java/javax/microedition/khronos/egl/ |
H A D | EGL10.java | 97 boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, EGLConfig[] configs, int config_size, int[] num_config); argument 98 boolean eglCopyBuffers(EGLDisplay display, EGLSurface surface, Object native_pixmap); argument 99 EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list); argument 100 EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list); argument 101 EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list); argument 102 EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list); argument 103 boolean eglDestroyContext(EGLDisplay display, EGLContext context); argument 104 boolean eglDestroySurface(EGLDisplay display, EGLSurface surface); argument 105 boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value); argument 106 boolean eglGetConfigs(EGLDisplay display, EGLConfi argument 112 eglInitialize(EGLDisplay display, int[] major_minor) argument 113 eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context) argument 114 eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value) argument 115 eglQueryString(EGLDisplay display, int name) argument 116 eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value) argument 119 eglSwapBuffers(EGLDisplay display, EGLSurface surface) argument 120 eglTerminate(EGLDisplay display) argument [all...] |
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/ |
H A D | GL2JNIView.java | 80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { argument 84 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); 89 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { argument 90 egl.eglDestroyContext(display, context); 121 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { argument 124 egl.eglChooseConfig(display, s_configAttribs2, null, 0, num_config); 132 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); 133 // printConfigs(egl, display, configs); 134 return chooseConfig(egl, display, configs); 137 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, argument 168 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument 177 printConfigs(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument 187 printConfig(EGL10 egl, EGLDisplay display, EGLConfig config) argument [all...] |
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/ |
H A D | GLPerfView.java | 80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { argument 84 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); 89 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { argument 90 egl.eglDestroyContext(display, context); 121 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { argument 124 egl.eglChooseConfig(display, s_configAttribs2, null, 0, num_config); 132 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); 133 // printConfigs(egl, display, configs); 134 return chooseConfig(egl, display, configs); 137 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, argument 168 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument 177 printConfigs(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument 187 printConfig(EGL10 egl, EGLDisplay display, EGLConfig config) argument [all...] |
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
H A D | GLDualGL2View.java | 83 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { argument 87 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); 92 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { argument 93 egl.eglDestroyContext(display, context); 124 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { argument 127 egl.eglChooseConfig(display, s_configAttribs2, null, 0, num_config); 135 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); 136 // printConfigs(egl, display, configs); 137 return chooseConfig(egl, display, configs); 140 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, argument 171 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument 180 printConfigs(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument 190 printConfig(EGL10 egl, EGLDisplay display, EGLConfig config) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | Gravity.java | 100 /** Special constant to enable clipping to an overall display along the 107 /** Special constant to enable clipping to an overall display along the 303 * Apply additional gravity behavior based on the overall "display" that an 306 * within a visible display. By default this moves or clips the object 307 * to be visible in the display; the gravity flags 312 * display. 313 * @param display The rectangle of the display in which the object is 316 * modified if needed to fit in the display. 318 public static void applyDisplay(int gravity, Rect display, Rec argument 376 applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
H A D | VirtualDisplayTest.java | 17 package android.hardware.display; 25 import android.hardware.display.DisplayManager; 26 import android.hardware.display.VirtualDisplay; 109 * Ensures that an application can create a private virtual display and show 115 assertNotNull("virtual display must not be null", virtualDisplay); 117 Display display = virtualDisplay.getDisplay(); 119 assertDisplayRegistered(display, Display.FLAG_PRIVATE); 121 // Show a private presentation on the display. 123 display, BLUEISH, 128 assertDisplayUnregistered(display); 249 assertDisplayRegistered(Display display, int flags) argument 276 assertDisplayUnregistered(Display display) argument 282 assertDisplayCanShowPresentation(String message, final Display display, final int color, final int windowType, final int windowFlags) argument 348 TestPresentation(Context context, Display display, int color, int windowType, int windowFlags) argument [all...] |
/frameworks/native/include/gui/ |
H A D | ISurfaceComposer.h | 85 /* create a virtual display 91 /* destroy a virtual display 94 virtual void destroyDisplay(const sp<IBinder>& display) = 0; 115 /* set display power mode. depending on the mode, it can either trigger 119 virtual void setPowerMode(const sp<IBinder>& display, int mode) = 0; 121 /* returns information for each configuration of the given display 123 virtual status_t getDisplayConfigs(const sp<IBinder>& display, 126 /* returns display statistics for a given display 129 virtual status_t getDisplayStats(const sp<IBinder>& display, [all...] |
H A D | SurfaceComposerClient.h | 70 // Get a list of supported configurations for a given display 71 static status_t getDisplayConfigs(const sp<IBinder>& display, 75 static status_t getDisplayInfo(const sp<IBinder>& display, 80 static int getActiveConfig(const sp<IBinder>& display); 84 static status_t setActiveConfig(const sp<IBinder>& display, int id); 86 // Gets the list of supported color modes for the given display 87 static status_t getDisplayColorModes(const sp<IBinder>& display, 90 // Gets the active color mode for the given display 91 static android_color_mode_t getActiveColorMode(const sp<IBinder>& display); 93 // Sets the active color mode for the given display [all...] |
/frameworks/support/compat/tests/java/android/support/v4/view/ |
H A D | ViewCompatTest.java | 61 final Display display = ViewCompat.getDisplay(mView); 62 assertNotNull(display); 68 final Display display = ViewCompat.getDisplay(view); 69 assertNull(display);
|
/frameworks/base/core/java/android/app/ |
H A D | Presentation.java | 21 import android.hardware.display.DisplayManager; 22 import android.hardware.display.DisplayManager.DisplayListener; 37 * content on a secondary display. A {@link Presentation} is associated with 39 * resource configuration according to the display's metrics. 44 * to ensure that assets of the correct size and density for the target display 48 * the display to which it is attached is removed. An activity should take 53 * <h3>Choosing a presentation display</h3> 56 * on which it will appear. Choosing a presentation display is sometimes difficult 58 * which display is best, an application should let the system choose a suitable 59 * presentation display 158 Presentation(Context outerContext, Display display) argument 176 Presentation(Context outerContext, Display display, int theme) argument 289 createPresentationContext( Context outerContext, Display display, int theme) argument [all...] |