private int findAccountPositionInList() {
      for (int i = 0, len = users.length; i < len; i++) {
        if (users[i].equals(account)) {
          return i;
        }
      }

      return -1;
    }
Gets the position in the account list of the account this listener is associated with.

@return {@code 0}-based position or {@code -1} if the account is not in the list.
java/com/google/android/apps/authenticator/AuthenticatorActivity.java