Searched refs:mMagnetizedObject (Results 1 – 1 of 1) sorted by relevance
58 private MagnetizedObject<View> mMagnetizedObject; field in BubbleDismissController117 return mMagnetizedObject != null && mMagnetizedObject.maybeConsumeMotionEvent(event); in handleTouchEvent()142 if (mMagnetizedObject == null || mBubbleBarViewController == null) return; in dismissMagnetizedObject()143 if (mMagnetizedObject.getUnderlyingObject() instanceof BubbleView) { in dismissMagnetizedObject()144 BubbleView bubbleView = (BubbleView) mMagnetizedObject.getUnderlyingObject(); in dismissMagnetizedObject()148 } else if (mMagnetizedObject.getUnderlyingObject() instanceof BubbleBarView) { in dismissMagnetizedObject()171 mMagnetizedObject = new MagnetizedObject<>(mActivity.getApplicationContext(), in setupMagnetizedObject()190 mMagnetizedObject.setHapticsEnabled(true); in setupMagnetizedObject()191 mMagnetizedObject.setFlingToTargetMinVelocity(FLING_TO_DISMISS_MIN_VELOCITY); in setupMagnetizedObject()193 mMagnetizedObject.addTarget(mMagneticTarget); in setupMagnetizedObject()[all …]