Searched refs:display (Results 1 - 25 of 181) sorted by path

12345678

/frameworks/av/cmds/stagefright/
H A Dcodec.cpp386 sp<IBinder> display(SurfaceComposerClient::getBuiltInDisplay(
389 SurfaceComposerClient::getDisplayInfo(display, &info);
393 ALOGV("display is %ld x %ld\n", displayWidth, displayHeight);
H A Dstream.cpp314 sp<IBinder> display(SurfaceComposerClient::getBuiltInDisplay(
317 SurfaceComposerClient::getDisplayInfo(display, &info);
321 ALOGV("display is %d x %d\n", displayWidth, displayHeight);
/frameworks/av/media/libmedia/
H A DIMediaPlayerService.cpp326 sp<IRemoteDisplay> display(listenForRemoteDisplay(client, iface));
327 reply->writeStrongBinder(display->asBinder());
/frameworks/av/media/libmediaplayerservice/
H A DAndroid.mk53 $(TOP)/frameworks/av/media/libstagefright/wifi-display \
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerCCDecoder.cpp323 void NuPlayer::CCDecoder::display(int64_t timeUs) { function in class:android::NuPlayer::CCDecoder
H A DNuPlayerCCDecoder.h38 void display(int64_t timeUs);
H A DNuPlayerDecoder.cpp792 mCCDecoder->display(timeUs);
/frameworks/base/
H A DAndroid.mk153 core/java/android/hardware/display/IDisplayManager.aidl \
154 core/java/android/hardware/display/IDisplayManagerCallback.aidl \
155 core/java/android/hardware/display/IVirtualDisplayCallback.aidl \
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp264 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); local
266 eglInitialize(display, 0, 0);
267 eglChooseConfig(display, attribs, &config, 1, &numConfigs);
268 surface = eglCreateWindowSurface(display, config, s.get(), NULL);
269 context = eglCreateContext(display, config, NULL, NULL);
270 eglQuerySurface(display, surface, EGL_WIDTH, &w);
271 eglQuerySurface(display, surface, EGL_HEIGHT, &h);
273 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE)
276 mDisplay = display;
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp45 "usage: %s [-hp] [-d display-id] [FILENAME]\n"
48 " -d: specify the display id to capture, default %d.\n"
143 sp<IBinder> display = SurfaceComposerClient::getBuiltInDisplay(displayId); local
144 if (display != NULL && screenshot.update(display, Rect(), false) == NO_ERROR) {
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DDumpCommand.java21 import android.hardware.display.DisplayManagerGlobal;
94 Display display =
96 int rotation = display.getRotation();
98 display.getSize(size);
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiDevice.java121 * Returns the display size in dp (device-independent pixel)
123 * The returned display size is adjusted per screen rotation. Also this will return the actual
126 * @return a Point containing the display size in dp
130 Display display = getAutomatorBridge().getDefaultDisplay();
132 display.getRealSize(p);
134 display.getRealMetrics(metrics);
371 * Gets the width of the display, in pixels. The width and height details
372 * are reported based on the current orientation of the display.
378 Display display = getAutomatorBridge().getDefaultDisplay();
380 display
[all...]
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
H A DShellUiAutomatorBridge.java26 import android.hardware.display.DisplayManagerGlobal;
/frameworks/base/core/java/android/app/
H A DActivityThread.java46 import android.hardware.display.DisplayManagerGlobal;
2344 Display display = dm.getRealDisplay(displayId, r.token);
2345 baseContext = appContext.createDisplayContext(display);
2351 // the "debug.use-second-display" system property as a substring, then show
2352 // its content on a secondary display if there is one.
2353 String pkgName = SystemProperties.get("debug.second-display.pkg");
2358 Display display = dm.getRealDisplay(displayId, r.token);
2359 baseContext = appContext.createDisplayContext(display);
5118 // we can't display an alert, we just want to die die die.
H A DContextImpl.java69 import android.hardware.display.DisplayManager;
232 private final Display mDisplay; // may be null if default display
637 Display display = ctx.mDisplay;
638 if (display == null) {
644 display = mDefaultDisplay;
646 return new WindowManagerImpl(display);
2187 public Context createDisplayContext(Display display) { argument
2188 if (display == null) {
2189 throw new IllegalArgumentException("display must not be null");
2193 mUser, mRestricted, display, mOverrideConfiguratio
2257 ContextImpl(ContextImpl container, ActivityThread mainThread, LoadedApk packageInfo, IBinder activityToken, UserHandle user, boolean restricted, Display display, Configuration overrideConfiguration) argument
[all...]
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
287 createPresentationContext( Context outerContext, Display display, int theme) argument
[all...]
H A DResourcesManager.java27 import android.hardware.display.DisplayManagerGlobal;
102 // instead of using the raw display id everywhere. The Display object caches
103 // its information even after the display has been removed.
213 //Slog.i(TAG, "Resource: key=" + key + ", display metrics=" + metrics);
H A DUiAutomation.java27 import android.hardware.display.DisplayManagerGlobal;
618 Display display = DisplayManagerGlobal.getInstance()
621 display.getRealSize(displaySize);
628 final int rotation = display.getRotation();
/frameworks/base/core/java/android/content/
H A DContext.java2778 * {@link android.hardware.display.DisplayManager} for interacting with display devices.
2781 * @see android.hardware.display.DisplayManager
2783 public static final String DISPLAY_SERVICE = "display";
3043 * display).
3413 * The returned display Context provides a {@link WindowManager}
3415 * on the given display. The WindowManager's {@link WindowManager#getDefaultDisplay}
3418 * @param display A {@link Display} object specifying the display
3422 * @return A {@link Context} for the display
3424 createDisplayContext(@onNull Display display) argument
[all...]
H A DContextWrapper.java699 public Context createDisplayContext(Display display) { argument
700 return mBase.createDisplayContext(display);
/frameworks/base/core/java/android/hardware/display/
H A DDisplayManager.java17 package android.hardware.display;
52 * Broadcast receiver that indicates when the Wifi display status changes.
62 "android.hardware.display.action.WIFI_DISPLAY_STATUS_CHANGED";
69 "android.hardware.display.extra.WIFI_DISPLAY_STATUS";
85 "android.hardware.display.category.PRESENTATION";
88 * Virtual display flag: Create a public display.
92 * When this flag is set, the virtual display is public.
94 * A public virtual display behaves just like most any other display tha
[all...]
H A DDisplayManagerGlobal.java17 package android.hardware.display;
20 import android.hardware.display.DisplayManager.DisplayListener;
41 * Manager communication with the display manager service on behalf of
50 // True if display info and display ids should be cached.
56 // an application could start processing a configuration change due to a display
57 // orientation change before the display info cache has actually been invalidated.
84 * Gets an instance of the display manager global singleton.
86 * @return The display manager instance, may be null early in system startup
87 * before the display manage
[all...]
H A DDisplayManagerInternal.java17 package android.hardware.display;
40 * The display power controller makes a copy of the provided object and then
48 * @return True if display is ready, false if there are important changes that must
62 * Returns information about the specified logical display.
64 * @param displayId The logical display id.
65 * @return The logical display info, or null if the display does not exist. The
71 * Registers a display transaction listener to provide the client a chance to
72 * update its surfaces within the same transaction as any display layout updates.
79 * Unregisters a display transactio
[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 DIDisplayManager.aidl17 package android.hardware.display;
19 import android.hardware.display.IDisplayManagerCallback;
20 import android.hardware.display.IVirtualDisplayCallback;
21 import android.hardware.display.WifiDisplay;
22 import android.hardware.display.WifiDisplayStatus;

Completed in 1210 milliseconds

12345678