Fix pointer capture

Pointer capture was working by sitting in the
Java layer of setInputWindows which is no longer called.
We simply provide an alternative solution and call it.

Bug: 80101428
Bug: 113136004
Bug: 111440400
Change-Id: I581a140ec80ed0c8675030132b50e4ad1087f129
3 files changed