mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Adding some extra logging around draglayer alpha
Bug: 116853349 Change-Id: I8b7ddbfdd74ea422380097e62bea86e160c1651f
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user