/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 | 69 // Get a list of supported configurations for a given display 70 static status_t getDisplayConfigs(const sp<IBinder>& display, 74 static status_t getDisplayInfo(const sp<IBinder>& display, 79 static int getActiveConfig(const sp<IBinder>& display); 83 static status_t setActiveConfig(const sp<IBinder>& display, int id); 86 static void setDisplayPowerMode(const sp<IBinder>& display, int mode); 100 //! Create a virtual display 103 //! Destroy a virtual display 104 static void destroyDisplay(const sp<IBinder>& display); 152 * to a given display [all...] |
H A D | BufferQueueConsumer.h | 71 const sp<Fence>& releaseFence, EGLDisplay display, 153 EGLDisplay display, EGLSyncKHR fence, 155 return releaseBuffer(buf, frameNumber, releaseFence, display, fence); 152 releaseBuffer(int buf, uint64_t frameNumber, EGLDisplay display, EGLSyncKHR fence, const sp<Fence>& releaseFence) argument
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_object.cpp | 33 display(disp), count(1) { 35 display->addObject(this); 43 display->removeObject(this); 56 bool egl_object_t::get(egl_display_t const* display, egl_object_t* object) { argument 59 return display->getObject(object);
|
H A D | egl_object.h | 42 egl_display_t *display; member in class:android::egl_object_t 49 egl_object_t(egl_display_t* display); 54 inline egl_display_t* getDisplay() const { return display; } 58 static bool get(egl_display_t const* display, egl_object_t* object); 69 explicit LocalRef(egl_display_t const* display, T o) : ref(0) { argument 71 if (o && egl_object_t::get(display, native)) {
|
/frameworks/base/services/core/java/com/android/server/display/ |
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...] |
H A D | DisplayManagerService.java | 17 package com.android.server.display; 25 import android.hardware.display.DisplayManager; 26 import android.hardware.display.DisplayManagerGlobal; 27 import android.hardware.display.DisplayManagerInternal; 28 import android.hardware.display.DisplayViewport; 29 import android.hardware.display.DisplayManagerInternal.DisplayTransactionListener; 30 import android.hardware.display.IDisplayManager; 31 import android.hardware.display.IDisplayManagerCallback; 32 import android.hardware.display.IVirtualDisplayCallback; 33 import android.hardware.display 878 setViewportLocked(DisplayViewport viewport, LogicalDisplay display, DisplayDevice device) argument [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | RenderEngine.cpp | 49 RenderEngine* RenderEngine::create(EGLDisplay display, int hwcFormat) { argument 53 // both a 16-bit primary display framebuffer and a 32-bit virtual display 60 eglQueryStringImplementationANDROID(display, EGL_EXTENSIONS), 62 config = chooseEglConfig(display, hwcFormat); 68 } else if (!eglGetConfigAttrib(display, config, 92 EGLContext ctxt = eglCreateContext(display, config, NULL, contextAttributes); 103 dummyConfig = chooseEglConfig(display, hwcFormat); 106 EGLSurface dummy = eglCreatePbufferSurface(display, dummyConfig, attribs); 108 EGLBoolean success = eglMakeCurrent(display, dumm 367 selectEGLConfig(EGLDisplay display, EGLint format, EGLint renderableType, EGLConfig* config) argument 403 chooseEglConfig(EGLDisplay display, int format) argument [all...] |
/frameworks/base/core/jni/ |
H A D | com_google_android_gles_jni_EGLImpl.cpp | 122 static jboolean jni_eglInitialize(JNIEnv *_env, jobject _this, jobject display, argument 124 if (display == NULL || (major_minor != NULL && 130 EGLDisplay dpy = getDisplay(_env, display); 145 static jboolean jni_eglQueryContext(JNIEnv *_env, jobject _this, jobject display, argument 147 if (display == NULL || context == NULL || value == NULL 152 EGLDisplay dpy = getDisplay(_env, display); 164 static jboolean jni_eglQuerySurface(JNIEnv *_env, jobject _this, jobject display, argument 166 if (display == NULL || surface == NULL || value == NULL 171 EGLDisplay dpy = getDisplay(_env, display); 184 static jint jni_getInitCount(JNIEnv *_env, jobject _clazz, jobject display) { argument 194 jni_eglChooseConfig(JNIEnv *_env, jobject _this, jobject display, jintArray attrib_list, jobjectArray configs, jint config_size, jintArray num_config) argument 229 jni_eglCreateContext(JNIEnv *_env, jobject _this, jobject display, jobject config, jobject share_context, jintArray attrib_list) argument 245 jni_eglCreatePbufferSurface(JNIEnv *_env, jobject _this, jobject display, jobject config, jintArray attrib_list) argument 270 jni_eglCreatePixmapSurface(JNIEnv *_env, jobject _this, jobject out_sur, jobject display, jobject config, jobject native_pixmap, jintArray attrib_list) argument 316 jni_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject display, jobject config, jobject native_window, jintArray attrib_list) argument 343 jni_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject display, jobject config, jobject native_window, jintArray attrib_list) argument 371 jni_eglGetConfigAttrib(JNIEnv *_env, jobject _this, jobject display, jobject config, jint attribute, jintArray value) argument 389 jni_eglGetConfigs(JNIEnv *_env, jobject _this, jobject display, jobjectArray configs, jint config_size, jintArray num_config) argument 437 jni_eglDestroyContext(JNIEnv *_env, jobject _this, jobject display, jobject context) argument 447 jni_eglDestroySurface(JNIEnv *_env, jobject _this, jobject display, jobject surface) argument 470 jni_eglMakeCurrent(JNIEnv *_env, jobject _this, jobject display, jobject draw, jobject read, jobject context) argument 482 jni_eglQueryString(JNIEnv *_env, jobject _this, jobject display, jint name) argument 492 jni_eglSwapBuffers(JNIEnv *_env, jobject _this, jobject display, jobject surface) argument 502 jni_eglTerminate(JNIEnv *_env, jobject _this, jobject display) argument 511 jni_eglCopyBuffers(JNIEnv *_env, jobject _this, jobject display, jobject surface, jobject native_pixmap) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Image.cpp | 29 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); local 33 mImage = eglCreateImageKHR(display, EGL_NO_CONTEXT,
|
/frameworks/native/libs/gui/ |
H A D | ISurfaceComposer.cpp | 106 virtual status_t captureScreen(const sp<IBinder>& display, argument 115 data.writeStrongBinder(display); 194 virtual void destroyDisplay(const sp<IBinder>& display) argument 198 data.writeStrongBinder(display); 211 virtual void setPowerMode(const sp<IBinder>& display, int mode) argument 215 data.writeStrongBinder(display); 220 virtual status_t getDisplayConfigs(const sp<IBinder>& display, argument 225 data.writeStrongBinder(display); 241 virtual status_t getDisplayStats(const sp<IBinder>& display, argument 246 data.writeStrongBinder(display); 257 getActiveConfig(const sp<IBinder>& display) argument 266 setActiveConfig(const sp<IBinder>& display, int id) argument 351 sp<IBinder> display = data.readStrongBinder(); local 394 sp<IBinder> display = data.readStrongBinder(); local 408 sp<IBinder> display = data.readStrongBinder(); local 423 sp<IBinder> display = data.readStrongBinder(); local 434 sp<IBinder> display = data.readStrongBinder(); local 441 sp<IBinder> display = data.readStrongBinder(); local 463 sp<IBinder> display = data.readStrongBinder(); local [all...] |
/frameworks/support/v4/jellybean-mr1/android/support/v4/view/ |
H A D | GravityCompatJellybeanMr1.java | 39 public static void applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection) { argument 40 Gravity.applyDisplay(gravity, display, inoutObj, layoutDirection);
|
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
H A D | DumpCommand.java | 21 import android.hardware.display.DisplayManagerGlobal; 94 Display display = 96 int rotation = display.getRotation(); 98 display.getSize(size);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | RecentsComponent.java | 29 void toggleRecents(Display display, int layoutDirection, View statusBarView); argument
|
/frameworks/support/v4/java/android/support/v4/hardware/display/ |
H A D | DisplayManagerCompat.java | 17 package android.support.v4.hardware.display; 26 * Helper for accessing features in {@link android.hardware.display.DisplayManager} 45 "android.hardware.display.category.PRESENTATION"; 51 * Gets an instance of the display manager given the context. 70 * Gets information about a logical display. 72 * The display metrics may be adjusted to provide compatibility 75 * @param displayId The logical display id. 76 * @return The display object, or null if there is no valid display with the given id. 93 * then the displays are sorted so that the first display i [all...] |
/frameworks/base/core/java/android/hardware/display/ |
H A D | VirtualDisplay.java | 16 package android.hardware.display; 23 * Represents a virtual display. The content of a virtual display is rendered to a 27 * Because a virtual display renders to a surface provided by the application, it will be 41 VirtualDisplay(DisplayManagerGlobal global, Display display, argument 44 mDisplay = display; 50 * Gets the virtual display. 57 * Gets the surface that backs the virtual display. 64 * Sets the surface that backs the virtual display. 66 * Detaching the surface that backs a virtual display ha [all...] |
H A D | DisplayViewport.java | 17 package android.hardware.display; 22 * Describes how the pixels of physical display device reflects the content of 23 * a logical display. 26 * physical display coordinates into logical display coordinates. 35 // The logical display id. 41 // The portion of the logical display that are presented on this physical display. 44 // The portion of the (rotated) physical display that shows the logical display content [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.cpp | 50 eglDestroySurface(display(), it->second.first); 63 eglDestroyContext(display(), it->second); 70 // Destroy display 72 eglTerminate(display()); 86 eglMakeCurrent(display(), EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 92 if (display() != eglGetCurrentDisplay() || 101 eglMakeCurrent(display(), surface(), surface(), context()); 109 const bool result = eglSwapBuffers(display(), surface()) == EGL_TRUE; 122 (display() != EGL_NO_DISPLAY) && 137 eglInitialize(display(), [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | GravityCompat.java | 33 void applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection); argument 56 public void applyDisplay(int gravity, Rect display, Rect inoutObj, argument 58 Gravity.applyDisplay(gravity, display, inoutObj); 82 public void applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection) { argument 83 GravityCompatJellybeanMr1.applyDisplay(gravity, display, inoutObj, layoutDirection); 166 * Apply additional gravity behavior based on the overall "display" that an 169 * within a visible display. By default this moves or clips the object 170 * to be visible in the display; the gravity flags 175 * display. 176 * @param display Th 185 applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | RenderTarget.java | 43 // Pre-HC devices do not necessarily support multiple display surfaces. 61 /** The display for which the EGLConfig was chosen. We expect only one. */ 196 throw new RuntimeException("This device supports only a single display surface!"); 319 private static EGLConfig chooseEglConfig(EGL10 egl, EGLDisplay display) { argument 320 if (mEglConfig == null || !display.equals(mConfiguredDisplay)) { 324 if (!egl.eglChooseConfig(display, configSpec, configs, 1, configsCount)) { 329 mConfiguredDisplay = display; 348 private RenderTarget(EGLDisplay display, EGLContext context, EGLSurface surface, int fbo, argument 351 mDisplay = display; 368 private static void initEgl(EGL10 egl, EGLDisplay display) { argument 383 createContext(EGL10 egl, EGLDisplay display, EGLConfig config) argument 390 createSurface(EGL10 egl, EGLDisplay display, int width, int height) argument 402 checkDisplay(EGL10 egl, EGLDisplay display) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | BigCache.java | 45 final Display display = getWindowManager().getDefaultDisplay(); 46 final int screenWidth = display.getWidth(); 47 final int screenHeight = display.getHeight();
|
/frameworks/base/media/java/android/media/ |
H A D | RemoteDisplay.java | 25 * Listens for Wifi remote display connections managed by the media server. 80 RemoteDisplay display = new RemoteDisplay(listener, handler); 81 display.startListening(iface); 82 return display; 86 * Disconnects the remote display and stops listening for new connections. 119 + "remote display connection on \"" + iface + "\""); 156 * Listener invoked when the remote display connection changes state.
|
/frameworks/rs/driver/ |
H A D | rsdGL.cpp | 137 dc->gl.egl.display); 161 RSD_CALL_GL(eglMakeCurrent, dc->gl.egl.display, 163 RSD_CALL_GL(eglDestroySurface, dc->gl.egl.display, dc->gl.egl.surfaceDefault); 165 RSD_CALL_GL(eglDestroySurface, dc->gl.egl.display, dc->gl.egl.surface); 167 RSD_CALL_GL(eglDestroyContext, dc->gl.egl.display, dc->gl.egl.context); 173 RSD_CALL_GL(eglTerminate, dc->gl.egl.display); 244 dc->gl.egl.display = eglGetDisplay(EGL_DEFAULT_DISPLAY); 247 RSD_CALL_GL(eglInitialize, dc->gl.egl.display, 261 ret = eglChooseConfig(dc->gl.egl.display, configAttribs, 0, 0, &numConfigs); 272 ret = eglChooseConfig(dc->gl.egl.display, [all...] |
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
H A D | DemoPresentation.java | 33 * The presentation to show on the accessory display. 35 * Note that this display may have different metrics from the display on which 47 public DemoPresentation(Context context, Display display, Logger logger) { argument 48 super(context, display);
|
/frameworks/native/services/surfaceflinger/tests/screencap/ |
H A D | screencap.cpp | 45 sp<IBinder> display(composer->getBuiltInDisplay(ISurfaceComposer::eDisplayIdMain)); 46 status_t err = composer->captureScreen(display, &heap, &w, &h, &f, 0, 0);
|