Home
last modified time | relevance | path

Searched refs:splitBounds (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DDigitalWellBeingToast.kt89 var splitBounds: SplitConfigurationOptions.SplitBounds? = null variable
181 val splitBounds = splitBounds in getSplitBannerConfig() constant
183 splitBounds == null || in getSplitBannerConfig()
191 task.key.id == splitBounds.leftTopTaskId -> in getSplitBannerConfig()
192 if (splitBounds.leftTopTaskPercent < THRESHOLD_LEFT_ICON_ONLY) in getSplitBannerConfig()
196 if (splitBounds.leftTopTaskPercent > THRESHOLD_RIGHT_ICON_ONLY) in getSplitBannerConfig()
301 val splitBounds = splitBounds in getContentDescriptionForTask() constant
302 if (splitBounds == null) { in getContentDescriptionForTask()
311 splitBounds, in getContentDescriptionForTask()
339 splitBounds, in setupTranslations()
[all …]
DGroupedTaskView.kt149 taskContainers.forEach { it.digitalWellBeingToast?.splitBounds = splitBoundsConfig } in bind()
256 fun updateSplitBoundsConfig(splitBounds: SplitConfigurationOptions.SplitBounds?) { in updateSplitBoundsConfig()
257 splitBoundsConfig = splitBounds in updateSplitBoundsConfig()
259 it.digitalWellBeingToast?.splitBounds = splitBoundsConfig in updateSplitBoundsConfig()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DGroupTask.kt97 class SplitTask(task1: Task, task2: Task, val splitBounds: SplitConfigurationOptions.SplitBounds) : constant
101 get() = if (splitBounds.leftTopTaskId == tasks[0].key.id) tasks[0] else tasks[1]
106 override fun copy() = SplitTask(tasks[0], tasks[1], splitBounds) in copy()
114 if (splitBounds != o.splitBounds) return false in copy()
118 override fun hashCode() = Objects.hash(super.hashCode(), splitBounds)
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/util/
DGroupTaskTest.kt63 val splitBounds = in testGroupTask_equalSplitTasks_isEqual() constant
71 val task1 = SplitTask(createTask(1), createTask(2), splitBounds) in testGroupTask_equalSplitTasks_isEqual()
72 val task2 = SplitTask(createTask(1), createTask(2), splitBounds) in testGroupTask_equalSplitTasks_isEqual()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/orientation/
DSeascapePagedViewHandler.kt148 splitBounds: SplitBounds?, in getDwbBannerTranslations()
157 if (splitBounds == null) { in getDwbBannerTranslations()
160 if (desiredTaskId == splitBounds.leftTopTaskId) { in getDwbBannerTranslations()
162 splitBounds.rightBottomTaskPercent + splitBounds.dividerPercent in getDwbBannerTranslations()
DPortraitPagedViewHandler.kt239 splitBounds: SplitConfigurationOptions.SplitBounds?, in getDwbBannerTranslations()
247 if (splitBounds != null) { in getDwbBannerTranslations()
249 if (desiredTaskId == splitBounds.rightBottomTaskId) { in getDwbBannerTranslations()
250 val leftTopTaskPercent = splitBounds.leftTopTaskPercent in getDwbBannerTranslations()
251 val dividerThicknessPercent = splitBounds.dividerPercent in getDwbBannerTranslations()
257 if (desiredTaskId == splitBounds.leftTopTaskId) { in getDwbBannerTranslations()
260 (splitBounds.rightBottomTaskPercent + splitBounds.dividerPercent) in getDwbBannerTranslations()
DLandscapePagedViewHandler.kt272 splitBounds: SplitBounds?, in getDwbBannerTranslations()
281 if (splitBounds == null) { in getDwbBannerTranslations()
284 if (desiredTaskId == splitBounds.leftTopTaskId) { in getDwbBannerTranslations()
288 splitBounds.leftTopTaskPercent + splitBounds.dividerPercent in getDwbBannerTranslations()
DRecentsPagedOrientationHandler.kt321 splitBounds: SplitConfigurationOptions.SplitBounds?, in setSecondary()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DKeyboardQuickSwitchTaskView.java215 @Nullable SplitBounds splitBounds) { in setThumbnailsForSplitTasks() argument
218 if (splitBounds == null) { in setThumbnailsForSplitTasks()
223 final boolean isLeftRightSplit = !splitBounds.appsStackedVertically; in setThumbnailsForSplitTasks()
224 final float leftOrTopTaskPercent = splitBounds.getLeftTopTaskPercent(); in setThumbnailsForSplitTasks()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRemoteTargetGluer.java127 SplitConfigurationOptions.SplitBounds splitBounds) { in assignTargetsForSplitScreen() argument
128 mSplitBounds = splitBounds; in assignTargetsForSplitScreen()