Searched refs:sensor_event (Results 1 – 2 of 2) sorted by relevance
35 SensorEvent *sensor_event = nullptr; in FromBytes() local53 sensor_event = new TripleAxisSensorEvent(); in FromBytes()61 sensor_event = new SingleAxisSensorEvent(); in FromBytes()82 sensor_event = new SingleAxisIntSensorEvent(); in FromBytes()87 sensor_event = new CompressedTripleAxisSensorEvent(); in FromBytes()95 if (sensor_event && in FromBytes()96 (!sensor_event->Populate(buffer) || !sensor_event->SizeIsValid())) { in FromBytes()98 delete sensor_event; in FromBytes()99 sensor_event = nullptr; in FromBytes()102 return std::unique_ptr<SensorEvent>(sensor_event); in FromBytes()
565 SensorEvent *sensor_event = reinterpret_cast<SensorEvent*>( in ReadSensorEvents() local567 keep_going = callback(*sensor_event); in ReadSensorEvents()