Searched defs:display (Results 1 - 25 of 114) sorted by relevance

12345

/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayBlanker.java17 package com.android.server.display;
20 * Interface used to update the actual display state.
H A DPersistentDataStore.java17 package com.android.server.display;
26 import android.hardware.display.WifiDisplay;
45 * Manages persistent state recorded by the display manager service as an XML file.
50 * <display-manager-state>
52 * <wifi-display deviceAddress="00:00:00:00:00:00" deviceName="XXXX" deviceAlias="YYYY" />
54 * >/display-manager-state>
62 // Remembered Wifi display devices.
75 mAtomicFile = new AtomicFile(new File("/data/system/display-manager-state.xml"));
99 public WifiDisplay applyWifiDisplayAlias(WifiDisplay display) { argument
100 if (display !
134 rememberWifiDisplay(WifiDisplay display) argument
[all...]
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureMultiContextGL_test.cpp111 // Make there be no current display.
293 // Make there be no current display.
426 // Terminate and then initialize the display. All contexts, surfaces
428 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); local
432 EXPECT_TRUE(eglTerminate(display));
/frameworks/base/core/java/android/hardware/display/
H A DVirtualDisplay.java16 package android.hardware.display;
22 * Represents a virtual display. The content of a virtual display is rendered to a
26 * Because a virtual display renders to a surface provided by the application, it will be
40 VirtualDisplay(DisplayManagerGlobal global, Display display, argument
43 mDisplay = display;
49 * Gets the virtual display.
56 * Gets the surface that backs the virtual display.
63 * Sets the surface that backs the virtual display.
65 * Detaching the surface that backs a virtual display ha
[all...]
H A DDisplayViewport.java17 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...]
H A DWifiDisplaySessionInfo.java17 package android.hardware.display;
23 * This class contains information regarding a wifi display session
H A DWifiDisplay.java17 package android.hardware.display;
25 * Describes the properties of a Wifi display.
77 * Gets the MAC address of the Wifi display device.
84 * Gets the name of the Wifi display device.
91 * Gets the user-specified alias of the Wifi display device, or null if none.
147 * Returns true if the other display is not null and has the same address as this one.
/frameworks/base/libs/hwui/
H A DImage.cpp27 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); local
31 mImage = eglCreateImageKHR(display, EGL_NO_CONTEXT,
H A DReadback.cpp131 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); local
135 EGLImageKHR sourceImage = eglCreateImageKHR(display, EGL_NO_CONTEXT,
/frameworks/base/libs/hwui/tests/common/
H A DTestContext.cpp41 DisplayInfo display; local
44 status_t status = SurfaceComposerClient::getDisplayInfo(dtoken, &display);
45 LOG_ALWAYS_FATAL_IF(status, "Failed to get display info\n");
46 return display;
/frameworks/support/v4/jellybean-mr1/android/support/v4/hardware/display/
H A DDisplayManagerJellybeanMr1.java17 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/services/core/java/com/android/server/wm/
H A DStrictModeFlash.java44 public StrictModeFlash(Display display, SurfaceSession session) { argument
49 ctrl.setLayerStack(display.getLayerStack());
H A DEmulatorDisplayOverlay.java53 public EmulatorDisplayOverlay(Context context, Display display, SurfaceSession session, argument
56 display.getSize(mScreenSize);
68 ctrl.setLayerStack(display.getLayerStack());
H A DWatermark.java56 Watermark(Display display, DisplayMetrics dm, SurfaceSession session, String[] tokens) { argument
64 mDisplay = display;
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
H A DDemoPresentation.java33 * 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/include/gui/
H A DBufferQueueConsumer.h71 const sp<Fence>& releaseFence, EGLDisplay display,
147 EGLDisplay display, EGLSyncKHR fence,
149 return releaseBuffer(buf, frameNumber, releaseFence, display, fence);
146 releaseBuffer(int buf, uint64_t frameNumber, EGLDisplay display, EGLSyncKHR fence, const sp<Fence>& releaseFence) argument
/frameworks/support/v4/java/android/support/v4/hardware/display/
H A DDisplayManagerCompat.java17 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/support/v4/jellybean-mr1/android/support/v4/view/
H A DGravityCompatJellybeanMr1.java39 public static void applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection) { argument
40 Gravity.applyDisplay(gravity, display, inoutObj, layoutDirection);
/frameworks/base/core/java/android/app/
H A DPresentation.java21 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
289 createPresentationContext( Context outerContext, Display display, int theme) argument
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.h59 // includes the display, context, and surface. It is possible to either create
62 // necessarily through this class), and have an active display, context, and
79 // there is already a display, surface and context available (possibly
159 // Obtain the environment's EGL display.
160 const EGLDisplay& display() const { function in class:android::filterfw::GLEnv
209 // Get the currently active display.
230 // The EGL display, contexts, and surfaces.
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
H A DDisplayDensityUtils.java17 package com.android.settingslib.display;
35 * Utility methods for working with display density.
102 // Compute number of "larger" and "smaller" scales for this display.
190 * Returns the default density for the specified display.
192 * @param displayId the identifier of the display
193 * @return the default density of the specified display, or {@code -1} if
194 * the display does not exist or the density could not be obtained
206 * Asynchronously applies display density changes to the specified display.
208 * @param displayId the identifier of the display t
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DRecentsComponent.java26 void toggleRecents(Display display); argument
/frameworks/support/v4/java/android/support/v4/view/
H A DGravityCompat.java33 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/core/tests/coretests/src/android/hardware/display/
H A DVirtualDisplayTest.java17 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/cmds/screencap/
H A Dscreencap.cpp50 "usage: %s [-hp] [-d display-id] [FILENAME]\n"
53 " -d: specify the display id to capture, default %d.\n"
148 sp<IBinder> display = SurfaceComposerClient::getBuiltInDisplay(displayId); local
149 if (display == NULL) {
150 fprintf(stderr, "Unable to get handle for display %d\n", displayId);
155 SurfaceComposerClient::getDisplayConfigs(display, &configs);
156 int activeConfig = SurfaceComposerClient::getActiveConfig(display);
165 status_t result = screenshot.update(display, Rect(), 0, 0, 0, -1U,

Completed in 590 milliseconds

12345