/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
SensorVerificationHelperTest.java | 75 TestSensorEvent[] events = getSensorEvents(timestamps, values); local 77 VerificationResult result = SensorVerificationHelper.verifyFrequency(events, 1000.0, 1.0); 81 result = SensorVerificationHelper.verifyFrequency(events, 950.0, 100.0); 85 result = SensorVerificationHelper.verifyFrequency(events, 1050.0, 100.0); 89 result = SensorVerificationHelper.verifyFrequency(events, 950.0, 25.0); 134 TestSensorEvent[] events = getSensorEvents(timestamps, values1, values2, values3); local 138 VerificationResult result = SensorVerificationHelper.verifyMean(events, expected1, 148 result = SensorVerificationHelper.verifyMean(events, expected2, threshold2); 153 result = SensorVerificationHelper.verifyMean(events, expected3, threshold3); 158 result = SensorVerificationHelper.verifyMean(events, expected4, threshold4) 175 TestSensorEvent[] events = getSensorEvents(timestamps, values1, values2, values3); local 211 TestSensorEvent[] events = getSensorEvents(timestamps, values); local 249 TestSensorEvent[] events = getSensorEvents(timestamps, values1, values2, values3); local 274 TestSensorEvent[] events = new TestSensorEvent[timestamps.length]; local [all...] |
SensorCtsHelper.java | 65 * @throws IllegalArgumentException if there are no events 67 public static double[] getMeans(TestSensorEvent[] events) { 68 if (events.length == 0) { 69 throw new IllegalArgumentException("Events cannot be empty"); 72 double[] means = new double[events[0].values.length]; 73 for (TestSensorEvent event : events) { 79 means[i] /= events.length; 87 * @throws IllegalArgumentException if there are no events 89 public static double[] getVariances(TestSensorEvent[] events) { 90 double[] means = getMeans(events); [all...] |
/external/chromium_org/chrome/test/functional/media/ |
media_basic_playback.py | 6 """Basic playback test. Checks playback, seek, and replay based on events. 29 # Expected events for the first iteration and every iteration thereafter. 41 Specifically ensures that after the above sequence of events, the following 44 1. The first video has only 2x playing, 2x ended, and 1x seeked events. 62 events = self.GetDOMValue("events.join(',')").split(',') 63 counts = [(item, events.count(item)) for item in sorted(set(events))] 65 # The first loop will not have the abort and emptied events triggered by 73 'Test failed with events: %s', self.GetDOMValue("events.join(',')") [all...] |
/external/chromium_org/chromeos/network/ |
network_event_log.h | 22 // Namespace for functions for logging network events. 61 // A maximum number of events are recorded after which new events replace 62 // old ones. Error events are prioritized such that error events will only be 75 // |order| determines which order to output the events. 84 // Only events with |log_level| <= |max_level| are included in the output. 85 // If |max_events| > 0, limits how many events are output. 100 // Chrome initiated events, e.g. connection requests, scan requests, 105 // Important events, e.g. state update [all...] |
/external/chromium_org/ppapi/c/ |
ppp_input_event.h | 22 * This file defines the API for receiving input events from the browser. 32 * Function for receiving input events from the browser. 34 * In order to receive input events, you must register for them by calling 36 * default, no events are delivered. 52 * for filtered input events, the browser or page may be blocked waiting for 59 * <strong>Note:</strong> If you're not receiving input events, make sure you 62 * events, make sure you're returning true (or using a non-filtered event 63 * handler) for mouse events. Otherwise, the instance will not receive focus 64 * and keyboard events will not be sent. 70 * registered to filter this class of events by callin [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
DeleteEventHelper.java | 33 import android.provider.CalendarContract.Events; 43 * A helper class for deleting events. If a normal event is selected for 50 * events in the series, or this event plus all following events. The user 138 Uri uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, id); 176 // events in the series to delete. 198 * a normal event) or a dialog asking which events to delete (if the 200 * the initial selection and is only used for repeating events. Set 210 Uri uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, eventId); 231 * <li> Events._ID </li [all...] |
/external/chromium/third_party/libevent/ |
kqueue.c | 74 struct kevent *events; member in struct:kqop 129 kqueueop->events = malloc(NEVENT * sizeof(struct kevent)); 130 if (kqueueop->events == NULL) { 137 /* we need to keep track of multiple events per signal */ 148 * stick an error in events[0]. If kqueue is broken, then 152 kqueueop->changes, 1, kqueueop->events, NEVENT, NULL) != 1 || 153 kqueueop->events[0].ident != -1 || 154 kqueueop->events[0].flags != EV_ERROR) { 157 free(kqueueop->events); 185 newresult = realloc(kqop->events, 222 struct kevent *events = kqop->events; local [all...] |
/external/chromium_org/third_party/libevent/ |
kqueue.c | 74 struct kevent *events; member in struct:kqop 129 kqueueop->events = malloc(NEVENT * sizeof(struct kevent)); 130 if (kqueueop->events == NULL) { 137 /* we need to keep track of multiple events per signal */ 148 * stick an error in events[0]. If kqueue is broken, then 152 kqueueop->changes, 1, kqueueop->events, NEVENT, NULL) != 1 || 153 kqueueop->events[0].ident != -1 || 154 kqueueop->events[0].flags != EV_ERROR) { 157 free(kqueueop->events); 185 newresult = realloc(kqop->events, 222 struct kevent *events = kqop->events; local [all...] |
/external/chromium_org/ui/base/test/ |
ui_controls_mac.mm | 14 #include "ui/events/keycodes/keyboard_code_conversion_mac.h" 25 // observer/notification. Unlike windows, I cannot post non-events 27 // guarantee their order with regards to events). 30 // events. Because in order to handle mouse drag, when processing a mouse 35 // events. In order to notify the caller correctly after all events has been 41 // events causes BrowserKeyEventsTest.CommandKeyEvents to fail. 100 // NSKeyDown/NSKeyUp events. 105 // For events other than mouse moved, [event locationInWindow] is 123 // Creates the proper sequence of autoreleased key events for a key down + up [all...] |
/external/chromium_org/content/browser/renderer_host/input/ |
gesture_event_filter.h | 27 // Interface with which the GestureEventFilter can forward gesture events, and 46 // non-GestureScrollUpdate events are queued until the de-bounce interval 48 // 3. Unnecessary GestureFlingCancel events are filtered. These are 53 // 5. Whenever possible, events in the queue are coalesced to have as few events 56 // Events in the queue are forwarded to the renderer one by one; i.e., each 74 // with state |ack_result| and event |type|. May send events if the queue is 109 // deferred events. 142 // Puts the events in a queue to forward them one by one; i.e., forward them 144 // coalesce events as much as possible [all...] |
/development/samples/browseable/BasicNotifications/ |
_index.jd | 8 <p>This sample demonstrates how to display events in the system's notification
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t030specialStates.py | 16 events = parser.r() 24 events = parser.r() 33 events = parser.r() 42 events = parser.r()
|
t031emptyAlt.py | 16 events = parser.r()
|
/external/chromium_org/chrome/browser/drive/ |
event_logger_unittest.cc | 13 logger.SetHistorySize(3); // At most 3 events are kept. 20 // Events are recorded in the chronological order with sequential IDs. 31 // It does not log events beyond the specified. 34 // The oldest events is pushed out.
|
/external/chromium_org/chrome/browser/guestview/adview/ |
adview_constants.cc | 9 // Events.
|
adview_constants.h | 12 // Events.
|
/external/chromium_org/chrome/common/extensions/docs/templates/private/ |
event.html | 10 <p>Provides the <a href="events.html#declarative">Declarative Event API</a> 11 consisting of $ref:[events.Event.addRules addRules], 12 $ref:[events.Event.removeRules removeRules], and $ref:[events.Event.getRules
|
/external/chromium_org/media/base/ |
keyboard_event_counter.h | 12 #include "ui/events/event_constants.h" 13 #include "ui/events/keycodes/keyboard_codes.h" 19 // Multiple key down events for the same key are counted as one keypress until 34 // The client should call this method on key down or key up events.
|
/external/chromium_org/native_client_sdk/src/examples/api/input_event/ |
index.html | 22 <p>This example shows how to handle input events.</p> 23 <p>Click or touch the box to the left to see the events being sent to the 25 events.</p> 26 <h2 style="clear: left">Events:</h2>
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
event_emitter.cc | 23 void EventEmitter::RegisterListener(EventListener* listener, uint32_t events) { 25 RegisterListener_Locked(listener, events); 34 uint32_t events) { 36 listeners_[listener] = events;
|
event_listener.h | 22 // Kernel Events 27 // specific events from these objects which are derived from EventEmitters. 37 // Events Listeners requirements: 70 // Bit Mask of signaled POLL events. 71 uint32_t events; member in struct:nacl_io::EventData 78 uint32_t events; member in struct:nacl_io::EventRequest 90 // The EventListener class provides an object to wait on for specific events 92 // read when events are waiting, making it is also an Emitter. 100 virtual void ReceiveEvents(EventEmitter* emitter, uint32_t events) = 0; 111 // temporarily unlock waiting for any event in |events| to become signaled [all...] |
/external/chromium_org/remoting/protocol/ |
clipboard_echo_filter.h | 24 // Sets the ClipboardStub that sends events to the client. 27 // Sets the ClipboardStub that sends events to the host. 30 // Gets the ClipboardStub that sends events through this filter and on to the 34 // Gets the ClipboardStub that sends events through this filter and on to the
|
/external/chromium_org/ui/app_list/ |
DEPS | 12 "+ui/events",
|
/external/chromium_org/ui/aura/ |
DEPS | 8 "+ui/events",
|
/external/chromium_org/ui/base/ |
DEPS | 11 "+ui/events",
|