code: private void verifyPasswordStrength() {
          if (isEnabled() && !constraints.isEmpty() && !TextUtils.isEmpty(getText())) {
              float score = getPasswordStrength();
              adaptHelperText(score);
          } else {
              setHelperText(regularHelperText);
          }
      }
docs: Verifies the strength of the current password, depending on the constraints, which have been
  added and adapts the appearance of the view accordingly.