Is there a function like the \"open declaration\" in eclipse, that we can use in the new Android Studio?
Just like F3 button.
F3
In IntelliJ-IDEA it's Right-Click => Go To => Declaration. As others noted, Android Studio is based on IntelliJ-IDEA and in most of the cases, the experience would be the same.
Right-Click
Go To
Declaration