You won't earn any ALL Rewards points for that part of the bill that you have used points on. Any portion of your stay paid for in cash is eligible for points earn as is any spend during your stay such as on dining charged to your room.