mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
Add temp logging to select task
Bug: 407815700 Test: presubmit Flag: EXEMPT logging Change-Id: I8eec794763c4e1619c35ff1bf26d64c287a6bd27
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user