Refine logs for debugging TaplTestQuickStep.testOverviewActions on cf_foldables

- The failure is not reproducible locally, thus requires adding logs and check ATP result
- Removed some redundant logs
- Changed to log at VERBOSE
- Added extensive logging to all visibility/enable/alpha setter of ActionsView

Bug: 193125090
Test: Manual
Change-Id: I5b449a7f86ea4cef65e0e46de4b389deef9f53f3
This commit is contained in:
Alex Chau committed 2021-07-09 13:32:49 +01:00
1 parent 12b2742780
commit 1e767a6ecc
5 files changed
+19 -13

No files matched your search

@@ -32,6 +32,8 @@ import static com.android.quickstep.views.RecentsView.TASK_MODALNESS;
import static com.android.quickstep.views.RecentsView.TASK_SECONDARY_TRANSLATION;
import static com.android.quickstep.views.TaskView.FLAG_UPDATE_ALL;
import android.util.Log;
import com.android.launcher3.anim.PendingAnimation;
import com.android.launcher3.anim.PropertySetter;
import com.android.launcher3.statemanager.StateManager.StateHandler;
@@ -82,6 +84,8 @@ public class FallbackRecentsStateController implements StateHandler<RecentsState
float overviewButtonAlpha = state.hasOverviewActions() ? 1 : 0;
setter.setFloat(mActivity.getActionsView().getVisibilityAlpha(),
MultiValueAlpha.VALUE, overviewButtonAlpha, LINEAR);
Log.v("b/193125090",
"FallbackRecentsStateController - setVisibilityAlpha: " + overviewButtonAlpha);
float[] scaleAndOffset = state.getOverviewScaleAndOffset(mActivity);
setter.setFloat(mRecentsView, RECENTS_SCALE_PROPERTY, scaleAndOffset[0],