A small dog shakes its head on a white shag carpet .