/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
H A D | PipSnapAlgorithmTest.java | 104 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()
|
H A D | PipBoundsStateTest.java | 54 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()
|
H A D | PipTaskOrganizerTest.java | 83 private PipBoundsState mPipBoundsState; 95 mPipBoundsState = new PipBoundsState(mContext); in setUp()
|
H A D | PipBoundsAlgorithmTest.java | 58 private PipBoundsState mPipBoundsState; 64 mPipBoundsState = new PipBoundsState(mContext); in setUp()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/ |
H A D | TvPipModule.java | 34 import com.android.wm.shell.pip.PipBoundsState; 63 PipBoundsState pipBoundsState, in providePip() 97 PipBoundsState pipBoundsState, PipSnapAlgorithm pipSnapAlgorithm) { in providePipBoundsAlgorithm() 103 static PipBoundsState providePipBoundsState(Context context) { in providePipBoundsState() 104 return new PipBoundsState(context); in providePipBoundsState() 113 PipBoundsState pipBoundsState, TvPipMenuController pipMenuController) { in provideTvPipTransition() 122 PipBoundsState pipBoundsState, in providesTvPipMenuController() 157 PipBoundsState pipBoundsState, in providePipTaskOrganizer()
|
H A D | WMShellModule.java | 52 import com.android.wm.shell.pip.PipBoundsState; 206 PipBoundsState pipBoundsState, PipMediaController pipMediaController, in providePip() 221 static PipBoundsState providePipBoundsState(Context context) { in providePipBoundsState() 222 return new PipBoundsState(context); in providePipBoundsState() 234 PipBoundsState pipBoundsState, PipSnapAlgorithm pipSnapAlgorithm) { in providesPipBoundsAlgorithm() 242 PipBoundsState pipBoundsState, PipMediaController pipMediaController, in providesPipPhoneMenuController() 255 PipBoundsState pipBoundsState, in providePipTouchHandler() 277 PipBoundsState pipBoundsState, in providePipTaskOrganizer() 307 PipBoundsState pipBoundsState, PipTransitionState pipTransitionState, in providePipTransitionController() 316 PipBoundsState pipBoundsState, PipTaskOrganizer pipTaskOrganizer, in providePipMotionHelper()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
H A D | PipSnapAlgorithm.java | 19 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()
|
H A D | PipTransitionController.java | 46 protected final PipBoundsState mPipBoundsState; 114 public PipTransitionController(PipBoundsState pipBoundsState, in PipTransitionController()
|
H A D | PipBoundsState.java | 49 public final class PipBoundsState { class 62 private static final String TAG = PipBoundsState.class.getSimpleName(); 96 public PipBoundsState(@NonNull Context context) { in PipBoundsState() method in PipBoundsState
|
H A D | PipBoundsAlgorithm.java | 47 private final @NonNull PipBoundsState mPipBoundsState; 61 public PipBoundsAlgorithm(Context context, @NonNull PipBoundsState pipBoundsState, in PipBoundsAlgorithm() 133 final PipBoundsState.PipReentryState reentryState = mPipBoundsState.getReentryState(); in getEntryDestinationBounds()
|
H A D | PipTransition.java | 71 PipBoundsState pipBoundsState, in PipTransition()
|
H A D | PipTaskOrganizer.java | 120 private final PipBoundsState mPipBoundsState; 251 @NonNull PipBoundsState pipBoundsState, in PipTaskOrganizer()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
H A D | TvPipMenuController.java | 34 import com.android.wm.shell.pip.PipBoundsState; 50 private final PipBoundsState mPipBoundsState; 60 public TvPipMenuController(Context context, PipBoundsState pipBoundsState, in TvPipMenuController()
|
H A D | TvPipTransition.java | 33 import com.android.wm.shell.pip.PipBoundsState; 43 public TvPipTransition(PipBoundsState pipBoundsState, in TvPipTransition()
|
H A D | TvPipController.java | 46 import com.android.wm.shell.pip.PipBoundsState; 90 private final PipBoundsState mPipBoundsState; 106 PipBoundsState pipBoundsState, in create() 132 PipBoundsState pipBoundsState, in TvPipController()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
H A D | PipTouchHandlerTest.java | 36 import com.android.wm.shell.pip.PipBoundsState; 83 private PipBoundsState mPipBoundsState; 101 mPipBoundsState = new PipBoundsState(mContext); in setUp()
|
H A D | PipResizeGestureHandlerTest.java | 38 import com.android.wm.shell.pip.PipBoundsState; 83 private PipBoundsState mPipBoundsState; 88 mPipBoundsState = new PipBoundsState(mContext); in setUp()
|
H A D | PipControllerTest.java | 49 import com.android.wm.shell.pip.PipBoundsState; 83 @Mock private PipBoundsState mMockPipBoundsState;
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
H A D | PipMotionHelper.java | 24 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()
|
H A D | PipAccessibilityInteractionConnection.java | 18 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()
|
H A D | PipTouchHandler.java | 22 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; 54 import com.android.wm.shell.pip.PipBoundsState; 73 private final @NonNull PipBoundsState mPipBoundsState; 168 @NonNull PipBoundsState pipBoundsState, in PipTouchHandler()
|
H A D | PhonePipMenuController.java | 43 import com.android.wm.shell.pip.PipBoundsState; 113 private final PipBoundsState mPipBoundsState; 150 public PhonePipMenuController(Context context, PipBoundsState pipBoundsState, in PhonePipMenuController()
|
H A D | PipController.java | 82 import com.android.wm.shell.pip.PipBoundsState; 109 private PipBoundsState mPipBoundsState; 277 PipBoundsState pipBoundsState, PipMediaController pipMediaController, in create() 300 @NonNull PipBoundsState pipBoundsState, in PipController()
|
H A D | PipResizeGestureHandler.java | 51 import com.android.wm.shell.pip.PipBoundsState; 72 private final PipBoundsState mPipBoundsState; 122 PipBoundsState pipBoundsState, PipMotionHelper motionHelper, in PipResizeGestureHandler()
|