Home
last modified time | relevance | path

Searched refs:getSnapAlgorithm (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
DDividerView.java176 final DividerSnapAlgorithm snapAlgorithm = getSnapAlgorithm();
220 DividerSnapAlgorithm snapAlgorithm = mSplitLayout.getSnapAlgorithm();
371 mSnapTargetBeforeMinimized = mSplitLayout.getSnapAlgorithm().getMiddleTarget(); in injectDependencies()
471 public DividerSnapAlgorithm getSnapAlgorithm() { in getSnapAlgorithm() method in DividerView
473 : mSplitLayout.getSnapAlgorithm(); in getSnapAlgorithm()
516 SnapTarget snapTarget = getSnapAlgorithm().calculateSnapTarget( in onTouch()
544 if (snapTarget == mSplitLayout.getSnapAlgorithm().getDismissStartTarget()) { in logResizeEvent()
549 } else if (snapTarget == mSplitLayout.getSnapAlgorithm().getDismissEndTarget()) { in logResizeEvent()
554 } else if (snapTarget == mSplitLayout.getSnapAlgorithm().getMiddleTarget()) { in logResizeEvent()
557 } else if (snapTarget == mSplitLayout.getSnapAlgorithm().getFirstSplitTarget()) { in logResizeEvent()
[all …]
DLegacySplitScreenController.java151 : sdl.getSnapAlgorithm().getMiddleTarget().position; in LegacySplitScreenController()
152 DividerSnapAlgorithm snap = sdl.getSnapAlgorithm(); in LegacySplitScreenController()
220 int midPos = mSplitLayout.getSnapAlgorithm().getMiddleTarget().position; in onSplitScreenSupported()
263 int midPos = mSplitLayout.getSnapAlgorithm().getMiddleTarget().position; in onDisplayConfigurationChanged()
DLegacySplitDisplayLayout.java116 DividerSnapAlgorithm getSnapAlgorithm() { in getSnapAlgorithm() method in LegacySplitDisplayLayout
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitLayout.java116 mDividerSnapAlgorithm = getSnapAlgorithm(mContext, mRootBounds); in SplitLayout()
155 mDividerSnapAlgorithm = getSnapAlgorithm(mContext, mRootBounds); in updateConfiguration()
261 private DividerSnapAlgorithm getSnapAlgorithm(Context context, Rect rootBounds) { in getSnapAlgorithm() method in SplitLayout
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/
DShortcutKeyDispatcher.java96 DividerSnapAlgorithm snapAlgorithm = dividerView.getSnapAlgorithm(); in handleDockKey()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPipControllerTest.java103 when(mMockPipBoundsAlgorithm.getSnapAlgorithm()).thenReturn(mMockPipSnapAlgorithm); in setUp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipController.java457 final PipSnapAlgorithm pipSnapAlgorithm = mPipBoundsAlgorithm.getSnapAlgorithm(); in onDisplayChanged()
669 final PipSnapAlgorithm pipSnapAlgorithm = mPipBoundsAlgorithm.getSnapAlgorithm(); in onDisplayRotationChanged()
DPipTouchHandler.java208 mMotionHelper, pipTaskOrganizer, mPipBoundsAlgorithm.getSnapAlgorithm(), in PipTouchHandler()
435 mPipBoundsAlgorithm.getSnapAlgorithm().applySnapFraction(curBounds, in onMovementBoundsChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipBoundsAlgorithm.java109 public PipSnapAlgorithm getSnapAlgorithm() { in getSnapAlgorithm() method in PipBoundsAlgorithm
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBar.java1364 splitScreen.getDividerView().getSnapAlgorithm().isSplitScreenFeasible()) in onLongPressRecents()