Home
last modified time | relevance | path

Searched refs:mPrimaryBounds (Results 1 – 2 of 2) sorted by relevance

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTestTaskOrganizer.java74 private final Rect mPrimaryBounds = new Rect(); field in TestTaskOrganizer
101 bounds.splitVertically(mPrimaryBounds, mSecondaryBounds); in registerOrganizer()
103 bounds.splitHorizontally(mPrimaryBounds, mSecondaryBounds); in registerOrganizer()
105 Log.i(TAG, "registerOrganizer with PrimaryBounds=" + mPrimaryBounds in registerOrganizer()
206 .setBounds(mRootPrimary.getToken(), mPrimaryBounds) in putTaskInSplitPrimary()
317 return mPrimaryBounds; in getPrimaryTaskBounds()
419 sourceCrop = new Rect(mPrimaryBounds); in addTask()
438 Rect sourceCrop = new Rect(mPrimaryBounds); in addTask()
440 t.setGeometry(leash, sourceCrop, mPrimaryBounds, Surface.ROTATION_0); in addTask()
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/
DSplitActivityLifecycleTest.java69 private final Rect mPrimaryBounds = new Rect(); field in SplitActivityLifecycleTest
154 parentBounds.splitVertically(mPrimaryBounds, mSideBounds); in updateSplitBounds()
155 mPrimaryRelativeBounds.set(mPrimaryBounds); in updateSplitBounds()
158 mSideRelativeBounds.offsetTo(mSideBounds.left - mPrimaryBounds.left, in updateSplitBounds()
159 mSideBounds.top - mPrimaryBounds.top); in updateSplitBounds()
393 assertThat(mTaskFragB.getBounds()).isEqualTo(mPrimaryBounds); in testAdjacentActivityLaunchFromSecondarySplitTaskFragment()