Merge "add new sensor types for handling gyro data and device orientation more efficiently." into gingerbread