/prebuilts/misc/windows/sdl2/test/ |
testdrawchessboard.c | 53 SDL_Window *window; local 68 /* Create window and renderer for given surface */ 69 window = SDL_CreateWindow("Chess Board", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 480, SDL_WINDOW_SHOWN); 70 if(!window) 72 SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Window creation fail : %s\n",SDL_GetError()); 75 surface = SDL_GetWindowSurface(window); 103 now Update the drawing image on window screen */ 104 SDL_UpdateWindowSurface(window);
|
testautomation_mouse.c | 416 * Creates a test window 421 SDL_Window *window; local 422 window = SDL_CreateWindow("mouse_createMouseSuiteTestWindow", posX, posY, width, height, 0); 424 SDLTest_AssertCheck(window != NULL, "Check SDL_CreateWindow result"); 425 return window; 429 * Destroy test window 431 void _destroyMouseSuiteTestWindow(SDL_Window *window) 433 if (window != NULL) { 434 SDL_DestroyWindow(window); 435 window = NULL 453 SDL_Window *window; local 500 SDL_Window *window; local [all...] |
/external/deqp/external/openglcts/modules/runner/ |
glcAndroidTestActivity.hpp | 51 virtual void onWindowCreated(ANativeWindow* window); 52 virtual void onWindowResized(ANativeWindow* window); 53 virtual void onWindowDestroyed(ANativeWindow* window);
|
/external/deqp/framework/platform/android/ |
tcuAndroidWindow.hpp | 23 * \brief Android window. 40 // \note Window is thread-safe, WindowRegistry is not 42 class Window 56 Window (ANativeWindow* window); 57 ~Window (void); 73 Window (const Window& other); 74 Window& operator= (const Window& other) [all...] |
tcuAndroidRenderActivity.cpp | 27 #include <android/window.h> 132 DBG_PRINT(("RenderThread::processMessage(): message = { %s, %p }\n", getMessageTypeName(message.type), message.payload.window)); 140 // \note While Platform / WindowRegistry are currently multi-window -capable, 142 // forces us to do some sanity checking and limit system to one window here. 153 // waits for that first resize before it considers the window ready for 156 // However subsequent events in the framework may cause the window to be 162 // set the window state back to READY and process the window creation here 168 onWindowCreated(message.payload.window); 170 m_window = message.payload.window; [all...] |
/external/swiftshader/src/Main/ |
FrameBufferOzone.cpp | 19 FrameBufferOzone::FrameBufferOzone(intptr_t display, intptr_t window, int width, int height) : FrameBuffer(width, height, false, false) 51 NO_SANITIZE_FUNCTION sw::FrameBuffer *createFrameBuffer(void* display, intptr_t window, int width, int height) 53 return new sw::FrameBufferOzone((intptr_t)display, window, width, height);
|
/external/webrtc/webrtc/modules/desktop_capture/ |
mouse_cursor_monitor_x11.cc | 26 // WindowCapturer returns window IDs of X11 windows with WM_STATE attribute. 27 // These windows may not be immediate children of the root window, because 28 // window managers may re-parent them to add decorations. However, 31 // to |window|. 32 Window GetTopLevelWindow(Display* display, Window window) { 34 // If the window is in WithdrawnState then look at all of its children. 35 ::Window root, parent; 36 ::Window *children [all...] |
/frameworks/base/core/java/android/database/ |
CrossProcessCursorWrapper.java | 46 public void fillWindow(int position, CursorWindow window) { 49 crossProcessCursor.fillWindow(position, window); 53 DatabaseUtils.cursorFillWindow(mCursor, position, window);
|
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_shape.h | 39 * Header file for the shaped window API. 47 * \brief Create a window that can be shaped with the specified position, dimensions, and flags. 49 * \param title The title of the window, in UTF-8 encoding. 50 * \param x The x position of the window, ::SDL_WINDOWPOS_CENTERED, or 52 * \param y The y position of the window, ::SDL_WINDOWPOS_CENTERED, or 54 * \param w The width of the window. 55 * \param h The height of the window. 56 * \param flags The flags for the window, a mask of SDL_WINDOW_BORDERLESS with any of the following: 62 * \return The window created, or NULL if window creation failed [all...] |
/prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/ |
SDL_shape.h | 39 * Header file for the shaped window API. 47 * \brief Create a window that can be shaped with the specified position, dimensions, and flags. 49 * \param title The title of the window, in UTF-8 encoding. 50 * \param x The x position of the window, ::SDL_WINDOWPOS_CENTERED, or 52 * \param y The y position of the window, ::SDL_WINDOWPOS_CENTERED, or 54 * \param w The width of the window. 55 * \param h The height of the window. 56 * \param flags The flags for the window, a mask of SDL_WINDOW_BORDERLESS with any of the following: 62 * \return The window created, or NULL if window creation failed [all...] |
/prebuilts/misc/windows/sdl2/include/ |
SDL_shape.h | 39 * Header file for the shaped window API. 47 * \brief Create a window that can be shaped with the specified position, dimensions, and flags. 49 * \param title The title of the window, in UTF-8 encoding. 50 * \param x The x position of the window, ::SDL_WINDOWPOS_CENTERED, or 52 * \param y The y position of the window, ::SDL_WINDOWPOS_CENTERED, or 54 * \param w The width of the window. 55 * \param h The height of the window. 56 * \param flags The flags for the window, a mask of SDL_WINDOW_BORDERLESS with any of the following: 62 * \return The window created, or NULL if window creation failed [all...] |
SDL_syswm.h | 25 * Include file for SDL custom system window manager hooks. 46 * which contains window-manager specific information and arrives whenever 47 * an unhandled window event occurs. This event is ignored by default, but 59 /* This is the structure for custom window manager events */ 127 HWND hwnd; /**< The window for the message */ 146 /* No Cocoa window events yet */ 152 /* No UIKit window events yet */ 161 * The custom window manager information structure. 175 HWND window; /**< The window handle * member in struct:SDL_SysWMinfo::__anon450::__anon451 182 Window window; \/**< The X11 window *\/ member in struct:SDL_SysWMinfo::__anon450::__anon452 189 IDirectFBWindow *window; \/**< The directfb window handle *\/ member in struct:SDL_SysWMinfo::__anon450::__anon453 196 NSWindow *window; \/* The Cocoa window *\/ member in struct:SDL_SysWMinfo::__anon450::__anon454 202 UIWindow *window; \/* The UIKit window *\/ member in struct:SDL_SysWMinfo::__anon450::__anon455 [all...] |
/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/ |
SDL_shape.h | 39 * Header file for the shaped window API. 47 * \brief Create a window that can be shaped with the specified position, dimensions, and flags. 49 * \param title The title of the window, in UTF-8 encoding. 50 * \param x The x position of the window, ::SDL_WINDOWPOS_CENTERED, or 52 * \param y The y position of the window, ::SDL_WINDOWPOS_CENTERED, or 54 * \param w The width of the window. 55 * \param h The height of the window. 56 * \param flags The flags for the window, a mask of SDL_WINDOW_BORDERLESS with any of the following: 62 * \return The window created, or NULL if window creation failed [all...] |
/cts/tests/tests/graphics/jni/ |
MediaTestHelpers.h | 30 ANativeWindow *window); 35 bool createMediaCodec(ANativeWindow *window);
|
/cts/tests/tests/theme/src/android/theme/cts/ |
DeviceDefaultActivity.java | 23 import android.view.Window; 34 Window window = getWindow(); local 35 window.addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
DefaultDeflateCompatibilityWindowTest.java | 33 private DefaultDeflateCompatibilityWindow window = null; field in class:DefaultDeflateCompatibilityWindowTest 61 window = new DefaultDeflateCompatibilityWindow(); 68 ensureHasAllKeys(window.getBaselineValues()); 75 ensureHasAllKeys(window.getSystemValues()); 94 byte[] corpus1 = window.getCorpus(); 99 byte[] corpus2 = window.getCorpus(); 107 window.isCompatible(); 119 Assert.assertNotNull(window.getIncompatibleValues());
|
/external/autotest/client/site_tests/power_LoadTest/extension/ |
ct.js | 16 window.focus(); 17 lastOffset = window.pageYOffset; 20 window.scrollBy(0, response.scroll_by); 21 if (window.pageYOffset != lastOffset) { 22 lastOffset = window.pageYOffset; 29 window.scrollBy(0, -1 * response.scroll_by); 30 if (window.pageYOffset != lastOffset) { 31 lastOffset = window.pageYOffset; 59 window.addEventListener('load', afterLoad);
|
/external/clang/test/CoverageMapping/ |
loopmacro.c | 13 (UPDATE_HASH(ins_h, window[(s) + MIN_MATCH-1]), \ 42 int window[1024] = { 0 }; local
|
/external/webrtc/webrtc/modules/video_render/linux/ |
video_x11_render.h | 28 VideoX11Render(Window window); 32 int32_t ChangeWindow(Window window); 49 Window _window;
|
/frameworks/av/camera/ndk/ |
NdkCameraDevice.cpp | 99 ANativeWindow* window, /*out*/ACaptureSessionOutput** out) { 101 if (window == nullptr || out == nullptr) { 102 ALOGE("%s: Error: bad argument. window %p, out %p", 103 __FUNCTION__, window, out); 106 *out = new ACaptureSessionOutput(window, false); 112 ANativeWindow* window, /*out*/ACaptureSessionOutput** out) { 114 if (window == nullptr || out == nullptr) { 115 ALOGE("%s: Error: bad argument. window %p, out %p", 116 __FUNCTION__, window, out); 119 *out = new ACaptureSessionOutput(window, true) [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/test/ |
FragmentTestActivity.java | 21 import android.view.Window; 39 final Window window = getWindow(); local 40 window.addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON |
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/sparc/ |
window.d | 3 #name: sparc64 window
|
/external/autotest/client/site_tests/video_YouTubeMseEme/files/ |
video_YouTubeMseEme.js | 7 window.__eventReporter = {}; 8 window.__testState = {}; 11 window.__logger = logger; 75 var ms_url = window.URL.createObjectURL(ms); 140 window.__testAttach = function() { 143 window.__eventReporter['sourceopen'] = true; 147 video.src = window.URL.createObjectURL(ms); 151 window.__testAddSourceBuffer = function() { 161 window.__testState['addSourceBuffer'] = !!return_value; 164 window.__testState['addSourceBuffer'] = false [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
cudnn_convolution_rewriter.cc | 50 if (window_util::HasWindowReversal(conv->window())) { 58 std::tuple<bool, Window, ConvolutionDimensionNumbers> MatchBackwardFilter( 61 std::make_tuple(false, Window(), ConvolutionDimensionNumbers()); 68 // activations and dilation on gradients are specified in the "window" field 91 for (const WindowDimension& window_dim : conv->window().dimensions()) { 93 VLOG(1) << "Forward convolution's window " 94 << conv->window().ShortDebugString() 99 VLOG(1) << "Forward convolution's window " 100 << conv->window().ShortDebugString() 109 VLOG(1) << "Window reversal field not supported" [all...] |
/cts/tests/openglperf2/jni/primitive/contextswitch/ |
ContextSwitchRenderer.h | 21 ContextSwitchRenderer(ANativeWindow* window, bool offscreen);
|