@@ -451,25 +451,25 @@ private void setMeasuredDimensionForFlex(@FlexDirection int flexDirection, int w
451451 switch (widthMode ) {
452452 case MeasureSpec .EXACTLY :
453453 if (widthSize < calculatedMaxWidth ) {
454- childState = ViewCompat
455- .combineMeasuredStates (childState , ViewCompat .MEASURED_STATE_TOO_SMALL );
454+ childState = View
455+ .combineMeasuredStates (childState , View .MEASURED_STATE_TOO_SMALL );
456456 }
457- widthSizeAndState = ViewCompat .resolveSizeAndState (widthSize , widthMeasureSpec ,
457+ widthSizeAndState = View .resolveSizeAndState (widthSize , widthMeasureSpec ,
458458 childState );
459459 break ;
460460 case MeasureSpec .AT_MOST : {
461461 if (widthSize < calculatedMaxWidth ) {
462- childState = ViewCompat
463- .combineMeasuredStates (childState , ViewCompat .MEASURED_STATE_TOO_SMALL );
462+ childState = View
463+ .combineMeasuredStates (childState , View .MEASURED_STATE_TOO_SMALL );
464464 } else {
465465 widthSize = calculatedMaxWidth ;
466466 }
467- widthSizeAndState = ViewCompat .resolveSizeAndState (widthSize , widthMeasureSpec ,
467+ widthSizeAndState = View .resolveSizeAndState (widthSize , widthMeasureSpec ,
468468 childState );
469469 break ;
470470 }
471471 case MeasureSpec .UNSPECIFIED : {
472- widthSizeAndState = ViewCompat
472+ widthSizeAndState = View
473473 .resolveSizeAndState (calculatedMaxWidth , widthMeasureSpec , childState );
474474 break ;
475475 }
@@ -480,27 +480,27 @@ private void setMeasuredDimensionForFlex(@FlexDirection int flexDirection, int w
480480 switch (heightMode ) {
481481 case MeasureSpec .EXACTLY :
482482 if (heightSize < calculatedMaxHeight ) {
483- childState = ViewCompat .combineMeasuredStates (childState ,
484- ViewCompat .MEASURED_STATE_TOO_SMALL
485- >> ViewCompat .MEASURED_HEIGHT_STATE_SHIFT );
483+ childState = View .combineMeasuredStates (childState ,
484+ View .MEASURED_STATE_TOO_SMALL
485+ >> View .MEASURED_HEIGHT_STATE_SHIFT );
486486 }
487- heightSizeAndState = ViewCompat .resolveSizeAndState (heightSize , heightMeasureSpec ,
487+ heightSizeAndState = View .resolveSizeAndState (heightSize , heightMeasureSpec ,
488488 childState );
489489 break ;
490490 case MeasureSpec .AT_MOST : {
491491 if (heightSize < calculatedMaxHeight ) {
492- childState = ViewCompat .combineMeasuredStates (childState ,
493- ViewCompat .MEASURED_STATE_TOO_SMALL
494- >> ViewCompat .MEASURED_HEIGHT_STATE_SHIFT );
492+ childState = View .combineMeasuredStates (childState ,
493+ View .MEASURED_STATE_TOO_SMALL
494+ >> View .MEASURED_HEIGHT_STATE_SHIFT );
495495 } else {
496496 heightSize = calculatedMaxHeight ;
497497 }
498- heightSizeAndState = ViewCompat .resolveSizeAndState (heightSize , heightMeasureSpec ,
498+ heightSizeAndState = View .resolveSizeAndState (heightSize , heightMeasureSpec ,
499499 childState );
500500 break ;
501501 }
502502 case MeasureSpec .UNSPECIFIED : {
503- heightSizeAndState = ViewCompat .resolveSizeAndState (calculatedMaxHeight ,
503+ heightSizeAndState = View .resolveSizeAndState (calculatedMaxHeight ,
504504 heightMeasureSpec , childState );
505505 break ;
506506 }
0 commit comments