Home
last modified time | relevance | path

Searched refs:mDisplayId (Results 1 – 17 of 17) sorted by relevance

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DDisplayMetricsSession.java33 private final int mDisplayId; field in DisplayMetricsSession
36 mDisplayId = displayId; in DisplayMetricsSession()
38 mDisplayId); in DisplayMetricsSession()
46 return ReportedDisplayMetrics.getDisplayMetrics(mDisplayId); in getDisplayMetrics()
DTouchHelper.java126 tapOnCenter(task.getBounds(), task.mDisplayId); in tapOnTaskCenter()
175 tapOnDisplay(x, y, task.mDisplayId, false /* sync*/); in tapOnTaskCenterAsync()
DActivityManagerTestBase.java1054 .setDisplayId(rootTask.mDisplayId) in moveActivityToRootTaskOrOnTop()
2386 private int mDisplayId = INVALID_DISPLAY;
2475 mDisplayId = id;
2599 b.putInt(KEY_DISPLAY_ID, mDisplayId);
2627 : getAmStartCmd(mLaunchingActivity, mDisplayId)
2658 if (mDisplayId != INVALID_DISPLAY) {
2659 commandBuilder.append(" --ei " + KEY_DISPLAY_ID + " ").append(mDisplayId);
2812 final int mDisplayId;
2829 executeShellCommand(WM_SIZE + " reset -d " + mDisplayId);
2834 executeShellCommand(WM_DENSITY + " reset -d " + mDisplayId);
[all …]
DWindowManagerState.java699 return getRootTask(task.mRootTaskId).mDisplayId; in getDisplayByActivity()
927 return getRootTasksCount(t -> t.mDisplayId == displayId); in getRootTasksCount()
1430 public int mDisplayId; field in WindowManagerState.Task
1454 mDisplayId = proto.taskFragment.displayId; in Task()
1625 public int mDisplayId;
1635 mDisplayId = proto.displayId;
2098 private int mDisplayId;
2117 mDisplayId = proto.displayId;
2179 return mDisplayId;
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DVrDisplayTests.java151 focusedTask.mDisplayId); in testVrActivityLaunch()
201 focusedTask.mDisplayId); in testVrActivityReLaunch()
251 focusedTask.mDisplayId); in testActivityLaunchPostVr()
279 DEFAULT_DISPLAY, frontRootTask.mDisplayId); in testActivityLaunchPostVr()
DWindowFocusTests.java357 private int mDisplayId = INVALID_DISPLAY; field in WindowFocusTests.InputTargetActivity
366 mDisplayId = getWindow().getDecorView().getDisplay().getDisplayId(); in onAttachedToWindow()
374 mDisplayId = displayId; in onMovedToDisplay()
381 if (mDisplayId != displayId) { in waitAndAssertDisplayId()
388 displayId, mDisplayId); in waitAndAssertDisplayId() local
DActivityRecordInputSinkTests.java150 int displayId = mWmState.getTaskByActivity(OVERLAY_IN_DIFFERENT_UID).mDisplayId; in testOverlappingActivitySandwichDuringAnimation_DoesNotBlockTouches()
175 int displayId = activity.getTask().mDisplayId; in touchButtonsAndAssert()
DMultiDisplayTestBase.java719 private int mDisplayId = INVALID_DISPLAY; field in MultiDisplayTestBase.ExternalDisplaySession
766 mDisplayId = newDisplay.mId; in createVirtualDisplay()
790 waitForDisplayGone(d -> d.mId == mDisplayId); in close()
791 mDisplayId = INVALID_DISPLAY; in close()
DFreeformWindowingModeTests.java129 .mDisplayId; in testActivityLifeCycleOnResizeFreeformTask()
DDisplayTests.java131 DEFAULT_DISPLAY, frontStack.mDisplayId); in testMultiDisplayDisabled()
DMultiDisplaySecurityTests.java476 DEFAULT_DISPLAY, frontRootTask.mDisplayId); in testPermissionLaunchFromShell()
569 DEFAULT_DISPLAY, frontRootTask.mDisplayId); in testPermissionLaunchFromDifferentApp()
DConfigChangeTests.java220 final int displayId = mWmState.getRootTask(actualStackId).mDisplayId; in testRotation()
DAssistantStackTests.java77 mAssistantDisplayId = assistantStack.mDisplayId; in setUp()
DMultiDisplayPolicyTests.java382 DEFAULT_DISPLAY, frontStack.mDisplayId); in testMoveTaskBetweenDisplays()
DMultiDisplayActivityLaunchTests.java359 newFrontRootTask.mDisplayId); in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask()
DAppConfigurationTests.java216 final int displayId = mWmState.getRootTask(task.mRootTaskId).mDisplayId; in rotateAndCheckSizes()
DPinnedStackTests.java1749 return mWmState.getDisplay(task.mDisplayId) in getDefaultDisplayWindowingMode()