Searched refs:magnetizedObject (Results 1 – 2 of 2) sorted by relevance
68 private lateinit var magnetizedObject: MagnetizedObject<*> in <lambda>() variable in com.android.wm.shell.common.magnetictarget.MagnetizedObjectTest119 magnetizedObject = object : MagnetizedObject<MagnetizedObjectTest>( in <lambda>()137 magnetizedObject.magnetListener = magnetListener in <lambda>()138 magnetizedObject.addTarget(magneticTarget) in <lambda>()146 assertFalse(magnetizedObject.maybeConsumeMotionEvent(getMotionEvent( in <lambda>()150 assertFalse(magnetizedObject.maybeConsumeMotionEvent(getMotionEvent( in <lambda>()155 assertFalse(magnetizedObject.maybeConsumeMotionEvent(getMotionEvent( in <lambda>()161 assertTrue(magnetizedObject.maybeConsumeMotionEvent(getMotionEvent( in <lambda>()167 assertTrue(magnetizedObject.maybeConsumeMotionEvent(getMotionEvent( in <lambda>()171 assertFalse(magnetizedObject.maybeConsumeMotionEvent(getMotionEvent( in <lambda>()[all …]
110 MagnetizedObject<?> magnetizedObject = pair.first; in setMagnetListener() local111 magnetizedObject.setMagnetListener(magnetListener); in setMagnetListener()122 MagnetizedObject<?> magnetizedObject = pair.first; in maybeConsumeDownMotionEvent() local123 magnetizedObject.maybeConsumeMotionEvent(event); in maybeConsumeDownMotionEvent()130 MagnetizedObject<MenuView> magnetizedObject = set.getValue().first; in maybeConsumeMotionEvent() local131 if (magnetizedObject.maybeConsumeMotionEvent(event)) { in maybeConsumeMotionEvent()194 MagnetizedObject<MenuView> magnetizedObject = new MagnetizedObject<MenuView>( in createMagnetizedObjectAndAnimator() local216 magnetizedObject.setFlingToTargetEnabled(false); in createMagnetizedObjectAndAnimator()217 magnetizedObject.addTarget(new MagnetizedObject.MagneticTarget( in createMagnetizedObjectAndAnimator()245 mInteractMap.put(circleView.getId(), new Pair<>(magnetizedObject, animator)); in createMagnetizedObjectAndAnimator()