Home | History | Annotate | Download | only in contactgrid

Lines Matching refs:state

25 import com.android.incallui.call.DialerCall.State;
75 public static Info getInfo(Context context, PrimaryCallState state, PrimaryInfo primaryInfo) {
77 boolean isTimerVisible = state.state() == State.ACTIVE;
78 boolean isForwardIconVisible = state.isForwardedNumber();
79 boolean isWorkIconVisible = state.isWorkCall();
80 boolean isHdIconVisible = state.isHdAudioCall() && !isForwardIconVisible;
81 boolean isHdAttemptingIconVisible = state.isHdAttempting();
85 if (isIncoming(state) && primaryInfo.isSpam()) {
89 } else if (state.state() == State.DISCONNECTING) {
90 // While in the DISCONNECTING state we display a "Hanging up" message in order to make the UI
92 // negotiating the disconnect with the network, so the "Hanging up" state at least lets the
93 // user know that we're doing something. This state is currently not used with CDMA.)
95 } else if (state.state() == State.DISCONNECTED) {
96 label = state.disconnectCause().getLabel();
136 private static boolean isIncoming(PrimaryCallState state) {
137 return state.state() == State.INCOMING || state.state() == State.CALL_WAITING;