I have an application in which I need to implement image editing, which also includes pinch zooming. I am done with pinch zooming but I can test this only on device, not on emul
For mac: Use the ⌥ Option key and then use your mouse or trackpad to pinch/zoom. This is working on the android studio emulator.
You can find all the shortcuts in the extended controls menu, by pressing the three dots on the menu and then navigating to "help".