Lines Matching refs:InCallState
22 import com.android.incallui.InCallPresenter.InCallState;
129 * Handles changes in the {@link InCallState}. Triggers pause and resumption of video for the
132 * @param oldState The previous {@link InCallState}.
133 * @param newState The current {@link InCallState}.
137 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) {
139 if (newState == InCallState.INCOMING) {
141 } else if (newState == InCallState.WAITING_FOR_ACCOUNT) {
143 } else if (newState == InCallState.PENDING_OUTGOING) {
145 } else if (newState == InCallState.OUTGOING) {
217 * @param oldState the old {@link InCallState}.
218 * @param newState the new {@link InCallState}.
222 public void onIncomingCall(InCallState oldState, InCallState newState, DialerCall call) {
264 final boolean isInCall = mInCallPresenter.getInCallState() == InCallState.INCALL;