/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 | 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 | PersistentDataStore.java | 17 package com.android.server.display; 26 import android.hardware.display.WifiDisplay; 44 * Manages persistent state recorded by the display manager service as an XML file. 49 * <display-manager-state> 51 * <wifi-display deviceAddress="00:00:00:00:00:00" deviceName="XXXX" deviceAlias="YYYY" /> 53 * >/display-manager-state> 61 // Remembered Wifi display devices. 74 mAtomicFile = new AtomicFile(new File("/data/system/display-manager-state.xml")); 98 public WifiDisplay applyWifiDisplayAlias(WifiDisplay display) { argument 99 if (display ! 133 rememberWifiDisplay(WifiDisplay display) 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/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | LocalPreferences.java | 36 public static void setDisplayAdvancedDevices(Context context, boolean display) { argument 38 .putBoolean(KEY_ADVANCED_DEVICES, display).apply(); 41 public static void setDisplayFileSize(Context context, boolean display) { argument 43 .putBoolean(KEY_FILE_SIZE, display).apply();
|
/frameworks/support/v4/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/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/base/core/java/android/view/ |
H A D | WindowManagerImpl.java | 24 * operations that are bound to a particular context, display or parent window. 55 public WindowManagerImpl(Display display) { argument 56 this(display, null); 59 private WindowManagerImpl(Display display, Window parentWindow) { argument 60 mDisplay = display; 68 public WindowManagerImpl createPresentationWindowManager(Display display) { argument 69 return new WindowManagerImpl(display, mParentWindow);
|
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/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/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/base/tools/layoutlib/bridge/src/android/view/ |
H A D | AttachInfo_Accessor.java | 34 Display display = wm.getDefaultDisplay(); 35 ViewRootImpl root = new ViewRootImpl(context, display); 37 display, root, new Handler(), null); 40 info.mInTouchMode = false; // this is so that we can display selections.
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_AssetAtlasService.cpp | 81 if (fence != EGL_NO_SYNC_KHR) eglDestroySyncKHR(display, fence); \ 82 if (image) eglDestroyImageKHR(display, image); \ 84 if (surface != EGL_NO_SURFACE) eglDestroySurface(display, surface); \ 85 if (context != EGL_NO_CONTEXT) eglDestroyContext(display, context); \ 86 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); \ 88 eglTerminate(display); \ 100 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); local 101 if (display == EGL_NO_DISPLAY) return JNI_FALSE; 105 if (!eglInitialize(display, &major, &minor)) { 124 if (!eglChooseConfig(display, configAttr [all...] |
/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 287 createPresentationContext( Context outerContext, Display display, int theme) argument [all...] |
/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManagerInternal.java | 19 import android.hardware.display.DisplayViewport; 31 * Called by the display manager to set information about the displays as needed
|