/frameworks/base/core/java/android/hardware/display/ |
DisplayManager.java | 17 package android.hardware.display; 25 import android.view.Display; 47 private final SparseArray<Display> mDisplays = new SparseArray<Display>(); 49 private final ArrayList<Display> mTempDisplays = new ArrayList<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"; 72 * Display category: Presentation displays 304 Display display = getOrCreateDisplayLocked(displayIds[i], true \/*assumeValid*\/); local 314 Display display = getOrCreateDisplayLocked(displayIds[i], true \/*assumeValid*\/); local 324 Display display = mDisplays.get(displayId); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
GestureToolTip.java | 26 import org.eclipse.swt.widgets.Display; 86 * @param below if true, display the tooltip below the mouse cursor otherwise above 87 * @param toRightOf if true, display the tooltip to the right of the mouse cursor, 99 Display display = parent.getDisplay(); local 101 mLabel.setBackground(display.getSystemColor(SWT.COLOR_INFO_BACKGROUND)); 102 mLabel.setForeground(display.getSystemColor(SWT.COLOR_INFO_FOREGROUND)); 104 Font systemFont = display.getSystemFont(); 109 mFont = new Font(display, fd); 122 * @param below if true, display the tooltip below the mouse cursor otherwise abov [all...] |
/cts/tests/leanbackjank/app/src/android/cts/jank/leanback/ |
Utils.java | 25 import android.view.Display; 54 * Returns the screen/display size 58 Display display = wm.getDefaultDisplay(); local 60 display.getSize(size);
|
/cts/tests/tests/app/src/android/app/cts/ |
ActivityManagerMemoryClassTest.java | 25 import android.view.Display; 131 Display display = windowManager.getDefaultDisplay(); local 133 display.getMetrics(metrics);
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
ConfigurationScreenLayoutTest.java | 26 import android.view.Display; 98 Display display = windowManager.getDefaultDisplay(); local 100 display.getMetrics(metrics);
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
EglConfigTest.java | 73 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); local 88 if (egl.eglInitialize(display, null)) { 90 if (egl.eglChooseConfig(display, attributeList, null, 0, numConfigs)) { 92 if (egl.eglChooseConfig(display, attributeList, configs, configs.length, 97 if (egl.eglGetConfigAttrib(display, configs[i], EGL10.EGL_CONFIG_ID, 112 egl.eglTerminate(display);
|
/cts/tests/tests/view/src/android/view/cts/ |
GravityTest.java | 276 Rect display = new Rect(20, 30, 40, 50); local 278 Gravity.applyDisplay(Gravity.DISPLAY_CLIP_VERTICAL, display, inoutRect); 284 display = new Rect(20, 30, 40, 50); 286 Gravity.applyDisplay(Gravity.DISPLAY_CLIP_HORIZONTAL, display, inoutRect);
|
/development/ndk/platforms/android-9/samples/native-activity/jni/ |
main.c | 52 EGLDisplay display; member in struct:engine 61 * Initialize an EGL context for the current display. 84 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); local 86 eglInitialize(display, 0, 0); 91 eglChooseConfig(display, attribs, &config, 1, &numConfigs); 97 eglGetConfigAttrib(display, config, EGL_NATIVE_VISUAL_ID, &format); 101 surface = eglCreateWindowSurface(display, config, engine->app->window, NULL); 102 context = eglCreateContext(display, config, NULL, NULL); 104 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE) { 109 eglQuerySurface(display, surface, EGL_WIDTH, &w) [all...] |
/device/google/accessory/arduino/USB_Host_Shield/ |
Max_LCD.cpp | 40 // When the display powers up, it is configured as follows: 42 // 1. Display clear 45 // N = 0; 1-line display 47 // 3. Display on/off control: 48 // D = 0; Display off 141 // turn the display on with no cursor or blinking default 143 display(); 157 command(LCD_CLEARDISPLAY); // clear display, set cursor position to zero 177 // Turn the display on/off (quickly) 182 void Max_LCD::display() { function in class:Max_LCD [all...] |
/external/deqp/framework/egl/ |
egluCallLogWrapper.cpp | 192 eglw::EGLDisplay display; member in class:eglu::EGLDisplayFmt 193 EGLDisplayFmt (eglw::EGLDisplay display_) : display(display_) {} 196 inline EGLDisplayFmt getEGLDisplayStr (eglw::EGLDisplay display) { return EGLDisplayFmt(display); } 200 if (fmt.display == EGL_NO_DISPLAY) 203 return str << toHex(fmt.display);
|
/external/deqp/framework/platform/X11/ |
tcuX11EglPlatform.cpp | 37 typedef ::Display* EGLNativeDisplayType; 99 class Display : public NativeDisplay 105 Display (MovePtr<x11::Display> x11Display) 114 x11::Display& getX11Display (void) { return *m_display; } 118 UniquePtr<x11::Display> m_display; 131 Window (Display& display, 146 Window::Window (Display& display, const WindowParams& params, Visual* visual 188 Display& display = *dynamic_cast<Display*>(nativeDisplay); local 201 Display& display = *dynamic_cast<Display*>(nativeDisplay); local [all...] |
/external/deqp/modules/egl/ |
teglQueryContextTests.cpp | 95 void executeForContext (EGLDisplay display, EGLContext context, EGLSurface surface, const Config& config) 100 DE_UNREF(display); 137 void executeForContext (EGLDisplay display, EGLContext context, EGLSurface surface, const Config& config) 142 DE_UNREF(display); 179 void executeForContext (EGLDisplay display, EGLContext context, EGLSurface surface, const Config& config) 192 if (gotDisplay == display) 201 else if (gotDisplay != display) 203 log << TestLog::Message << " Fail, call returned the wrong display. Expected: " << tcu::toHex(display) << ", got: " << tcu::toHex(gotDisplay) << TestLog::EndMessage; 204 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Invalid display"); 320 EGLDisplay display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); local [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/ |
DesignerPlugin.java | 22 import org.eclipse.swt.widgets.Display; 37 * as resource loading, logging, obtaining a display and shell, etc. 125 // Display/Shell 129 * @return the {@link Display} instance, current (if in GUI thread) or 132 public static Display getStandardDisplay() { 133 Display display = Display.getCurrent(); local 134 if (display == null) { 135 display = Display.getDefault() [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/execution/ |
ExecutionUtils.java | 13 import org.eclipse.swt.widgets.Display; 57 Display display = Display.getCurrent(); local 58 if (display != null) { 63 while (display.readAndDispatch()) { 163 * Runs given {@link RunnableEx} inside of UI thread, using {@link Display#syncExec(Runnable)}. 169 Display.getDefault().syncExec(new Runnable() { 179 * Runs given {@link RunnableEx} inside of UI thread, using {@link Display#syncExec(Runnable)}. 182 Display.getDefault().syncExec(new Runnable() [all...] |
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
egl_g3d_st.c | 43 _EGLDisplay *display; member in struct:egl_g3d_st_manager 63 _eglLockMutex(&gsmapi->display->Mutex); 65 img = _eglLookupImage(handle, gsmapi->display); 67 _eglUnlockMutex(&gsmapi->display->Mutex); 78 _eglUnlockMutex(&gsmapi->display->Mutex); 98 gsmapi->display = dpy; 132 egl_g3d_display(gsurf->base.Resource.Display);
|
/external/mesa3d/src/gallium/state_trackers/egl/wayland/ |
native_wayland.h | 57 struct wl_buffer *(*create_buffer)(struct wayland_display *display, 75 struct wayland_display *display; member in struct:wayland_surface 115 wayland_create_shm_display(struct wl_display *display, 119 wayland_create_drm_display(struct wl_display *display,
|
/external/mesa3d/src/gallium/winsys/sw/wayland/ |
wayland_sw_winsys.c | 61 struct wl_display *display; member in struct:wayland_sw_winsys 260 wayland_create_sw_winsys(struct wl_display *display) 268 wlws->display = display;
|
/external/mesa3d/src/gallium/winsys/sw/xlib/ |
xlib_sw_winsys.c | 54 * Display target for Xlib winsys. 67 Display *display; member in struct:xlib_displaytarget 72 /* This is the last drawable that this display target was presented 88 Display *display; member in struct:xlib_sw_winsys 111 handle_xerror(Display *dpy, XErrorEvent *event) 145 * Allocate a shared memory XImage back buffer for the given display target. 158 int (*old_handler)(Display *, XErrorEvent *); 160 xlib_dt->tempImage = XShmCreateImage(xlib_dt->display, 295 Display *display = xlib_dt->display; local [all...] |
/external/mesa3d/src/glx/apple/ |
appledri.h | 80 Display *display; /* Display the event was read from */ member in struct:__anon16847 88 Bool XAppleDRIQueryExtension(Display * dpy, int *event_base, 91 Bool XAppleDRIQueryVersion(Display * dpy, int *majorVersion, 94 Bool XAppleDRIQueryDirectRenderingCapable(Display * dpy, int screen, 97 void *XAppleDRISetSurfaceNotifyHandler(void (*fun) (Display * dpy, 100 Bool XAppleDRIAuthConnection(Display * dpy, int screen, unsigned int magic); 102 Bool XAppleDRICreateSurface(Display * dpy, int screen, Drawable drawable, 106 Bool XAppleDRIDestroySurface(Display * dpy, int screen, Drawable drawable) [all...] |
/external/openssh/ |
session.h | 47 char *display; member in struct:Session
|
/external/webrtc/src/modules/audio_processing/test/android/apmtest/jni/ |
main.c | 52 EGLDisplay display; member in struct:engine 61 * Initialize an EGL context for the current display. 84 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); local 86 eglInitialize(display, 0, 0); 91 eglChooseConfig(display, attribs, &config, 1, &numConfigs); 97 eglGetConfigAttrib(display, config, EGL_NATIVE_VISUAL_ID, &format); 101 surface = eglCreateWindowSurface(display, config, engine->app->window, NULL); 102 context = eglCreateContext(display, config, NULL, NULL); 104 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE) { 109 eglQuerySurface(display, surface, EGL_WIDTH, &w) [all...] |
/frameworks/base/cmds/screencap/ |
screencap.cpp | 50 "usage: %s [-hp] [-d display-id] [FILENAME]\n" 53 " -d: specify the display id to capture, default %d.\n" 172 sp<IBinder> display = SurfaceComposerClient::getBuiltInDisplay(displayId); local 173 if (display == NULL) { 174 fprintf(stderr, "Unable to get handle for display %d\n", displayId); 179 SurfaceComposerClient::getDisplayConfigs(display, &configs); 180 int activeConfig = SurfaceComposerClient::getActiveConfig(display); 189 status_t result = screenshot.update(display, Rect(), 0, 0, 0, -1U,
|
/frameworks/base/core/java/android/widget/ |
DateTimeView.java | 111 int display; local 133 // Choose the display mode 137 display = SHOW_TIME; 141 display = SHOW_MONTH_DAY_YEAR; 147 if (display == mLastDisplay && mLastFormat != null) { 151 switch (display) { 159 throw new RuntimeException("unknown display value: " + display); 169 if (display == SHOW_TIME) {
|
/frameworks/base/core/jni/ |
android_media_RemoteDisplay.cpp | 112 NativeRemoteDisplay(const sp<IRemoteDisplay>& display, 114 mDisplay(display), mClient(client) { 151 sp<IRemoteDisplay> display = service->listenForRemoteDisplay(String16(opPackageName.c_str()), local 153 if (display == NULL) { 154 ALOGE("Media player service rejected request to listen for remote display '%s'.", 159 NativeRemoteDisplay* wrapper = new NativeRemoteDisplay(display, client);
|
/frameworks/base/media/java/android/media/ |
RemoteDisplay.java | 25 * Listens for Wifi remote display connections managed by the media server. 83 RemoteDisplay display = new RemoteDisplay(listener, handler, opPackageName); local 84 display.startListening(iface); 85 return display; 89 * Disconnects the remote display and stops listening for new connections. 122 + "remote display connection on \"" + iface + "\""); 159 * Listener invoked when the remote display connection changes state.
|