StateSet

Class of android.util · StateSet.java · Android's reference

public class StateSet

View state sets: a spec's positive states must be set, its negative ones (as -state) must not.

Fields

public static final int[] WILD_CARD source
public static final int[] NOTHING source

Methods

public static boolean isWildCard(int[] stateSetOrSpec) source
public static boolean stateSetMatches(int[] spec, int[] stateSet) source
public static boolean stateSetMatches(int[] spec, int state) source
public static int[] trimStateSet(int[] states, int newSize) source
public static String dump(int[] states) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.