Home
last modified time | relevance | path

Searched refs:PipBoundsState (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipSnapAlgorithmTest.java104 PipBoundsState.STASH_TYPE_NONE, DEFAULT_STASH_OFFSET, DISPLAY_BOUNDS, in testApplySnapFraction_notStashed_isNotOffBounds()
117 PipBoundsState.STASH_TYPE_LEFT, DEFAULT_STASH_OFFSET, DISPLAY_BOUNDS, in testApplySnapFraction_stashedLeft()
131 PipBoundsState.STASH_TYPE_RIGHT, DEFAULT_STASH_OFFSET, DISPLAY_BOUNDS, in testApplySnapFraction_stashedRight()
144 PipBoundsState.STASH_TYPE_RIGHT, DEFAULT_STASH_OFFSET, DISPLAY_BOUNDS, in testApplySnapFraction_stashedRight_withInset()
159 PipBoundsState.STASH_TYPE_NONE); in testSnapRectToClosestEdge_rightEdge()
171 PipBoundsState.STASH_TYPE_NONE); in testSnapRectToClosestEdge_leftEdge()
183 PipBoundsState.STASH_TYPE_NONE); in testSnapRectToClosestEdge_topEdge()
195 PipBoundsState.STASH_TYPE_NONE); in testSnapRectToClosestEdge_bottomEdge()
205 PipBoundsState.STASH_TYPE_LEFT, DEFAULT_STASH_OFFSET, DISPLAY_BOUNDS, in testSnapRectToClosestEdge_stashed_unStahesBounds()
209 PipBoundsState.STASH_TYPE_LEFT); in testSnapRectToClosestEdge_stashed_unStahesBounds()
DPipBoundsStateTest.java54 private PipBoundsState mPipBoundsState;
60 mPipBoundsState = new PipBoundsState(mContext); in setUp()
80 final PipBoundsState.PipReentryState state = mPipBoundsState.getReentryState(); in testSetReentryState()
103 final PipBoundsState.PipReentryState state = mPipBoundsState.getReentryState(); in testSetLastPipComponentName_notChanged_doesNotClearReentryState()
DPipTaskOrganizerTest.java81 private PipBoundsState mPipBoundsState;
92 mPipBoundsState = new PipBoundsState(mContext); in setUp()
DPipBoundsAlgorithmTest.java58 private PipBoundsState mPipBoundsState;
64 mPipBoundsState = new PipBoundsState(mContext); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DTvPipModule.java35 import com.android.wm.shell.pip.PipBoundsState;
62 PipBoundsState pipBoundsState, in providePip()
96 PipBoundsState pipBoundsState, PipSnapAlgorithm pipSnapAlgorithm) { in providePipBoundsAlgorithm()
102 static PipBoundsState providePipBoundsState(Context context) { in providePipBoundsState()
103 return new PipBoundsState(context); in providePipBoundsState()
112 PipBoundsState pipBoundsState, TvPipMenuController pipMenuController) { in provideTvPipTransition()
121 PipBoundsState pipBoundsState, in providesTvPipMenuController()
150 PipBoundsState pipBoundsState, in providePipTaskOrganizer()
DWMShellModule.java44 import com.android.wm.shell.pip.PipBoundsState;
126 PipBoundsState pipBoundsState, PipMediaController pipMediaController, in providePip()
141 static PipBoundsState providePipBoundsState(Context context) { in providePipBoundsState()
142 return new PipBoundsState(context); in providePipBoundsState()
154 PipBoundsState pipBoundsState, PipSnapAlgorithm pipSnapAlgorithm) { in providesPipBoundsAlgorithm()
162 PipBoundsState pipBoundsState, PipMediaController pipMediaController, in providesPipPhoneMenuController()
174 PipBoundsState pipBoundsState, in providePipTouchHandler()
189 PipBoundsState pipBoundsState, in providePipTaskOrganizer()
218 PipBoundsState pipBoundsState, PhonePipMenuController pipMenuController) { in providePipTransitionController()
226 PipBoundsState pipBoundsState, PipTaskOrganizer pipTaskOrganizer, in providePipMotionHelper()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipSnapAlgorithm.java19 import static com.android.wm.shell.pip.PipBoundsState.STASH_TYPE_LEFT;
20 import static com.android.wm.shell.pip.PipBoundsState.STASH_TYPE_NONE;
21 import static com.android.wm.shell.pip.PipBoundsState.STASH_TYPE_RIGHT;
58 @PipBoundsState.StashType int stashType) { in getSnapFraction()
112 @PipBoundsState.StashType int stashType, int stashOffset, Rect displayBounds, in applySnapFraction()
130 @PipBoundsState.StashType int stashType) { in snapRectToClosestEdge()
DPipTransitionController.java46 protected final PipBoundsState mPipBoundsState;
101 public PipTransitionController(PipBoundsState pipBoundsState, in PipTransitionController()
DPipBoundsState.java47 public final class PipBoundsState { class
60 private static final String TAG = PipBoundsState.class.getSimpleName();
94 public PipBoundsState(@NonNull Context context) { in PipBoundsState() method in PipBoundsState
DPipBoundsAlgorithm.java47 private final @NonNull PipBoundsState mPipBoundsState;
61 public PipBoundsAlgorithm(Context context, @NonNull PipBoundsState pipBoundsState, in PipBoundsAlgorithm()
133 final PipBoundsState.PipReentryState reentryState = mPipBoundsState.getReentryState(); in getEntryDestinationBounds()
DPipTransition.java57 PipBoundsState pipBoundsState, PipMenuController pipMenuController, in PipTransition()
DPipTaskOrganizer.java151 private final PipBoundsState mPipBoundsState;
292 @NonNull PipBoundsState pipBoundsState, in PipTaskOrganizer()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipTransition.java33 import com.android.wm.shell.pip.PipBoundsState;
43 public TvPipTransition(PipBoundsState pipBoundsState, in TvPipTransition()
DTvPipMenuController.java34 import com.android.wm.shell.pip.PipBoundsState;
50 private final PipBoundsState mPipBoundsState;
60 public TvPipMenuController(Context context, PipBoundsState pipBoundsState, in TvPipMenuController()
DTvPipController.java46 import com.android.wm.shell.pip.PipBoundsState;
90 private final PipBoundsState mPipBoundsState;
106 PipBoundsState pipBoundsState, in create()
132 PipBoundsState pipBoundsState, in TvPipController()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPipTouchHandlerTest.java36 import com.android.wm.shell.pip.PipBoundsState;
83 private PipBoundsState mPipBoundsState;
101 mPipBoundsState = new PipBoundsState(mContext); in setUp()
DPipResizeGestureHandlerTest.java38 import com.android.wm.shell.pip.PipBoundsState;
83 private PipBoundsState mPipBoundsState;
88 mPipBoundsState = new PipBoundsState(mContext); in setUp()
DPipControllerTest.java49 import com.android.wm.shell.pip.PipBoundsState;
83 @Mock private PipBoundsState mMockPipBoundsState;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipMotionHelper.java24 import static com.android.wm.shell.pip.PipBoundsState.STASH_TYPE_LEFT;
25 import static com.android.wm.shell.pip.PipBoundsState.STASH_TYPE_NONE;
26 import static com.android.wm.shell.pip.PipBoundsState.STASH_TYPE_RIGHT;
48 import com.android.wm.shell.pip.PipBoundsState;
80 private @NonNull PipBoundsState mPipBoundsState;
191 public PipMotionHelper(Context context, @NonNull PipBoundsState pipBoundsState, in PipMotionHelper()
DPipAccessibilityInteractionConnection.java18 import static com.android.wm.shell.pip.PipBoundsState.STASH_TYPE_NONE;
37 import com.android.wm.shell.pip.PipBoundsState;
59 private final @NonNull PipBoundsState mPipBoundsState;
75 @NonNull PipBoundsState pipBoundsState, PipMotionHelper motionHelper, in PipAccessibilityInteractionConnection()
DPhonePipMenuController.java42 import com.android.wm.shell.pip.PipBoundsState;
106 private final PipBoundsState mPipBoundsState;
142 public PhonePipMenuController(Context context, PipBoundsState pipBoundsState, in PhonePipMenuController()
DPipTouchHandler.java22 import static com.android.wm.shell.pip.PipBoundsState.STASH_TYPE_LEFT;
23 import static com.android.wm.shell.pip.PipBoundsState.STASH_TYPE_NONE;
24 import static com.android.wm.shell.pip.PipBoundsState.STASH_TYPE_RIGHT;
55 import com.android.wm.shell.pip.PipBoundsState;
74 private final @NonNull PipBoundsState mPipBoundsState;
165 @NonNull PipBoundsState pipBoundsState, in PipTouchHandler()
DPipController.java71 import com.android.wm.shell.pip.PipBoundsState;
98 private PipBoundsState mPipBoundsState;
251 PipBoundsState pipBoundsState, PipMediaController pipMediaController, in create()
274 @NonNull PipBoundsState pipBoundsState, in PipController()
DPipResizeGestureHandler.java51 import com.android.wm.shell.pip.PipBoundsState;
72 private final PipBoundsState mPipBoundsState;
122 PipBoundsState pipBoundsState, PipMotionHelper motionHelper, in PipResizeGestureHandler()