Lines Matching defs:mCurrView

80     private View mCurrView;
271 mCurrView = mCallback.getChildAtPosition(ev);
273 if (mCurrView != null) {
274 onDownUpdate(mCurrView, ev);
275 mCanCurrViewBeDimissed = mCallback.canChildBeDismissed(mCurrView);
279 mTranslation = getTranslation(mCurrView);
285 if (mCurrView != null && !mLongPressSent) {
287 mCurrView.sendAccessibilityEvent(
289 mCurrView.getLocationOnScreen(mTmpPos);
293 if (mCurrView instanceof ExpandableNotificationRow) {
294 menuItem = ((ExpandableNotificationRow) mCurrView)
297 mLongPressListener.onLongPress(mCurrView, x, y, menuItem);
308 if (mCurrView != null && !mLongPressSent) {
316 mCallback.onBeginDrag(mCurrView);
319 mTranslation = getTranslation(mCurrView);
329 mCurrView = null;
532 if ((mDragging && mCurrView == view) || mSnappingChild) {
579 if (mCurrView != null) {
587 if (CONSTRAIN_SWIPE && !mCallback.canChildBeDismissed(mCurrView)) {
588 float size = getSize(mCurrView);
597 setTranslation(mCurrView, mTranslation + delta);
598 updateSwipeProgressFromOffset(mCurrView, mCanCurrViewBeDimissed);
599 onMoveUpdate(mCurrView, ev, mTranslation + delta, delta);
604 if (mCurrView == null) {
610 if (!handleUpEvent(ev, mCurrView, velocity, getTranslation(mCurrView))) {
613 dismissChild(mCurrView, velocity,
617 mCallback.onDragCancelled(mCurrView);
618 snapChild(mCurrView, 0 /* leftTarget */, velocity);
620 mCurrView = null;
650 float translation = getTranslation(mCurrView);
652 && Math.abs(translation) > SWIPED_FAR_ENOUGH_SIZE_FRACTION * getSize(mCurrView);
658 && mCallback.canChildBeDismissed(mCurrView);
673 float translation = getTranslation(mCurrView);