The store sells 20 shirts, so they will earn 20 * $10 = $200 from selling shirts.
The store also sells 10 pairs of jeans, and since a pair of jeans costs twice as much as a shirt, each pair of jeans costs $10 * 2 = $20.
So they will earn 10 * $20 = $200 from selling jeans.
Therefore, the clothing store will earn a total of $200 + $200 = $400 if all shirts and jeans are sold.
#### 400
The answer is: 400
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
A clothing store sells 20 shirts and 10 pairs of jeans. A shirt costs $10 each and a pair of jeans costs twice as much. How much will the clothing store earn if all shirts and jeans are sold?

### Answer:
