Missing break in switch statement

Change-Id: I462c0c5fec96a850032266b04419ec409ad02174
Fixed incorrect calculation of dirty invalidation area

Padding was already taken into consideration before calling
invalidateDrawable in ProgressBar.

Change-Id: I75f25b0b7ee87d394422c58888ed3a1cca5d06a8