Lines Matching refs:State
137 @IntDef({State.INIT, State.RUNNING, State.SUCCESS, State.ERROR})
138 public @interface State { annotation in SidecarFragment
174 @State private int mState;
197 setState(State.INIT, Substate.UNUSED); in onCreate()
238 @State
257 setState(State.INIT, Substate.UNUSED); in reset()
268 protected void setState(@State int state, @Substate int substate) { in setState()
294 case SidecarFragment.State.INIT: in printState()
297 case SidecarFragment.State.RUNNING: in printState()
300 case SidecarFragment.State.SUCCESS: in printState()
303 case SidecarFragment.State.ERROR: in printState()
334 public static final States SUCCESS = States.create(State.SUCCESS, Substate.UNUSED);
335 public static final States ERROR = States.create(State.ERROR, Substate.UNUSED);
337 @State public final int state;
341 public static States create(@State int state, @Substate int substate) { in create()
345 public States(@State int state, @Substate int substate) { in States()