Searched refs:mSecondary (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | SplitScreenTaskOrganizer.java | 41 RunningTaskInfo mSecondary; field in SplitScreenTaskOrganizer 63 mSecondary = TaskOrganizer.createRootTask(Display.DEFAULT_DISPLAY, in init() 88 if (mPrimary == null || mSecondary == null) { in onTaskAppeared() 95 } else if (taskInfo.token.equals(mSecondary.token)) { in onTaskAppeared() 129 final boolean isSecondaryTask = mSecondary != null in onTaskVanished() 130 && taskInfo.token.equals(mSecondary.token); in onTaskVanished() 170 final boolean secondaryImpliedMinimize = mSecondary.topActivityType == ACTIVITY_TYPE_HOME in handleTaskInfoChanged() 171 || (mSecondary.topActivityType == ACTIVITY_TYPE_RECENTS in handleTaskInfoChanged() 174 final boolean secondaryWasEmpty = mSecondary.topActivityType == ACTIVITY_TYPE_UNDEFINED; in handleTaskInfoChanged() 177 } else if (info.token.asBinder() == mSecondary.token.asBinder()) { in handleTaskInfoChanged() [all …]
|
D | DividerImeController.java | 117 && (imeSplit.asBinder() == mSplits.mSecondary.token.asBinder()); in getSecondaryHasFocus() 206 wct.setBounds(mSplits.mSecondary.token, splitLayout.mAdjustedSecondary); in updateImeAdjustState() 210 Rect adjustAppBounds = new Rect(mSplits.mSecondary.configuration in updateImeAdjustState() 213 - splitLayout.mSecondary.top); in updateImeAdjustState() 214 wct.setAppBounds(mSplits.mSecondary.token, adjustAppBounds); in updateImeAdjustState() 215 wct.setScreenSizeDp(mSplits.mSecondary.token, in updateImeAdjustState() 216 mSplits.mSecondary.configuration.screenWidthDp, in updateImeAdjustState() 217 mSplits.mSecondary.configuration.screenHeightDp); in updateImeAdjustState() 229 wct.setBounds(mSplits.mSecondary.token, splitLayout.mSecondary); in updateImeAdjustState() 230 wct.setAppBounds(mSplits.mSecondary.token, null); in updateImeAdjustState() [all …]
|
D | WindowManagerProxy.java | 194 TaskOrganizer.setLaunchRoot(DEFAULT_DISPLAY, tiles.mSecondary.token); in applyEnterSplit() 217 wct.reparent(rootTask.token, tiles.mSecondary.token, true /* onTop */); in applyEnterSplit() 220 wct.reorder(tiles.mSecondary.token, true /* onTop */); in applyEnterSplit() 253 TaskOrganizer.getChildTasks(tiles.mSecondary.token, null /* activityTypes */); in applyDismissSplit() 260 freeHomeAndRecents.removeIf(p -> p.token.equals(tiles.mSecondary.token) in applyDismissSplit() 296 final int posX = landscape ? layout.mSecondary.left - tiles.mHomeBounds.left in applyDismissSplit() 297 : layout.mSecondary.left; in applyDismissSplit() 298 final int posY = landscape ? layout.mSecondary.top in applyDismissSplit() 299 : layout.mSecondary.top - tiles.mHomeBounds.top; in applyDismissSplit() 306 wct.setBoundsChangeTransaction(tiles.mSecondary.token, sft); in applyDismissSplit()
|
D | SplitDisplayLayout.java | 61 Rect mSecondary = null; field in SplitDisplayLayout 139 mSecondary = mSecondary == null ? new Rect() : mSecondary; in resizeSplits() 140 calcSplitBounds(position, mPrimary, mSecondary); in resizeSplits() 146 t.setBounds(mTiles.mSecondary.token, mSecondary); in resizeSplits() 150 t.setSmallestScreenWidthDp(mTiles.mSecondary.token, in resizeSplits() 151 getSmallestWidthDpForBounds(mContext, mDisplayLayout, mSecondary)); in resizeSplits() 179 mDividerSizeInactive, mPrimary, mSecondary); in updateAdjustedBounds()
|
D | Divider.java | 131 WindowManagerProxy.applyHomeTasksMinimized(sdl, mSplits.mSecondary.token, t); 256 mSplitLayout.mSecondary = new Rect(mRotateSplitLayout.mSecondary); in onDisplayConfigurationChanged() 291 return mSplits.mPrimary != null && mSplits.mSecondary != null in isSplitActive() 293 || mSplits.mSecondary.topActivityType != ACTIVITY_TYPE_UNDEFINED); in isSplitActive() 399 mSplitLayout, mSplits.mSecondary.token, wct); in setHomeMinimized() 569 if (mSplits == null || mSplits.mSecondary == null) { in getSecondaryRoot() 572 return mSplits.mSecondary.token; in getSecondaryRoot()
|
D | DividerView.java | 379 mOtherTaskRect.set(mSplitLayout.mSecondary); in getNonMinimizedSplitScreenSecondaryBounds() 678 if (mSplitLayout.mPrimary == null || mSplitLayout.mSecondary == null) { in notifySplitScreenBoundsChanged() 681 mOtherTaskRect.set(mSplitLayout.mSecondary); in notifySplitScreenBoundsChanged() 791 mOtherRect, mSplitLayout.mSecondary); in initializeSurfaceState() 794 mSplitLayout.mSecondary, null); in initializeSurfaceState()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityTestsBase.java | 542 Task mSecondary; field in ActivityTestsBase.TestSplitOrganizer 559 mSecondary = WindowContainer.fromBinder(secondary.asBinder()).asTask(); in TestSplitOrganizer() 592 mSecondary.mRemoteToken.toWindowContainerToken()); in onTaskInfoChanged() 599 stack.reparent(mSecondary, POSITION_BOTTOM); in onTaskInfoChanged()
|
D | ActivityStackTests.java | 195 assertEquals(primarySplitScreen, organizer.mSecondary.getChildAt(0)); in testMoveToPrimarySplitScreenThenMoveToBack() 221 assertEquals(primaryTask, organizer.mSecondary.getChildAt(0)); in testSplitScreenMoveToBack() 222 assertEquals(1, organizer.mPrimary.compareTo(organizer.mSecondary)); in testSplitScreenMoveToBack() 231 ((ActivityStack) organizer.mSecondary).moveToBack("test", secondaryTask); in testSplitScreenMoveToBack() 235 assertEquals(secondaryTask, organizer.mSecondary.getChildAt(0)); in testSplitScreenMoveToBack()
|