Searched refs:event (Results 476 - 500 of 4459) sorted by path

<<11121314151617181920>>

/external/chromium_org/ash/wm/
H A Dapp_list_controller.cc25 #include "ui/events/event.h"
355 void AppListController::ProcessLocatedEvent(ui::LocatedEvent* event) { argument
359 // If the event happened on a menu, then the event should not close the app
361 aura::Window* target = static_cast<aura::Window*>(event->target());
396 void AppListController::OnMouseEvent(ui::MouseEvent* event) { argument
397 if (event->type() == ui::ET_MOUSE_PRESSED)
398 ProcessLocatedEvent(event);
401 void AppListController::OnGestureEvent(ui::GestureEvent* event) { argument
402 if (event
[all...]
H A Dapp_list_controller.h89 void ProcessLocatedEvent(ui::LocatedEvent* event);
95 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
96 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
H A Dash_native_cursor_manager_unittest.cc35 // A delegate for recording a mouse event location.
47 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE {
48 mouse_event_location_ = event->location();
49 event->SetHandled();
H A Dcursor_manager_chromeos.cc23 const ui::KeyEvent& event) const {
29 if (event.IsAltDown() || event.IsControlDown())
32 ui::KeyboardCode code = event.key_code();
H A Dcursor_manager_chromeos.h36 const ui::KeyEvent& event) const OVERRIDE;
H A Ddefault_state.cc74 const WMEvent* event) {
75 if (ProcessWorkspaceEvents(window_state, event))
78 if (ProcessCompoundEvents(window_state, event))
82 switch (event->type()) {
102 SetBounds(window_state, static_cast<const SetBoundsEvent*>(event));
113 NOTREACHED() << "Compound event should not reach here:" << event;
118 NOTREACHED() << "Workspace event should not reach here:" << event;
125 gfx::Rect snapped_bounds = event
73 OnWMEvent(WindowState* window_state, const WMEvent* event) argument
174 ProcessCompoundEvents(WindowState* window_state, const WMEvent* event) argument
286 ProcessWorkspaceEvents(WindowState* window_state, const WMEvent* event) argument
397 SetBounds(WindowState* window_state, const SetBoundsEvent* event) argument
[all...]
H A Ddefault_state.h23 const WMEvent* event) OVERRIDE;
33 const WMEvent* event);
37 const WMEvent* event);
H A Dimmersive_fullscreen_controller.cc90 // Returns the location of |event| in screen coordinates.
91 gfx::Point GetEventLocationInScreen(const ui::LocatedEvent& event) { argument
92 gfx::Point location_in_screen = event.location();
93 aura::Window* target = static_cast<aura::Window*>(event.target());
295 // Reset the located event and the focus revealed locks so that they do not
366 void ImmersiveFullscreenController::OnMouseEvent(ui::MouseEvent* event) { argument
370 if (event->type() != ui::ET_MOUSE_MOVED &&
371 event->type() != ui::ET_MOUSE_PRESSED &&
372 event->type() != ui::ET_MOUSE_RELEASED &&
373 event
390 OnTouchEvent(ui::TouchEvent* event) argument
402 OnGestureEvent(ui::GestureEvent* event) argument
569 UpdateTopEdgeHoverTimer( ui::MouseEvent* event) argument
622 UpdateLocatedEventRevealedLock( ui::LocatedEvent* event) argument
[all...]
H A Dimmersive_fullscreen_controller.h129 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
130 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
131 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
181 // Updates |top_edge_hover_timer_| based on a mouse |event|. If the mouse is
185 void UpdateTopEdgeHoverTimer(ui::MouseEvent* event);
189 // |event| is NULL if the source event is not known.
190 void UpdateLocatedEventRevealedLock(ui::LocatedEvent* event);
224 // Returns the type of swipe given |event|.
225 SwipeType GetSwipeType(ui::GestureEvent* event) cons
[all...]
H A Dimmersive_fullscreen_controller_unittest.cc87 virtual void OnEvent(ui::Event* event) OVERRIDE {
88 ui::test::TestEventHandler::OnEvent(event);
89 if (event->cancelable())
90 event->SetHandled();
224 // Compute the event position in |top_container_| coordinates.
345 // Test mouse event processing for top-of-screen reveal triggering.
360 // Mouse wheel event does nothing.
444 // Test mouse event processing for top-of-screen reveal triggering when the
502 // Test mouse event processing for top-of-screen reveal triggering when the user
773 // The event shoul
[all...]
H A Dlock_layout_manager.cc14 #include "ui/events/event.h"
51 const wm::WMEvent event(wm::WM_EVENT_WORKAREA_BOUNDS_CHANGED);
52 AdjustWindowsForWorkAreaChange(&event);
60 wm::WMEvent event(wm::WM_EVENT_ADDED_TO_WORKSPACE);
61 window_state->OnWMEvent(&event);
78 wm::SetBoundsEvent event(wm::WM_EVENT_SET_BOUNDS, requested_bounds);
79 window_state->OnWMEvent(&event);
129 const wm::WMEvent* event) {
130 DCHECK(event->type() == wm::WM_EVENT_DISPLAY_BOUNDS_CHANGED ||
131 event
128 AdjustWindowsForWorkAreaChange( const wm::WMEvent* event) argument
[all...]
H A Dlock_layout_manager.h87 void AdjustWindowsForWorkAreaChange(const wm::WMEvent* event);
H A Dlock_state_observer.h22 virtual void OnLockStateEvent(EventType event) = 0;
H A Dlock_window_state.cc33 const wm::WMEvent* event) {
37 switch (event->type()) {
66 static_cast<const ash::wm::SetBoundsEvent*>(event);
32 OnWMEvent(wm::WindowState* window_state, const wm::WMEvent* event) argument
H A Dlock_window_state.h25 const wm::WMEvent* event) OVERRIDE;
/external/chromium_org/ash/wm/gestures/
H A Dlong_press_affordance_handler.cc247 ui::GestureEvent* event) {
251 switch (event->type()) {
254 tap_down_location_ = event->root_location();
246 ProcessEvent(aura::Window* target, ui::GestureEvent* event) argument
H A Dlong_press_affordance_handler.h36 // Displays or removes long press affordance according to the |event|.
37 void ProcessEvent(aura::Window* target, ui::GestureEvent* event);
H A Doverview_gesture_handler.cc11 #include "ui/events/event.h"
41 bool OverviewGestureHandler::ProcessScrollEvent(const ui::ScrollEvent& event) { argument
42 if (event.type() == ui::ET_SCROLL_FLING_START ||
43 event.type() == ui::ET_SCROLL_FLING_CANCEL ||
44 event.finger_count() != 3) {
49 scroll_x_ += event.x_offset();
50 scroll_y_ += event.y_offset();
81 const ui::GestureEvent& event) {
83 if (event.type() == ui::ET_GESTURE_BEGIN &&
84 event
80 ProcessGestureEvent( const ui::GestureEvent& event) argument
[all...]
H A Doverview_gesture_handler.h28 // Processes a scroll event and may start overview. Returns true if the event
30 bool ProcessScrollEvent(const ui::ScrollEvent& event);
32 // Processes a gesture event and may start overview. Returns true if the event
34 bool ProcessGestureEvent(const ui::GestureEvent& event);
H A Dshelf_gesture_handler.cc32 bool ShelfGestureHandler::ProcessGestureEvent(const ui::GestureEvent& event) { argument
40 // TODO(oshima): Find the root window controller from event's location.
45 if (event.type() == ui::ET_GESTURE_WIN8_EDGE_SWIPE) {
46 shelf->OnGestureEdgeSwipe(event);
56 if (event.type() == ui::ET_GESTURE_SCROLL_BEGIN) {
58 shelf->StartGestureDrag(event);
65 if (event.type() == ui::ET_GESTURE_SCROLL_UPDATE) {
67 if (!tray_handler_->UpdateGestureDrag(event))
69 } else if (shelf->UpdateGestureDrag(event) ==
79 if (event
[all...]
H A Dshelf_gesture_handler.h25 // Processes a gesture event and updates the status of the shelf when
28 bool ProcessGestureEvent(const ui::GestureEvent& event);
H A Dtray_gesture_handler.cc12 #include "ui/events/event.h"
45 bool TrayGestureHandler::UpdateGestureDrag(const ui::GestureEvent& event) { argument
46 CHECK_EQ(ui::ET_GESTURE_SCROLL_UPDATE, event.type());
50 gesture_drag_amount_ += event.details().scroll_y();
67 void TrayGestureHandler::CompleteGestureDrag(const ui::GestureEvent& event) { argument
78 if (event.type() == ui::ET_GESTURE_SCROLL_END) {
82 } else if (event.type() == ui::ET_SCROLL_FLING_START) {
86 event.details().velocity_y() > -kMinThresholdGestureFling)
H A Dtray_gesture_handler.h24 // Handles a gesture-update event and updates the dragging state of the tray
28 bool UpdateGestureDrag(const ui::GestureEvent& event);
30 void CompleteGestureDrag(const ui::GestureEvent& event);
/external/chromium_org/ash/wm/maximize_mode/
H A Dmaximize_mode_window_manager.cc106 // When the state got added, the "WM_EVENT_ADDED_TO_WORKSPACE" event got
109 wm::WMEvent event(wm::WM_EVENT_ADDED_TO_WORKSPACE);
110 wm::GetWindowState(window)->OnWMEvent(&event);
142 void MaximizeModeWindowManager::OnTouchEvent(ui::TouchEvent* event) { argument
143 if (event->type() != ui::ET_TOUCH_PRESSED)
156 int y = event->y();
163 event->StopPropagation();
H A Dmaximize_mode_window_manager.h72 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE;

Completed in 314 milliseconds

<<11121314151617181920>>