First let me say, the situation in the OP is horrid. That should never have happened.
I am appauled that people behave like the driver in that scenario.
I'm also appauled that drivers are doing everything while behind the wheel except actually driving.
Texting while walking? So what? Pedestrians don't hit and kill people.
While I agree that pedestrians don't hit and kill people, there is a reason that some cities are changing sidewalks to alert pedestrians that they are nearing the curb or cross walk so that they will look up from their device.
One of the key things my mom taught me when I was a kid was to make eye contact with drivers while crossing the street, always cross at a crosswalk, never between cars and look both ways. That's not the norm these days.
In Reno the police started to crack down on jaywalking a few years ago because there were so many pedestrian deaths simply because people walked out in the middle of the block(not at crosswalk) between cars and the cars driving by didn't have time to stop.
I know I had a few close calls that made me wonder if these people didn't have a mom to teach them to look both ways before crossing the street AND use the crosswalk.
Reno police have also started to pull cars over with distracted drivers. The list of distractions that they will ticket you for includes (but not exclusive to) using the phone, putting on makeup, eating, fiddling with navigation ...
I'd like to emphasize that I put a majority of the respoinsibilty on drivers, and I'm sick about the amount of cyclists who are injured or killed by irresponsible drivers or just plain assholes.