Home
last modified time | relevance | path

Searched refs:event (Results 1 – 25 of 3565) sorted by relevance

12345678910>>...143

/external/chromium_org/ui/events/ozone/evdev/
Dkey_event_converter_unittest.cc28 KeyEvent* event(unsigned index) { return dispatched_events_[index]; } in event() function in ui::MockKeyEventConverterEvdev
30 virtual void DispatchEvent(scoped_ptr<Event> event) OVERRIDE;
38 void MockKeyEventConverterEvdev::DispatchEvent(scoped_ptr<Event> event) { in DispatchEvent() argument
39 dispatched_events_.push_back(static_cast<KeyEvent*>(event.release())); in DispatchEvent()
84 ui::KeyEvent* event; in TEST_F() local
86 event = dev->event(0); in TEST_F()
87 EXPECT_EQ(ui::ET_KEY_PRESSED, event->type()); in TEST_F()
88 EXPECT_EQ(ui::VKEY_BACK, event->key_code()); in TEST_F()
89 EXPECT_EQ(0, event->flags()); in TEST_F()
91 event = dev->event(1); in TEST_F()
[all …]
/external/chromium_org/tools/telemetry/telemetry/core/timeline/
Dtrace_event_importer.py91 def _ProcessAsyncEvent(self, event): argument
95 thread = (self._GetOrCreateProcess(event['pid'])
96 .GetOrCreateThread(event['tid']))
98 'event': event,
101 def _ProcessCounterEvent(self, event): argument
105 if 'id' in event:
106 ctr_name = event['name'] + '[' + str(event['id']) + ']'
108 ctr_name = event['name']
110 ctr = (self._GetOrCreateProcess(event['pid'])
111 .GetOrCreateCounter(event['cat'], ctr_name))
[all …]
/external/oprofile/events/ppc64/power7/
Devent_mappings6 #Mapping of event groups to MMCR values
9 event:0X001 mmcr0:0X00000000 mmcr1:0X000000001EF4F202 mmcra:0X00000000
12 event:0X002 mmcr0:0X00000000 mmcr1:0XDD0000008486021E mmcra:0X00000001
15 event:0X0010 mmcr0:0X00000000 mmcr1:0X000000001EF4F202 mmcra:0X00000000
16 event:0X0011 mmcr0:0X00000000 mmcr1:0X000000001EF4F202 mmcra:0X00000000
17 event:0X0012 mmcr0:0X00000000 mmcr1:0X000000001EF4F202 mmcra:0X00000000
18 event:0X0013 mmcr0:0X00000000 mmcr1:0X000000001EF4F202 mmcra:0X00000000
19 event:0X0014 mmcr0:0X00000000 mmcr1:0X000000001EF4F202 mmcra:0X00000000
20 event:0X0015 mmcr0:0X00000000 mmcr1:0X000000001EF4F202 mmcra:0X00000000
23 event:0X0020 mmcr0:0X00000000 mmcr1:0X44440000A0A2A4AE mmcra:0X00000000
[all …]
/external/chromium-trace/trace-viewer/test_data/
Dv8.log204 timer-event-start,"V8.GCCompactor",1936
205 timer-event-end,"V8.GCCompactor",3220
430 timer-event-start,"V8.GCCompactor",5042
431 timer-event-end,"V8.GCCompactor",5967
554 timer-event-start,"V8.GCCompactor",7451
555 timer-event-end,"V8.GCCompactor",8337
780 timer-event-start,"V8.GCCompactor",10021
781 timer-event-end,"V8.GCCompactor",10894
1153 timer-event-start,"V8.ParseLazy",323077
1154 timer-event-end,"V8.ParseLazy",323361
[all …]
/external/oprofile/events/ppc64/power4/
Devent_mappings1 #Mapping of event groups to MMCR values
4 event:0X001 mmcr0:0X00000D0E mmcr1:0X000000004A5675AC mmcra:0X00022001
7 event:0X010 mmcr0:0X00000D0E mmcr1:0X000000004A5675AC mmcra:0X00022001
8 event:0X011 mmcr0:0X00000D0E mmcr1:0X000000004A5675AC mmcra:0X00022001
9 event:0X012 mmcr0:0X00000D0E mmcr1:0X000000004A5675AC mmcra:0X00022001
10 event:0X013 mmcr0:0X00000D0E mmcr1:0X000000004A5675AC mmcra:0X00022001
11 event:0X014 mmcr0:0X00000D0E mmcr1:0X000000004A5675AC mmcra:0X00022001
12 event:0X015 mmcr0:0X00000D0E mmcr1:0X000000004A5675AC mmcra:0X00022001
13 event:0X016 mmcr0:0X00000D0E mmcr1:0X000000004A5675AC mmcra:0X00022001
14 event:0X017 mmcr0:0X00000D0E mmcr1:0X000000004A5675AC mmcra:0X00022001
[all …]
/external/chromium_org/ash/wm/
Dsticky_keys.cc26 bool ShouldModifyMouseEvent(ui::MouseEvent* event) { in ShouldModifyMouseEvent() argument
27 ui::EventType type = event->type(); in ShouldModifyMouseEvent()
40 virtual void DispatchKeyEvent(ui::KeyEvent* event,
43 virtual void DispatchMouseEvent(ui::MouseEvent* event,
46 virtual void DispatchScrollEvent(ui::ScrollEvent* event,
58 void StickyKeysHandlerDelegateImpl::DispatchKeyEvent(ui::KeyEvent* event, in DispatchKeyEvent() argument
61 target->GetDispatcher()->AsRootWindowHostDelegate()->OnHostKeyEvent(event); in DispatchKeyEvent()
64 void StickyKeysHandlerDelegateImpl::DispatchMouseEvent(ui::MouseEvent* event, in DispatchMouseEvent() argument
68 if (event->IsMouseWheelEvent()) { in DispatchMouseEvent()
69 ui::MouseWheelEvent new_event(*static_cast<ui::MouseWheelEvent*>(event)); in DispatchMouseEvent()
[all …]
/external/oprofile/events/ppc64/power5/
Devent_mappings1 #Mapping of event groups to MMCR values
4 event:0X001 mmcr0:0X00000000 mmcr1:0X000000000A02121E mmcra:0X00000000
7 event:0X002 mmcr0:0X00000000 mmcr1:0X4000000002341E36 mmcra:0X00000001
11 event:0X010 mmcr0:0X00000000 mmcr1:0X000000000A02121E mmcra:0X00000000
12 event:0X011 mmcr0:0X00000000 mmcr1:0X000000000A02121E mmcra:0X00000000
13 event:0X012 mmcr0:0X00000000 mmcr1:0X000000000A02121E mmcra:0X00000000
14 event:0X013 mmcr0:0X00000000 mmcr1:0X000000000A02121E mmcra:0X00000000
15 event:0X014 mmcr0:0X00000000 mmcr1:0X000000000A02121E mmcra:0X00000000
16 event:0X015 mmcr0:0X00000000 mmcr1:0X000000000A02121E mmcra:0X00000000
19 event:0X020 mmcr0:0X00000000 mmcr1:0X000000002608261E mmcra:0X00000000
[all …]
/external/chromium_org/content/common/input/
Dweb_input_event_traits.cc20 const WebKeyboardEvent& event) { in CanCoalesce()
25 WebKeyboardEvent* event) { in Coalesce() argument
26 DCHECK(CanCoalesce(event_to_coalesce, *event)); in Coalesce()
30 const WebMouseEvent& event) { in CanCoalesce()
31 return event.type == event_to_coalesce.type && in CanCoalesce()
32 event.type == WebInputEvent::MouseMove; in CanCoalesce()
35 void Coalesce(const WebMouseEvent& event_to_coalesce, WebMouseEvent* event) { in Coalesce() argument
36 DCHECK(CanCoalesce(event_to_coalesce, *event)); in Coalesce()
38 int x = event->movementX; in Coalesce()
39 int y = event->movementY; in Coalesce()
[all …]
/external/oprofile/events/ppc64/970/
Devent_mappings1 #Mapping of event groups to MMCR values
4 event:0X001 mmcr0:0X0400C51E mmcr1:0X000000000A46F18C mmcra:0X00002001
7 event:0X010 mmcr0:0X0000051E mmcr1:0X000000000A46F18C mmcra:0X00002001
8 event:0X011 mmcr0:0X0000051E mmcr1:0X000000000A46F18C mmcra:0X00002001
9 event:0X012 mmcr0:0X0000051E mmcr1:0X000000000A46F18C mmcra:0X00002001
10 event:0X013 mmcr0:0X0000051E mmcr1:0X000000000A46F18C mmcra:0X00002001
11 event:0X014 mmcr0:0X0000051E mmcr1:0X000000000A46F18C mmcra:0X00002001
12 event:0X015 mmcr0:0X0000051E mmcr1:0X000000000A46F18C mmcra:0X00002001
13 event:0X016 mmcr0:0X0000051E mmcr1:0X000000000A46F18C mmcra:0X00002001
14 event:0X017 mmcr0:0X0000051E mmcr1:0X000000000A46F18C mmcra:0X00002001
[all …]
/external/oprofile/events/ppc64/power6/
Devent_mappings6 #Mapping of event groups to MMCR values
10 event:0X001 mmcr0:0X00000000 mmcr1:0X000000000A02121E mmcra:0X00000000
13 event:0X002 mmcr0:0X00000000 mmcr1:0X000000001E1E021A mmcra:0X00000001
16 event:0X0010 mmcr0:0X00000000 mmcr1:0X000000000A02121E mmcra:0X00000000
17 event:0X0011 mmcr0:0X00000000 mmcr1:0X000000000A02121E mmcra:0X00000000
18 event:0X0012 mmcr0:0X00000000 mmcr1:0X000000000A02121E mmcra:0X00000000
19 event:0X0013 mmcr0:0X00000000 mmcr1:0X000000000A02121E mmcra:0X00000000
22 event:0X0020 mmcr0:0X00000000 mmcr1:0X00000000FA1EF4F4 mmcra:0X00000000
23 event:0X0021 mmcr0:0X00000000 mmcr1:0X00000000FA1EF4F4 mmcra:0X00000000
24 event:0X0022 mmcr0:0X00000000 mmcr1:0X00000000FA1EF4F4 mmcra:0X00000000
[all …]
/external/oprofile/events/ppc64/power5+/
Devent_mappings1 #Mapping of event groups to MMCR values
4 event:0X001 mmcr0:0X00000000 mmcr1:0X000000000A02121E mmcra:0X00000000
7 event:0X002 mmcr0:0X00000000 mmcr1:0X4000000002341E36 mmcra:0X00000001
11 event:0X010 mmcr0:0X00000000 mmcr1:0X000000000A12121E mmcra:0X00000000
12 event:0X011 mmcr0:0X00000000 mmcr1:0X000000000A12121E mmcra:0X00000000
13 event:0X012 mmcr0:0X00000000 mmcr1:0X000000000A12121E mmcra:0X00000000
14 event:0X013 mmcr0:0X00000000 mmcr1:0X000000000A12121E mmcra:0X00000000
15 event:0X014 mmcr0:0X00000000 mmcr1:0X000000000A12121E mmcra:0X00000000
16 event:0X015 mmcr0:0X00000000 mmcr1:0X000000000A12121E mmcra:0X00000000
19 event:0X020 mmcr0:0X00000000 mmcr1:0X000000002608261E mmcra:0X00000000
[all …]
/external/chromium-trace/trace-viewer/src/tracing/importer/
Dtrace_event_importer.js146 processAsyncEvent: function(event) { argument
147 var thread = this.model_.getOrCreateProcess(event.pid).
148 getOrCreateThread(event.tid);
150 event: event, property
158 processCounterEvent: function(event) { argument
160 if (event.id !== undefined)
161 ctr_name = event.name + '[' + event.id + ']';
163 ctr_name = event.name;
165 var ctr = this.model_.getOrCreateProcess(event.pid)
166 .getOrCreateCounter(event.cat, ctr_name);
[all …]
/external/oprofile/events/ppc64/970MP/
Devent_mappings6 #Mapping of event groups to MMCR values
9 event:0X001 mmcr0:0X0400C51F mmcr1:0X000000000A46F18C mmcra:0X00002001
12 event:0X0010 mmcr0:0X0000051F mmcr1:0X000000000A46F18C mmcra:0X00002000
13 event:0X0011 mmcr0:0X0000051F mmcr1:0X000000000A46F18C mmcra:0X00002000
14 event:0X0012 mmcr0:0X0000051F mmcr1:0X000000000A46F18C mmcra:0X00002000
15 event:0X0013 mmcr0:0X0000051F mmcr1:0X000000000A46F18C mmcra:0X00002000
16 event:0X0014 mmcr0:0X0000051F mmcr1:0X000000000A46F18C mmcra:0X00002000
17 event:0X0015 mmcr0:0X0000051F mmcr1:0X000000000A46F18C mmcra:0X00002000
18 event:0X0016 mmcr0:0X0000051F mmcr1:0X000000000A46F18C mmcra:0X00002000
19 event:0X0017 mmcr0:0X0000051F mmcr1:0X000000000A46F18C mmcra:0X00002000
[all …]
/external/chromium_org/chrome/browser/resources/file_manager/background/js/
Dfile_operation_handler.js74 FileOperationHandler.getMessage_ = function(event) { argument
75 if (event.reason === 'ERROR') {
76 switch (event.error.code) {
78 var name = event.error.data.name;
79 if (event.error.data.isDirectory)
81 switch (event.status.operationType) {
89 var detail = util.getFileErrorString(event.error.data.code);
90 switch (event.status.operationType) {
98 switch (event.status.operationType) {
99 case 'COPY': return strf('COPY_UNEXPECTED_ERROR', event.error.code);
[all …]
/external/oprofile/events/ppc64/power5++/
Devent_mappings6 #Mapping of event groups to MMCR values
9 event:0X001 mmcr0:0X00000000 mmcr1:0X000000000A02121E mmcra:0X00000000
12 event:0X002 mmcr0:0X00000000 mmcr1:0X4000000002341E36 mmcra:0X00000001
15 event:0X0010 mmcr0:0X00000000 mmcr1:0X000000000A12121E mmcra:0X00000000
16 event:0X0011 mmcr0:0X00000000 mmcr1:0X000000000A12121E mmcra:0X00000000
17 event:0X0012 mmcr0:0X00000000 mmcr1:0X000000000A12121E mmcra:0X00000000
18 event:0X0013 mmcr0:0X00000000 mmcr1:0X000000000A12121E mmcra:0X00000000
21 event:0X0020 mmcr0:0X00000000 mmcr1:0X000000002608261E mmcra:0X00000000
22 event:0X0021 mmcr0:0X00000000 mmcr1:0X000000002608261E mmcra:0X00000000
23 event:0X0022 mmcr0:0X00000000 mmcr1:0X000000002608261E mmcra:0X00000000
[all …]
/external/chromium_org/content/browser/renderer_host/
Dweb_input_event_aura.cc75 ui::KeyEvent* event);
78 ui::KeyEvent* event) { in MakeWebKeyboardEventFromAuraEvent() argument
79 base::NativeEvent native_event = event->native_event(); in MakeWebKeyboardEventFromAuraEvent()
83 webkit_event.timeStampSeconds = event->time_stamp().InSecondsF(); in MakeWebKeyboardEventFromAuraEvent()
84 webkit_event.modifiers = EventFlagsToWebEventModifiers(event->flags()); in MakeWebKeyboardEventFromAuraEvent()
88 webkit_event.type = event->is_char() ? blink::WebInputEvent::Char : in MakeWebKeyboardEventFromAuraEvent()
128 ui::ScrollEvent* event) { in MakeWebMouseWheelEventFromAuraEvent() argument
133 webkit_event.modifiers = EventFlagsToWebEventModifiers(event->flags()); in MakeWebMouseWheelEventFromAuraEvent()
134 webkit_event.timeStampSeconds = event->time_stamp().InSecondsF(); in MakeWebMouseWheelEventFromAuraEvent()
136 webkit_event.deltaX = event->x_offset(); in MakeWebMouseWheelEventFromAuraEvent()
[all …]
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/
Dfile_manager_commands.js27 Command.prototype.execute = function(event, fileManager) {}; argument
34 Command.prototype.canExecute = function(event, fileManager) {}; argument
99 CommandUtil.canExecuteEnabledOnDriveOnly = function(event, fileManager) { argument
100 event.canExecute = fileManager.isOnDrive();
108 CommandUtil.canExecuteVisibleOnDriveOnly = function(event, fileManager) { argument
109 event.canExecute = fileManager.isOnDrive();
110 event.command.setHidden(!fileManager.isOnDrive());
117 CommandUtil.canExecuteAlways = function(event) { argument
118 event.canExecute = true;
127 CommandUtil.getSingleEntry = function(event, fileManager) { argument
[all …]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/util/
DKeyNavigationUtil.java25 public static boolean isGoDown(KeyEvent event) { in isGoDown() argument
26 return isActionDown(event) && (event.getKeyCode() == KeyEvent.KEYCODE_DPAD_DOWN in isGoDown()
27 || (!event.isNumLockOn() && event.getKeyCode() == KeyEvent.KEYCODE_NUMPAD_2)); in isGoDown()
35 public static boolean isGoUp(KeyEvent event) { in isGoUp() argument
36 return isActionDown(event) && (event.getKeyCode() == KeyEvent.KEYCODE_DPAD_UP in isGoUp()
37 || (!event.isNumLockOn() && event.getKeyCode() == KeyEvent.KEYCODE_NUMPAD_8)); in isGoUp()
45 public static boolean isGoRight(KeyEvent event) { in isGoRight() argument
46 return isActionDown(event) && (event.getKeyCode() == KeyEvent.KEYCODE_DPAD_RIGHT in isGoRight()
47 || (!event.isNumLockOn() && event.getKeyCode() == KeyEvent.KEYCODE_NUMPAD_6)); in isGoRight()
55 public static boolean isGoUpOrDown(KeyEvent event) { in isGoUpOrDown() argument
[all …]
/external/chromium_org/ui/events/x/
Devents_x_unittest.cc26 void InitButtonEvent(XEvent* event, in InitButtonEvent() argument
31 memset(event, 0, sizeof(*event)); in InitButtonEvent()
35 XButtonEvent* button_event = &(event->xbutton); in InitButtonEvent()
46 XEvent event; in TEST() local
50 InitButtonEvent(&event, true, location, 1, 0); in TEST()
51 EXPECT_EQ(ui::ET_MOUSE_PRESSED, ui::EventTypeFromNative(&event)); in TEST()
52 EXPECT_EQ(ui::EF_LEFT_MOUSE_BUTTON, ui::EventFlagsFromNative(&event)); in TEST()
53 EXPECT_EQ(location, ui::EventLocationFromNative(&event)); in TEST()
54 EXPECT_TRUE(ui::IsMouseEvent(&event)); in TEST()
56 InitButtonEvent(&event, true, location, 2, Button1Mask | ShiftMask); in TEST()
[all …]
/external/chromium_org/chrome/browser/resources/chromeos/keyboard/
Dkeyboard_utils.js15 keyboard.onKeyIgnore_ = function(event) { argument
16 if (event.ctrlKey || event.shiftKey || event.altKey || event.metaKey)
19 if (event.keyIdentifier == 'Left' ||
20 event.keyIdentifier == 'Right' ||
21 event.keyIdentifier == 'Up' ||
22 event.keyIdentifier == 'Down') {
23 event.stopPropagation();
24 event.preventDefault();
33 keyboard.onKeyDown_ = function(event) { argument
34 if (event.ctrlKey || event.shiftKey || event.altKey || event.metaKey)
[all …]
/external/chromium_org/third_party/WebKit/Source/web/
DWebInputEventFactoryGtk.cpp123 static int gdkEventToWindowsKeyCode(const GdkEventKey* event) in gdkEventToWindowsKeyCode() argument
260 int windowsKeyCode = WebCore::windowsKeyCodeForKeyEvent(event->keyval); in gdkEventToWindowsKeyCode()
265 if (event->hardware_keycode < tableSize) { in gdkEventToWindowsKeyCode()
266 int keyval = hardwareCodeToGDKKeyval[event->hardware_keycode]; in gdkEventToWindowsKeyCode()
273 return WebCore::windowsKeyCodeForKeyEvent(event->keyval); in gdkEventToWindowsKeyCode()
279 static guint normalizeEventState(const GdkEventKey* event) in normalizeEventState() argument
282 switch (gdkEventToWindowsKeyCode(event)) { in normalizeEventState()
302 return event->state; in normalizeEventState()
304 if (event->type == GDK_KEY_PRESS) in normalizeEventState()
305 return event->state | mask; in normalizeEventState()
[all …]
/external/chromium_org/media/base/
Dmedia_log.cc119 void MediaLog::AddEvent(scoped_ptr<MediaLogEvent> event) {} in AddEvent() argument
122 scoped_ptr<MediaLogEvent> event(new MediaLogEvent); in CreateEvent() local
123 event->id = id_; in CreateEvent()
124 event->type = type; in CreateEvent()
125 event->time = base::TimeTicks::Now(); in CreateEvent()
126 return event.Pass(); in CreateEvent()
131 scoped_ptr<MediaLogEvent> event(CreateEvent(type)); in CreateBooleanEvent() local
132 event->params.SetBoolean(property, value); in CreateBooleanEvent()
133 return event.Pass(); in CreateBooleanEvent()
138 scoped_ptr<MediaLogEvent> event(CreateEvent(type)); in CreateStringEvent() local
[all …]
/external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
DPreferenceChangeEventTest.java32 PreferenceChangeEvent event; field in PreferenceChangeEventTest
36 event = new PreferenceChangeEvent(null, "key", "value"); in testPreferenceChangeEventException()
43 event = new PreferenceChangeEvent(Preferences.userRoot(), "key", null); in testConstructorNullValue()
44 assertEquals("key", event.getKey()); in testConstructorNullValue()
45 assertNull(event.getNewValue()); in testConstructorNullValue()
46 assertSame(Preferences.userRoot(), event.getNode()); in testConstructorNullValue()
47 assertSame(Preferences.userRoot(), event.getSource()); in testConstructorNullValue()
49 event = new PreferenceChangeEvent(Preferences.userRoot(), "", null); in testConstructorNullValue()
50 assertEquals("", event.getKey()); in testConstructorNullValue()
51 assertNull(event.getNewValue()); in testConstructorNullValue()
[all …]
/external/chromium_org/content/browser/renderer_host/input/
Dweb_input_event_builders_gtk.cc92 ui::KeyboardCode GdkEventToWindowsKeyCode(const GdkEventKey* event) { in GdkEventToWindowsKeyCode() argument
229 ui::WindowsKeyCodeForGdkKeyCode(event->keyval); in GdkEventToWindowsKeyCode()
233 if (event->hardware_keycode < arraysize(kHardwareCodeToGDKKeyval)) { in GdkEventToWindowsKeyCode()
234 int keyval = kHardwareCodeToGDKKeyval[event->hardware_keycode]; in GdkEventToWindowsKeyCode()
241 return ui::WindowsKeyCodeForGdkKeyCode(event->keyval); in GdkEventToWindowsKeyCode()
247 guint NormalizeEventState(const GdkEventKey* event) { in NormalizeEventState() argument
249 switch (GdkEventToWindowsKeyCode(event)) { in NormalizeEventState()
269 return event->state; in NormalizeEventState()
271 if (event->type == GDK_KEY_PRESS) in NormalizeEventState()
272 return event->state | mask; in NormalizeEventState()
[all …]
/external/linux-tools-perf/util/
Devent.c55 static pid_t perf_event__synthesize_comm(union perf_event *event, pid_t pid, in perf_event__synthesize_comm() argument
79 memset(&event->comm, 0, sizeof(event->comm)); in perf_event__synthesize_comm()
81 while (!event->comm.comm[0] || !event->comm.pid) { in perf_event__synthesize_comm()
92 memcpy(event->comm.comm, name, size++); in perf_event__synthesize_comm()
97 tgid = event->comm.pid = atoi(tgids); in perf_event__synthesize_comm()
101 event->comm.header.type = PERF_RECORD_COMM; in perf_event__synthesize_comm()
109 memset(event->comm.comm + size, 0, session->id_hdr_size); in perf_event__synthesize_comm()
110 event->comm.header.size = (sizeof(event->comm) - in perf_event__synthesize_comm()
111 (sizeof(event->comm.comm) - size) + in perf_event__synthesize_comm()
114 event->comm.tid = pid; in perf_event__synthesize_comm()
[all …]

12345678910>>...143