/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/ |
GLPerfView.java | 80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { 84 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); 89 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { 90 egl.eglDestroyContext(display, context); 121 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { 124 egl.eglChooseConfig(display, s_configAttribs2, null, 0, num_config); 132 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); 133 // printConfigs(egl, display, configs); 134 return chooseConfig(egl, display, configs); 137 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, [all...] |
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
GLDualGL2View.java | 83 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { 87 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); 92 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { 93 egl.eglDestroyContext(display, context); 124 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { 127 egl.eglChooseConfig(display, s_configAttribs2, null, 0, num_config); 135 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); 136 // printConfigs(egl, display, configs); 137 return chooseConfig(egl, display, configs); 140 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, [all...] |
/frameworks/base/core/java/android/view/ |
Gravity.java | 100 /** Special constant to enable clipping to an overall display along the 107 /** Special constant to enable clipping to an overall display along the 303 * Apply additional gravity behavior based on the overall "display" that an 306 * within a visible display. By default this moves or clips the object 307 * to be visible in the display; the gravity flags 312 * display. 313 * @param display The rectangle of the display in which the object is 316 * modified if needed to fit in the display. 318 public static void applyDisplay(int gravity, Rect display, Rect inoutObj) [all...] |
/external/deqp/modules/egl/ |
teglQuerySurfaceTests.cpp | 64 static void logSurfaceAttributes (tcu::TestLog& log, const Library& egl, EGLDisplay display, EGLSurface surface, const EGLint* attributes, int numAttribs) 67 logSurfaceAttribute(log, attributes[ndx], eglu::querySurfaceInt(egl, display, surface, attributes[ndx])); 70 static void logCommonSurfaceAttributes (tcu::TestLog& log, const Library& egl, EGLDisplay display, EGLSurface surface) 87 logSurfaceAttributes(log, egl, display, surface, attributes, DE_LENGTH_OF_ARRAY(attributes)); 90 static void logPbufferSurfaceAttributes (tcu::TestLog& log, const Library& egl, EGLDisplay display, EGLSurface surface) 101 logSurfaceAttributes(log, egl, display, surface, attributes, DE_LENGTH_OF_ARRAY(attributes)); 109 void checkCommonAttributes (EGLDisplay display, EGLSurface surface, const ConfigInfo& info); 110 void checkNonPbufferAttributes (EGLDisplay display, EGLSurface surface); 118 void QuerySurfaceCase::checkCommonAttributes (EGLDisplay display, EGLSurface surface, const ConfigInfo& info) 127 const EGLint id = eglu::querySurfaceInt(egl, display, surface, EGL_CONFIG_ID) [all...] |
teglRenderCase.cpp | 60 static void postSurface (const Library& egl, EGLDisplay display, EGLSurface surface, EGLint typeBit) 63 EGLU_CHECK_CALL(egl, swapBuffers(display, surface)); 112 void RenderCase::executeForConfig (EGLDisplay display, EGLConfig config) 118 const EGLint configId = eglu::getConfigID(egl, display, config); 137 de::UniquePtr<eglu::NativeWindow> window (windowFactory.createWindow(&nativeDisplay, display, config, DE_NULL, params)); 138 EGLSurface eglSurface = createWindowSurface(nativeDisplay, *window, display, config, DE_NULL); 139 eglu::UniqueSurface surface (egl, display, eglSurface); 141 executeForSurface(display, *surface, Config(config, EGL_WINDOW_BIT, 0)); 161 std::auto_ptr<eglu::NativePixmap> pixmap (pixmapFactory.createPixmap(&nativeDisplay, display, config, DE_NULL, width, height)); 162 EGLSurface eglSurface = createPixmapSurface(nativeDisplay, *pixmap, display, config, DE_NULL) [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/devices/ |
DummyDevice.cpp | 41 bool DummyDevice::prePrepare(hwc_display_contents_1_t *display) 45 if (!display) { 49 // nothing need to do for dummy display 53 bool DummyDevice::prepare(hwc_display_contents_1_t *display) 57 if (!display || mDisp >= DEVICE_VIRTUAL) { 61 // skip all layers composition on dummy display 62 if (display->flags & HWC_GEOMETRY_CHANGED) { 63 for (size_t i=0; i < display->numHwLayers-1; i++) { 64 hwc_layer_1 * player = &display->hwLayers[i]; 73 bool DummyDevice::commit(hwc_display_contents_1_t *display, IDisplayContext *context [all...] |
/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...] |
/external/autotest/frontend/client/src/autotest/afe/ |
RadioChooser.java | 7 public static interface Display { 16 private Display display; field in class:RadioChooser 18 public void bindDisplay(Display display) { 19 this.display = display; 28 IRadioButton button = display.generateRadioButton(groupName, choice);
|
/external/deqp/framework/egl/ |
egluUtil.hpp | 57 Version getVersion (const eglw::Library& egl, eglw::EGLDisplay display); 60 std::vector<std::string> getDisplayExtensions (const eglw::Library& egl, eglw::EGLDisplay display); 61 bool hasExtension (const eglw::Library& egl, eglw::EGLDisplay display, const std::string& extName); 63 std::vector<eglw::EGLConfig> getConfigs (const eglw::Library& egl, eglw::EGLDisplay display); 64 std::vector<eglw::EGLConfig> chooseConfigs (const eglw::Library& egl, eglw::EGLDisplay display, const AttribMap& attribs); 65 std::vector<eglw::EGLConfig> chooseConfigs (const eglw::Library& egl, eglw::EGLDisplay display, const FilterList& filters); 66 std::vector<eglw::EGLConfig> chooseConfigs (const eglw::Library& egl, eglw::EGLDisplay display, const eglw::EGLint* attribs); 67 eglw::EGLConfig chooseSingleConfig (const eglw::Library& egl, eglw::EGLDisplay display, const AttribMap& attribs); 68 eglw::EGLConfig chooseSingleConfig (const eglw::Library& egl, eglw::EGLDisplay display, const eglw::EGLint* attribs); 69 eglw::EGLConfig chooseSingleConfig (const eglw::Library& egl, eglw::EGLDisplay display, const FilterList& filters) [all...] |
/external/drm_hwcomposer/ |
drmcomposition.h | 36 int display; member in struct:android::DrmCompositionDisplayLayersMap 52 int SetDpmsMode(int display, uint32_t dpms_mode); 53 int SetDisplayMode(int display, const DrmMode &display_mode); 55 std::unique_ptr<DrmDisplayComposition> TakeDisplayComposition(int display); 56 DrmDisplayComposition *GetDisplayComposition(int display);
|
drmcrtc.cpp | 65 int DrmCrtc::display() const { function in class:android::DrmCrtc 69 void DrmCrtc::set_display(int display) { 70 display_ = display; 73 bool DrmCrtc::can_bind(int display) const { 74 return display_ == -1 || display_ == display;
|
drmresources.h | 50 DrmConnector *GetConnectorForDisplay(int display) const; 51 DrmCrtc *GetCrtcForDisplay(int display) const; 64 int SetDisplayActiveMode(int display, const DrmMode &mode); 65 int SetDpmsMode(int display, uint64_t mode); 71 int TryEncoderForDisplay(int display, DrmEncoder *enc);
|
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
test_subpicture.c | 61 Display *display; local 72 display = XOpenDisplay(NULL); 76 display, 88 XCloseDisplay(display); 94 Atom xv_colorkey = XInternAtom(display, "XV_COLORKEY", 0); 95 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); 98 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success); 100 subpics = XvMCListSubpictureTypes(display, port_num, surface_type_id, &num_subpics); 144 assert(XvMCCreateSubpicture(display, NULL, &subpicture, subpic_width, subpic_height, subpics[0].id) == XvMCBadContext) [all...] |
/external/webrtc/webrtc/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...] |
/external/webrtc/webrtc/modules/desktop_capture/mac/ |
desktop_configuration_monitor.cc | 58 CGDirectDisplayID display, 63 monitor->DisplaysReconfigured(display, flags); 67 CGDirectDisplayID display, 71 // If this is the first display to start reconfiguring then wait on 73 // from accessing display memory until the reconfiguration completes. 80 reconfiguring_displays_.insert(display); 82 reconfiguring_displays_.erase(display);
|
/packages/apps/Gallery2/jni/ |
jni_egl_fence.cpp | 40 EGLDisplay display = eglGetCurrentDisplay(); local 60 EGLDisplay display = eglGetCurrentDisplay(); 65 EGLSyncKHR fence = FuncEglCreateSyncKHR(display, EGL_SYNC_FENCE_KHR, NULL); 70 EGLint result = FuncEglClientWaitSyncKHR(display, 77 FuncEglDestroySyncKHR(display, fence);
|
/external/ImageMagick/MagickCore/ |
display.c | 13 % MagickCore Methods to Interactively Display and Edit an Image % 57 #include "MagickCore/display.h" 58 #include "MagickCore/display-private.h" 230 "In text mode, any key presses will display the character at", 803 " About Display", 816 " display(1) understands is:", 820 " space Press to display the next image.", 824 " this command with a number. For example to display the", 827 " backspace Press to display the former image.", 831 " this command with a number. For example to display the" 1659 *display; local 1751 *display; local [all...] |
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
VirtualDisplayTest.java | 17 package android.hardware.display; 25 import android.hardware.display.DisplayManager; 26 import android.hardware.display.VirtualDisplay; 36 import android.view.Display; 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(); local 119 assertDisplayRegistered(display, Display.FLAG_PRIVATE) 141 Display display = virtualDisplay.getDisplay(); local 170 Display display = virtualDisplay.getDisplay(); local 224 Display display = virtualDisplay.getDisplay(); local [all...] |
/external/skia/platform_tools/android/apps/visualbench/src/main/jni/ |
SkOSWindow_AndroidNative.cpp | 53 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); local 54 if (EGL_NO_DISPLAY == display) { 60 if (!eglInitialize(display, &majorVersion, &minorVersion)) { 94 if (!eglChooseConfig(display, configAttribs, &config, 1, &numConfigs) || 103 if (!eglGetConfigAttrib(display, config, EGL_NATIVE_VISUAL_ID, &format)) { 109 surface = eglCreateWindowSurface(display, config, fNativeWindow, nullptr); 114 context = eglCreateContext(display, config, nullptr, kAPIs[api].fContextAttribs); 117 eglDestroySurface(display, surface); 121 if (!eglMakeCurrent(display, surface, surface, context)) { 123 eglDestroyContext(display, context) [all...] |
/external/webrtc/webrtc/modules/desktop_capture/ |
mouse_cursor_monitor_x11.cc | 32 Window GetTopLevelWindow(Display* display, Window window) { 38 if (!XQueryTree(display, window, &root, &parent, &children, 73 Display* display() { return x_display_->display(); } function in class:webrtc::MouseCursorMonitorX11 117 XFixesQueryExtension(display(), &xfixes_event_base_, &xfixes_error_base_); 121 XFixesSelectCursorInput(display(), window_, XFixesDisplayCursorNotifyMask); 150 XErrorTrap error_trap(display()); 151 Bool result = XQueryPointer(display(), window_, &root_window, &child_window [all...] |
/frameworks/base/core/java/android/hardware/display/ |
VirtualDisplay.java | 16 package android.hardware.display; 18 import android.view.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 36 private final Display mDisplay; 40 VirtualDisplay(DisplayManagerGlobal global, Display display, 43 mDisplay = display; 49 * Gets the virtual display [all...] |
/hardware/intel/common/libmix/mix_video/src/ |
mixdisplayx11.c | 36 self->display = NULL; 65 * with display and drawable */ 117 this_target->display = this_src->display; 150 // TODO: if in the copy method we just copy the pointer of display, the comparison 153 if (this_first->display == this_second->display && this_first->drawable 174 MIX_RESULT mix_displayx11_set_display(MixDisplayX11 * obj, Display * display) { 178 obj->display = display [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/ |
DummyDevice.h | 33 virtual bool prePrepare(hwc_display_contents_1_t *display); 34 virtual bool prepare(hwc_display_contents_1_t *display); 35 virtual bool commit(hwc_display_contents_1_t *display,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ |
MonitorApplication.java | 35 import org.eclipse.swt.widgets.Display; 48 Display display = PlatformUI.createDisplay(); local 56 String sdkPath = findSdkPath(display); 67 boolean install = MessageDialog.openQuestion(new Shell(display), 74 AdtUpdateDialog window = new AdtUpdateDialog(new Shell(display), sdkLog, sdkPath); 82 stats.checkUserPermissionForPing(new Shell(display)); 86 int returnCode = PlatformUI.createAndRunWorkbench(display, 93 display.dispose(); 102 final Display display = workbench.getDisplay() local [all...] |
/external/mesa3d/src/glx/ |
dri2.h | 49 DRI2QueryExtension(Display * display, int *eventBase, int *errorBase); 52 DRI2QueryVersion(Display * display, int *major, int *minor); 55 DRI2Connect(Display * display, XID window, 59 DRI2Authenticate(Display * display, XID window, drm_magic_t magic); 62 DRI2CreateDrawable(Display * display, XID drawable) [all...] |