/frameworks/native/include/gui/ |
H A D | ISurfaceComposer.h | 69 /* create a display 97 virtual status_t captureScreen(const sp<IBinder>& display, sp<IMemoryHeap>* heap, 104 virtual void blank(const sp<IBinder>& display) = 0; 107 virtual void unblank(const sp<IBinder>& display) = 0; 109 /* returns information about a display 111 virtual status_t getDisplayInfo(const sp<IBinder>& display, DisplayInfo* info) = 0;
|
H A D | SurfaceComposerClient.h | 67 // Get information about a display 68 static status_t getDisplayInfo(const sp<IBinder>& display, DisplayInfo* info); 71 static void blankDisplay(const sp<IBinder>& display); 74 static void unblankDisplay(const sp<IBinder>& display); 88 //! Create a display 130 * to a given display. 132 * - orientation defines the display's orientation. 135 * - displayRect defines where on the display will layerStackRect be 166 status_t update(const sp<IBinder>& display); 167 status_t update(const sp<IBinder>& display, [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.cpp | 48 eglDestroySurface(display(), it->second.first); 61 eglDestroyContext(display(), it->second); 68 // Destroy display 70 eglTerminate(display()); 84 eglMakeCurrent(display(), EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 90 if (display() != eglGetCurrentDisplay() || 99 eglMakeCurrent(display(), surface(), surface(), context()); 107 const bool result = eglSwapBuffers(display(), surface()) == EGL_TRUE; 120 (display() != EGL_NO_DISPLAY) && 135 eglInitialize(display(), [all...] |
/frameworks/base/core/java/android/hardware/display/ |
H A D | WifiDisplayStatus.java | 17 package android.hardware.display; 25 * Describes the current global state of Wifi display connectivity, including the 26 * currently connected display and all available or remembered displays. 41 /** Feature state: Wifi display is not available on this device. */ 43 /** Feature state: Wifi display is disabled, probably because Wifi is disabled. */ 45 /** Feature state: Wifi display is turned off in settings. */ 47 /** Feature state: Wifi display is turned on in settings. */ 57 /** Display state: Connecting to active display. */ 59 /** Display state: Connected to active display. */ 116 * Returns the state of the Wifi display featur [all...] |
/frameworks/native/libs/gui/ |
H A D | ISurfaceComposer.cpp | 106 const sp<IBinder>& display, sp<IMemoryHeap>* heap, 113 data.writeStrongBinder(display); 201 virtual void blank(const sp<IBinder>& display) argument 205 data.writeStrongBinder(display); 209 virtual void unblank(const sp<IBinder>& display) argument 213 data.writeStrongBinder(display); 217 virtual status_t getDisplayInfo(const sp<IBinder>& display, DisplayInfo* info) argument 221 data.writeStrongBinder(display); 273 sp<IBinder> display = data.readStrongBinder(); local 281 status_t res = captureScreen(display, 105 captureScreen( const sp<IBinder>& display, sp<IMemoryHeap>* heap, uint32_t* width, uint32_t* height, PixelFormat* format, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ) argument 319 sp<IBinder> display = data.readStrongBinder(); local 324 sp<IBinder> display = data.readStrongBinder(); local 330 sp<IBinder> display = data.readStrongBinder(); local [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_object.h | 44 egl_display_t *display; member in class:android::egl_object_t 51 egl_object_t(egl_display_t* display); 56 inline egl_display_t* getDisplay() const { return display; } 60 static bool get(egl_display_t const* display, egl_object_t* object); 71 explicit LocalRef(egl_display_t const* display, T o) : ref(0) { argument 73 if (o && egl_object_t::get(display, native)) {
|
H A D | egl_cache.h | 45 void initialize(egl_display_t* display);
|
H A D | egl_display.cpp | 117 EGLDisplay egl_display_t::getDisplay(EGLNativeDisplayType display) { argument 126 EGLDisplay dpy = cnx->egl.eglGetDisplay(display); 134 return EGLDisplay(uintptr_t(display) + 1U); 189 // display is now initialized 192 // get the query-strings for this display for each implementation 208 // the query strings are per-display 271 * "Termination of a display that has already been terminated, 278 // this is specific to Android, display termination is ref-counted. 322 egl_display_t* display = cur_c->getDisplay(); local 323 if (display) { [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. 78 RemoteDisplay display = new RemoteDisplay(listener, handler); 79 display.startListening(iface); 80 return display; 84 * Disconnects the remote display and stops listening for new connections. 109 + "remote display connection on \"" + iface + "\""); 146 * Listener invoked when the remote display connection changes state.
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | SingleRecipientArrayAdapter.java | 55 TextView display = (TextView) view.findViewById(android.R.id.title); 57 display.setText(entry.getDisplayName()); 58 display.setVisibility(View.VISIBLE);
|
/frameworks/base/services/java/com/android/server/display/ |
H A D | DisplayViewport.java | 17 package com.android.server.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. 33 // The logical display id. 39 // The portion of the logical display that are presented on this physical display. 42 // The portion of the (rotated) physical display that shows the logical display content [all...] |
H A D | WifiDisplayController.java | 17 package com.android.server.display; 27 import android.hardware.display.WifiDisplay; 28 import android.hardware.display.WifiDisplayStatus; 64 * accidentally introducing any deadlocks due to the display manager calling 86 // A unique token to identify the remote submix that is managed by Wifi display. 108 // True if Wifi display is enabled by the user. 139 // The remote display that is listening on the connection. 143 // The remote display interface. 476 + " from Wifi display: " + mConnectedDevice.deviceName); 495 Slog.i(TAG, "Disconnecting from Wifi display 794 advertiseDisplay(final WifiDisplay display, final Surface surface, final int width, final int height, final int flags) argument 840 readvertiseDisplay(WifiDisplay display) argument 945 onDisplayConnecting(WifiDisplay display) argument 947 onDisplayChanged(WifiDisplay display) argument 948 onDisplayConnected(WifiDisplay display, Surface surface, int width, int height, int flags) argument [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | DisplayContent.java | 46 // Specification for magnifying the display content. 49 // Callback for observing content changes on a display. 52 // This protects the following display size properties, so that 56 // resources), but the ActivityThread also needs get the current display 78 * @param display May not be null. 80 DisplayContent(Display display) { argument 81 mDisplay = display; 82 mDisplayId = display.getDisplayId(); 83 display.getDisplayInfo(mDisplayInfo);
|
/frameworks/rs/driver/ |
H A D | rsdGL.cpp | 139 dc->gl.egl.display); 163 RSD_CALL_GL(eglMakeCurrent, dc->gl.egl.display, 165 RSD_CALL_GL(eglDestroySurface, dc->gl.egl.display, dc->gl.egl.surfaceDefault); 167 RSD_CALL_GL(eglDestroySurface, dc->gl.egl.display, dc->gl.egl.surface); 169 RSD_CALL_GL(eglDestroyContext, dc->gl.egl.display, dc->gl.egl.context); 175 RSD_CALL_GL(eglTerminate, dc->gl.egl.display); 246 dc->gl.egl.display = eglGetDisplay(EGL_DEFAULT_DISPLAY); 249 RSD_CALL_GL(eglInitialize, dc->gl.egl.display, 263 ret = eglChooseConfig(dc->gl.egl.display, configAttribs, 0, 0, &numConfigs); 270 eglSwapInterval(dc->gl.egl.display, [all...] |
/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);
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
H A D | UiDevice.java | 24 import android.hardware.display.DisplayManagerGlobal; 108 * Returns the display size in dp (device-independent pixel) 110 * The returned display size is adjusted per screen rotation 112 * @return a Point containing the display size in dp 117 Display display = getDefaultDisplay(); 119 display.getSize(p); 121 display.getMetrics(metrics); 341 * Gets the width of the display, in pixels. The width and height details 342 * are reported based on the current orientation of the display. 348 Display display [all...] |
/frameworks/base/core/jni/ |
H A D | android_media_RemoteDisplay.cpp | 111 NativeRemoteDisplay(const sp<IRemoteDisplay>& display, argument 113 mDisplay(display), mClient(client) { 140 sp<IRemoteDisplay> display = service->listenForRemoteDisplay( local 142 if (display == NULL) { 143 ALOGE("Media player service rejected request to listen for remote display '%s'.", 148 NativeRemoteDisplay* wrapper = new NativeRemoteDisplay(display, client);
|
/frameworks/base/core/java/android/widget/ |
H A D | DateTimeView.java | 110 int display; 132 // Choose the display mode 136 display = SHOW_TIME; 140 display = SHOW_MONTH_DAY_YEAR; 146 if (display == mLastDisplay && mLastFormat != null) { 150 switch (display) { 158 throw new RuntimeException("unknown display value: " + display); 168 if (display == SHOW_TIME) {
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 49 * <li>Manages an EGL display, which enables OpenGL to render into a surface. 125 * the OpenGL display. 556 * recreate the OpenGL display and resume the rendering 760 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); argument 761 void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context); argument 767 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { argument 771 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, 775 public void destroyContext(EGL10 egl, EGLDisplay display, argument 777 if (!egl.eglDestroyContext(display, context)) { 778 Log.e("DefaultContextFactory", "display 797 createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow) argument 799 destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface) argument 804 createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow) argument 821 destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface) argument 844 chooseConfig(EGL10 egl, EGLDisplay display) argument 853 chooseConfig(EGL10 egl, EGLDisplay display) argument 879 chooseConfig(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument 926 chooseConfig(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument 951 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument [all...] |
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | LayoutTestController.java | 27 public void display(); method in interface:LayoutTestController
|
/frameworks/base/core/java/android/provider/ |
H A D | Contacts.java | 260 * The display name. If name is not null name, else if number is not null number, 962 CharSequence display = ""; 969 display = labels[type - 1]; 971 display = labels[People.Phones.TYPE_HOME - 1]; 975 display = label; 978 return display; 1399 CharSequence display = ""; 1406 display = labels[type - 1]; 1408 display = labels[ContactMethods.TYPE_HOME - 1]; 1412 display [all...] |
/frameworks/base/cmds/screencap/ |
H A D | screencap.cpp | 42 "usage: %s [-hp] [-d display-id] [FILENAME]\n" 45 " -d: specify the display id to capture, default %d.\n" 142 sp<IBinder> display = SurfaceComposerClient::getBuiltInDisplay(displayId); local 143 if (display != NULL && screenshot.update(display) == NO_ERROR) {
|
/frameworks/native/libs/gui/tests/ |
H A D | Surface_test.cpp | 88 sp<IBinder> display(sf->getBuiltInDisplay(ISurfaceComposer::eDisplayIdMain)); 89 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, &heap, &w, &h, &fmt, 64, 64, 0, 121 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, &heap, &w, &h, &fmt,
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_gl_environment.cpp | 166 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); 173 EGLSurface egl_surface = eglCreateWindowSurface(gl_env->display(), 235 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); 242 EGLSurface egl_surface = eglCreateWindowSurface(gl_env->display(), 333 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); 341 EGLSurface egl_surface = eglCreateWindowSurface(gl_env->display(),
|