Removing custom state definition from FastBitmapDrawable

> For Fast scrolling, using state list animator defined in xml
> For Pressed state, using onState change method in a drawable

Change-Id: Ia608690f593938cf0f77e00afcc2a3076e48d8f4
This commit is contained in:
Sunny Goyal
2017-02-16 13:33:15 -08:00
parent f28629a47b
commit 2a76e3fbc6
7 changed files with 135 additions and 235 deletions
@@ -36,10 +36,6 @@ import com.android.launcher3.util.Themes;
*/
public class BaseRecyclerViewFastScrollBar {
public interface FastScrollFocusableView {
void setFastScrollFocusState(final FastBitmapDrawable.State focusState, boolean animated);
}
private static final Property<BaseRecyclerViewFastScrollBar, Integer> TRACK_WIDTH =
new Property<BaseRecyclerViewFastScrollBar, Integer>(Integer.class, "width") {