Searched refs:MagneticTarget (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/ |
D | MagnetizedObject.kt | 96 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/ |
D | BubbleBarExpandedViewDragController.kt | 45 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>()
|
D | BubbleBarAnimationHelper.java | 50 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/ |
D | DragToInteractAnimationControllerTest.java | 85 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()
|
D | MenuViewLayerTest.java | 520 new MagnetizedObject.MagneticTarget(view, 200), mock(MagnetizedObject.class)); in dragMenuThenReleasedInTarget()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipDismissTargetHandler.java | 71 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()
|
D | PipMotionHelper.java | 271 MagnetizedObject.MagneticTarget target, in animateIntoDismissTarget()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipDismissTargetHandler.java | 71 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()
|
D | PipMotionHelper.java | 279 MagnetizedObject.MagneticTarget target, in animateIntoDismissTarget()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/magnetictarget/ |
D | MagnetizedObjectTest.kt | 67 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/ |
D | MenuViewLayer.java | 265 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()
|
D | DragToInteractAnimationController.java | 217 magnetizedObject.addTarget(new MagnetizedObject.MagneticTarget( in createMagnetizedObjectAndAnimator()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleStackView.java | 456 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/ |
D | ExpandedAnimationController.java | 355 MagnetizedObject.MagneticTarget target, in prepareForBubbleDrag()
|