/external/autotest/frontend/client/src/autotest/common/ui/ |
MultiListSelectPresenter.java | 21 /* Simple display showing two list boxes, one of available items and one of selected items */ 31 // ListBoxes don't support DoubleClickEvents themselves, so the display needs to handle them 35 /* Optional additional display allowing toggle between a simple ListBox and a 183 private DoubleListDisplay display; 191 public void bindDisplay(DoubleListDisplay display) { 192 this.display = display; 193 display.getAddAllButton().addClickHandler(this); 194 display.getAddButton().addClickHandler(this); 195 display.getRemoveButton().addClickHandler(this) [all...] |
/external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/ |
ViEAndroidGLES20.java | 88 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { 92 EGLContext context = egl.eglCreateContext(display, eglConfig, 98 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { 99 egl.eglDestroyContext(display, context); 134 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { 138 egl.eglChooseConfig(display, s_configAttribs2, null, 0, num_config); 148 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); 151 printConfigs(egl, display, configs); 154 return chooseConfig(egl, display, configs); 157 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
MosaicRendererSurfaceView.java | 102 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { 107 display, eglConfig, EGL10.EGL_NO_CONTEXT, attribList); 112 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { 113 egl.eglDestroyContext(display, context); 149 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { 154 egl.eglChooseConfig(display, CONFIG_ATTRIBUTES, null, 0, numConfig); 165 egl.eglChooseConfig(display, CONFIG_ATTRIBUTES, configs, numConfigs, numConfig); 168 printConfigs(egl, display, configs); 172 return chooseConfig(egl, display, configs); 175 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, [all...] |
/hardware/libhardware/include/hardware/ |
hwcomposer2.h | 36 /* Display attributes queryable through getDisplayAttribute */ 166 * unlikely that content will display correctly in these cases. */ 174 /* The display has been connected */ 177 /* The display has been disconnected */ 181 /* Display requests returned by getDisplayRequests */ 188 * into the virtual display output buffer. If any of the layers are not 189 * marked as HWC2_COMPOSITION_CLIENT or the given display is not a virtual 190 * display, this request has no effect. */ 194 /* Display types returned by getDisplayType */ 277 /* The display is fully off (blanked) * [all...] |
/cts/tests/tests/display/src/android/display/cts/ |
VirtualDisplayTest.java | 17 package android.display.cts; 25 import android.hardware.display.DisplayManager; 26 import android.hardware.display.VirtualDisplay; 37 import android.view.Display; 116 * Ensures that an application can create a private virtual display and show 122 assertNotNull("virtual display must not be null", virtualDisplay); 124 Display display = virtualDisplay.getDisplay(); local 126 assertDisplayRegistered(display, Display.FLAG_PRIVATE) 149 Display display = virtualDisplay.getDisplay(); local 173 Display display = virtualDisplay.getDisplay(); local [all...] |
/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/webrtc/webrtc/modules/desktop_capture/ |
screen_capturer_x11.cc | 54 Display* display() { return options_.x_display()->display(); } function in class:webrtc::__anon37259::ScreenCapturerLinux 147 root_window_ = RootWindow(display(), DefaultScreen(display())); 154 gc_ = XCreateGC(display(), root_window_, 0, NULL); 165 if (XFixesQueryExtension(display(), &xfixes_event_base_, 173 XSelectInput(display(), root_window_, StructureNotifyMask); 175 if (!x_server_pixel_buffer_.Init(display(), DefaultRootWindow(display()))) { [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/config/ |
InvalidConfigurationException.java | 43 public void display(PrintWriter writer) { method in class:InvalidConfigurationException
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
InvalidInstrumentException.java | 28 public void display(PrintWriter writer) { method in class:InvalidInstrumentException
|
UserCodeException.java | 33 @Override public void display(PrintWriter writer) { method in class:UserCodeException
|
/external/deqp/modules/egl/ |
teglChooseConfigReference.hpp | 39 void chooseConfigReference (const eglw::Library& egl, eglw::EGLDisplay display, std::vector<eglw::EGLConfig>& dst, const std::vector<std::pair<eglw::EGLenum, eglw::EGLint> >& attributes);
|
teglCreateContextTests.cpp | 68 void executeForConfig (EGLDisplay display, EGLConfig config); 80 void CreateContextCase::executeForConfig (EGLDisplay display, EGLConfig config) 84 EGLint id = eglu::getConfigAttribInt(egl, display, config, EGL_CONFIG_ID); 85 EGLint apiBits = eglu::getConfigAttribInt(egl, display, config, EGL_RENDERABLE_TYPE); 97 EGLContext context = egl.createContext(display, config, EGL_NO_CONTEXT, s_apis[apiNdx].ctxAttrs); 108 EGLU_CHECK_CALL(egl, destroyContext(display, context)); 125 const eglu::UniqueDisplay display (egl, eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay(), DE_NULL)); 128 if (!eglu::hasExtension(egl, *display, "EGL_KHR_no_config_context")) 146 const EGLContext context = egl.createContext(*display, (EGLConfig)0, EGL_NO_CONTEXT, s_apis[apiNdx].ctxAttrs); 157 EGLU_CHECK_CALL(egl, destroyContext(*display, context)) [all...] |
/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,
|
/frameworks/native/include/gui/ |
SurfaceComposerClient.h | 70 // Get a list of supported configurations for a given display 71 static status_t getDisplayConfigs(const sp<IBinder>& display, 75 static status_t getDisplayInfo(const sp<IBinder>& display, 80 static int getActiveConfig(const sp<IBinder>& display); 84 static status_t setActiveConfig(const sp<IBinder>& display, int id); 86 // Gets the list of supported color modes for the given display 87 static status_t getDisplayColorModes(const sp<IBinder>& display, 90 // Gets the active color mode for the given display 91 static android_color_mode_t getActiveColorMode(const sp<IBinder>& display); 93 // Sets the active color mode for the given display [all...] |
/frameworks/support/compat/tests/java/android/support/v4/view/ |
ViewCompatTest.java | 27 import android.view.Display; 61 final Display display = ViewCompat.getDisplay(mView); local 62 assertNotNull(display); 68 final Display display = ViewCompat.getDisplay(view); local 69 assertNull(display);
|
/hardware/intel/common/libva/va/wayland/ |
va_wayland.h | 50 * - Create a VA display for an active Wayland display ; 57 * \brief Returns a VA display wrapping the specified Wayland display. 59 * This functions returns a (possibly cached) VA display from the 60 * specified Wayland @display. 62 * @param[in] display the native Wayland display 63 * @return the VA display 66 vaGetDisplayWl(struct wl_display *display); [all...] |
/packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/ |
SystemProximityWakeLock.java | 20 import android.hardware.display.DisplayManager; 21 import android.hardware.display.DisplayManager.DisplayListener; 24 import android.view.Display; 75 if (displayId == Display.DEFAULT_DISPLAY) { 77 LogUtil.i("SystemProximityWakeLock.onDisplayChanged", "display turned on"); 86 Display display = local 87 context.getSystemService(DisplayManager.class).getDisplay(Display.DEFAULT_DISPLAY); 88 return display.getState() != Display.STATE_OFF [all...] |
/packages/apps/Settings/src/com/android/settings/display/ |
ScreenZoomPreferenceFragmentForSetupWizard.java | 17 package com.android.settings.display;
|
/cts/tests/vr/src/android/vr/cts/ |
OpenGLESActivity.java | 230 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { 236 EGLContext context = egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, 245 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { 246 if (!egl.eglDestroyContext(display, context)) { 247 Log.e("DefaultContextFactory", "display:" + display + " context: " + context); 256 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { 262 EGLContext context = egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, 271 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { 272 if (!egl.eglDestroyContext(display, context)) [all...] |
/external/drm_hwcomposer/ |
drmresources.cpp | 219 DrmConnector *DrmResources::GetConnectorForDisplay(int display) const { 221 if (conn->display() == display) 227 DrmCrtc *DrmResources::GetCrtcForDisplay(int display) const { 229 if (crtc->display() == display) 247 int DrmResources::TryEncoderForDisplay(int display, DrmEncoder *enc) { 250 if (crtc && crtc->can_bind(display)) { 251 crtc->set_display(display); 261 if (crtc->can_bind(display)) { 273 int display = connector->display(); local [all...] |
/frameworks/base/core/java/android/app/ |
Presentation.java | 25 import android.hardware.display.DisplayManager; 26 import android.hardware.display.DisplayManager.DisplayListener; 30 import android.view.Display; 45 * content on a secondary display. A {@link Presentation} is associated with 46 * the target {@link Display} at creation time and configures its context and 47 * resource configuration according to the display's metrics. 52 * to ensure that assets of the correct size and density for the target display 56 * the display to which it is attached is removed. An activity should take 61 * <h3>Choosing a presentation display</h3> 63 * Before showing a {@link Presentation} it's important to choose the {@link Display} [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
HierarchicalFolderSelectorAdapter.java | 60 final TextView display = (TextView) view.findViewById(R.id.folder_name); local 67 display.setText(displayText, TextView.BufferType.SPANNABLE); 91 final SpannableStringBuilder display = new SpannableStringBuilder(); local 114 display.append(mContext.getResources().getString(formatString, topParentName, 117 display.append(mContext.getResources().getString(R.string.hierarchical_folder_top, 121 // If there is nothing appended to display, don't try to setSpan. 122 if (display.length() > 0) { 123 display.setSpan(new ForegroundColorSpan(R.color.hierarchical_folder_parent_color), 124 0, display.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 126 display.append(folderName) [all...] |
/external/deqp/framework/egl/ |
egluUnique.hpp | 40 UniqueDisplay (const eglw::Library& egl, eglw::EGLDisplay display); 58 UniqueSurface (const eglw::Library& egl, eglw::EGLDisplay display, eglw::EGLSurface surface); 77 UniqueContext (const eglw::Library& egl, eglw::EGLDisplay display, eglw::EGLContext context); 96 ScopedCurrentContext (const eglw::Library& egl, eglw::EGLDisplay display, eglw::EGLSurface draw, eglw::EGLSurface read, eglw::EGLContext context); 107 UniqueImage (const eglw::Library& egl, eglw::EGLDisplay display, eglw::EGLImage image);
|
/frameworks/native/opengl/libs/EGL/ |
egl_object.cpp | 27 display(disp), count(1) { 29 display->addObject(this); 37 display->removeObject(this); 50 bool egl_object_t::get(egl_display_t const* display, egl_object_t* object) { 53 return display->getObject(object);
|
/frameworks/support/compat/java/android/support/v4/hardware/display/ |
DisplayManagerCompat.java | 17 package android.support.v4.hardware.display; 20 import android.hardware.display.DisplayManager; 23 import android.view.Display; 29 * Helper for accessing features in {@link android.hardware.display.DisplayManager} 37 * Display category: Presentation displays. 48 "android.hardware.display.category.PRESENTATION"; 54 * Gets an instance of the display manager given the context. 72 * Gets information about a logical display. 74 * The display metrics may be adjusted to provide compatibility 77 * @param displayId The logical display id 116 Display display = mWindowManager.getDefaultDisplay(); local [all...] |