Home
last modified time | relevance | path

Searched refs:POSITION_TOP (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
DComplicationLayoutParamsTest.java47 ComplicationLayoutParams.POSITION_BOTTOM | ComplicationLayoutParams.POSITION_TOP, in testPositionValidation()
51 final int allPositions = ComplicationLayoutParams.POSITION_TOP in testPositionValidation()
67 ComplicationLayoutParams.POSITION_TOP); in testPositionValidation()
112 ComplicationLayoutParams.POSITION_TOP, in testDefaultMargin()
126 ComplicationLayoutParams.POSITION_TOP, in testSpecifiedMargin()
141 ComplicationLayoutParams.POSITION_TOP, in testCopyConstruction()
166 ComplicationLayoutParams.POSITION_TOP, in testCopyConstructionWithUnspecifiedMargin()
187 ComplicationLayoutParams.POSITION_TOP, in testConstraint()
197 ComplicationLayoutParams.POSITION_TOP, in testConstraint()
208 final int positions = ComplicationLayoutParams.POSITION_TOP in testIteratePositions()
[all …]
DComplicationLayoutEngineTest.java147 ComplicationLayoutParams.POSITION_TOP in testComplicationMarginPosition()
161 ComplicationLayoutParams.POSITION_TOP in testComplicationMarginPosition()
193 ComplicationLayoutParams.POSITION_TOP in testSingleLayout()
219 ComplicationLayoutParams.POSITION_TOP in testSnapToGuide()
249 ComplicationLayoutParams.POSITION_TOP in testDirectionLayout()
264 ComplicationLayoutParams.POSITION_TOP in testDirectionLayout()
297 ComplicationLayoutParams.POSITION_TOP in testPositionLayout()
310 ComplicationLayoutParams.POSITION_TOP in testPositionLayout()
326 ComplicationLayoutParams.POSITION_TOP in testPositionLayout()
357 ComplicationLayoutParams.POSITION_TOP in testPositionLayout()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/
DDreamOverlayAnimationsController.kt34 import com.android.systemui.complication.ComplicationLayoutParams.POSITION_TOP in <lambda>()
96 POSITION_TOP or POSITION_BOTTOM in <lambda>()
105 POSITION_TOP or POSITION_BOTTOM in <lambda>()
120 POSITION_TOP or POSITION_BOTTOM in <lambda>()
224 key = POSITION_TOP, in <lambda>()
230 positions = POSITION_TOP in <lambda>()
290 @Position positions: Int = POSITION_TOP or POSITION_BOTTOM, in <lambda>()
317 @Position positions: Int = POSITION_TOP or POSITION_BOTTOM, in <lambda>()
345 if (position == POSITION_TOP) { in <lambda>()
355 if (position == POSITION_TOP) { in <lambda>()
DDreamOverlayContainerViewController.java27 import static com.android.systemui.complication.ComplicationLayoutParams.POSITION_TOP;
340 for (int position : Arrays.asList(POSITION_TOP, POSITION_BOTTOM)) { in updateTransitionState()
356 position == POSITION_TOP ? getDreamAlphaScaledExpansion(expansion) in getAlpha()
362 position == POSITION_TOP ? getDreamYPositionScaledExpansion(expansion) in getTranslationY()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaTest.java43 import static com.android.server.wm.WindowContainer.POSITION_TOP;
169 da1.addChild(da2, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny()
182 root.addChild(da3, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny()
183 da3.addChild(da4, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny()
201 root.addChild(da5, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny()
202 da5.addChild(da6, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny()
227 root.addChild(da1, POSITION_TOP); in testForAllTaskDisplayAreas_appliesOnTaskDisplayAreaInOrder()
228 root.addChild(da2, POSITION_TOP); in testForAllTaskDisplayAreas_appliesOnTaskDisplayAreaInOrder()
229 da1.addChild(tda1, POSITION_TOP); in testForAllTaskDisplayAreas_appliesOnTaskDisplayAreaInOrder()
230 da2.addChild(tda2, POSITION_TOP); in testForAllTaskDisplayAreas_appliesOnTaskDisplayAreaInOrder()
[all …]
DSyncEngineTests.java29 import static com.android.server.wm.WindowContainer.POSITION_TOP;
196 parentWC.addChild(childWC, POSITION_TOP); in testWaitForChildrenCallback()
197 parentWC.addChild(childWC2, POSITION_TOP); in testWaitForChildrenCallback()
230 parentWC.addChild(childWC, POSITION_TOP); in testWaitForParentCallback()
260 parentWC.addChild(topChildWC, POSITION_TOP); in testFillsParent()
292 parentWC.addChild(topChildWC, POSITION_TOP); in testReparentOut()
312 botChildWC.reparent(nonMemberParentWC, POSITION_TOP); in testReparentOut()
327 parentWC.addChild(topChildWC, POSITION_TOP); in testReparentIn()
359 w.reparent(botChildWC, POSITION_TOP); in testReparentIn()
365 w.reparent(topChildWC, POSITION_TOP); in testReparentIn()
[all …]
DDisplayAreaPolicyTests.java27 import static com.android.server.wm.WindowContainer.POSITION_TOP;
87 stack1.getParent().positionChildAt(POSITION_TOP, stack1, true /* includingParents */); in testTaskDisplayArea_taskPositionChanged_updatesTaskDisplayAreaPosition()
92 stack2.getParent().positionChildAt(POSITION_TOP, stack2, false /* includingParents */); in testTaskDisplayArea_taskPositionChanged_updatesTaskDisplayAreaPosition()
151 stack1.getParent().positionChildAt(POSITION_TOP, stack1, true /* includingParents */); in testDisplayAreaGroup_taskPositionChanged_updatesDisplayAreaGroupPosition()
157 stack3.getParent().positionChildAt(POSITION_TOP, stack3, true /* includingParents */); in testDisplayAreaGroup_taskPositionChanged_updatesDisplayAreaGroupPosition()
163 stack4.getParent().positionChildAt(POSITION_TOP, stack4, true /* includingParents */); in testDisplayAreaGroup_taskPositionChanged_updatesDisplayAreaGroupPosition()
DTaskDisplayAreaTests.java41 import static com.android.server.wm.WindowContainer.POSITION_TOP;
258 taskContainer.positionChildAt(WindowContainer.POSITION_TOP, rootTask1, false); in testRootTaskPositionBelowPinnedRootTask()
281 mWm.mRoot.positionChildAt(WindowContainer.POSITION_TOP, createNewDisplay(), in testDisplayPositionWithPinnedRootTask()
285 rootTask.positionChildAt(WindowContainer.POSITION_TOP, task, true /* includingParents */); in testDisplayPositionWithPinnedRootTask()
306 mWm.mRoot.positionChildAt(WindowContainer.POSITION_TOP, createNewDisplay(), in testMovingChildTaskOnTop()
314 rootTask.positionChildAt(WindowContainer.POSITION_TOP, task, true /* includingParents */); in testMovingChildTaskOnTop()
335 mWm.mRoot.positionChildAt(WindowContainer.POSITION_TOP, createNewDisplay(), in testDontMovingChildTaskOnTop()
343 rootTask.positionChildAt(WindowContainer.POSITION_TOP, task, true /* includingParents */); in testDontMovingChildTaskOnTop()
703 final DisplayContent display = addNewDisplayContentAt(POSITION_TOP); in testRootTaskShouldNotBeFocusedAfterMovingToBackOrRemoving()
734 taskDisplayArea.positionChildAt(POSITION_TOP, alwaysOnTopRootTask, in testAlwaysOnTopRootTaskLocation()
[all …]
DDisplayAreaGroupTest.java25 import static com.android.server.wm.WindowContainer.POSITION_TOP;
63 mDisplayAreaGroup.addChild(mTaskDisplayArea, POSITION_TOP); in setUp()
DRootTaskTests.java58 import static com.android.server.wm.WindowContainer.POSITION_TOP;
116 rootTask.positionChildAt(WindowContainer.POSITION_TOP, task1, false /* includingParents */); in testRootTaskPositionChildAt()
121 rootTask.positionChildAt(WindowContainer.POSITION_TOP, task2, false /* includingParents */); in testRootTaskPositionChildAt()
128 rootTask.positionChildAt(WindowContainer.POSITION_TOP, task2, false /* includingParents */); in testRootTaskPositionChildAt()
241 task1.addChild(activity2, WindowContainer.POSITION_TOP); in testActivityAndTaskGetsProperType()
302 mDefaultTaskDisplayArea.positionChildAt(POSITION_TOP, organizer.mPrimary, in testSplitScreenMoveToBack()
343 rootHomeTask.reparent(secondaryRootTask, POSITION_TOP); in testRemoveOrganizedTask_UpdateRootTaskReference()
451 final TaskDisplayArea taskDisplayArea = addNewDisplayContentAt(DisplayContent.POSITION_TOP) in testMoveRootTaskToBackIncludingParent()
1035 mDefaultTaskDisplayArea.positionChildAt(onTop ? POSITION_TOP : POSITION_BOTTOM, task, in createTaskForShouldBeVisibleTest()
1225 final DisplayContent display = addNewDisplayContentAt(DisplayContent.POSITION_TOP); in testFinishCurrentActivity()
DAppTransitionTests.java46 import static com.android.server.wm.WindowContainer.POSITION_TOP;
214 activity.getTask().addChild(taskFragment, POSITION_TOP); in testTaskFragmentChange()
215 activity.reparent(taskFragment, POSITION_TOP); in testTaskFragmentChange()
458 activity.reparent(taskFragment, POSITION_TOP); in testActivityRecordReparentedToTaskFragment()
DSizeCompatTests.java69 import static com.android.server.wm.WindowContainer.POSITION_TOP;
1285 mTask.reparent(organizer.mPrimary, POSITION_TOP, in testAlwaysSandboxDisplayApis_configEnabled_sandboxingApplied_resizableSplit()
1569 mTask.reparent(organizer.mPrimary, POSITION_TOP, /* moveParents= */ false , "test"); in testOverrideMinAspectRatioLargeForResizableAppInSplitScreen()
1838 mTask.reparent(organizer.mPrimary, POSITION_TOP, /* moveParents= */ false , "test"); in testDefaultLetterboxAspectRatioForMultiWindowMode_fixedOrientationApp()
1874 mTask.reparent(organizer.mPrimary, POSITION_TOP, /* moveParents= */ false , "test"); in testDefaultLetterboxAspectRatioForMultiWindowMode_fixedOrientationAppWithMinRatio()
2024 mTask.reparent(organizer.mPrimary, POSITION_TOP, /* moveParents= */ false , "test");
2383 mTask.reparent(organizer.mPrimary, POSITION_TOP, /* moveParents= */ false , "test");
2419 mTask.reparent(organizer.mPrimary, POSITION_TOP, /* moveParents= */ false , "test");
2560 mTask.reparent(organizer.mPrimary, POSITION_TOP, /* moveParents= */ false , "test");
2588 mTask.reparent(organizer.mPrimary, POSITION_TOP, /* moveParents= */ false , "test");
[all …]
DActivityStarterTests.java63 import static com.android.server.wm.WindowContainer.POSITION_TOP;
908 mRootWindowContainer.positionChildAt(POSITION_TOP, secondaryDisplay, in testBringTaskToFrontOnSecondaryDisplay()
1244 sourceRecord.getTask().addChild(taskFragment, POSITION_TOP); in testStartActivityInner_inTaskFragment_failsByDefault()
1260 sourceRecord.getTask().addChild(taskFragment, POSITION_TOP); in testStartActivityInner_inTaskFragment_allowedForSystemUid()
1278 sourceRecord.getTask().addChild(taskFragment, POSITION_TOP); in testStartActivityInner_inTaskFragment_allowedForSameUid()
1296 sourceRecord.getTask().addChild(taskFragment, POSITION_TOP); in testStartActivityInner_inTaskFragment_allowedTrustedCertUid()
1322 sourceRecord.getTask().addChild(taskFragment, POSITION_TOP); in testStartActivityInner_inTaskFragment_allowedForUntrustedEmbedding()
1467 task.addChild(taskFragment, POSITION_TOP); in testCanEmbedActivity()
DRecentsAnimationTest.java38 import static com.android.server.wm.WindowContainer.POSITION_TOP;
132 defaultTaskDisplayArea.positionChildAt(POSITION_TOP, homeStack, in testPreloadRecentsActivity()
DLaunchParamsModifierTestsBase.java57 final TestDisplayContent display = addNewDisplayContentAt(DisplayContent.POSITION_TOP); in createNewDisplayContent()
DWindowProcessControllerTests.java141 .setPosition(DisplayContent.POSITION_TOP) in testDisplayAreaConfigurationListener_verifyConfig()
221 .setDensityDpi(300).setPosition(DisplayContent.POSITION_TOP).build(); in testConfigurationForSecondaryScreenDisplayArea()
DTaskFragmentTest.java48 import static com.android.server.wm.WindowContainer.POSITION_TOP;
443 activity.reparent(task, POSITION_TOP); in testEmbeddedActivityExitPip_notifyOrganizer()
465 activity.reparent(taskFragment, WindowContainer.POSITION_TOP); in testIsReadyToTransit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
DComplicationLayoutParams.java35 POSITION_TOP,
43 public static final int POSITION_TOP = 1 << 0; field in ComplicationLayoutParams
51 private static final int FIRST_POSITION = POSITION_TOP;
91 { POSITION_BOTTOM | POSITION_TOP, POSITION_END | POSITION_START };
98 INVALID_DIRECTIONS.put(POSITION_TOP, DIRECTION_UP); in INVALID_DIRECTIONS.put() argument
DComplicationLayoutEngine.java26 import static com.android.systemui.complication.ComplicationLayoutParams.POSITION_TOP;
208 case ComplicationLayoutParams.POSITION_TOP: in applyLayoutParams()
624 addToMapping(mapping, POSITION_START | POSITION_TOP, DIRECTION_END, topMargins); in generatePositionDirectionalMarginsMapping()
625 addToMapping(mapping, POSITION_START | POSITION_TOP, DIRECTION_DOWN, startMargins); in generatePositionDirectionalMarginsMapping()
630 addToMapping(mapping, POSITION_END | POSITION_TOP, DIRECTION_START, topMargins); in generatePositionDirectionalMarginsMapping()
631 addToMapping(mapping, POSITION_END | POSITION_TOP, DIRECTION_DOWN, endMargins); in generatePositionDirectionalMarginsMapping()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dream/dagger/
DMediaComplicationComponent.java95 ComplicationLayoutParams.POSITION_TOP in provideLayoutParams()
/frameworks/base/services/core/java/com/android/server/wm/
DRootDisplayArea.java99 imeContainer.reparent(imeDisplayAreas.get(0), POSITION_TOP); in placeImeContainer()
DWindowOrganizerController.java82 import static com.android.server.wm.WindowContainer.POSITION_TOP;
1457 activity.reparent(taskFragment, POSITION_TOP); in applyTaskFragmentOperation()
1844 hop.getToTop() ? POSITION_TOP : POSITION_BOTTOM, in sanitizeAndApplyHierarchyOp()
1855 hop.getToTop() ? POSITION_TOP : POSITION_BOTTOM, rootTask, in sanitizeAndApplyHierarchyOp()
1870 hop.getToTop() ? POSITION_TOP : POSITION_BOTTOM, in sanitizeAndApplyHierarchyOp()
1985 hop.getToTop() ? POSITION_TOP : POSITION_BOTTOM, in reparentChildrenTasksHierarchyOp()
2385 position = pairedPosition != -1 ? pairedPosition + 1 : POSITION_TOP; in createTaskFragment()
2392 position = pairedPosition != -1 ? pairedPosition + 1 : POSITION_TOP; in createTaskFragment()
2394 position = POSITION_TOP; in createTaskFragment()
DTaskDisplayArea.java253 positionChildAt(POSITION_TOP, rootTask, false /* includingParents */);
403 getParent().positionChildAt(moveToTop ? POSITION_TOP : POSITION_BOTTOM,
618 if (requestedPosition == POSITION_TOP) {
905 final int position = onTop ? POSITION_TOP : POSITION_BOTTOM;
1833 task.reparent(launchRoot == null ? toDisplayArea : launchRoot, POSITION_TOP);
DWallpaperWindowToken.java109 final int position = showWhenLocked ? POSITION_BOTTOM : POSITION_TOP; in setShowWhenLocked()
DDisplayArea.java148 && (position == POSITION_TOP || position == POSITION_BOTTOM)) { in positionChildAt()
237 getParent().asDisplayArea().positionChildAt(POSITION_TOP, this, in setAlwaysOnTop()

12