Home
last modified time | relevance | path

Searched refs:wm (Results 1 – 25 of 546) sorted by relevance

12345678910>>...22

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_state.c79 struct brw_wm_unit_state *wm; in brw_upload_wm_unit() local
81 wm = brw_state_batch(brw, AUB_TRACE_WM_STATE, in brw_upload_wm_unit()
82 sizeof(*wm), 32, &brw->wm.state_offset); in brw_upload_wm_unit()
83 memset(wm, 0, sizeof(*wm)); in brw_upload_wm_unit()
85 if (brw->wm.prog_data->prog_offset_16) { in brw_upload_wm_unit()
90 assert(brw->wm.prog_data->first_curbe_grf == in brw_upload_wm_unit()
91 brw->wm.prog_data->first_curbe_grf_16); in brw_upload_wm_unit()
95 wm->thread0.grf_reg_count = brw->wm.prog_data->reg_blocks; in brw_upload_wm_unit()
96 wm->wm9.grf_reg_count_2 = brw->wm.prog_data->reg_blocks_16; in brw_upload_wm_unit()
98 wm->thread0.kernel_start_pointer = in brw_upload_wm_unit()
[all …]
Dgen6_wm_state.c53 if (brw->wm.prog_data->nr_params != 0) { in gen6_upload_wm_push_constants()
58 brw->wm.prog_data->nr_params * in gen6_upload_wm_push_constants()
60 32, &brw->wm.push_const_offset); in gen6_upload_wm_push_constants()
62 for (i = 0; i < brw->wm.prog_data->nr_params; i++) { in gen6_upload_wm_push_constants()
63 constants[i] = *brw->wm.prog_data->param[i]; in gen6_upload_wm_push_constants()
68 for (i = 0; i < brw->wm.prog_data->nr_params; i++) { in gen6_upload_wm_push_constants()
70 printf("g%d: ", brw->wm.prog_data->first_curbe_grf + i / 8); in gen6_upload_wm_push_constants()
105 if (brw->wm.prog_data->nr_params == 0) { in upload_wm_state()
122 OUT_BATCH(brw->wm.push_const_offset + in upload_wm_state()
123 ALIGN(brw->wm.prog_data->nr_params, in upload_wm_state()
[all …]
Dgen7_wm_state.c68 dw1 |= brw->wm.prog_data->barycentric_interp_modes << in upload_wm_state()
124 OUT_BATCH(brw->wm.bind_bo_offset); in upload_ps_state()
134 if (brw->wm.prog_data->nr_params == 0) { in upload_ps_state()
149 OUT_BATCH(ALIGN(brw->wm.prog_data->nr_params, in upload_ps_state()
150 brw->wm.prog_data->dispatch_width) / 8); in upload_ps_state()
155 OUT_BATCH(brw->wm.push_const_offset); in upload_ps_state()
181 if (brw->wm.prog_data->nr_params > 0) in upload_ps_state()
189 if (brw->wm.prog_data->dual_src_blend && in upload_ps_state()
199 if (brw->wm.prog_data->dispatch_width == 8) { in upload_ps_state()
201 if (brw->wm.prog_data->prog_offset_16) in upload_ps_state()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dbrw_wm_state.c79 struct brw_wm_unit_state *wm; in brw_upload_wm_unit() local
81 wm = brw_state_batch(brw, AUB_TRACE_WM_STATE, in brw_upload_wm_unit()
82 sizeof(*wm), 32, &brw->wm.state_offset); in brw_upload_wm_unit()
83 memset(wm, 0, sizeof(*wm)); in brw_upload_wm_unit()
85 if (brw->wm.prog_data->prog_offset_16) { in brw_upload_wm_unit()
90 assert(brw->wm.prog_data->first_curbe_grf == in brw_upload_wm_unit()
91 brw->wm.prog_data->first_curbe_grf_16); in brw_upload_wm_unit()
95 wm->thread0.grf_reg_count = brw->wm.prog_data->reg_blocks; in brw_upload_wm_unit()
96 wm->wm9.grf_reg_count_2 = brw->wm.prog_data->reg_blocks_16; in brw_upload_wm_unit()
98 wm->thread0.kernel_start_pointer = in brw_upload_wm_unit()
[all …]
Dgen6_wm_state.c53 if (brw->wm.prog_data->nr_params != 0) { in gen6_upload_wm_push_constants()
58 brw->wm.prog_data->nr_params * in gen6_upload_wm_push_constants()
60 32, &brw->wm.push_const_offset); in gen6_upload_wm_push_constants()
62 for (i = 0; i < brw->wm.prog_data->nr_params; i++) { in gen6_upload_wm_push_constants()
63 constants[i] = *brw->wm.prog_data->param[i]; in gen6_upload_wm_push_constants()
68 for (i = 0; i < brw->wm.prog_data->nr_params; i++) { in gen6_upload_wm_push_constants()
70 printf("g%d: ", brw->wm.prog_data->first_curbe_grf + i / 8); in gen6_upload_wm_push_constants()
105 if (brw->wm.prog_data->nr_params == 0) { in upload_wm_state()
122 OUT_BATCH(brw->wm.push_const_offset + in upload_wm_state()
123 ALIGN(brw->wm.prog_data->nr_params, in upload_wm_state()
[all …]
Dgen7_wm_state.c68 dw1 |= brw->wm.prog_data->barycentric_interp_modes << in upload_wm_state()
124 OUT_BATCH(brw->wm.bind_bo_offset); in upload_ps_state()
134 if (brw->wm.prog_data->nr_params == 0) { in upload_ps_state()
149 OUT_BATCH(ALIGN(brw->wm.prog_data->nr_params, in upload_ps_state()
150 brw->wm.prog_data->dispatch_width) / 8); in upload_ps_state()
155 OUT_BATCH(brw->wm.push_const_offset); in upload_ps_state()
181 if (brw->wm.prog_data->nr_params > 0) in upload_ps_state()
189 if (brw->wm.prog_data->dual_src_blend && in upload_ps_state()
199 if (brw->wm.prog_data->dispatch_width == 8) { in upload_ps_state()
201 if (brw->wm.prog_data->prog_offset_16) in upload_ps_state()
[all …]
/external/chromium_org/ash/wm/
Dlock_window_state.cc26 : current_state_type_(wm::GetWindowState(window)->GetStateType()) { in LockWindowState()
32 void LockWindowState::OnWMEvent(wm::WindowState* window_state, in OnWMEvent()
33 const wm::WMEvent* event) { in OnWMEvent()
38 case wm::WM_EVENT_TOGGLE_FULLSCREEN: in OnWMEvent()
41 case wm::WM_EVENT_FULLSCREEN: in OnWMEvent()
42 UpdateWindow(window_state, wm::WINDOW_STATE_TYPE_FULLSCREEN); in OnWMEvent()
44 case wm::WM_EVENT_TOGGLE_MAXIMIZE_CAPTION: in OnWMEvent()
45 case wm::WM_EVENT_TOGGLE_VERTICAL_MAXIMIZE: in OnWMEvent()
46 case wm::WM_EVENT_TOGGLE_HORIZONTAL_MAXIMIZE: in OnWMEvent()
47 case wm::WM_EVENT_TOGGLE_MAXIMIZE: in OnWMEvent()
[all …]
Dwindow_cycle_controller_unittest.cc55 NULL, ui::wm::WINDOW_TYPE_PANEL, 0, rect); in CreatePanelWindow()
76 wm::ActivateWindow(window0.get()); in TEST_F()
77 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
81 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
92 wm::ActivateWindow(window0.get()); in TEST_F()
93 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
98 EXPECT_FALSE(wm::IsActiveWindow(window0.get())); in TEST_F()
102 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
114 wm::ActivateWindow(window0.get()); in TEST_F()
117 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
[all …]
Dwindow_modality_controller_unittest.cc53 ::wm::AddTransientChild(w1.get(), w11.get()); in TEST_F()
54 wm::ActivateWindow(w1.get()); in TEST_F()
55 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
56 wm::ActivateWindow(w11.get()); in TEST_F()
57 EXPECT_TRUE(wm::IsActiveWindow(w11.get())); in TEST_F()
60 ::wm::AddTransientChild(w1.get(), w12.get()); in TEST_F()
61 wm::ActivateWindow(w12.get()); in TEST_F()
62 EXPECT_TRUE(wm::IsActiveWindow(w12.get())); in TEST_F()
64 wm::ActivateWindow(w11.get()); in TEST_F()
65 EXPECT_TRUE(wm::IsActiveWindow(w11.get())); in TEST_F()
[all …]
Dlock_window_state.h16 class LockWindowState : public wm::WindowState::State {
24 virtual void OnWMEvent(wm::WindowState* window_state,
25 const wm::WMEvent* event) OVERRIDE;
26 virtual wm::WindowStateType GetType() const OVERRIDE;
27 virtual void AttachState(wm::WindowState* window_state,
28 wm::WindowState::State* previous_state) OVERRIDE;
29 virtual void DetachState(wm::WindowState* window_state) OVERRIDE;
32 static wm::WindowState* SetLockWindowState(aura::Window* window);
38 void UpdateWindow(wm::WindowState* window_state,
39 wm::WindowStateType new_state_type);
[all …]
Dstacking_controller.cc30 return wm::GetRootWindowMatching(bounds); in FindContainerRoot()
42 return ::wm::GetTransientParent(window) && in HasTransientParentWindow()
43 ::wm::GetTransientParent(window)->type() != in HasTransientParentWindow()
44 ui::wm::WINDOW_TYPE_UNKNOWN; in HasTransientParentWindow()
69 aura::Window* transient_parent = ::wm::GetTransientParent(window); in GetDefaultParent()
78 case ui::wm::WINDOW_TYPE_NORMAL: in GetDefaultParent()
79 case ui::wm::WINDOW_TYPE_POPUP: in GetDefaultParent()
84 ::wm::GetTransientParent(window)); in GetDefaultParent()
86 case ui::wm::WINDOW_TYPE_CONTROL: in GetDefaultParent()
89 case ui::wm::WINDOW_TYPE_PANEL: in GetDefaultParent()
[all …]
Dlock_layout_manager.cc51 const wm::WMEvent event(wm::WM_EVENT_WORKAREA_BOUNDS_CHANGED); in OnWindowResized()
59 wm::WindowState* window_state = LockWindowState::SetLockWindowState(child); in OnWindowAddedToLayout()
60 wm::WMEvent event(wm::WM_EVENT_ADDED_TO_WORKSPACE); in OnWindowAddedToLayout()
77 wm::WindowState* window_state = wm::GetWindowState(child); in SetChildBounds()
78 wm::SetBoundsEvent event(wm::WM_EVENT_SET_BOUNDS, requested_bounds); in SetChildBounds()
104 const wm::WMEvent wm_event(wm::WM_EVENT_DISPLAY_BOUNDS_CHANGED); in OnWindowBoundsChanged()
129 const wm::WMEvent* event) { in AdjustWindowsForWorkAreaChange()
130 DCHECK(event->type() == wm::WM_EVENT_DISPLAY_BOUNDS_CHANGED || in AdjustWindowsForWorkAreaChange()
131 event->type() == wm::WM_EVENT_WORKAREA_BOUNDS_CHANGED); in AdjustWindowsForWorkAreaChange()
136 wm::GetWindowState(*it)->OnWMEvent(event); in AdjustWindowsForWorkAreaChange()
Dmru_window_tracker_unittest.cc40 wm::ActivateWindow(w3.get()); in TEST_F()
41 wm::ActivateWindow(w2.get()); in TEST_F()
42 wm::ActivateWindow(w1.get()); in TEST_F()
60 wm::ActivateWindow(w6.get()); in TEST_F()
61 wm::ActivateWindow(w5.get()); in TEST_F()
62 wm::ActivateWindow(w4.get()); in TEST_F()
63 wm::ActivateWindow(w3.get()); in TEST_F()
64 wm::ActivateWindow(w2.get()); in TEST_F()
65 wm::ActivateWindow(w1.get()); in TEST_F()
67 wm::GetWindowState(w1.get())->Minimize(); in TEST_F()
[all …]
/external/chromium_org/ash/wm/maximize_mode/
Dmaximize_mode_window_state.cc33 gfx::Size GetMaximumSizeOfWindow(wm::WindowState* window_state) { in GetMaximumSizeOfWindow()
53 wm::WindowState* state_object) { in GetCenteredBounds()
61 gfx::Rect GetBoundsInMaximizedMode(wm::WindowState* state_object) { in GetBoundsInMaximizedMode()
85 wm::WindowState* window_state, bool animated) { in UpdateWindowPosition()
101 current_state_type_(wm::GetWindowState(window)->GetStateType()) { in MaximizeModeWindowState()
103 wm::GetWindowState(window)->SetStateObject( in MaximizeModeWindowState()
111 void MaximizeModeWindowState::LeaveMaximizeMode(wm::WindowState* window_state) { in LeaveMaximizeMode()
113 scoped_ptr<wm::WindowState::State> our_reference = in LeaveMaximizeMode()
117 void MaximizeModeWindowState::OnWMEvent(wm::WindowState* window_state, in OnWMEvent()
118 const wm::WMEvent* event) { in OnWMEvent()
[all …]
Dmaximize_mode_window_manager_unittest.cc45 aura::Window* CreateFixedSizeNonMaximizableWindow(ui::wm::WindowType type, in CreateFixedSizeNonMaximizableWindow()
54 aura::Window* CreateNonMaximizableWindow(ui::wm::WindowType type, in CreateNonMaximizableWindow()
61 aura::Window* CreateWindow(ui::wm::WindowType type, in CreateWindow()
116 aura::Window* CreateWindowInWatchedContainer(ui::wm::WindowType type, in CreateWindowInWatchedContainer()
161 scoped_ptr<aura::Window> w1(CreateWindow(ui::wm::WINDOW_TYPE_NORMAL, rect1)); in TEST_F()
162 scoped_ptr<aura::Window> w2(CreateWindow(ui::wm::WINDOW_TYPE_NORMAL, rect2)); in TEST_F()
164 CreateFixedSizeNonMaximizableWindow(ui::wm::WINDOW_TYPE_NORMAL, rect3)); in TEST_F()
165 scoped_ptr<aura::Window> w4(CreateWindow(ui::wm::WINDOW_TYPE_PANEL, rect)); in TEST_F()
166 scoped_ptr<aura::Window> w5(CreateWindow(ui::wm::WINDOW_TYPE_POPUP, rect)); in TEST_F()
167 scoped_ptr<aura::Window> w6(CreateWindow(ui::wm::WINDOW_TYPE_CONTROL, rect)); in TEST_F()
[all …]
Dmaximize_mode_window_state.h17 class MaximizeModeWindowState : public wm::WindowState::State {
20 static void UpdateWindowPosition(wm::WindowState* window_state,
32 void LeaveMaximizeMode(wm::WindowState* window_state);
35 virtual void OnWMEvent(wm::WindowState* window_state,
36 const wm::WMEvent* event) OVERRIDE;
38 virtual wm::WindowStateType GetType() const OVERRIDE;
39 virtual void AttachState(wm::WindowState* window_state,
40 wm::WindowState::State* previous_state) OVERRIDE;
41 virtual void DetachState(wm::WindowState* window_state) OVERRIDE;
48 void UpdateWindow(wm::WindowState* window_state,
[all …]
/external/chromium_org/ash/
Dash.gyp486 'wm/app_list_controller.cc',
487 'wm/app_list_controller.h',
488 'wm/always_on_top_controller.cc',
489 'wm/always_on_top_controller.h',
490 'wm/ash_native_cursor_manager.cc',
491 'wm/ash_native_cursor_manager.h',
492 'wm/ash_focus_rules.cc',
493 'wm/ash_focus_rules.h',
494 'wm/boot_splash_screen_chromeos.cc',
495 'wm/boot_splash_screen_chromeos.h',
[all …]
Dfocus_cycler_unittest.cc135 wm::ActivateWindow(window0.get()); in TEST_F()
136 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
140 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
150 wm::ActivateWindow(window0.get()); in TEST_F()
151 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
163 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
173 wm::ActivateWindow(window0.get()); in TEST_F()
174 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
186 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
196 wm::ActivateWindow(window0.get()); in TEST_F()
[all …]
/external/chromium_org/ash/accelerators/
Daccelerator_commands.cc19 aura::Window* window = wm::GetActiveWindow(); in ToggleMinimized()
26 wm::GetWindowState(mru_windows.front())->Activate(); in ToggleMinimized()
29 wm::WindowState* window_state = wm::GetWindowState(window); in ToggleMinimized()
37 wm::WindowState* window_state = wm::GetActiveWindowState(); in ToggleMaximized()
41 wm::WMEvent event(wm::WM_EVENT_TOGGLE_MAXIMIZE); in ToggleMaximized()
46 wm::WindowState* window_state = wm::GetActiveWindowState(); in ToggleFullscreen()
48 const wm::WMEvent event(wm::WM_EVENT_TOGGLE_FULLSCREEN); in ToggleFullscreen()
/external/chromium_org/ash/wm/workspace/
Dworkspace_layout_manager.cc77 wm::WindowState* window_state = wm::GetWindowState(child); in OnWindowAddedToLayout()
78 wm::WMEvent event(wm::WM_EVENT_ADDED_TO_WORKSPACE); in OnWindowAddedToLayout()
93 wm::GetWindowState(child)->RemoveObserver(this); in OnWillRemoveWindowFromLayout()
108 wm::WindowState* window_state = wm::GetWindowState(child); in OnChildWindowVisibilityChanged()
126 wm::WindowState* window_state = wm::GetWindowState(child); in SetChildBounds()
127 wm::SetBoundsEvent event(wm::WM_EVENT_SET_BOUNDS, requested_bounds); in SetChildBounds()
146 wm::WindowState* window_state = wm::GetWindowState(window); in OnKeyboardBoundsChanging()
181 const wm::WMEvent event(wm::WM_EVENT_WORKAREA_BOUNDS_CHANGED); in OnDisplayWorkAreaInsetsChanged()
193 if (!wm::GetWindowState(params.target)->IsActive()) in OnWindowHierarchyChanged()
239 const wm::WMEvent wm_event(wm::WM_EVENT_DISPLAY_BOUNDS_CHANGED); in OnWindowBoundsChanged()
[all …]
/external/chromium_org/chrome/browser/chromeos/extensions/
Dwallpaper_private_api_unittest.cc83 ash::wm::WindowState* window0_state = ash::wm::GetWindowState(window0.get()); in TEST_F()
84 ash::wm::WindowState* window1_state = ash::wm::GetWindowState(window1.get()); in TEST_F()
85 ash::wm::WindowState* window2_state = ash::wm::GetWindowState(window2.get()); in TEST_F()
86 ash::wm::WindowState* window3_state = ash::wm::GetWindowState(window3.get()); in TEST_F()
134 ash::wm::WindowState* window0_state = ash::wm::GetWindowState(window0.get()); in TEST_F()
135 ash::wm::WindowState* window1_state = ash::wm::GetWindowState(window1.get()); in TEST_F()
256 ash::wm::WindowState* window0_state = ash::wm::GetWindowState(window0.get()); in TEST_F()
257 ash::wm::WindowState* window1_state = ash::wm::GetWindowState(window1.get()); in TEST_F()
258 ash::wm::WindowState* window2_state = ash::wm::GetWindowState(window2.get()); in TEST_F()
259 ash::wm::WindowState* window3_state = ash::wm::GetWindowState(window3.get()); in TEST_F()
[all …]
/external/chromium_org/v8/test/perf-test/Collections/
Dweakmap.js17 var wm; variable
28 wm = new WeakMap;
30 wm.set(keys[i], i);
36 wm = null;
48 if (!wm.has(keys[i])) {
53 if (wm.has(keys[i])) {
62 if (wm.get(keys[i]) !== i) {
67 if (wm.get(keys[i]) !== undefined) {
78 wm.delete(keys[i]);
/external/chromium_org/ui/views/widget/
Dwidget_aura_utils.cc11 ui::wm::WindowType GetAuraWindowTypeForWidgetType( in GetAuraWindowTypeForWidgetType()
15 return ui::wm::WINDOW_TYPE_NORMAL; in GetAuraWindowTypeForWidgetType()
17 return ui::wm::WINDOW_TYPE_PANEL; in GetAuraWindowTypeForWidgetType()
19 return ui::wm::WINDOW_TYPE_CONTROL; in GetAuraWindowTypeForWidgetType()
24 return ui::wm::WINDOW_TYPE_POPUP; in GetAuraWindowTypeForWidgetType()
26 return ui::wm::WINDOW_TYPE_MENU; in GetAuraWindowTypeForWidgetType()
28 return ui::wm::WINDOW_TYPE_TOOLTIP; in GetAuraWindowTypeForWidgetType()
31 return ui::wm::WINDOW_TYPE_UNKNOWN; in GetAuraWindowTypeForWidgetType()
/external/chromium_org/ui/aura/
DBUILD.gn68 "../wm/public/activation_change_observer.h",
69 "../wm/public/activation_change_observer.cc",
70 "../wm/public/activation_client.cc",
71 "../wm/public/activation_client.h",
72 "../wm/public/activation_delegate.cc",
73 "../wm/public/activation_delegate.h",
74 "../wm/public/animation_host.cc",
75 "../wm/public/animation_host.h",
76 "../wm/public/dispatcher_client.cc",
77 "../wm/public/dispatcher_client.h",
[all …]
/external/chromium_org/ui/wm/core/
Dshadow.cc35 float GetOpacityForStyle(wm::Shadow::Style style) { in GetOpacityForStyle()
37 case wm::Shadow::STYLE_ACTIVE: in GetOpacityForStyle()
39 case wm::Shadow::STYLE_INACTIVE: in GetOpacityForStyle()
41 case wm::Shadow::STYLE_SMALL: in GetOpacityForStyle()
47 int GetShadowApertureForStyle(wm::Shadow::Style style) { in GetShadowApertureForStyle()
49 case wm::Shadow::STYLE_ACTIVE: in GetShadowApertureForStyle()
51 case wm::Shadow::STYLE_INACTIVE: in GetShadowApertureForStyle()
53 case wm::Shadow::STYLE_SMALL: in GetShadowApertureForStyle()
59 int GetInteriorInsetForStyle(wm::Shadow::Style style) { in GetInteriorInsetForStyle()
61 case wm::Shadow::STYLE_ACTIVE: in GetInteriorInsetForStyle()
[all …]

12345678910>>...22