Home
last modified time | relevance | path

Searched refs:MagneticTarget (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObject.kt96 fun onStuckToTarget(target: MagneticTarget, draggedObject: MagnetizedObject<*>) in <lambda>()
123 target: MagneticTarget, in <lambda>()
137 fun onReleasedInTarget(target: MagneticTarget, draggedObject: MagnetizedObject<*>) in <lambda>()
147 private val associatedTargets = ArrayList<MagneticTarget>() in <lambda>()
163 private var targetObjectIsStuckTo: MagneticTarget? = null in <lambda>()
192 var animateStuckToTarget: (MagneticTarget, Float, Float, Boolean, (() -> Unit)?) -> Unit = in <lambda>()
281 fun addTarget(target: MagneticTarget) { in <lambda>()
293 fun addTarget(target: View, magneticFieldRadiusPx: Int): MagneticTarget { in <lambda>()
294 return MagneticTarget(target, magneticFieldRadiusPx).also { addTarget(it) } in <lambda>()
300 fun removeTarget(target: MagneticTarget) { in <lambda>()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarExpandedViewDragController.kt45 private val magnetizedDismissTarget: MagnetizedObject.MagneticTarget in <lambda>()
51 target: MagnetizedObject.MagneticTarget, in <lambda>()
60 MagnetizedObject.MagneticTarget(dismissView.circle, dismissView.circle.width) in <lambda>()
149 target: MagnetizedObject.MagneticTarget, in <lambda>()
157 target: MagnetizedObject.MagneticTarget, in <lambda>()
168 target: MagnetizedObject.MagneticTarget, in <lambda>()
DBubbleBarAnimationHelper.java50 import com.android.wm.shell.common.magnetictarget.MagnetizedObject.MagneticTarget;
343 public void animateIntoTarget(MagneticTarget target, @Nullable Runnable endRunnable) { in animateIntoTarget()
414 public void animateUnstuckFromDismissView(MagneticTarget target) { in animateUnstuckFromDismissView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DDragToInteractAnimationControllerTest.java85 public void onStuckToTarget(@NonNull MagnetizedObject.MagneticTarget target, in setUp()
91 public void onUnstuckFromTarget(@NonNull MagnetizedObject.MagneticTarget target, in setUp()
98 public void onReleasedInTarget(@NonNull MagnetizedObject.MagneticTarget target, in setUp()
DMenuViewLayerTest.java520 new MagnetizedObject.MagneticTarget(view, 200), mock(MagnetizedObject.class)); in dragMenuThenReleasedInTarget()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipDismissTargetHandler.java71 private MagnetizedObject.MagneticTarget mMagneticTarget;
134 public void onStuckToTarget(@NonNull MagnetizedObject.MagneticTarget target, in init()
144 public void onUnstuckFromTarget(@NonNull MagnetizedObject.MagneticTarget target, in init()
156 public void onReleasedInTarget(@NonNull MagnetizedObject.MagneticTarget target, in init()
DPipMotionHelper.java271 MagnetizedObject.MagneticTarget target, in animateIntoDismissTarget()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipDismissTargetHandler.java71 private MagnetizedObject.MagneticTarget mMagneticTarget;
134 public void onStuckToTarget(@NonNull MagnetizedObject.MagneticTarget target, in init()
144 public void onUnstuckFromTarget(@NonNull MagnetizedObject.MagneticTarget target, in init()
156 public void onReleasedInTarget(@NonNull MagnetizedObject.MagneticTarget target, in init()
DPipMotionHelper.java279 MagnetizedObject.MagneticTarget target, in animateIntoDismissTarget()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObjectTest.kt67 private lateinit var magneticTarget: MagnetizedObject.MagneticTarget in <lambda>()
116 magneticTarget = MagnetizedObject.MagneticTarget(targetView, magneticFieldRadius) in <lambda>()
480 private fun getSecondMagneticTarget(): MagnetizedObject.MagneticTarget { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuViewLayer.java265 public void onStuckToTarget(@NonNull MagnetizedObject.MagneticTarget target, in MenuViewLayer()
272 public void onUnstuckFromTarget(@NonNull MagnetizedObject.MagneticTarget target, in MenuViewLayer()
280 public void onReleasedInTarget(@NonNull MagnetizedObject.MagneticTarget target, in MenuViewLayer()
DDragToInteractAnimationController.java217 magnetizedObject.addTarget(new MagnetizedObject.MagneticTarget( in createMagnetizedObjectAndAnimator()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleStackView.java456 private MagnetizedObject.MagneticTarget mMagneticTarget;
463 public void onStuckToTarget(@NonNull MagnetizedObject.MagneticTarget target,
473 public void onUnstuckFromTarget(@NonNull MagnetizedObject.MagneticTarget target,
491 public void onReleasedInTarget(@NonNull MagnetizedObject.MagneticTarget target,
512 @NonNull MagnetizedObject.MagneticTarget target,
518 public void onUnstuckFromTarget(@NonNull MagnetizedObject.MagneticTarget target,
532 public void onReleasedInTarget(@NonNull MagnetizedObject.MagneticTarget target,
1310 mMagneticTarget = new MagnetizedObject.MagneticTarget( in setUpDismissView()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DExpandedAnimationController.java355 MagnetizedObject.MagneticTarget target, in prepareForBubbleDrag()