Searched defs:display (Results 51 - 74 of 74) sorted by relevance

123

/frameworks/native/libs/gui/
H A DBufferQueue.cpp861 status_t BufferQueue::releaseBuffer(int buf, EGLDisplay display, argument
872 mSlots[buf].mEglDisplay = display;
H A DSurfaceComposerClient.cpp573 const sp<IBinder>& display, DisplayInfo* info)
575 return ComposerService::getComposerService()->getDisplayInfo(display, info);
592 status_t ScreenshotClient::update(const sp<IBinder>& display) { argument
596 return s->captureScreen(display, &mHeap,
601 status_t ScreenshotClient::update(const sp<IBinder>& display, argument
606 return s->captureScreen(display, &mHeap,
611 status_t ScreenshotClient::update(const sp<IBinder>& display, argument
617 return s->captureScreen(display, &mHeap,
572 getDisplayInfo( const sp<IBinder>& display, DisplayInfo* info) argument
H A DSurfaceTexture.cpp188 status_t SurfaceTexture::releaseBufferLocked(int buf, EGLDisplay display, argument
/frameworks/base/core/java/android/content/
H A DContextWrapper.java608 public Context createDisplayContext(Display display) { argument
609 return mBase.createDisplayContext(display);
H A DContext.java2230 * {@link android.hardware.display.DisplayManager} for interacting with display devices.
2233 * @see android.hardware.display.DisplayManager
2235 public static final String DISPLAY_SERVICE = "display";
2374 * display).
2694 * The returned display Context provides a {@link WindowManager}
2696 * on the given display. The WindowManager's {@link WindowManager#getDefaultDisplay}
2699 * @param display A {@link Display} object specifying the display
2703 * @return A Context for the display
2705 createDisplayContext(Display display) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp108 status_t update(const sp<IBinder>& display, int width, int height, argument
112 ? mScreenshot.update(display, width, height)
113 : mScreenshot.update(display, width, height, minLayer, maxLayer))
114 : mScreenshot.update(display);
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java132 * <p>The default density is the same density as the current display,
280 * well as the ability to display transparent/translucent colors.
640 * @param display Display metrics for the display this bitmap will be
647 public static Bitmap createBitmap(DisplayMetrics display, int width, argument
649 return createBitmap(display, width, height, config, true);
673 * @param display Display metrics for the display this bitmap will be
684 private static Bitmap createBitmap(DisplayMetrics display, int width, int height, argument
690 if (display !
748 createBitmap(DisplayMetrics display, int colors[], int offset, int stride, int width, int height, Config config) argument
808 createBitmap(DisplayMetrics display, int colors[], int width, int height, Config config) argument
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java539 public Context createDisplayContext(Display display) { argument
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DCallbackProxy.java173 mLayoutTestController.display();
377 public void display() { method in class:CallbackProxy
H A DTestShellActivity.java420 public void display() { method in class:TestShellActivity
794 // We never display the new window, just create the view and
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp111 EGLDisplay eglGetDisplay(EGLNativeDisplayType display) argument
115 uint32_t index = uint32_t(display);
124 EGLDisplay dpy = egl_display_t::getFromNativeDisplay(display);
513 // a valid but uninitialized display.
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
H A DEGL10.java97 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/app/
H A DContextImpl.java53 import android.hardware.display.DisplayManager;
187 private Display mDisplay; // may be null if default display
523 Display display = ctx.mDisplay;
524 if (display == null) {
527 display = dm.getDisplay(Display.DEFAULT_DISPLAY);
529 return new WindowManagerImpl(display);
1772 public Context createDisplayContext(Display display) { argument
1773 if (display == null) {
1774 throw new IllegalArgumentException("display must not be null");
1777 int displayId = display
[all...]
/frameworks/base/core/java/android/text/
H A DLayout.java62 * Return how wide a layout must be in order to display the
71 * Return how wide a layout must be in order to display the
99 * Subclasses of Layout use this constructor to set the display text,
119 * Subclasses of Layout use this constructor to set the display text,
1823 public SpannedEllipsizer(CharSequence display) { argument
1824 super(display);
1825 mSpanned = (Spanned) display;
/frameworks/base/core/java/android/view/
H A DWindowManagerPolicy.java144 * @param displayFrame The frame of the overall display in which this
147 * @param contentFrame The frame within the display in which we would
150 * @param visibleFrame The frame within the display that the window
177 * Retrieve the frame of the display that this window was last
181 * @return Rect The rectangle holding the display frame.
188 * should be placed. It will be smaller than the display frame to
345 * @return true if window is on default display.
488 * display dimensions.
490 public void setInitialDisplaySize(Display display, int width, int height, int density); argument
525 * on its knowledge of the display an
[all...]
H A DViewRootImpl.java334 public ViewRootImpl(Context context, Display display) { argument
347 mDisplay = display;
349 CompatibilityInfoHolder cih = display.getCompatibilityInfo();
374 mAttachInfo = new View.AttachInfo(mWindowSession, mWindow, display, this, mHandler, this);
597 " -- the specified display can not be found");
1045 "Measuring " + host + " in display " + desiredWindowWidth
1051 // stretch to fill the entire width of the screen to display
1494 // before actually drawing them, so it can display then
H A DView.java42 import android.hardware.display.DisplayManagerGlobal;
572 * how the view is drawn on the display. In particular, the {@link ViewPropertyAnimator} class
926 * The scrollbar style to display the scrollbars inside the content area,
933 * The scrollbar style to display the scrollbars inside the padded area,
940 * The scrollbar style to display the scrollbars at the edge of the view,
947 * The scrollbar style to display the scrollbars at the edge of the view,
1537 * Flag to indicate that this view was marked INVALIDATED, or had its display list
1539 * its display list. This flag, used only when hw accelerated, allows us to clear the
1541 * in drawChild(), when we decide to draw a view's children's display lists into our own).
1729 * a view's display lis
17941 AttachInfo(IWindowSession session, IWindow window, Display display, ViewRootImpl viewRootImpl, Handler handler, Callbacks effectPlayer) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java934 public Context createDisplayContext(Display display) { argument
/frameworks/base/media/java/android/media/
H A DMediaRouter.java25 import android.hardware.display.DisplayManager;
26 import android.hardware.display.WifiDisplay;
27 import android.hardware.display.WifiDisplayStatus;
111 // This will select the active wifi display route if there is one.
222 Display display = choosePresentationDisplayForRoute(info, displays);
223 if (display != info.mPresentationDisplay
224 || (display != null && display.getDisplayId() == changedDisplayId)) {
225 info.mPresentationDisplay = display;
250 * of the device's primary display o
428 matchesDeviceAddress(WifiDisplay display, RouteInfo info) argument
793 makeWifiDisplayRoute(WifiDisplay display, boolean available) argument
811 updateWifiDisplayRoute(RouteInfo route, WifiDisplay display, boolean available, WifiDisplayStatus wifiDisplayStatus) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java49 * <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/native/opengl/libagl/
H A Degl.cpp1377 EGLDisplay eglGetDisplay(NativeDisplayType display) argument
1388 if (display == EGL_DEFAULT_DISPLAY) {
1391 d.type = display;
1821 // eglGetCurrentDisplay returns the current EGL display connection
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp139 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); local
140 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
141 eglTerminate(display);
172 // no more references, this display must be terminated
196 ALOGE("getDefaultDisplay: id=%d is not a valid default display id", id);
329 EGLConfig SurfaceFlinger::selectEGLConfig(EGLDisplay display, EGLint nativeVisualId) { argument
344 err = selectConfigForAttribute(display, attribs, EGL_NONE, EGL_NONE, &config);
351 err = selectConfigForAttribute(display, attribs,
359 err = selectConfigForAttribute(display, attribs,
370 err = selectConfigForAttribute(display, attrib
386 createGLContext(EGLDisplay display, EGLConfig config) argument
402 initializeGL(EGLDisplay display) argument
603 getDisplayInfo(const sp<IBinder>& display, DisplayInfo* info) argument
2074 unblank(const sp<IBinder>& display) argument
2097 blank(const sp<IBinder>& display) argument
2604 captureScreenImplLocked(const sp<IBinder>& display, sp<IMemoryHeap>* heap, uint32_t* w, uint32_t* h, PixelFormat* f, uint32_t sw, uint32_t sh, uint32_t minLayerZ, uint32_t maxLayerZ) argument
2732 captureScreen(const sp<IBinder>& display, sp<IMemoryHeap>* heap, uint32_t* width, uint32_t* height, PixelFormat* format, uint32_t sw, uint32_t sh, uint32_t minLayerZ, uint32_t maxLayerZ) argument
2746 sp<IBinder> display; member in class:android::MessageCaptureScreen
2757 MessageCaptureScreen(SurfaceFlinger* flinger, const sp<IBinder>& display, sp<IMemoryHeap>* heap, uint32_t* w, uint32_t* h, PixelFormat* f, uint32_t sw, uint32_t sh, uint32_t minLayerZ, uint32_t maxLayerZ) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java363 // that area of the display from all other windows.
950 public void setInitialDisplaySize(Display display, int width, int height, int density) { argument
951 mDisplay = display;
1051 // For demo purposes, allow the rotation of the HDMI display to be controlled.
1398 // used to highlight the magnified portion of a display
1401 // used to simulate secondary display devices
1482 // bar at the top of the display. We don't count that as part of the
1587 // Whoops, there is no way to display an animation/preview
2570 // The effective display frame of the attached window depends on
2574 // the display fram
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DWindowManagerService.java54 import com.android.server.display.DisplayManagerService;
82 import android.hardware.display.DisplayManager;
802 for (Display display : displays) {
803 createDisplayContentLocked(display);
907 * @param displayContent The display we are interested in.
964 // No window from token found on win's display.
973 // No windows from this token on this display
989 // is not going to the bottom and has windows on this display, we can
1016 // token that has windows on this display.
1171 // same display
10979 createDisplayContentLocked(final Display display) argument
11104 getWindowListLocked(final Display display) argument
[all...]

Completed in 4039 milliseconds

123