Lines Matching refs:offsetInWindow
203 int dxUnconsumed, int dyUnconsumed, @Nullable int[] offsetInWindow) {
205 offsetInWindow, TYPE_TOUCH);
218 int dxUnconsumed, int dyUnconsumed, @Nullable int[] offsetInWindow,
229 if (offsetInWindow != null) {
230 mView.getLocationInWindow(offsetInWindow);
231 startX = offsetInWindow[0];
232 startY = offsetInWindow[1];
238 if (offsetInWindow != null) {
239 mView.getLocationInWindow(offsetInWindow);
240 offsetInWindow[0] -= startX;
241 offsetInWindow[1] -= startY;
244 } else if (offsetInWindow != null) {
245 // No motion, no dispatch. Keep offsetInWindow up to date.
246 offsetInWindow[0] = 0;
247 offsetInWindow[1] = 0;
263 @Nullable int[] offsetInWindow) {
264 return dispatchNestedPreScroll(dx, dy, consumed, offsetInWindow, TYPE_TOUCH);
277 @Nullable int[] offsetInWindow, @NestedScrollType int type) {
287 if (offsetInWindow != null) {
288 mView.getLocationInWindow(offsetInWindow);
289 startX = offsetInWindow[0];
290 startY = offsetInWindow[1];
303 if (offsetInWindow != null) {
304 mView.getLocationInWindow(offsetInWindow);
305 offsetInWindow[0] -= startX;
306 offsetInWindow[1] -= startY;
309 } else if (offsetInWindow != null) {
310 offsetInWindow[0] = 0;
311 offsetInWindow[1] = 0;