Home
last modified time | relevance | path

Searched refs:appCompatTaskInfo (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DReachabilityEduWindowManager.java93 final AppCompatTaskInfo appCompatTaskInfo = taskInfo.appCompatTaskInfo; in ReachabilityEduWindowManager() local
94 mIsLetterboxDoubleTapEnabled = appCompatTaskInfo.isLetterboxDoubleTapEnabled; in ReachabilityEduWindowManager()
95 mLetterboxVerticalPosition = appCompatTaskInfo.topActivityLetterboxVerticalPosition; in ReachabilityEduWindowManager()
96 mLetterboxHorizontalPosition = appCompatTaskInfo.topActivityLetterboxHorizontalPosition; in ReachabilityEduWindowManager()
97 mTopActivityLetterboxWidth = appCompatTaskInfo.topActivityLetterboxWidth; in ReachabilityEduWindowManager()
98 mTopActivityLetterboxHeight = appCompatTaskInfo.topActivityLetterboxHeight; in ReachabilityEduWindowManager()
150 final AppCompatTaskInfo appCompatTaskInfo = taskInfo.appCompatTaskInfo; in updateCompatInfo() local
151 mIsLetterboxDoubleTapEnabled = appCompatTaskInfo.isLetterboxDoubleTapEnabled; in updateCompatInfo()
152 mLetterboxVerticalPosition = appCompatTaskInfo.topActivityLetterboxVerticalPosition; in updateCompatInfo()
153 mLetterboxHorizontalPosition = appCompatTaskInfo.topActivityLetterboxHorizontalPosition; in updateCompatInfo()
[all …]
DCompatUIWindowManager.java83 mHasSizeCompat = taskInfo.appCompatTaskInfo.topActivityInSizeCompat; in CompatUIWindowManager()
89 taskInfo.appCompatTaskInfo.cameraCompatTaskInfo.cameraCompatControlState; in CompatUIWindowManager()
142 mHasSizeCompat = taskInfo.appCompatTaskInfo.topActivityInSizeCompat; in updateCompatInfo()
148 taskInfo.appCompatTaskInfo.cameraCompatTaskInfo.cameraCompatControlState; in updateCompatInfo()
236 final int letterboxWidth = taskInfo.appCompatTaskInfo.topActivityLetterboxWidth; in shouldShowSizeCompatRestartButton()
237 final int letterboxHeight = taskInfo.appCompatTaskInfo.topActivityLetterboxHeight; in shouldShowSizeCompatRestartButton()
DCompatUIController.java247 if (taskInfo != null && !taskInfo.appCompatTaskInfo.topActivityInSizeCompat) { in onCompatInfoChanged()
265 if (!taskInfo.appCompatTaskInfo.isFromLetterboxDoubleTap in onCompatInfoChanged()
266 && !taskInfo.appCompatTaskInfo.topActivityInSizeCompat) { in onCompatInfoChanged()
271 if (taskInfo.appCompatTaskInfo.topActivityBoundsLetterboxed) { in onCompatInfoChanged()
272 if (taskInfo.appCompatTaskInfo.isLetterboxEducationEnabled) { in onCompatInfoChanged()
274 } else if (!taskInfo.appCompatTaskInfo.isFromLetterboxDoubleTap) { in onCompatInfoChanged()
281 taskInfo.appCompatTaskInfo.isTopActivityPillarboxed(); in onCompatInfoChanged()
291 if (taskInfo.appCompatTaskInfo.isLetterboxDoubleTapEnabled) { in onCompatInfoChanged()
302 if (taskInfo.appCompatTaskInfo.isLetterboxDoubleTapEnabled) { in onCompatInfoChanged()
314 if (!taskInfo.appCompatTaskInfo.isFromLetterboxDoubleTap) { in onCompatInfoChanged()
DLetterboxEduWindowManager.java107 taskInfo.appCompatTaskInfo.topActivityEligibleForLetterboxEducation; in LetterboxEduWindowManager()
209 taskInfo.appCompatTaskInfo.topActivityEligibleForLetterboxEducation; in updateCompatInfo()
DUserAspectRatioSettingsWindowManager.java93 taskInfo.appCompatTaskInfo, taskInfo.baseIntent); in UserAspectRatioSettingsWindowManager()
140 taskInfo.appCompatTaskInfo, taskInfo.baseIntent); in updateCompatInfo()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeUtils.kt62 Size(taskInfo.appCompatTaskInfo.topActivityLetterboxWidth, idealSize.height) in calculateInitialBounds()
78 taskInfo.appCompatTaskInfo.topActivityLetterboxHeight in calculateInitialBounds()
141 if (taskInfo.appCompatTaskInfo.topActivityBoundsLetterboxed) { in calculateAspectRatio()
142 val appLetterboxWidth = taskInfo.appCompatTaskInfo.topActivityLetterboxWidth in calculateAspectRatio()
143 val appLetterboxHeight = taskInfo.appCompatTaskInfo.topActivityLetterboxHeight in calculateAspectRatio()
/frameworks/base/core/java/android/app/
DTaskInfo.java303 public AppCompatTaskInfo appCompatTaskInfo = AppCompatTaskInfo.create(); field in TaskInfo
432 && appCompatTaskInfo.equalsForTaskOrganizer(that.appCompatTaskInfo); in equalsForTaskOrganizer()
443 final boolean hasCompatUI = appCompatTaskInfo.hasCompatUI(); in equalsForCompatUi()
448 && appCompatTaskInfo.equalsForCompatUi(that.appCompatTaskInfo) in equalsForCompatUi()
501 appCompatTaskInfo = source.readTypedObject(AppCompatTaskInfo.CREATOR); in readFromParcel()
548 dest.writeTypedObject(appCompatTaskInfo, flags); in writeToParcel()
585 + " appCompatTaskInfo=" + appCompatTaskInfo in toString()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
DCompatUIWindowManagerTest.java169 mTaskInfo.appCompatTaskInfo.topActivityLetterboxWidth = TASK_WIDTH; in testCreateSizeCompatButton()
170 mTaskInfo.appCompatTaskInfo.topActivityLetterboxHeight = TASK_HEIGHT; in testCreateSizeCompatButton()
342 taskInfo.appCompatTaskInfo.topActivityLetterboxWidth = TASK_WIDTH; in testUpdateCompatInfoLayoutNotInflatedYet()
343 taskInfo.appCompatTaskInfo.topActivityLetterboxHeight = TASK_HEIGHT; in testUpdateCompatInfoLayoutNotInflatedYet()
518 taskInfo.appCompatTaskInfo.topActivityLetterboxHeight = TASK_HEIGHT; in testShouldShowSizeCompatRestartButton()
519 taskInfo.appCompatTaskInfo.topActivityLetterboxWidth = 1850; in testShouldShowSizeCompatRestartButton()
524 taskInfo.appCompatTaskInfo.topActivityLetterboxWidth = 1000; in testShouldShowSizeCompatRestartButton()
541 taskInfo.appCompatTaskInfo.topActivityLetterboxWidth = 950; in testShouldShowSizeCompatRestartButton()
542 taskInfo.appCompatTaskInfo.topActivityLetterboxHeight = 1900; in testShouldShowSizeCompatRestartButton()
550 taskInfo.appCompatTaskInfo.topActivityInSizeCompat = hasSizeCompat; in createTaskInfo()
[all …]
DUserAspectRatioSettingsWindowManagerTest.java278 taskInfo.appCompatTaskInfo.topActivityLetterboxHeight = stableHeight; in testEligibleButtonHiddenIfLetterboxBoundsEqualToStableBounds()
279 taskInfo.appCompatTaskInfo.topActivityLetterboxWidth = stableBounds.width(); in testEligibleButtonHiddenIfLetterboxBoundsEqualToStableBounds()
286 taskInfo.appCompatTaskInfo.topActivityLetterboxHeight = stableHeight - 100; in testEligibleButtonHiddenIfLetterboxBoundsEqualToStableBounds()
303 taskInfo.appCompatTaskInfo.topActivityLetterboxHeight = stableBounds.height(); in testUserFullscreenOverrideEnabled_buttonAlwaysShown()
304 taskInfo.appCompatTaskInfo.topActivityLetterboxWidth = stableBounds.width(); in testUserFullscreenOverrideEnabled_buttonAlwaysShown()
305 taskInfo.appCompatTaskInfo.isUserFullscreenOverrideEnabled = true; in testUserFullscreenOverrideEnabled_buttonAlwaysShown()
462 taskInfo.appCompatTaskInfo.topActivityEligibleForUserAspectRatioButton = in createTaskInfo()
464 taskInfo.appCompatTaskInfo.topActivityBoundsLetterboxed = topActivityBoundsLetterboxed; in createTaskInfo()
DCompatUILayoutTest.java224 taskInfo.appCompatTaskInfo.topActivityInSizeCompat = hasSizeCompat; in createTaskInfo()
225 taskInfo.appCompatTaskInfo.cameraCompatTaskInfo.cameraCompatControlState = in createTaskInfo()
227 taskInfo.appCompatTaskInfo.topActivityLetterboxHeight = 1000; in createTaskInfo()
228 taskInfo.appCompatTaskInfo.topActivityLetterboxWidth = 1000; in createTaskInfo()
DUserAspectRatioSettingsLayoutTest.java150 taskInfo.appCompatTaskInfo.topActivityInSizeCompat = hasSizeCompat; in createTaskInfo()
151 taskInfo.appCompatTaskInfo.cameraCompatTaskInfo.cameraCompatControlState = in createTaskInfo()
DCompatUIControllerTest.java675 taskInfo.appCompatTaskInfo.isLetterboxEducationEnabled = false; in testLetterboxEduLayout_notCreatedWhenLetterboxEducationIsDisabled()
703 taskInfo.appCompatTaskInfo.topActivityInSizeCompat = hasSizeCompat; in createTaskInfo()
704 taskInfo.appCompatTaskInfo.cameraCompatTaskInfo.cameraCompatControlState = in createTaskInfo()
709 taskInfo.appCompatTaskInfo.isLetterboxEducationEnabled = true; in createTaskInfo()
710 taskInfo.appCompatTaskInfo.topActivityBoundsLetterboxed = true; in createTaskInfo()
DLetterboxEduWindowManagerTest.java480 taskInfo.appCompatTaskInfo.topActivityEligibleForLetterboxEducation = eligible; in createTaskInfo()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DShellTaskOrganizerTests.java368 taskInfo1.appCompatTaskInfo.topActivityInSizeCompat = false; in testOnSizeCompatActivityChanged()
381 taskInfo2.appCompatTaskInfo.topActivityInSizeCompat = true; in testOnSizeCompatActivityChanged()
391 taskInfo3.appCompatTaskInfo.topActivityInSizeCompat = true; in testOnSizeCompatActivityChanged()
406 taskInfo1.appCompatTaskInfo.topActivityEligibleForLetterboxEducation = false; in testOnEligibleForLetterboxEducationActivityChanged()
421 taskInfo2.appCompatTaskInfo.topActivityEligibleForLetterboxEducation = true; in testOnEligibleForLetterboxEducationActivityChanged()
431 taskInfo3.appCompatTaskInfo.topActivityEligibleForLetterboxEducation = true; in testOnEligibleForLetterboxEducationActivityChanged()
446 taskInfo1.appCompatTaskInfo.cameraCompatTaskInfo.cameraCompatControlState = in testOnCameraCompatActivityChanged()
461 taskInfo2.appCompatTaskInfo.cameraCompatTaskInfo.cameraCompatControlState = in testOnCameraCompatActivityChanged()
473 taskInfo3.appCompatTaskInfo.cameraCompatTaskInfo.cameraCompatControlState = in testOnCameraCompatActivityChanged()
485 taskInfo4.appCompatTaskInfo.topActivityInSizeCompat = true; in testOnCameraCompatActivityChanged()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/
DCustomCrossActivityBackAnimationTest.kt67 @Mock private lateinit var appCompatTaskInfo: AppCompatTaskInfo variable in com.android.wm.shell.back.CustomCrossActivityBackAnimationTest
232 taskInfo.appCompatTaskInfo = appCompatTaskInfo in backMotionEventFrom()
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java3448 final AppCompatTaskInfo appCompatTaskInfo = info.appCompatTaskInfo;
3450 appCompatTaskInfo.topActivityInSizeCompat = isTopActivityVisible && top.inSizeCompatMode();
3451 if (appCompatTaskInfo.topActivityInSizeCompat
3454 appCompatTaskInfo.topActivityInSizeCompat = top.fillsParent();
3457 appCompatTaskInfo.topActivityEligibleForLetterboxEducation = isTopActivityResumed
3459 appCompatTaskInfo.isLetterboxEducationEnabled = top != null
3462 appCompatTaskInfo.cameraCompatTaskInfo.cameraCompatControlState = isTopActivityResumed
3475 appCompatTaskInfo.topActivityLetterboxVerticalPosition = TaskInfo.PROPERTY_VALUE_UNSET;
3476 appCompatTaskInfo.topActivityLetterboxHorizontalPosition = TaskInfo.PROPERTY_VALUE_UNSET;
3477 appCompatTaskInfo.topActivityLetterboxWidth = TaskInfo.PROPERTY_VALUE_UNSET;
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopTasksControllerTest.kt1651 appCompatTaskInfo.topActivityBoundsLetterboxed = true in <lambda>()
1652 appCompatTaskInfo.topActivityLetterboxWidth = 1200 in <lambda>()
1653 appCompatTaskInfo.topActivityLetterboxHeight = 1600 in <lambda>()
1657 appCompatTaskInfo.topActivityBoundsLetterboxed = true in <lambda>()
1658 appCompatTaskInfo.topActivityLetterboxWidth = 1600 in <lambda>()
1659 appCompatTaskInfo.topActivityLetterboxHeight = 1200 in <lambda>()
1662 appCompatTaskInfo.topActivityBoundsLetterboxed = false in <lambda>()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskTests.java626 .appCompatTaskInfo.topActivityEligibleForUserAspectRatioButton); in testTopActivityEligibleForUserAspectRatioButton()
632 .appCompatTaskInfo.topActivityEligibleForUserAspectRatioButton); in testTopActivityEligibleForUserAspectRatioButton()
639 .appCompatTaskInfo.topActivityEligibleForUserAspectRatioButton); in testTopActivityEligibleForUserAspectRatioButton()
645 .appCompatTaskInfo.topActivityEligibleForUserAspectRatioButton); in testTopActivityEligibleForUserAspectRatioButton()
2020 task.getTaskInfo().appCompatTaskInfo.cameraCompatTaskInfo.freeformCameraCompatMode); in getTaskInfoPropagatesCameraCompatMode()
DWindowOrganizerTests.java1681 assertTrue(info.appCompatTaskInfo.topActivityInSizeCompat); in testSizeCompatModeChangedOnFirstOrganizedTask()
1691 assertFalse(info.appCompatTaskInfo.topActivityInSizeCompat); in testSizeCompatModeChangedOnFirstOrganizedTask()
1702 assertFalse(info.appCompatTaskInfo.topActivityInSizeCompat); in testSizeCompatModeChangedOnFirstOrganizedTask()
DSizeCompatTests.java888 assertTrue(taskInfo.appCompatTaskInfo.topActivityInSizeCompat); in testHandleActivitySizeCompatModeChanged()
903 assertFalse(taskInfo.appCompatTaskInfo.topActivityInSizeCompat); in testHandleActivitySizeCompatModeChanged()
921 assertTrue(taskInfo.appCompatTaskInfo.topActivityInSizeCompat); in testHandleActivitySizeCompatModeChangedOnDifferentTask()
941 assertTrue(taskInfo.appCompatTaskInfo.topActivityInSizeCompat); in testHandleActivitySizeCompatModeChangedOnDifferentTask()
4534 assertTrue(mTask.getTaskInfo().appCompatTaskInfo.topActivityInSizeCompat);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DCrossActivityBackAnimation.kt173 isLetterboxed = closingTarget!!.taskInfo.appCompatTaskInfo.topActivityBoundsLetterboxed in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/
DShellTaskOrganizer.java779 || !taskInfo.appCompatTaskInfo.hasCompatUI() || !taskInfo.isVisible) { in notifyCompatUI()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java1538 if (taskInfo.appCompatTaskInfo.cameraCompatTaskInfo.freeformCameraCompatMode in getRotationOverrideInternal()