Device orientation and motion sample