You can combine: refs:onClick path:android/widget
| Method | Speed | Accuracy | Cross-reference | Web-based | |--------|-------|----------|----------------|------------| | grep -r | Slow on full AOSP | Finds text, not symbols | No | No | | repo grep | Faster than grep | Still text-based | No | No | | | Instant | Semantic (understands C++/Java) | Yes (jump to definition, find callers) | Yes | xref aosp
Inside a file (e.g., Activity.java ):