Home
last modified time | relevance | path

Searched refs:mTaskRecord (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DTask.java117 TaskRecord mTaskRecord; field in Task
128 mTaskRecord = taskRecord; in Task()
129 if (mTaskRecord != null) { in Task()
132 mTaskRecord.registerConfigurationChangeListener(this); in Task()
207 if (mTaskRecord != null) { in removeImmediately()
208 mTaskRecord.unregisterConfigurationChangeListener(this); in removeImmediately()
334 if (mTaskRecord != null && mTaskRecord.getParent() != null) { in onDescendantOrientationChanged()
335 mTaskRecord.onConfigurationChanged(mTaskRecord.getParent().getConfiguration()); in onDescendantOrientationChanged()
585 if (mTaskRecord != null) { in adjustBoundsForDisplayChangeIfNeeded()
586 mTaskRecord.requestResize(getBounds(), RESIZE_MODE_SYSTEM_SCREEN_ROTATION); in adjustBoundsForDisplayChangeIfNeeded()
[all …]
DAppWindowToken.java1660 && (task.mTaskRecord == null || task.mTaskRecord in onConfigurationChanged()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTestsBase.java192 private TaskRecord mTaskRecord; field in ActivityTestsBase.ActivityBuilder
219 mTaskRecord = task; in setTask()
256 mTaskRecord = new TaskBuilder(mService.mStackSupervisor) in build()
290 if (mTaskRecord != null) { in build()
291 mTaskRecord.addActivityToTop(activity); in build()
422 mockTask.mTaskRecord = this; in setTask()
DAppWindowTokenTests.java352 mTask.mTaskRecord = Mockito.mock(TaskRecord.class, RETURNS_DEEP_STUBS); in testReportOrientationChangeOnVisibilityChange()
357 verify(mTask.mTaskRecord).onConfigurationChanged(any(Configuration.class)); in testReportOrientationChangeOnVisibilityChange()
374 mTask.mTaskRecord = Mockito.mock(TaskRecord.class, RETURNS_DEEP_STUBS); in testReportOrientationChangeOnOpeningClosingAppChange()
378 verify(mTask.mTaskRecord).onConfigurationChanged(any(Configuration.class)); in testReportOrientationChangeOnOpeningClosingAppChange()
DDisplayContentTests.java662 window.getTask().mTaskRecord = mock(TaskRecord.class, ExtendedMockito.RETURNS_DEEP_STUBS); in testOnDescendantOrientationRequestChanged()
688 window.getTask().mTaskRecord = mock(TaskRecord.class, ExtendedMockito.RETURNS_DEEP_STUBS); in testOnDescendantOrientationRequestChanged_FrozenToUserRotation()