Searched refs:toCapture (Results 1 – 2 of 2) sorted by relevance
896 boolean tryCaptureViewForDrag(View toCapture, int pointerId) { in tryCaptureViewForDrag() argument897 if (toCapture == mCapturedView && mActivePointerId == pointerId) { in tryCaptureViewForDrag()901 if (toCapture != null && mCallback.tryCaptureView(toCapture, pointerId)) { in tryCaptureViewForDrag()903 captureChildView(toCapture, pointerId); in tryCaptureViewForDrag()973 final View toCapture = findTopChildUnder((int) x, (int) y); in shouldInterceptTouchEvent() local976 if (toCapture == mCapturedView && mDragState == STATE_SETTLING) { in shouldInterceptTouchEvent()977 tryCaptureViewForDrag(toCapture, pointerId); in shouldInterceptTouchEvent()1002 final View toCapture = findTopChildUnder((int) x, (int) y); in shouldInterceptTouchEvent() local1003 if (toCapture == mCapturedView) { in shouldInterceptTouchEvent()1004 tryCaptureViewForDrag(toCapture, pointerId); in shouldInterceptTouchEvent()[all …]
2150 final View toCapture; in peekDrawer() local2155 toCapture = findDrawerWithGravity(Gravity.LEFT); in peekDrawer()2156 childLeft = (toCapture != null ? -toCapture.getWidth() : 0) + peekDistance; in peekDrawer()2158 toCapture = findDrawerWithGravity(Gravity.RIGHT); in peekDrawer()2162 if (toCapture != null && ((leftEdge && toCapture.getLeft() < childLeft) in peekDrawer()2163 || (!leftEdge && toCapture.getLeft() > childLeft)) in peekDrawer()2164 && getDrawerLockMode(toCapture) == LOCK_MODE_UNLOCKED) { in peekDrawer()2165 final LayoutParams lp = (LayoutParams) toCapture.getLayoutParams(); in peekDrawer()2166 mDragger.smoothSlideViewTo(toCapture, childLeft, toCapture.getTop()); in peekDrawer()2190 final View toCapture; in onEdgeDragStarted() local[all …]