Adding some extra logging around draglayer alpha

Bug: 116853349
Change-Id: I8b7ddbfdd74ea422380097e62bea86e160c1651f
This commit is contained in:
Sunny Goyal
2018-10-15 12:30:29 -07:00
parent 7fad0d54ca
commit cb2c505917
3 changed files with 19 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ package com.android.launcher3.util;
import android.util.Property;
import android.view.View;
import java.util.Arrays;
/**
* Utility class to handle separating a single value as a factor of multiple values
*/
@@ -55,6 +57,11 @@ public class MultiValueAlpha {
}
}
@Override
public String toString() {
return Arrays.toString(mMyProperties);
}
public AlphaProperty getProperty(int index) {
return mMyProperties[index];
}
@@ -97,5 +104,10 @@ public class MultiValueAlpha {
public float getValue() {
return mValue;
}
@Override
public String toString() {
return Float.toString(mValue);
}
}
}