, decrease both width and height                     width = widthSpecSize;                     height = width * videoHeight / videoWidth;                 }             }         }          setMeasuredDimension(width, height);     } 