[ANativeWindow] Support interception methods in apex This is to support HWUI's ReliableSurface. Test: builds Test: Hook up with HWUI and manually verify with settings app Change-Id: I3a1d75dbd993dde1771930ad25212d8e4e7d94a0