Add temp logging to select task

Bug: 407815700
Test: presubmit
Flag: EXEMPT logging
Change-Id: I8eec794763c4e1619c35ff1bf26d64c287a6bd27
This commit is contained in:
Alex Chau
2025-05-09 14:31:50 +01:00
parent f2fff33546
commit 7ea16a5408
2 changed files with 9 additions and 1 deletions

View File

@@ -525,6 +525,14 @@ class RecentsViewUtils(private val recentsView: RecentsView<*, *>) : DesktopVisi
)
val modalPivot = PointF()
getPivotsForScalingRectToRect(modalTaskBounds, selectedTaskBounds, modalPivot)
Log.d(
"b/407815700",
"onSelectedTaskViewUpdated\n" +
"modalTaskBounds: $modalTaskBounds\n" +
"selectedTaskBounds: $selectedTaskBounds\n" +
"modalScale: $modalScale\n" +
"modalPivot: $modalPivot",
)
newSelectedTaskView.modalScale = modalScale
newSelectedTaskView.modalPivot = modalPivot

View File

@@ -345,7 +345,7 @@ constructor(
* The modalness of this view is how it should be displayed when it is shown on its own in the
* modal state of overview. 0 being in context with other tasks, 1 being shown on its own.
*/
protected var modalness = 0f
var modalness = 0f
set(value) {
if (field == value) {
return