Searched defs:display (Results 76 - 100 of 105) sorted by relevance

12345

/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp60 * Initialize the display to the specified values.
95 * Create our display's surface
99 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); local
101 config = RenderEngine::chooseEglConfig(display, format);
103 surface = eglCreateWindowSurface(display, config, window, NULL);
104 eglQuerySurface(display, surface, EGL_WIDTH, &mDisplayWidth);
105 eglQuerySurface(display, surface, EGL_HEIGHT, &mDisplayHeight);
107 // Make sure that composition can never be stalled by a virtual display
110 // * Here, in case the display is composed entirely by HWC.
118 mDisplay = display;
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp49 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
366 selectEGLConfig(EGLDisplay display, EGLint format, EGLint renderableType, EGLConfig* config) argument
402 chooseEglConfig(EGLDisplay display, int format) argument
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayManagerService.java17 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
939 setViewportLocked(DisplayViewport viewport, LogicalDisplay display, DisplayDevice device) argument
[all...]
H A DAutomaticBrightnessController.java17 package com.android.server.display;
91 // Debounce for sampling user-initiated changes in display brightness to ensure
98 // Callbacks for requesting updates to the the display's power state
637 /** Callbacks to request updates to the display's power state. */
H A DDisplayPowerController.java17 package com.android.server.display;
31 import android.hardware.display.DisplayManagerInternal.DisplayPowerCallbacks;
32 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
50 * Controls the power state of the display.
64 * blocker as long as the display is not ready. So most of the work done here
66 * independently of the display ready signal.
133 // The display blanker.
256 * Creates the display power controller.
386 * @return True if display is ready, false if there are important changes that must
444 // Initialize the power state object for the default display
[all...]
/frameworks/base/core/java/android/content/
H A DContextWrapper.java775 public Context createDisplayContext(Display display) { argument
776 return mBase.createDisplayContext(display);
H A DContext.java3105 * {@link android.hardware.display.DisplayManager} for interacting with display devices.
3108 * @see android.hardware.display.DisplayManager
3110 public static final String DISPLAY_SERVICE = "display";
3405 * display).
3779 * The returned display Context provides a {@link WindowManager}
3781 * on the given display. The WindowManager's {@link WindowManager#getDefaultDisplay}
3784 * @param display A {@link Display} object specifying the display
3788 * @return A {@link Context} for the display
3790 createDisplayContext(@onNull Display display) argument
[all...]
/frameworks/base/core/java/android/view/
H A DSurfaceControl.java152 * external display sink. If a hardware-protected path is not available,
203 /* built-in physical display ids (keep in sync with ISurfaceComposer.h)
204 * these are different from the logical display ids used elsewhere in the framework */
207 * Built-in physical display id: Main display.
213 * Built-in physical display id: Attached HDMI display.
470 * set display parameters.
475 * Describes the properties of a physical display known to surface flinger.
637 * @param display Th
651 screenshot(IBinder display, Surface consumer, int width, int height, int minLayer, int maxLayer, boolean useIdentityTransform) argument
668 screenshot(IBinder display, Surface consumer, int width, int height) argument
679 screenshot(IBinder display, Surface consumer) argument
743 screenshot(IBinder display, Surface consumer, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform) argument
[all...]
H A DWindowManagerPolicy.java144 * @param displayFrame The frame of the overall display in which this
147 * @param overlayFrame The frame within the display that is inside
149 * @param contentFrame The frame within the display in which we would
152 * @param visibleFrame The frame within the display that the window
185 * Retrieve the frame of the display that this window was last
189 * @return Rect The rectangle holding the display frame.
195 * display that this window was last laid out in. Must be called with the
198 * @return Rect The rectangle holding the display overscan frame.
205 * should be placed. It will be smaller than the display frame to
382 * @return true if window is on default display
519 setInitialDisplaySize(Display display, int width, int height, int density) argument
525 setDisplayOverscan(Display display, int left, int top, int right, int bottom) argument
[all...]
/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/packages/DocumentsUI/src/com/android/documentsui/
H A DBaseActivity.java415 void setDisplayAdvancedDevices(boolean display) { argument
417 LocalPreferences.setDisplayAdvancedDevices(this, display);
418 state.showAdvanced = state.forceAdvanced | display;
423 void setDisplayFileSize(boolean display) { argument
424 LocalPreferences.setDisplayFileSize(this, display);
425 getDisplayState().showSize = display;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecents.java333 public void toggleRecents(Display display, int layoutDirection, View statusBarView) { argument
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java658 public Context createDisplayContext(Display display) { argument
/frameworks/native/libs/gui/
H A DGLConsumer.cpp367 EGLDisplay display, EGLSyncKHR eglFence) {
373 buf, graphicBuffer, display, eglFence);
407 GLC_LOGW("updateAndRelease: unable to createImage on display=%p slot=%d",
461 ALOGE("bindTextureImage: invalid display");
480 GLC_LOGW("bindTextureImage: can't create image on display=%p slot=%d",
486 // In the rare case that the display is terminated and then initialized
487 // again, we can't detect that the display changed (it didn't), but the
496 GLC_LOGW("bindTextureImage: can't create image on display=%p slot=%d",
365 releaseBufferLocked(int buf, sp<GraphicBuffer> graphicBuffer, EGLDisplay display, EGLSyncKHR eglFence) argument
H A DSurfaceComposerClient.cpp138 void destroyDisplay(const sp<IBinder>& display);
193 void Composer::destroyDisplay(const sp<IBinder>& display) { argument
194 return ComposerService::getComposerService()->destroyDisplay(display);
511 void SurfaceComposerClient::destroyDisplay(const sp<IBinder>& display) { argument
512 Composer::getInstance().destroyDisplay(display);
640 const sp<IBinder>& display, Vector<DisplayInfo>* configs)
642 return ComposerService::getComposerService()->getDisplayConfigs(display, configs);
645 status_t SurfaceComposerClient::getDisplayInfo(const sp<IBinder>& display, argument
648 status_t result = getDisplayConfigs(display, &configs);
653 int activeId = getActiveConfig(display);
639 getDisplayConfigs( const sp<IBinder>& display, Vector<DisplayInfo>* configs) argument
663 getActiveConfig(const sp<IBinder>& display) argument
667 setActiveConfig(const sp<IBinder>& display, int id) argument
686 capture( const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform) argument
716 update(const sp<IBinder>& display, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform, uint32_t rotation) argument
743 update(const sp<IBinder>& display, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform) argument
752 update(const sp<IBinder>& display, Rect sourceCrop, bool useIdentityTransform) argument
758 update(const sp<IBinder>& display, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform) argument
[all...]
/frameworks/base/core/java/android/app/
H A DContextImpl.java148 private final Display mDisplay; // may be null if default display
1718 public Context createDisplayContext(Display display) { argument
1719 if (display == null) {
1720 throw new IllegalArgumentException("display must not be null");
1724 mUser, mRestricted, display, null, Display.INVALID_DISPLAY);
1798 Display display, Configuration overrideConfiguration, int createDisplayWithId) {
1815 : (display != null) ? display.getDisplayId() : Display.DEFAULT_DISPLAY;
1829 mDisplay = (createDisplayWithId == Display.INVALID_DISPLAY) ? display
1796 ContextImpl(ContextImpl container, ActivityThread mainThread, LoadedApk packageInfo, IBinder activityToken, UserHandle user, boolean restricted, Display display, Configuration overrideConfiguration, int createDisplayWithId) argument
/frameworks/base/core/java/android/text/
H A DLayout.java120 * Return how wide a layout must be in order to display the
129 * Return how wide a layout must be in order to display the
157 * Subclasses of Layout use this constructor to set the display text,
177 * Subclasses of Layout use this constructor to set the display text,
1956 public SpannedEllipsizer(CharSequence display) { argument
1957 super(display);
1958 mSpanned = (Spanned) display;
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java147 * <p>The default density is the same density as the current display,
388 * well as the ability to display transparent/translucent colors.
782 * @param display Display metrics for the display this bitmap will be
789 public static Bitmap createBitmap(DisplayMetrics display, int width, argument
791 return createBitmap(display, width, height, config, true);
815 * @param display Display metrics for the display this bitmap will be
826 private static Bitmap createBitmap(DisplayMetrics display, int width, int height, argument
832 if (display !
888 createBitmap(DisplayMetrics display, int colors[], int offset, int stride, int width, int height, Config config) argument
948 createBitmap(DisplayMetrics display, int colors[], int width, int height, Config config) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java50 * <li>Manages an EGL display, which enables OpenGL to render into a surface.
126 * the OpenGL display.
557 * recreate the OpenGL display and resume the rendering
756 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); argument
757 void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context); argument
763 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { argument
767 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT,
771 public void destroyContext(EGL10 egl, EGLDisplay display, argument
773 if (!egl.eglDestroyContext(display, context)) {
774 Log.e("DefaultContextFactory", "display
793 createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow) argument
795 destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface) argument
800 createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow) argument
817 destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface) argument
840 chooseConfig(EGL10 egl, EGLDisplay display) argument
849 chooseConfig(EGL10 egl, EGLDisplay display) argument
875 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/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCameraStreamer.java584 "display!");
800 /** The display the camera streamer is bound to. */
1011 public synchronized void bindToDisplay(Display display) { argument
1012 mDisplay = display;
1236 throw new IllegalArgumentException("Unsupported display rotation constant! Use "
1261 mOrientation = -1; // Forces recalculation to match display
1551 * Manually update the display rotation.
1552 * You do not need to call this, if the camera is bound to a display, or your app does not
1560 * Bind the camera to your Activity's display.
1561 * Use this, if your Activity supports multiple display orientatio
1564 bindToDisplay(Display display) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java65 import android.hardware.display.DisplayManager;
1224 public Context createDisplayContext(Display display) { argument
/frameworks/native/opengl/libagl/
H A Degl.cpp1404 EGLDisplay eglGetDisplay(NativeDisplayType display) argument
1415 if (display == EGL_DEFAULT_DISPLAY) {
1418 d.type = display;
1854 // eglGetCurrentDisplay returns the current EGL display connection
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp248 EGLDisplay eglGetDisplay(EGLNativeDisplayType display) argument
252 uintptr_t index = reinterpret_cast<uintptr_t>(display);
261 EGLDisplay dpy = egl_display_t::getFromNativeDisplay(display);
726 // a valid but uninitialized display.
/frameworks/base/media/java/android/media/
H A DMediaRouter.java30 import android.hardware.display.DisplayManager;
31 import android.hardware.display.WifiDisplay;
32 import android.hardware.display.WifiDisplayStatus;
127 // Only the system can configure wifi displays. The display manager
143 // This will select the active wifi display route if there is one.
273 // Update wifi display scanning.
278 // Don't scan while already connected to a remote display since
606 * of the device's primary display or a customized
609 * <p>Once initiated, display mirroring is transparent to the application.
612 * on the external display wit
973 matchesDeviceAddress(WifiDisplay display, RouteInfo info) argument
1400 makeWifiDisplayRoute(WifiDisplay display, WifiDisplayStatus wfdStatus) argument
1417 updateWifiDisplayRoute( RouteInfo route, WifiDisplay display, WifiDisplayStatus wfdStatus, boolean disconnected) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityStackSupervisor.java72 import android.hardware.display.DisplayManager;
73 import android.hardware.display.DisplayManager.DisplayListener;
74 import android.hardware.display.DisplayManagerGlobal;
75 import android.hardware.display.VirtualDisplay;
298 /** Mapping from displayId to display current state */
1428 + " on display " + (container == null ? (mFocusedStack == null ?
2970 // Look for the top stack on the home display that isn't the home stack.
2984 // display.
3413 // Stack was moved to another display while user was swapped out.
4211 + " to display
4520 init(Display display) argument
[all...]

Completed in 585 milliseconds

12345