                 height = heightSpecSize;                 width = height * videoWidth / videoHeight;                 if (widthSpecMode == MeasureSpec.AT_MOST && width > widthSpecSize) {                     // 