Searched refs:toCapture (Results 1 – 2 of 2) sorted by relevance
895 boolean tryCaptureViewForDrag(View toCapture, int pointerId) { in tryCaptureViewForDrag() argument896 if (toCapture == mCapturedView && mActivePointerId == pointerId) { in tryCaptureViewForDrag()900 if (toCapture != null && mCallback.tryCaptureView(toCapture, pointerId)) { in tryCaptureViewForDrag()902 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 …]
2143 final View toCapture; in peekDrawer() local2148 toCapture = findDrawerWithGravity(Gravity.LEFT); in peekDrawer()2149 childLeft = (toCapture != null ? -toCapture.getWidth() : 0) + peekDistance; in peekDrawer()2151 toCapture = findDrawerWithGravity(Gravity.RIGHT); in peekDrawer()2155 if (toCapture != null && ((leftEdge && toCapture.getLeft() < childLeft) || in peekDrawer()2156 (!leftEdge && toCapture.getLeft() > childLeft)) && in peekDrawer()2157 getDrawerLockMode(toCapture) == LOCK_MODE_UNLOCKED) { in peekDrawer()2158 final LayoutParams lp = (LayoutParams) toCapture.getLayoutParams(); in peekDrawer()2159 mDragger.smoothSlideViewTo(toCapture, childLeft, toCapture.getTop()); in peekDrawer()2183 final View toCapture; in onEdgeDragStarted() local[all …]