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
2021-07-09 13:29:50 +01:00
parent 12b2742780
commit 1e767a6ecc
5 changed files with 19 additions and 13 deletions

View File

@@ -30,6 +30,7 @@ import static com.android.quickstep.views.TaskView.FLAG_UPDATE_ALL;
import android.annotation.TargetApi;
import android.os.Build;
import android.util.FloatProperty;
import android.util.Log;
import androidx.annotation.NonNull;
@@ -110,6 +111,8 @@ public final class RecentsViewStateController extends
propertySetter.setFloat(mLauncher.getActionsView().getVisibilityAlpha(),
MultiValueAlpha.VALUE, overviewButtonAlpha, config.getInterpolator(
ANIM_OVERVIEW_ACTIONS_FADE, LINEAR));
Log.v("b/193125090",
"RecentsViewStateController - setVisibilityAlpha: " + overviewButtonAlpha);
float splitPlaceholderAlpha = state.areElementsVisible(mLauncher, SPLIT_PLACHOLDER_VIEW) ?
0.85f : 0;