I don't know how to read this code. what is the equivalent code with if/else statements?
leftPanel.getLayoutParams().width = interpolatedTime == 1
? ViewGroup.LayoutParams.WRAP_CONTENT
: (int)(targetWidth * interpolatedTime);