private static boolean shouldHandleMeasuredWidthTooSmall(View view, PercentLayoutInfo info) {
   int state = ViewCompat.getMeasuredWidthAndState(view) & ViewCompat.MEASURED_STATE_MASK;
   if (info == null || info.widthPercent == null) {
     return false;
   }
   return state == ViewCompat.MEASURED_STATE_TOO_SMALL
       && info.widthPercent.percent >= 0
       && info.mPreservedParams.width == ViewGroup.LayoutParams.WRAP_CONTENT;
 }
 private static boolean shouldHandleMeasuredWidthTooSmall(
     View view, PercentLayoutHelper.PercentLayoutInfo info) {
   int state = ViewCompat.getMeasuredWidthAndState(view) & -16777216;
   return state == 16777216 && info.widthPercent >= 0.0F && info.mPreservedParams.width == -2;
 }