From what I understand, the jump height and duration are set as constants, and the speed at which player is jumping and falling is being calculated based on those constants.