DM should roll in the open, or away from view, only if and when they want to. Personally;
When i play online, my rolls are usually public on Roll20 unless i specifically need to keep one secret to the players.
When i play in person, i usually roll at my seat behind a DM screen, unless i happen...