/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/welcome/ |
WelcomeWizard.java | 28 import org.eclipse.swt.widgets.Display; 150 * Trigger the install window. It will connect to the repository, display 152 * and display a progress dialog during installation. 166 Display display = AdtPlugin.getDisplay(); local 167 Shell shell = display.getActiveShell(); 177 shell = new Shell(display);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/ |
TextureImageDetailsProvider.java | 33 import org.eclipse.swt.widgets.Display; 82 mImageCanvas.setImage(new Image(Display.getDefault(), texturePath));
|
/external/skia/legacy/src/utils/unix/ |
SkOSWindow_Unix.cpp | 38 Display* dsp = fUnixWindow.fDisplay; 99 Display* dsp = fUnixWindow.fDisplay; 158 Display* dsp = fUnixWindow.fDisplay; 176 Display* dsp = fUnixWindow.fDisplay;
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceNetworkVars.java | 18 import android.hardware.display.DisplayManagerGlobal; 21 import android.view.Display; 67 VAR_MAP.put("build.display", new StaticVarGetter(Build.DISPLAY)); 84 // Display 85 Display display = DisplayManagerGlobal.getInstance().getRealDisplay(Display.DEFAULT_DISPLAY); typedefs 86 VAR_MAP.put("display.width", new StaticVarGetter(Integer.toString(display.getWidth()))) [all...] |
MonkeySourceRandom.java | 21 import android.hardware.display.DisplayManagerGlobal; 23 import android.view.Display; 262 Display display = DisplayManagerGlobal.getInstance().getRealDisplay(Display.DEFAULT_DISPLAY); local 264 PointF p1 = randomPoint(random, display); 278 randomWalk(random, display, p1, v1); 286 PointF p2 = randomPoint(random, display); 289 randomWalk(random, display, p1, v1); 298 randomWalk(random, display, p1, v1) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
PresentationWithMediaRouterActivity.java | 33 import android.view.Display; 46 * on a secondary display using a {@link Presentation}. 49 * a presentation display is available and to allow the user to control the 50 * media routes using a menu item. When a presentation display is available, 52 * {@link Presentation} on the preferred presentation display. When a presentation 53 * display is removed, we revert to showing content in the main activity. 54 * We also write information about displays and display-related events to 57 * You can try this out using an HDMI or Wifi display or by using the 59 * simulated secondary displays. Each display will appear in the list along with a 60 * checkbox to show a presentation on that display [all...] |
/external/chromium/base/ |
message_pump_glib_x.cc | 104 Display* xdisplay = GDK_DISPLAY_XDISPLAY(gdk_display_get_default()); 137 Display* display = GDK_DISPLAY_XDISPLAY(gdisp); 140 if (XPending(display)) { 142 XPeekEvent(display, &xev); 148 XNextEvent(display, &xev); 153 XGetEventData(xev.xgeneric.display, &xev.xcookie)) { 172 XPutBackEvent(display, &xev); 180 XFreeEventData(xev.xgeneric.display, &xev.xcookie); 261 GdkDisplay* display = gdk_display_get_default() local [all...] |
/external/chromium/chrome/browser/chromeos/input_method/ |
xkeyboard.cc | 104 // This is a wrapper class around Display, that opens and closes X display in 108 explicit ScopedDisplay(Display* display) : display_(display) { 120 Display* get() const { 125 Display* display_; 165 ScopedDisplay display(XOpenDisplay(NULL)); 166 if (!display.get()) { 170 XAutoRepeatOn(display.get()) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
FingerPrint.java | 28 import org.eclipse.swt.widgets.Display; 195 Display display = Display.getDefault(); local 197 Image image = new Image(display, GRAPH_WIDTH, height); 199 barGraph.paint(display, GRAPH_WIDTH, height, gc);
|
ScenarioData.java | 33 import org.eclipse.swt.widgets.Display; 91 Display display = Display.getDefault(); local 93 Color black = display.getSystemColor(SWT.COLOR_BLACK); 94 Color yellow = display.getSystemColor(SWT.COLOR_DARK_YELLOW); 95 Color magenta = display.getSystemColor(SWT.COLOR_MAGENTA); 190 Display display = Display.getDefault() local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/ |
RobolectricTest.java | 6 import android.view.Display; 155 Display display = Robolectric.newInstanceOf(Display.class); local 156 ShadowDisplay shadowDisplay = shadowOf(display); 159 Robolectric.setDefaultDisplay(display);
|
/frameworks/base/services/java/com/android/server/display/ |
LocalDisplayAdapter.java | 17 package com.android.server.display; 25 import android.view.Display; 34 * A display adapter for the local displays managed by Surface Flinger. 36 * Display adapters are guarded by the {@link DisplayManagerService.SyncRoot} lock. 75 // Display was added. 80 // Display properties changed. 84 // The display is no longer available. Ignore the attempt to add it. 93 // Display was removed. 151 mInfo.type = Display.TYPE_BUILT_IN; 157 mInfo.type = Display.TYPE_HDMI [all...] |
LogicalDisplay.java | 17 package com.android.server.display; 20 import android.view.Display; 30 * Describes how a logical display is configured. 33 * primary display device from which the logical display derives its basic properties 36 * A logical display may be mirrored onto multiple display devices in addition to its 37 * primary display device. Note that the contents of a logical display may not 38 * always be visible, even on its primary display device, such as in the case wher [all...] |
DisplayManagerService.java | 17 package com.android.server.display; 24 import android.hardware.display.DisplayManagerGlobal; 25 import android.hardware.display.IDisplayManager; 26 import android.hardware.display.IDisplayManagerCallback; 27 import android.hardware.display.WifiDisplayStatus; 38 import android.view.Display; 50 * decides how to configure logical displays based on the physical display devices currently 54 * The display manager service relies on a collection of {@link DisplayAdapter} components, 55 * for discovering and configuring physical display devices attached to the system. 56 * There are separate display adapters for each manner that devices are attached 314 LogicalDisplay display = mLogicalDisplays.get(displayId); local 331 LogicalDisplay display = mLogicalDisplays.get(displayId); local 406 LogicalDisplay display = mLogicalDisplays.get(displayId); local 705 LogicalDisplay display = new LogicalDisplay(displayId, layerStack, device); local 741 LogicalDisplay display = mLogicalDisplays.valueAt(i); local 800 LogicalDisplay display = mLogicalDisplays.get(displayId); local 815 LogicalDisplay display = findLogicalDisplayForDeviceLocked(device); local 855 LogicalDisplay display = mLogicalDisplays.valueAt(i); local 950 LogicalDisplay display = mLogicalDisplays.valueAt(i); local [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
Watermark.java | 29 import android.view.Display; 39 private final Display mDisplay; 54 Watermark(Display display, DisplayMetrics dm, SurfaceSession session, String[] tokens) { 62 mDisplay = display;
|
WindowAnimator.java | 23 import android.view.Display; 115 if (displayId == Display.DEFAULT_DISPLAY) { 162 setPendingLayoutChanges(Display.DEFAULT_DISPLAY, 235 setPendingLayoutChanges(Display.DEFAULT_DISPLAY, 239 getPendingLayoutChanges(Display.DEFAULT_DISPLAY)); 312 setPendingLayoutChanges(Display.DEFAULT_DISPLAY, 316 getPendingLayoutChanges(Display.DEFAULT_DISPLAY)); 611 //TODO (multidisplay): Magnification is supported only for the default display. 612 if (mService.mDisplayMagnifier != null && displayId == Display.DEFAULT_DISPLAY) { 659 + Integer.toHexString(getPendingLayoutChanges(Display.DEFAULT_DISPLAY))) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/ |
SampleProjectTest.java | 38 import org.eclipse.swt.widgets.Display; 223 if (Display.getCurrent() != null) { 224 Display.getCurrent().readAndDispatch();
|
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xxf86vm/ |
XF86VMode.c | 106 Display *dpy; 122 Display* dpy; 151 SDL_NAME(XF86VidModeSetClientVersion)(Display *dpy) 170 SDL_NAME(XF86VidModeSetGamma)(Display *dpy, int screen, SDL_NAME(XF86VidModeGamma) *Gamma) 191 SDL_NAME(XF86VidModeGetGamma)(Display *dpy, int screen, SDL_NAME(XF86VidModeGamma) *Gamma) 219 Display* dpy; 296 Display* dpy; 460 Display *dpy; 573 Display *dpy; 637 Display *dpy [all...] |
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiDevice.java | 28 import android.view.Display; 121 * 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(); local 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(); local 392 Display display = getAutomatorBridge().getDefaultDisplay(); local 765 Display display = getAutomatorBridge().getDefaultDisplay(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/ |
FrameSummaryViewPage.java | 48 import org.eclipse.swt.widgets.Display; 131 l.setForeground(Display.getDefault().getSystemColor(SWT.COLOR_DARK_GRAY)); 157 l.setForeground(Display.getDefault().getSystemColor(SWT.COLOR_DARK_GRAY)); 284 Display.getDefault().syncExec(new Runnable() { 310 Display.getDefault().asyncExec(new Runnable() {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
AdtPlugin.java | 85 import org.eclipse.swt.widgets.Display; 306 Display display = getDisplay(); local 307 mRed = new Color(display, 0xFF, 0x00, 0x00); 312 display.asyncExec(new Runnable() { 330 * Returns the current display, if any 332 * @return the display 335 public static Display getDisplay() { 340 Display display = bench.getDisplay() local 348 Display display = Display.getCurrent(); local 363 Display display = AdtPlugin.getDisplay(); local [all...] |
/frameworks/base/core/java/android/app/ |
UiAutomation.java | 27 import android.hardware.display.DisplayManagerGlobal; 32 import android.view.Display; 561 Display display = DisplayManagerGlobal.getInstance() local 562 .getRealDisplay(Display.DEFAULT_DISPLAY); 564 display.getRealSize(displaySize); 571 final int rotation = display.getRotation();
|
/frameworks/base/core/java/android/view/ |
DisplayInfo.java | 27 * Describes the characteristics of a particular logical display. 32 * The surface flinger layer stack associated with this logical display. 37 * Display flags. 42 * Display type. 47 * Display address, or null if none. 48 * Interpretation varies by display type. 53 * The human-readable name of the display. 58 * The width of the portion of the display that is available to applications, in pixels. 59 * Represents the size of the display minus any system decorations. 64 * The height of the portion of the display that is available to applications, in pixels [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11yuv.c | 72 static int (*X_handler)(Display *, XErrorEvent *) = NULL; 77 static int shm_errhandler(Display *d, XErrorEvent *e) 88 static int xv_errhandler(Display *d, XErrorEvent *e) 98 static int intel_errhandler(Display *d, XErrorEvent *e) 160 SDL_Overlay *X11_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface *display)
|
/external/webkit/Source/WebCore/plugins/gtk/ |
gtk2xtbin.c | 110 static int error_handler (Display *display, 115 static int (*old_error_handler) (Display *, XErrorEvent *); 120 static Display *xtdisplay = NULL; 198 Display * display; local 202 display = (Display *)user_data; 203 ac = XtDisplayToApplicationContext(display); 375 /* If this is the first running widget, hook this display into th [all...] |