In Maya if we have an object selected and we press F then the object is brought into focus and if no object is selected then all the objects in the scene are brought into focus.
How can this be done in Blender?
Without knowing the specifics of the Maya feature, try pressing . on the your keyboard's numeric keypad. This adjusts your 3D View to focus on the selected object. You can also press / on the numeric keypad to get a "local view" of the selected object (pressing / again will pop you back to the scene view).
To show all non-hidden objects in the 3D View, press Home.
Numpad . to zoom to selected (or menu View > Align View > View Selected)
A to select all (you may need to hit it twice), then Numpad . will zoom to all objects.