Home
last modified time | relevance | path

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

12

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipSnapAlgorithmTest.java28 import com.android.wm.shell.common.pip.PipBoundsState;
106 PipBoundsState.STASH_TYPE_NONE, DEFAULT_STASH_OFFSET, DISPLAY_BOUNDS, in testApplySnapFraction_notStashed_isNotOffBounds()
119 PipBoundsState.STASH_TYPE_LEFT, DEFAULT_STASH_OFFSET, DISPLAY_BOUNDS, in testApplySnapFraction_stashedLeft()
133 PipBoundsState.STASH_TYPE_RIGHT, DEFAULT_STASH_OFFSET, DISPLAY_BOUNDS, in testApplySnapFraction_stashedRight()
146 PipBoundsState.STASH_TYPE_RIGHT, DEFAULT_STASH_OFFSET, DISPLAY_BOUNDS, in testApplySnapFraction_stashedRight_withInset()
161 PipBoundsState.STASH_TYPE_NONE); in testSnapRectToClosestEdge_rightEdge()
173 PipBoundsState.STASH_TYPE_NONE); in testSnapRectToClosestEdge_leftEdge()
185 PipBoundsState.STASH_TYPE_NONE); in testSnapRectToClosestEdge_topEdge()
197 PipBoundsState.STASH_TYPE_NONE); in testSnapRectToClosestEdge_bottomEdge()
207 PipBoundsState.STASH_TYPE_LEFT, DEFAULT_STASH_OFFSET, DISPLAY_BOUNDS, in testSnapRectToClosestEdge_stashed_unStahesBounds()
[all …]
DPipBoundsStateTest.java40 import com.android.wm.shell.common.pip.PipBoundsState;
67 private PipBoundsState mPipBoundsState;
81 mPipBoundsState = new PipBoundsState(mContext, mSizeSpecSource, pipDisplayLayoutState); in setUp()
121 final PipBoundsState.PipReentryState state = mPipBoundsState.getReentryState(); in testSetReentryState()
142 final PipBoundsState.PipReentryState state = mPipBoundsState.getReentryState(); in testSetLastPipComponentName_notChanged_doesNotClearReentryState()
DPipTaskOrganizerTest.java58 import com.android.wm.shell.common.pip.PipBoundsState;
96 private PipBoundsState mPipBoundsState;
112 mPipBoundsState = new PipBoundsState(mContext, mSizeSpecSource, mPipDisplayLayoutState); in setUp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipSnapAlgorithm.java19 import static com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_LEFT;
20 import static com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_NONE;
21 import static com.android.wm.shell.common.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()
DPipDoubleTapHelper.java65 private static int getMaxOrDefaultPipSizeSpec(@NonNull PipBoundsState mPipBoundsState) { in getMaxOrDefaultPipSizeSpec()
85 public static int nextSizeSpec(@NonNull PipBoundsState mPipBoundsState, in nextSizeSpec()
DPipKeepClearAlgorithmInterface.java35 default Rect adjust(PipBoundsState pipBoundsState, PipBoundsAlgorithm pipBoundsAlgorithm) { in adjust()
DPipBoundsAlgorithm.java47 @NonNull private final PipBoundsState mPipBoundsState;
58 public PipBoundsAlgorithm(Context context, @NonNull PipBoundsState pipBoundsState, in PipBoundsAlgorithm()
131 final PipBoundsState.PipReentryState reentryState = mPipBoundsState.getReentryState(); in getEntryDestinationBoundsIgnoringKeepClearAreas()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/pip/
DPip2Module.java31 import com.android.wm.shell.common.pip.PipBoundsState;
71 PipBoundsState pipBoundsState, in providePipTransition()
90 PipBoundsState pipBoundsState, in providePipController()
112 PipBoundsState pipBoundsState, in providePipScheduler()
121 PipBoundsState pipBoundsState, PipMediaController pipMediaController, in providePipPhoneMenuController()
138 @NonNull PipBoundsState pipBoundsState, in providePipTouchHandler()
156 PipBoundsState pipBoundsState, PhonePipMenuController menuController, in providePipMotionHelper()
DPip1Module.java35 import com.android.wm.shell.common.pip.PipBoundsState;
91 PipBoundsState pipBoundsState, in providePip1()
127 PipBoundsState pipBoundsState, PipMediaController pipMediaController, in providesPipPhoneMenuController()
142 PipBoundsState pipBoundsState, in providePipTouchHandler()
167 PipBoundsState pipBoundsState, in providePipTaskOrganizer()
193 PipBoundsState pipBoundsState, PipDisplayLayoutState pipDisplayLayoutState, in providePipTransition()
215 PipBoundsState pipBoundsState, PipTaskOrganizer pipTaskOrganizer, in providePipMotionHelper()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipScheduler.java38 import com.android.wm.shell.common.pip.PipBoundsState;
54 private final PipBoundsState mPipBoundsState;
96 PipBoundsState pipBoundsState, in PipScheduler()
DPipMotionHelper.java23 import static com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_LEFT;
24 import static com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_NONE;
25 import static com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_RIGHT;
45 import com.android.wm.shell.common.pip.PipBoundsState;
79 private @NonNull PipBoundsState mPipBoundsState;
165 public PipMotionHelper(Context context, @NonNull PipBoundsState pipBoundsState, in PipMotionHelper()
DPipController.java55 import com.android.wm.shell.common.pip.PipBoundsState;
81 private final PipBoundsState mPipBoundsState;
121 PipBoundsState pipBoundsState, in PipController()
158 PipBoundsState pipBoundsState, in create()
DPhonePipMenuController.java38 import com.android.wm.shell.common.pip.PipBoundsState;
99 private final PipBoundsState mPipBoundsState;
126 public PhonePipMenuController(Context context, PipBoundsState pipBoundsState, in PhonePipMenuController()
DPipTouchHandler.java23 import static com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_LEFT;
24 import static com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_NONE;
25 import static com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_RIGHT;
59 import com.android.wm.shell.common.pip.PipBoundsState;
87 @NonNull private final PipBoundsState mPipBoundsState;
178 @NonNull PipBoundsState pipBoundsState, in PipTouchHandler()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipKeepClearAlgorithm.kt24 import com.android.wm.shell.common.pip.PipBoundsState in <lambda>()
25 import com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_BOTTOM in <lambda>()
26 import com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_LEFT in <lambda>()
27 import com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_NONE in <lambda>()
28 import com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_RIGHT in <lambda>()
29 import com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_TOP in <lambda>()
59 @PipBoundsState.StashType val stashType: Int = STASH_TYPE_NONE, in <lambda>()
211 @PipBoundsState.StashType in <lambda>()
DTvPipTaskOrganizer.java29 import com.android.wm.shell.common.pip.PipBoundsState;
54 @NonNull PipBoundsState pipBoundsState, in TvPipTaskOrganizer()
DTvPipBoundsState.java33 import com.android.wm.shell.common.pip.PipBoundsState;
43 public class TvPipBoundsState extends PipBoundsState {
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPipTouchHandlerTest.java37 import com.android.wm.shell.common.pip.PipBoundsState;
93 private PipBoundsState mPipBoundsState;
115 mPipBoundsState = new PipBoundsState(mContext, mSizeSpecSource, mPipDisplayLayoutState); in setUp()
DPipDoubleTapHelperTest.java32 import com.android.wm.shell.common.pip.PipBoundsState;
48 @Mock private PipBoundsState mBoundStateMock;
DPipResizeGestureHandlerTest.java43 import com.android.wm.shell.common.pip.PipBoundsState;
94 private PipBoundsState mPipBoundsState;
110 mPipBoundsState = new PipBoundsState(mContext, mSizeSpecSource, mPipDisplayLayoutState); in setUp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipMotionHelper.java23 import static com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_LEFT;
24 import static com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_NONE;
25 import static com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_RIGHT;
43 import com.android.wm.shell.common.pip.PipBoundsState;
78 private @NonNull PipBoundsState mPipBoundsState;
174 public PipMotionHelper(Context context, @NonNull PipBoundsState pipBoundsState, in PipMotionHelper()
DPipAccessibilityInteractionConnection.java18 import static com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_NONE;
39 import com.android.wm.shell.common.pip.PipBoundsState;
61 private final @NonNull PipBoundsState mPipBoundsState;
77 @NonNull PipBoundsState pipBoundsState, PipMotionHelper motionHelper, in PipAccessibilityInteractionConnection()
DPhonePipMenuController.java38 import com.android.wm.shell.common.pip.PipBoundsState;
99 private final PipBoundsState mPipBoundsState;
128 public PhonePipMenuController(Context context, PipBoundsState pipBoundsState, in PhonePipMenuController()
DPipTouchHandler.java21 import static com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_LEFT;
22 import static com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_NONE;
23 import static com.android.wm.shell.common.pip.PipBoundsState.STASH_TYPE_RIGHT;
56 import com.android.wm.shell.common.pip.PipBoundsState;
83 @NonNull private final PipBoundsState mPipBoundsState;
173 @NonNull PipBoundsState pipBoundsState, in PipTouchHandler()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTransitionController.java47 import com.android.wm.shell.common.pip.PipBoundsState;
65 protected final PipBoundsState mPipBoundsState;
153 PipBoundsState pipBoundsState, in PipTransitionController()

12