Home
last modified time | relevance | path

Searched refs:Window (Results 1 – 25 of 258) sorted by relevance

1234567891011

/external/skia/tools/viewer/sk_app/mac/
DWindow_mac.cpp17 Window* Window::CreateNativeWindow(void*) { in CreateNativeWindow()
86 static Window::Key get_key(const SDL_Keysym& keysym) { in get_key()
89 Window::Key fKey; in get_key()
91 { SDLK_BACKSPACE, Window::Key::kBack }, in get_key()
92 { SDLK_CLEAR, Window::Key::kBack }, in get_key()
93 { SDLK_RETURN, Window::Key::kOK }, in get_key()
94 { SDLK_UP, Window::Key::kUp }, in get_key()
95 { SDLK_DOWN, Window::Key::kDown }, in get_key()
96 { SDLK_LEFT, Window::Key::kLeft }, in get_key()
97 { SDLK_RIGHT, Window::Key::kRight }, in get_key()
[all …]
/external/skia/tools/viewer/sk_app/win/
DWindow_win.cpp28 Window* Window::CreateNativeWindow(void* platformData) { in CreateNativeWindow()
121 static Window::Key get_key(WPARAM vk) { in get_key()
124 Window::Key fKey; in get_key()
126 { VK_BACK, Window::Key::kBack }, in get_key()
127 { VK_CLEAR, Window::Key::kBack }, in get_key()
128 { VK_RETURN, Window::Key::kOK }, in get_key()
129 { VK_UP, Window::Key::kUp }, in get_key()
130 { VK_DOWN, Window::Key::kDown }, in get_key()
131 { VK_LEFT, Window::Key::kLeft }, in get_key()
132 { VK_RIGHT, Window::Key::kRight }, in get_key()
[all …]
/external/skia/tools/viewer/sk_app/
DWindow.cpp22 static bool default_key_func(Window::Key key, Window::InputState state, uint32_t modifiers, in default_key_func()
27 static bool default_mouse_func(int x, int y, Window::InputState state, uint32_t modifiers, in default_mouse_func()
36 static bool default_touch_func(intptr_t owner, Window::InputState state, float x, float y, in default_touch_func()
46 Window::Window() : fBackendCreatedFunc(default_backend_created_func) in Window() function in sk_app::Window
56 void Window::detach() { in detach()
61 void Window::onBackendCreated() { in onBackendCreated()
65 bool Window::onChar(SkUnichar c, uint32_t modifiers) { in onChar()
69 bool Window::onKey(Key key, InputState state, uint32_t modifiers) { in onKey()
73 bool Window::onMouse(int x, int y, InputState state, uint32_t modifiers) { in onMouse()
77 bool Window::onMouseWheel(float delta, uint32_t modifiers) { in onMouseWheel()
[all …]
DCommandSet.h43 void attach(Window* window);
44 bool onKey(sk_app::Window::Key key, sk_app::Window::InputState state, uint32_t modifiers);
50 void addCommand(Window::Key k, const char* keyName, const char* group, const char* description,
73 Command(Window::Key k, const char* keyName, const char* group, const char* description, in Command()
88 Window::Key fKey;
110 Window* fWindow;
/external/skia/tools/viewer/sk_app/unix/
DWindow_unix.cpp27 Window* Window::CreateNativeWindow(void* platformData) { in CreateNativeWindow()
187 static Window::Key get_key(KeySym keysym) { in get_key()
190 Window::Key fKey; in get_key()
192 { XK_BackSpace, Window::Key::kBack }, in get_key()
193 { XK_Clear, Window::Key::kBack }, in get_key()
194 { XK_Return, Window::Key::kOK }, in get_key()
195 { XK_Up, Window::Key::kUp }, in get_key()
196 { XK_Down, Window::Key::kDown }, in get_key()
197 { XK_Left, Window::Key::kLeft }, in get_key()
198 { XK_Right, Window::Key::kRight }, in get_key()
[all …]
/external/deqp/framework/platform/android/
DtcuAndroidWindow.cpp35 Window::Window (ANativeWindow* window) in Window() function in tcu::Android::Window
41 Window::~Window (void) in ~Window()
45 void Window::setBuffersGeometry (int width, int height, int32_t format) in setBuffersGeometry()
50 IVec2 Window::getSize (void) const in getSize()
57 bool Window::tryAcquire (void) in tryAcquire()
70 void Window::release (void) in release()
87 void Window::markForDestroy (void) in markForDestroy()
99 bool Window::isPendingDestroy (void) const in isPendingDestroy()
105 bool Window::tryAcquireForDestroy (bool onlyMarked) in tryAcquireForDestroy()
127 …for (vector<Window*>::const_iterator winIter = m_windows.begin(); winIter != m_windows.end(); winI… in ~WindowRegistry()
[all …]
DtcuAndroidWindow.hpp42 class Window class
56 Window (ANativeWindow* window);
57 ~Window (void);
73 Window (const Window& other);
74 Window& operator= (const Window& other);
90 Window* tryAcquireWindow (void);
95 std::vector<Window*> m_windows;
/external/deqp/framework/platform/wayland/
DtcuWayland.cpp63 const struct wl_shell_surface_listener Window::s_shellSurfaceListener =
65 Window::handlePing,
66 Window::handleConfigure,
67 Window::handlePopupDone,
150 Window::Window (Display& display, int width, int height) in Window() function in tcu::wayland::Window
183 void Window::setVisibility (bool visible) in setVisibility()
188 void Window::getDimensions (int* width, int* height) const in getDimensions()
193 void Window::setDimensions (int width, int height) in setDimensions()
198 void Window::processEvents (void) in processEvents()
202 void Window::handlePing (void* data, struct wl_shell_surface* shellSurface, uint32_t serial) in handlePing()
[all …]
DtcuWaylandEglPlatform.cpp79 class Window : public NativeWindow class
87 Window (Display& display,
96 wayland::Window m_window;
99 Window::Window (Display& display, const WindowParams& params) in Window() function in tcu::wayland::egl::Window
105 IVec2 Window::getSurfaceSize (void) const in getSurfaceSize()
112 void Window::setSurfaceSize (IVec2 size) in setSurfaceSize()
133 : NativeWindowFactory ("window", "Wayland Window", Window::CAPABILITIES) in WindowFactory()
142 return new Window(display, params); in createWindow()
157 return new Window(display, params); in createWindow()
DtcuWayland.hpp94 class Window class
97 Window (Display& display, int width, int height);
98 ~Window (void);
119 Window (const Window&);
120 Window& operator= (const Window&);
DtcuWaylandVulkanPlatform.cpp46 VulkanWindowWayland (MovePtr<wayland::Window> window) in VulkanWindowWayland()
58 UniquePtr<wayland::Window> m_window;
70 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const in createWindow()
74 …return new VulkanWindowWayland(MovePtr<wayland::Window>(new wayland::Window(*m_display, (int)width… in createWindow()
/external/webrtc/webrtc/modules/desktop_capture/
Dwindow_capturer_x11.cc39 XWindowProperty(Display* display, Window window, Atom property) in XWindowProperty()
112 ::Window GetApplicationWindow(::Window window);
115 bool IsDesktopElement(::Window window);
118 bool GetWindowTitle(::Window window, std::string* title);
129 ::Window selected_window_;
170 ::Window root_window = XRootWindow(display(), screen); in GetWindowList()
171 ::Window parent; in GetWindowList()
172 ::Window *children; in GetWindowList()
184 ::Window app_window = in GetWindowList()
187 Window w; in GetWindowList()
[all …]
Dmouse_cursor_monitor_x11.cc32 Window GetTopLevelWindow(Display* display, Window window) { in GetTopLevelWindow()
35 ::Window root, parent; in GetTopLevelWindow()
36 ::Window *children; in GetTopLevelWindow()
63 MouseCursorMonitorX11(const DesktopCaptureOptions& options, Window window);
81 Window window_;
92 Window window) in MouseCursorMonitorX11()
146 Window root_window; in Capture()
147 Window child_window; in Capture()
/external/deqp/framework/platform/win32/
DtcuWin32Window.hpp35 class Window class
38 Window (HINSTANCE instance, int width, int height);
39 ~Window (void);
52 Window (const Window&);
53 Window operator= (const Window&);
DtcuWin32Window.cpp33 Window* window = reinterpret_cast<Window*>(GetWindowLongPtr(hWnd, GWLP_USERDATA)); in windowProcCallback()
40 Window::Window (HINSTANCE instance, int width, int height) in Window() function in tcu::win32::Window
88 Window::~Window (void) in ~Window()
99 void Window::setVisible (bool visible) in setVisible()
104 void Window::setSize (int width, int height) in setSize()
122 IVec2 Window::getSize (void) const in getSize()
132 void Window::processEvents (void) in processEvents()
139 LRESULT Window::windowProc (UINT uMsg, WPARAM wParam, LPARAM lParam) in windowProc()
/external/ltp/tools/pounder21/src/xbonkers/
Dxbonkers.c83 static char *get_property(Display * disp, Window win, Atom xa_prop_type,
88 static Window *get_interesting_windows(Display * disp,
90 static Window *get_client_list(Display * disp, unsigned long *size,
93 static int send_client_msg(Display * disp, Window win, char *msg,
97 static int activate_window(Display * disp, Window * win);
99 static void move_window(Display * disp, Window * win, unsigned long desk_w,
101 static int toggle_property(Display * disp, Window * win, const char *property);
138 static char *get_property(Display * disp, Window win, Atom xa_prop_type, in get_property()
171 sizeof(Window) == 8) { in get_property()
246 static void slide_window(Display * disp, Window * win, unsigned long desk_w, in slide_window()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkWsiPlatform.hpp35 class Window class
38 virtual ~Window (void) {} in ~Window()
43 Window (void) {} in Window() function in vk::wsi::Window
46 Window (const Window&); // Not allowed
47 Window& operator= (const Window&); // Not allowed
55 …virtual Window* createWindow (const tcu::Maybe<tcu::UVec2>& initialSize = tcu::nothing<tcu::UVec2…
91 struct WindowInterface : public Window
/external/skia/tools/viewer/
DViewer.cpp63 static bool on_touch_handler(intptr_t owner, Window::InputState state, float x, float y, void* user… in on_touch_handler()
76 static bool on_mouse_handler(int x, int y, Window::InputState state, uint32_t modifiers, in on_mouse_handler()
81 if (Window::kDown_InputState == state) { in on_mouse_handler()
83 } else if (Window::kUp_InputState == state) { in on_mouse_handler()
95 static bool on_key_handler(Window::Key key, Window::InputState state, uint32_t modifiers, in on_key_handler()
98 io.KeysDown[static_cast<int>(key)] = (Window::kDown_InputState == state); in on_key_handler()
159 const char *kBackendTypeStrings[sk_app::Window::kBackendTypeCount] = {
167 static sk_app::Window::BackendType get_backend_type(const char* str) { in get_backend_type()
170 return sk_app::Window::kVulkan_BackendType; in get_backend_type()
174 return sk_app::Window::kNativeGL_BackendType; in get_backend_type()
[all …]
DViewer.h29 bool onTouch(intptr_t owner, sk_app::Window::InputState state, float x, float y);
31 bool onKey(sk_app::Window::Key key, sk_app::Window::InputState state, uint32_t modifiers);
44 void setBackend(sk_app::Window::BackendType);
59 sk_app::Window* fWindow;
82 sk_app::Window::BackendType fBackendType;
/external/ImageMagick/MagickCore/
Dxwindow-private.h331 Window
334 Window
492 XMakeCursor(Display *,Window,Colormap,char *,char *);
495 XCheckDefineCursor(Display *,Window,Cursor);
513 XClientMessage(Display *,const Window,const Atom,const Atom,const Time),
521 XDestroyWindowColors(Display *,Window),
526 XHighlightEllipse(Display *,Window,GC,const RectangleInfo *),
527 XHighlightLine(Display *,Window,GC,const XSegment *),
528 XHighlightRectangle(Display *,Window,GC,const RectangleInfo *),
538 XMakeWindow(Display *,Window,char **,int,XClassHint *,XWMHints *,
[all …]
/external/deqp/framework/platform/raspi/
DtcuRaspiPlatform.cpp67 class Window : public eglu::NativeWindow class
70 Window (int width, int height);
71 ~Window (void);
112 return new Window(width, height); in createWindow()
117 Window::Window (int width, int height) in Window() function in tcu::rpi::Window
155 Window::~Window (void) in ~Window()
168 IVec2 Window::getSize (void) const in getSize()
/external/skia/tools/viewer/sk_app/android/
Dsurface_glue_android.cpp30 static const std::unordered_map<int, Window::Key> ANDROID_TO_WINDOW_KEYMAP({
31 {AKEYCODE_SOFT_LEFT, Window::Key::kLeft},
32 {AKEYCODE_SOFT_RIGHT, Window::Key::kRight}
35 static const std::unordered_map<int, Window::InputState> ANDROID_TO_WINDOW_STATEMAP({
36 {AMOTION_EVENT_ACTION_DOWN, Window::kDown_InputState},
37 {AMOTION_EVENT_ACTION_POINTER_DOWN, Window::kDown_InputState},
38 {AMOTION_EVENT_ACTION_UP, Window::kUp_InputState},
39 {AMOTION_EVENT_ACTION_POINTER_UP, Window::kUp_InputState},
40 {AMOTION_EVENT_ACTION_MOVE, Window::kMove_InputState},
41 {AMOTION_EVENT_ACTION_CANCEL, Window::kUp_InputState},
[all …]
/external/webrtc/webrtc/base/
Dx11windowpicker.cc32 XWindowProperty(Display* display, Window window, Atom property) in XWindowProperty()
198 Window default_root_window = XDefaultRootWindow(display_); in EnumerateDesktops()
201 Window root_window = XRootWindow(display_, i); in EnumerateDesktops()
230 Window* children; in MoveToFront()
231 Window parent; in MoveToFront()
232 Window root; in MoveToFront()
342 Window root; in GetWindowThumbnail()
412 Window root_window = id.id(); in GetDesktopThumbnail()
603 Window parent; in EnumerateScreenWindows()
604 Window *children; in EnumerateScreenWindows()
[all …]
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/activity/
DMain.java28 import android.view.Window;
76 getWindow().setFeatureInt(Window.FEATURE_INDETERMINATE_PROGRESS,
77 Window.PROGRESS_VISIBILITY_OFF);
101 requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS); in onCreate()
169 getWindow().setFeatureInt(Window.FEATURE_INDETERMINATE_PROGRESS, Window.PROGRESS_VISIBILITY_ON); in install()
185 getWindow().setFeatureInt(Window.FEATURE_INDETERMINATE_PROGRESS, Window.PROGRESS_VISIBILITY_ON); in uninstall()
/external/deqp/framework/platform/X11/
DtcuX11EglPlatform.cpp39 typedef ::Window EGLNativeWindowType;
123 class Window : public NativeWindow class
132 Window (Display& display,
147 Window::Window (Display& display, const WindowParams& params, Visual* visual) in Window() function in tcu::x11::egl::Window
154 IVec2 Window::getSurfaceSize (void) const in getSurfaceSize()
161 void Window::setSurfaceSize (IVec2 size) in setSurfaceSize()
182 : NativeWindowFactory ("window", "X11 Window", Window::CAPABILITIES) in WindowFactory()
191 return new Window(display, params, DE_NULL); in createWindow()
210 return new Window(display, params, visual); in createWindow()

1234567891011