OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RawEvent
(Results
1 - 5
of
5
) sorted by null
/frameworks/base/services/input/
InputReader.h
449
RawEvent
mEventBuffer[EVENT_BUFFER_SIZE];
454
void processEventsLocked(const
RawEvent
* rawEvents, size_t count);
458
void processEventsForDeviceLocked(int32_t deviceId, const
RawEvent
* rawEvents, size_t count);
531
void process(const
RawEvent
* rawEvents, size_t count);
602
void process(const
RawEvent
*
rawEvent
);
627
void process(const
RawEvent
*
rawEvent
);
649
void process(const
RawEvent
*
rawEvent
);
[
all
...]
EventHub.h
72
struct
RawEvent
{
216
virtual size_t getEvents(int timeoutMillis,
RawEvent
* buffer, size_t bufferSize) = 0;
296
virtual size_t getEvents(int timeoutMillis,
RawEvent
* buffer, size_t bufferSize);
InputReader.cpp
310
void InputReader::processEventsLocked(const
RawEvent
* rawEvents, size_t count) {
311
for (const
RawEvent
*
rawEvent
= rawEvents; count;) {
312
int32_t type =
rawEvent
->type;
315
int32_t deviceId =
rawEvent
->deviceId;
317
if (
rawEvent
[batchSize].type >= EventHubInterface::FIRST_SYNTHETIC_EVENT
318
||
rawEvent
[batchSize].deviceId != deviceId) {
326
processEventsForDeviceLocked(deviceId,
rawEvent
, batchSize);
328
switch (
rawEvent
->type) {
330
addDeviceLocked(
rawEvent
->when, rawEvent->deviceId)
[
all
...]
EventHub.cpp
647
size_t EventHub::getEvents(int timeoutMillis,
RawEvent
* buffer, size_t bufferSize) {
654
RawEvent
* event = buffer;
[
all
...]
/frameworks/base/services/input/tests/
InputReader_test.cpp
326
List<
RawEvent
> mEvents;
441
RawEvent
event;
555
virtual size_t getEvents(int timeoutMillis,
RawEvent
* buffer, size_t bufferSize) {
786
RawEvent
mLastEvent;
822
void assertProcessWasCalled(
RawEvent
* outLastEvent = NULL) {
869
virtual void process(const
RawEvent
*
rawEvent
) {
870
mLastEvent = *
rawEvent
;
[
all
...]
Completed in 157 milliseconds