Lines Matching defs:foreground
117 // Holds the current foreground user's id
699 startUser(profilesToStart.get(i).id, /* foreground= */ false);
721 * <p>The user will be brought to the foreground, if {@code foreground} parameter is set.
726 * user and all profiles of this user. Sent only if {@code foreground} parameter is true
728 * user and all profiles of this user. Sent only if {@code foreground} parameter is true
730 * Sent only if {@code foreground} parameter is true
745 * @param foreground true if user should be brought to the foreground
748 boolean startUser(final int userId, final boolean foreground) {
759 Slog.i(TAG, "Starting userid:" + userId + " fg:" + foreground);
777 if (foreground && userInfo.isManagedProfile()) {
782 if (foreground) {
804 if (foreground) {
851 if (foreground) {
873 if (foreground) {
903 * Start user, if its not already running, and bring it to foreground.
906 boolean result = startUser(userId, /* foreground */ true);