/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/ |
D | BubbleBarExpandedViewDragController.kt | 25 import com.android.wm.shell.common.magnetictarget.MagnetizedObject in <lambda>() 43 private val magnetizedExpandedView: MagnetizedObject<BubbleBarExpandedView> = in <lambda>() 44 MagnetizedObject.magnetizeView(expandedView) in <lambda>() 45 private val magnetizedDismissTarget: MagnetizedObject.MagneticTarget in <lambda>() 51 target: MagnetizedObject.MagneticTarget, in <lambda>() 60 MagnetizedObject.MagneticTarget(dismissView.circle, dismissView.circle.width) in <lambda>() 147 private inner class MagnetListener : MagnetizedObject.MagnetListener { in <lambda>() 149 target: MagnetizedObject.MagneticTarget, in <lambda>() 150 draggedObject: MagnetizedObject<*> in <lambda>() 157 target: MagnetizedObject.MagneticTarget, in <lambda>() [all …]
|
D | BubbleBarAnimationHelper.java | 50 import com.android.wm.shell.common.magnetictarget.MagnetizedObject.MagneticTarget;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | DragToInteractAnimationController.java | 35 import com.android.wm.shell.common.magnetictarget.MagnetizedObject; 58 private final ArrayMap<Integer, Pair<MagnetizedObject<MenuView>, ValueAnimator>> mInteractMap; 108 void setMagnetListener(MagnetizedObject.MagnetListener magnetListener) { in setMagnetListener() 110 MagnetizedObject<?> magnetizedObject = pair.first; in setMagnetListener() 116 MagnetizedObject.MagnetListener getMagnetListener(int id) { in getMagnetListener() 122 MagnetizedObject<?> magnetizedObject = pair.first; in maybeConsumeDownMotionEvent() 128 for (Map.Entry<Integer, Pair<MagnetizedObject<MenuView>, ValueAnimator>> set: in maybeConsumeMotionEvent() 130 MagnetizedObject<MenuView> magnetizedObject = set.getValue().first; in maybeConsumeMotionEvent() 167 Pair<MagnetizedObject<MenuView>, ValueAnimator> value = mInteractMap.get(targetViewId); in animateInteractMenu() 194 MagnetizedObject<MenuView> magnetizedObject = new MagnetizedObject<MenuView>( in createMagnetizedObjectAndAnimator() [all …]
|
D | MenuViewLayer.java | 84 import com.android.wm.shell.common.magnetictarget.MagnetizedObject; 263 mDragToInteractAnimationController.setMagnetListener(new MagnetizedObject.MagnetListener() { in MenuViewLayer() 265 public void onStuckToTarget(@NonNull MagnetizedObject.MagneticTarget target, in MenuViewLayer() 266 @NonNull MagnetizedObject<?> draggedObject) { in MenuViewLayer() 272 public void onUnstuckFromTarget(@NonNull MagnetizedObject.MagneticTarget target, in MenuViewLayer() 273 @NonNull MagnetizedObject<?> draggedObject, in MenuViewLayer() 280 public void onReleasedInTarget(@NonNull MagnetizedObject.MagneticTarget target, in MenuViewLayer() 281 @NonNull MagnetizedObject<?> draggedObject) { in MenuViewLayer()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
D | DragToInteractAnimationControllerTest.java | 37 import com.android.wm.shell.common.magnetictarget.MagnetizedObject; 83 mDragToInteractAnimationController.setMagnetListener(new MagnetizedObject.MagnetListener() { in setUp() 85 public void onStuckToTarget(@NonNull MagnetizedObject.MagneticTarget target, in setUp() 86 @NonNull MagnetizedObject<?> draggedObject) { in setUp() 91 public void onUnstuckFromTarget(@NonNull MagnetizedObject.MagneticTarget target, in setUp() 92 @NonNull MagnetizedObject<?> draggedObject, float velX, float velY, in setUp() 98 public void onReleasedInTarget(@NonNull MagnetizedObject.MagneticTarget target, in setUp() 99 @NonNull MagnetizedObject<?> draggedObject) { in setUp()
|
D | MenuViewLayerTest.java | 86 import com.android.wm.shell.common.magnetictarget.MagnetizedObject; 515 MagnetizedObject.MagnetListener magnetListener = in dragMenuThenReleasedInTarget() 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 | 40 import com.android.wm.shell.common.magnetictarget.MagnetizedObject; 57 private MagnetizedObject<Rect> mMagnetizedPip; 71 private MagnetizedObject.MagneticTarget mMagneticTarget; 132 mMagnetizedPip.setMagnetListener(new MagnetizedObject.MagnetListener() { in init() 134 public void onStuckToTarget(@NonNull MagnetizedObject.MagneticTarget target, in init() 135 @NonNull MagnetizedObject<?> draggedObject) { in init() 144 public void onUnstuckFromTarget(@NonNull MagnetizedObject.MagneticTarget target, in init() 145 @NonNull MagnetizedObject<?> draggedObject, in init() 156 public void onReleasedInTarget(@NonNull MagnetizedObject.MagneticTarget target, in init() 157 @NonNull MagnetizedObject<?> draggedObject) { in init()
|
D | PipMotionHelper.java | 42 import com.android.wm.shell.common.magnetictarget.MagnetizedObject; 101 private MagnetizedObject<Rect> mMagnetizedPip; 271 MagnetizedObject.MagneticTarget target, in animateIntoDismissTarget() 763 MagnetizedObject<Rect> getMagnetizedPip() { 765 mMagnetizedPip = new MagnetizedObject<Rect>(
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipDismissTargetHandler.java | 40 import com.android.wm.shell.common.magnetictarget.MagnetizedObject; 57 private MagnetizedObject<Rect> mMagnetizedPip; 71 private MagnetizedObject.MagneticTarget mMagneticTarget; 132 mMagnetizedPip.setMagnetListener(new MagnetizedObject.MagnetListener() { in init() 134 public void onStuckToTarget(@NonNull MagnetizedObject.MagneticTarget target, in init() 135 @NonNull MagnetizedObject<?> draggedObject) { in init() 144 public void onUnstuckFromTarget(@NonNull MagnetizedObject.MagneticTarget target, in init() 145 @NonNull MagnetizedObject<?> draggedObject, in init() 156 public void onReleasedInTarget(@NonNull MagnetizedObject.MagneticTarget target, in init() 157 @NonNull MagnetizedObject<?> draggedObject) { in init()
|
D | PipMotionHelper.java | 41 import com.android.wm.shell.common.magnetictarget.MagnetizedObject; 98 private MagnetizedObject<Rect> mMagnetizedPip; 279 MagnetizedObject.MagneticTarget target, in animateIntoDismissTarget() 707 MagnetizedObject<Rect> getMagnetizedPip() { 709 mMagnetizedPip = new MagnetizedObject<Rect>(
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/ |
D | MagnetizedObject.kt | 56 abstract class MagnetizedObject<T : Any>( in <lambda>() class 96 fun onStuckToTarget(target: MagneticTarget, draggedObject: MagnetizedObject<*>) in <lambda>() 124 draggedObject: MagnetizedObject<*>, in <lambda>() 137 fun onReleasedInTarget(target: MagneticTarget, draggedObject: MagnetizedObject<*>) in <lambda>() 169 lateinit var magnetListener: MagnetizedObject.MagnetListener in <lambda>() 682 fun <T : View> magnetizeView(view: T): MagnetizedObject<T> { in <lambda>() 683 return object : MagnetizedObject<T>( in <lambda>()
|
/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>() 68 private lateinit var magnetizedObject: MagnetizedObject<*> in <lambda>() 69 private lateinit var magnetListener: MagnetizedObject.MagnetListener in <lambda>() 116 magneticTarget = MagnetizedObject.MagneticTarget(targetView, magneticFieldRadius) in <lambda>() 118 magnetListener = mock(MagnetizedObject.MagnetListener::class.java) in <lambda>() 119 magnetizedObject = object : MagnetizedObject<MagnetizedObjectTest>( in <lambda>() 480 private fun getSecondMagneticTarget(): MagnetizedObject.MagneticTarget { in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/ |
D | ExpandedAnimationController.java | 41 import com.android.wm.shell.common.magnetictarget.MagnetizedObject; 132 private MagnetizedObject<View> mMagnetizedBubbleDraggingOut; 355 MagnetizedObject.MagneticTarget target, in prepareForBubbleDrag() 356 MagnetizedObject.MagnetListener listener) { in prepareForBubbleDrag() 359 mMagnetizedBubbleDraggingOut = new MagnetizedObject<View>( in prepareForBubbleDrag() 455 public MagnetizedObject<View> getMagnetizedBubbleDraggingOut() {
|
D | StackAnimationController.java | 45 import com.android.wm.shell.common.magnetictarget.MagnetizedObject; 119 private MagnetizedObject<StackAnimationController> mMagnetizedStack; 1010 public MagnetizedObject<StackAnimationController> getMagnetizedStack() { in getMagnetizedStack() 1012 mMagnetizedStack = new MagnetizedObject<StackAnimationController>( in getMagnetizedStack()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleStackView.java | 97 import com.android.wm.shell.common.magnetictarget.MagnetizedObject; 450 private MagnetizedObject<?> mMagnetizedObject; 456 private MagnetizedObject.MagneticTarget mMagneticTarget; 459 private final MagnetizedObject.MagnetListener mIndividualBubbleMagnetListener = 460 new MagnetizedObject.MagnetListener() { 463 public void onStuckToTarget(@NonNull MagnetizedObject.MagneticTarget target, 464 @NonNull MagnetizedObject<?> draggedObject) { 473 public void onUnstuckFromTarget(@NonNull MagnetizedObject.MagneticTarget target, 474 @NonNull MagnetizedObject<?> draggedObject, 491 public void onReleasedInTarget(@NonNull MagnetizedObject.MagneticTarget target, [all …]
|
/frameworks/base/libs/WindowManager/Shell/ |
D | Android.bp | 50 "src/com/android/wm/shell/common/magnetictarget/MagnetizedObject.kt",
|