Home
last modified time | relevance | path

Searched refs:focused (Results 1 - 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/bloat/
H A Dwebtreemap.js24 var focused = null; variable
27 focused = tree;
69 if (focused && tree == focused && focused.parent) {
70 focus(focused.parent);
/third_party/skia/third_party/externals/imgui/backends/
H A Dimgui_impl_glfw.cpp20 // 2021-07-29: *BREAKING CHANGE*: Now using glfwSetCursorEnterCallback(). MousePos is correctly reported when the host platform window is hovered but not focused. If you called ImGui_ImplGlfw_InitXXX() with install_callbacks = false, you MUST install glfwSetWindowFocusCallback() callback and forward it to the backend via ImGui_ImplGlfw_CursorEnterCallback().
165 void ImGui_ImplGlfw_WindowFocusCallback(GLFWwindow* window, int focused) in ImGui_ImplGlfw_WindowFocusCallback() argument
169 bd->PrevUserCallbackWindowFocus(window, focused); in ImGui_ImplGlfw_WindowFocusCallback()
172 io.AddFocusEvent(focused != 0); in ImGui_ImplGlfw_WindowFocusCallback()
351 const bool focused = true; in ImGui_ImplGlfw_UpdateMousePosAndButtons() local
353 const bool focused = glfwGetWindowAttrib(bd->Window, GLFW_FOCUSED) != 0; in ImGui_ImplGlfw_UpdateMousePosAndButtons() local
355 GLFWwindow* mouse_window = (bd->MouseWindow == bd->Window || focused) ? bd->Window : NULL; in ImGui_ImplGlfw_UpdateMousePosAndButtons()
358 if (io.WantSetMousePos && focused) in ImGui_ImplGlfw_UpdateMousePosAndButtons()
/third_party/glfw/tests/
H A Diconify.c134 static void window_focus_callback(GLFWwindow* window, int focused) in window_focus_callback() argument
138 focused ? "focused" : "defocused"); in window_focus_callback()
275 glfwGetWindowAttrib(windows[i], GLFW_FOCUSED) ? "focused" : "defocused"); in main()
H A Devents.c344 static void window_focus_callback(GLFWwindow* window, int focused) in window_focus_callback() argument
349 focused ? "focused" : "defocused"); in window_focus_callback()
/third_party/glfw/src/
H A Dwindow.c43 void _glfwInputWindowFocus(_GLFWwindow* window, GLFWbool focused) in _glfwInputWindowFocus() argument
46 assert(focused == GLFW_TRUE || focused == GLFW_FALSE); in _glfwInputWindowFocus()
49 window->callbacks.focus((GLFWwindow*) window, focused); in _glfwInputWindowFocus()
51 if (!focused) in _glfwInputWindowFocus()
267 // The default is a focused, visible, resizable window with decorations in glfwDefaultWindowHints()
272 _glfw.hints.window.focused = GLFW_TRUE; in glfwDefaultWindowHints()
356 _glfw.hints.window.focused = value ? GLFW_TRUE : GLFW_FALSE; in glfwWindowHint()
H A Dinternal.h409 GLFWbool focused; member
921 void _glfwInputWindowFocus(_GLFWwindow* window, GLFWbool focused);
H A Dnull_window.c161 if (wndconfig->focused) in _glfwCreateWindowNull()
H A Dx11_window.c525 // Apply disabled cursor mode to a focused window
2038 if (wndconfig->focused) in _glfwCreateWindowX11()
2528 Window focused; in _glfwWindowFocusedX11() local
2531 XGetInputFocus(_glfw.x11.display, &focused, &state); in _glfwWindowFocusedX11()
2532 return window->x11.handle == focused; in _glfwWindowFocusedX11()
H A Dwin32_window.c290 // Apply disabled cursor mode to a focused window
1549 if (wndconfig->focused) in _glfwCreateWindowWin32()
/third_party/skia/third_party/externals/angle2/util/android/third_party/
H A Dandroid_native_app_glue.c397 static void onWindowFocusChanged(ANativeActivity* activity, int focused) { in onWindowFocusChanged() argument
398 LOGV("WindowFocusChanged: %p -- %d\n", activity, focused); in onWindowFocusChanged()
400 focused ? APP_CMD_GAINED_FOCUS : APP_CMD_LOST_FOCUS); in onWindowFocusChanged()
/third_party/glfw/include/GLFW/
H A Dglfw3.h1683 * void function_name(GLFWwindow* window, int focused)
1687 * @param[in] focused `GLFW_TRUE` if the window was given input focus, or
1697 typedef void (* GLFWwindowfocusfun)(GLFWwindow* window, int focused);
3885 * By default, windowed mode windows are focused when shown
3938 * By default, both windowed and full screen mode windows are focused when
3942 * Also by default, windowed mode windows are focused when shown
4361 * void function_name(GLFWwindow* window, int focused)
/third_party/skia/third_party/externals/imgui/
H A Dimgui.h354 IMGUI_API bool IsWindowFocused(ImGuiFocusedFlags flags=0); // is current window focused? or its root/child, depending on flags. see flags for options.
369 IMGUI_API void SetNextWindowFocus(); // set next window to be focused / top-most. call before Begin()
374 IMGUI_API void SetWindowFocus(); // (not recommended) set current window to be focused / top-most. prefer using SetNextWindowFocus().
379 IMGUI_API void SetWindowFocus(const char* name); // set named window to be focused / top-most. use NULL to remove focus.
831 IMGUI_API void SetItemDefaultFocus(); // make last item the default focused item of a window.
839 IMGUI_API bool IsItemFocused(); // is the last item focused for keyboard/gamepad navigation?
849 IMGUI_API bool IsAnyItemFocused(); // is any item focused?
1268 ImGuiFocusedFlags_ChildWindows = 1 << 0, // Return true if any children of the window is focused
1270 ImGuiFocusedFlags_AnyWindow = 1 << 2, // Return true if any window is focused. Important: If you are trying to tell how to dispatch your low-level inputs, do NOT use this. Use 'io.WantCaptureMouse' instead! Please read the FAQ!
1898 IMGUI_API void AddFocusEvent(bool focused); // Notifie
[all...]
H A Dimgui.cpp348 - io.NavActive: true when a window is focused and it doesn't have the ImGuiWindowFlags_NoNavInputs flag set.
1201 void ImGuiIO::AddFocusEvent(bool focused) in AddFocusEvent() argument
1205 AppFocusLost = !focused; in AddFocusEvent()
3313 // Process TAB/Shift-TAB to tab *OUT* of the currently focused item. in ItemInputable()
3331 // If another item is about to be focused, we clear our own active id in ItemInputable()
4140 // Closing the focused window restore focus to the first active root window in descending z-order in NewFrame()
6801 // Note that NoNavFocus makes the window not reachable with CTRL+TAB but it can still be focused with mouse or programmatically.
6802 // If you want a window to never be focused, you may use the e.g. NoInputs flag.
9136 // This way we could find the last focused window among our children. It would be much less confusing this way?
9146 // Restore the last focused chil
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp[all...]

Completed in 75 milliseconds