Replace getLocationOnScreen with getLocationInWindow

We called new SynchronousPixelCopy().request(window, pos) while
the position was the location on the screen. This CL fix this.

Bug: 160032230
Test: atest android.view.cts.TextureViewTest
Change-Id: I89d391234789c4d20b1788bbbfd3cc10b93b4900
1 file changed