Home
last modified time | relevance | path

Searched refs:theEvent (Results 1 – 25 of 61) sorted by relevance

123

/external/chromium_org/ui/base/cocoa/
Dbase_view.mm25 - (void)mouseEvent:(NSEvent*)theEvent {
29 - (EventHandled)keyEvent:(NSEvent*)theEvent {
36 - (void)mouseDown:(NSEvent*)theEvent {
38 [self mouseEvent:theEvent];
41 - (void)rightMouseDown:(NSEvent*)theEvent {
42 [self mouseEvent:theEvent];
45 - (void)otherMouseDown:(NSEvent*)theEvent {
46 [self mouseEvent:theEvent];
49 - (void)mouseUp:(NSEvent*)theEvent {
50 [self mouseEvent:theEvent];
[all …]
Dbase_view.h34 - (void)mouseEvent:(NSEvent *)theEvent;
38 - (EventHandled)keyEvent:(NSEvent *)theEvent;
Dhover_button.mm31 - (void)mouseEntered:(NSEvent*)theEvent {
36 - (void)mouseExited:(NSEvent*)theEvent {
41 - (void)mouseDown:(NSEvent*)theEvent {
49 [super mouseDown:theEvent];
/external/chromium_org/ui/app_list/cocoa/
Dapps_collection_view_drag_manager.mm22 // Returns the item index that |theEvent| would hit in the page at |pageIndex|
25 hitWithEvent:(NSEvent*)theEvent;
27 - (void)initiateDrag:(NSEvent*)theEvent;
28 - (void)updateDrag:(NSEvent*)theEvent;
31 - (NSMenu*)menuForEvent:(NSEvent*)theEvent
84 withEvent:(NSEvent*)theEvent {
87 hitWithEvent:theEvent];
91 mouseDownLocation_ = [theEvent locationInWindow];
92 [[[gridController_ itemAtIndex:itemHitIndex_] view] mouseDown:theEvent];
95 - (void)onMouseDragged:(NSEvent*)theEvent {
[all …]
Dapps_collection_view_drag_manager.h58 withEvent:(NSEvent*)theEvent;
59 - (void)onMouseDragged:(NSEvent*)theEvent;
60 - (void)onMouseUp:(NSEvent*)theEvent;
Dapp_list_pager_view.mm87 - (void)mouseExited:(NSEvent*)theEvent {
91 - (void)mouseMoved:(NSEvent*)theEvent {
92 [self findAndHighlightSegmentAtLocation:[theEvent locationInWindow]];
95 - (void)mouseDown:(NSEvent*)theEvent {
102 - (void)mouseUp:(NSEvent*)theEvent {
103 [self findAndHighlightSegmentAtLocation:[theEvent locationInWindow]];
Dapps_search_results_controller.mm37 - (void)mouseDown:(NSEvent*)theEvent;
178 - (void)mouseDown:(NSEvent*)theEvent {
179 lastMouseDownInView_ = [tableView_ convertPoint:[theEvent locationInWindow]
278 - (void)mouseExited:(NSEvent*)theEvent {
286 - (void)mouseMoved:(NSEvent*)theEvent {
287 NSPoint pointInView = [tableView_ convertPoint:[theEvent locationInWindow]
414 - (void)mouseDown:(NSEvent*)theEvent {
415 [[self controller] mouseDown:theEvent];
416 [super mouseDown:theEvent];
419 - (NSMenu*)menuForEvent:(NSEvent*)theEvent {
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/
Domnibox_popup_matrix.mm20 - (void)highlightRowUnder:(NSEvent*)theEvent;
21 - (BOOL)selectCellForEvent:(NSEvent*)theEvent;
67 - (void)mouseEntered:(NSEvent*)theEvent {
68 [self highlightRowUnder:theEvent];
71 - (void)mouseMoved:(NSEvent*)theEvent {
72 [self highlightRowUnder:theEvent];
75 - (void)mouseExited:(NSEvent*)theEvent {
81 - (void)otherMouseDown:(NSEvent*)theEvent {
82 if ([theEvent buttonNumber] == kMiddleButtonNumber) {
83 [self highlightRowUnder:theEvent];
[all …]
/external/chromium_org/ui/views/cocoa/
Dbridged_content_view.mm19 // Translates the location of |theEvent| to toolkit-views coordinates and passes
21 - (void)handleMouseEvent:(NSEvent*)theEvent;
64 - (void)handleMouseEvent:(NSEvent*)theEvent {
68 ui::MouseEvent event(theEvent);
101 - (void)keyDown:(NSEvent*)theEvent {
103 [self interpretKeyEvents:@[ theEvent ]];
105 [super keyDown:theEvent];
108 - (void)mouseDown:(NSEvent*)theEvent {
109 [self handleMouseEvent:theEvent];
112 - (void)rightMouseDown:(NSEvent*)theEvent {
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/toolbar/
Dtoolbar_button.mm11 - (void)otherMouseDown:(NSEvent*)theEvent {
12 if (![self shouldHandleEvent:theEvent]) {
13 [super otherMouseDown:theEvent];
17 NSEvent* nextEvent = theEvent;
45 - (BOOL)shouldHandleEvent:(NSEvent*)theEvent {
46 // |buttonNumber| is the mouse button whose action triggered theEvent.
48 return handleMiddleClick_ && [theEvent buttonNumber] == 2;
/external/chromium_org/chrome/browser/ui/cocoa/
Ddraggable_button.mm31 - (void)mouseUp:(NSEvent*)theEvent {
32 if ([draggableButtonImpl_ mouseUpImpl:theEvent] ==
34 [super mouseUp:theEvent];
38 - (void)mouseDown:(NSEvent*)theEvent {
44 if ([draggableButtonImpl_ mouseDownImpl:theEvent] ==
46 [super mouseDown:theEvent];
Ddraggable_button_mixin.mm29 - (void)performMouseDownAction:(NSEvent*)theEvent;
62 - (DraggableButtonResult)mouseUpImpl:(NSEvent*)theEvent {
63 durationMouseWasDown_ = [theEvent timestamp] - whenMouseDown_;
73 NSPoint viewLocal = [button_ convertPoint:[theEvent locationInWindow]
83 - (DraggableButtonResult)mouseDownImpl:(NSEvent*)theEvent {
86 whenMouseDown_ = [theEvent timestamp];
91 if ([self dragShouldBeginFromMouseDown:theEvent
93 [button_ beginDrag:theEvent];
97 [self performMouseDownAction:theEvent];
105 [self performMouseDownAction:theEvent];
/external/chromium_org/chrome/browser/ui/cocoa/wrench_menu/
Dmenu_tracked_button.mm33 - (void)mouseEntered:(NSEvent*)theEvent {
38 [super mouseEntered:theEvent];
41 - (void)mouseExited:(NSEvent*)theEvent {
45 [super mouseExited:theEvent];
48 - (void)mouseDragged:(NSEvent*)theEvent {
51 NSPoint point = [self convertPoint:[theEvent locationInWindow] fromView:nil];
66 [super mouseDragged:theEvent];
69 - (void)mouseUp:(NSEvent*)theEvent {
72 return [super mouseUp:theEvent];
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
Dautocomplete_text_field_cell.h65 - (LocationBarDecoration*)decorationForEvent:(NSEvent*)theEvent
72 - (NSMenu*)decorationMenuForEvent:(NSEvent*)theEvent
78 - (BOOL)mouseDown:(NSEvent*)theEvent
84 - (void)mouseEntered:(NSEvent*)theEvent
86 - (void)mouseExited:(NSEvent*)theEvent
Dautocomplete_text_field.mm37 - (void)flagsChanged:(NSEvent*)theEvent {
39 const bool controlFlag = ([theEvent modifierFlags]&NSControlKeyMask) != 0;
82 - (void)mouseDown:(NSEvent*)theEvent {
86 observer_->OnMouseDown([theEvent buttonNumber]);
91 if (([theEvent modifierFlags] & NSControlKeyMask) != 0) {
93 NSMenu* menu = [editor menuForEvent:theEvent];
94 [NSMenu popUpContextMenu:menu withEvent:theEvent forView:editor];
99 [self convertPoint:[theEvent locationInWindow] fromView:nil];
120 [super mouseDown:theEvent];
145 if ([cell mouseDown:theEvent inRect:bounds ofView:self]) {
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_view.mm112 - (void)mouseDown:(NSEvent *)theEvent {
115 - (void)rightMouseDown:(NSEvent *)theEvent {
118 - (void)otherMouseDown:(NSEvent *)theEvent {
121 - (void)mouseUp:(NSEvent *)theEvent {
124 - (void)rightMouseUp:(NSEvent *)theEvent {
127 - (void)otherMouseUp:(NSEvent *)theEvent {
130 - (void)mouseMoved:(NSEvent *)theEvent {
133 - (void)mouseDragged:(NSEvent *)theEvent {
136 - (void)rightMouseDragged:(NSEvent *)theEvent {
139 - (void)otherMouseDragged:(NSEvent *)theEvent {
/external/chromium_org/chrome/browser/ui/cocoa/website_settings/
Dsplit_block_button.mm195 - (void)mouseEntered:(NSEvent*)theEvent {
196 [self mouseMoved:theEvent];
199 - (void)mouseExited:(NSEvent*)theEvent {
200 [self mouseMoved:theEvent];
203 - (void)mouseMoved:(NSEvent*)theEvent {
204 MouseLocation location = [self mouseLocationForEvent:theEvent];
214 - (void)mouseDown:(NSEvent*)theEvent {
215 MouseLocation downLocation = [self mouseLocationForEvent:theEvent];
227 MouseLocation location = [self mouseLocationForEvent:theEvent];
232 if ([focusCell trackMouse:theEvent
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_button.mm267 - (DraggableButtonResult)performMouseDownAction:(NSEvent*)theEvent {
278 theEvent = [[self window] nextEventMatchingMask:eventMask];
279 if (!theEvent)
282 NSPoint mouseLoc = [self convertPoint:[theEvent locationInWindow]
286 switch ([theEvent type]) {
289 NSView* trackedView = (NSView*)[[theEvent trackingArea] owner];
294 if ([theEvent type] == NSMouseEntered) {
296 [[btn cell] mouseEntered:theEvent];
299 [[btn cell] mouseExited:theEvent];
308 [insideBtn mouseDragged:theEvent];
[all …]
Dbookmark_bar_folder_window.mm41 - (void)keyDown:(NSEvent *)theEvent {
83 - (void)scrollWheel:(NSEvent *)theEvent {
86 [[[self window] windowController] scrollWheel:theEvent];
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dautofill_popup_base_view_cocoa.mm91 - (void)mouseUp:(NSEvent*)theEvent {
97 if ([theEvent clickCount] > 1)
100 NSPoint location = [self convertPoint:[theEvent locationInWindow]
109 - (void)mouseMoved:(NSEvent*)theEvent {
114 NSPoint location = [self convertPoint:[theEvent locationInWindow]
120 - (void)mouseDragged:(NSEvent*)theEvent {
121 [self mouseMoved:theEvent];
124 - (void)mouseExited:(NSEvent*)theEvent {
/external/chromium_org/chrome/browser/ui/cocoa/extensions/
Dbrowser_actions_container_view.mm74 - (void)mouseDown:(NSEvent*)theEvent {
75 initialDragPoint_ = [self convertPoint:[theEvent locationInWindow]
95 - (void)mouseUp:(NSEvent*)theEvent {
108 - (void)mouseDragged:(NSEvent*)theEvent {
112 NSPoint location = [self convertPoint:[theEvent locationInWindow]
115 CGFloat dX = [theEvent deltaX];
Dbrowser_action_button.mm161 - (void)mouseDown:(NSEvent*)theEvent {
162 NSPoint location = [self convertPoint:[theEvent locationInWindow]
167 dragStartPoint_ = [theEvent locationInWindow];
171 - (void)mouseDragged:(NSEvent*)theEvent {
177 NSPoint currentPoint = [theEvent locationInWindow];
190 buttonFrame.origin.x += [theEvent deltaX];
198 - (void)mouseUp:(NSEvent*)theEvent {
203 NSPoint location = [self convertPoint:[theEvent locationInWindow]
213 [super mouseUp:theEvent];
/external/chromium_org/chrome/browser/renderer_host/
Dchrome_render_widget_host_view_mac_history_swiper.mm373 - (BOOL)maybeHandleMagicMouseHistorySwiping:(NSEvent*)theEvent {
375 if ([theEvent phase] == NSEventPhaseNone)
378 mouseScrollDelta_.width += [theEvent scrollingDeltaX];
379 mouseScrollDelta_.height += [theEvent scrollingDeltaY];
386 BOOL isRightScroll = [theEvent scrollingDeltaX] < 0;
390 [self browserCanNavigateInDirection:direction event:theEvent];
394 [self initiateMagicMouseHistorySwipe:isRightScroll event:theEvent];
471 // Checks if |theEvent| should trigger history swiping, and if so, does
495 - (BOOL)maybeHandleHistorySwiping:(NSEvent*)theEvent {
496 if (![theEvent respondsToSelector:@selector(phase)])
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/macrom/
DSDL_romvideo.c283 EventRecord theEvent; in ROM_HideMenuBar() local
340 EventAvail(0, &theEvent); in ROM_HideMenuBar()
341 EventAvail(0, &theEvent); in ROM_HideMenuBar()
342 EventAvail(0, &theEvent); in ROM_HideMenuBar()
343 EventAvail(0, &theEvent); in ROM_HideMenuBar()
366 EventRecord theEvent; in ROM_ShowMenuBar() local
436 EventAvail(0, &theEvent); in ROM_ShowMenuBar()
437 EventAvail(0, &theEvent); in ROM_ShowMenuBar()
438 EventAvail(0, &theEvent); in ROM_ShowMenuBar()
439 EventAvail(0, &theEvent); in ROM_ShowMenuBar()
/external/chromium_org/ui/base/cocoa/controls/
Dhover_image_menu_button.mm36 - (void)mouseEntered:(NSEvent*)theEvent {
40 - (void)mouseExited:(NSEvent*)theEvent {

123