Searched refs:sensor_event (Results 1 – 2 of 2) sorted by relevance
33 SensorEvent *sensor_event = nullptr; in FromBytes() local51 sensor_event = new TripleAxisSensorEvent(); in FromBytes()58 sensor_event = new SingleAxisSensorEvent(); in FromBytes()79 sensor_event = new SingleAxisIntSensorEvent(); in FromBytes()83 sensor_event = new CompressedTripleAxisSensorEvent(); in FromBytes()91 if (sensor_event && in FromBytes()92 (!sensor_event->Populate(buffer) || !sensor_event->SizeIsValid())) { in FromBytes()94 delete sensor_event; in FromBytes()95 sensor_event = nullptr; in FromBytes()98 return std::unique_ptr<SensorEvent>(sensor_event); in FromBytes()
563 SensorEvent *sensor_event = reinterpret_cast<SensorEvent*>( in ReadSensorEvents() local565 keep_going = callback(*sensor_event); in ReadSensorEvents()