Home
last modified time | relevance | path

Searched refs:DialerCallState (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java45 import com.android.incallui.call.state.DialerCallState;
161 call.getState() == DialerCallState.INCOMING in onCallAdded()
162 || call.getState() == DialerCallState.CALL_WAITING; in onCallAdded()
209 if (call.getState() == DialerCallState.INCOMING in onCallAdded()
210 || call.getState() == DialerCallState.CALL_WAITING) { in onCallAdded()
234 if (call.getState() != DialerCallState.INCOMING) { in onCallAdded()
396 return getFirstCallWithState(DialerCallState.SELECT_PHONE_ACCOUNT); in getWaitingForAccountCall()
400 return getFirstCallWithState(DialerCallState.CONNECTING); in getPendingOutgoingCall()
404 DialerCall call = getFirstCallWithState(DialerCallState.DIALING); in getOutgoingCall()
406 call = getFirstCallWithState(DialerCallState.REDIALING); in getOutgoingCall()
[all …]
DDialerCall.java87 import com.android.incallui.call.state.DialerCallState;
158 private int state = DialerCallState.INVALID;
427 return DialerCallState.CONNECTING; in translateState()
429 return DialerCallState.SELECT_PHONE_ACCOUNT; in translateState()
431 return DialerCallState.DIALING; in translateState()
433 return DialerCallState.PULLING; in translateState()
435 return DialerCallState.INCOMING; in translateState()
437 return DialerCallState.ACTIVE; in translateState()
439 return DialerCallState.ONHOLD; in translateState()
441 return DialerCallState.DISCONNECTED; in translateState()
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DVideoCallPresenter.java43 import com.android.incallui.call.state.DialerCallState;
104 private int currentCallState = DialerCallState.INVALID;
169 boolean isCallActive = callState == DialerCallState.ACTIVE; in showIncomingVideo()
172 DialerCallState.isDialing(callState) || callState == DialerCallState.CONNECTING; in showIncomingVideo()
321 currentCallState = DialerCallState.INVALID; in onVideoCallScreenUiReady()
545 DialerCallState.INVALID, SessionModificationState.NO_REQUEST); in onFullscreenModeChanged()
644 currentCallState = DialerCallState.INVALID; in updateCallCache()
707 callState == DialerCallState.DIALING in updateFullscreenAndGreenScreenMode()
708 || callState == DialerCallState.CONNECTING in updateFullscreenAndGreenScreenMode()
709 || callState == DialerCallState.INCOMING in updateFullscreenAndGreenScreenMode()
[all …]
DVideoPauseController.java27 import com.android.incallui.call.state.DialerCallState;
46 private int prevCallState = DialerCallState.INVALID;
77 && (call.getState() == DialerCallState.CALL_WAITING in isIncomingCall()
78 || call.getState() == DialerCallState.INCOMING); in isIncomingCall()
87 return DialerCallState.isDialing(prevCallState); in wasDialing()
118 prevCallState = DialerCallState.INVALID; in clear()
240 prevCallState = DialerCallState.INVALID; in updatePrimaryCallContext()
325 return call != null && call.isVideoCall() && call.getState() == DialerCallState.ACTIVE; in videoCanPause()
DStatusBarNotifier.java90 import com.android.incallui.call.state.DialerCallState;
124 private int callState = DialerCallState.INVALID;
250 (call.getState() == DialerCallState.INCOMING in showNotification()
251 || call.getState() == DialerCallState.CALL_WAITING); in showNotification()
293 if (callState == DialerCallState.INCOMING in buildAndSendNotification()
294 || callState == DialerCallState.CALL_WAITING in buildAndSendNotification()
444 if (state == DialerCallState.ACTIVE in createIncomingCallNotification()
445 || state == DialerCallState.ONHOLD in createIncomingCallNotification()
446 || DialerCallState.isDialing(state)) { in createIncomingCallNotification()
449 } else if (state == DialerCallState.INCOMING || state == DialerCallState.CALL_WAITING) { in createIncomingCallNotification()
[all …]
DCallCardPresenter.java68 import com.android.incallui.call.state.DialerCallState;
171 startContactInfoSearch(call, true, call.getState() == DialerCallState.INCOMING); in onInCallScreenDelegateInit()
341 int callState = DialerCallState.IDLE; in onStateChange()
355 callState != DialerCallState.INCOMING /* animate */); in onStateChange()
515 if (primary.getState() == DialerCallState.ACTIVE) { in getSwapToSecondaryButtonState()
575 startContactInfoSearch(call, isPrimary, call.getState() == DialerCallState.INCOMING); in maybeStartSearch()
976 return DialerCallState.isDialing(primary.getState()) in hasOutgoingGatewayCall()
1039 return primary != null && primary.getState() == DialerCallState.ACTIVE; in isPrimaryCallActive()
1046 if ((!DialerCallState.isConnectingOrConnected(callState) in shouldShowEndCallButton()
1047 && callState != DialerCallState.DISCONNECTING in shouldShowEndCallButton()
[all …]
DCallButtonPresenter.java46 import com.android.incallui.call.state.DialerCallState;
465 final boolean isCallOnHold = call.getState() == DialerCallState.ONHOLD; in updateButtonsState()
487 && call.getState() != DialerCallState.DIALING in updateButtonsState()
488 && call.getState() != DialerCallState.CONNECTING; in updateButtonsState()
495 && DialerCallState.isDialing(call.getState()) in updateButtonsState()
500 boolean enableUpgradeToRtt = showUpgradeToRtt && call.getState() == DialerCallState.ACTIVE; in updateButtonsState()
DActiveCallsCallListListener.java25 import com.android.incallui.call.state.DialerCallState;
52 if (call.getState() != DialerCallState.DISCONNECTED && call.getAccountHandle() != null) { in onCallListChange()
DConferenceParticipantListAdapter.java42 import com.android.incallui.call.state.DialerCallState;
218 participantInfo.getCall().getState() == DialerCallState.INCOMING, in getView()
295 if (callState == DialerCallState.ONHOLD) { in setCallerInfoForRow()
DInCallActivity.java84 import com.android.incallui.call.state.DialerCallState;
350 if (call != null && call.getState() == DialerCallState.ONHOLD) { in relaunchedFromDialer()
1405 if (didShowAnswerScreen && (call == null || call.getState() == DialerCallState.DISCONNECTED)) { in getShouldShowAnswerUi()
DInCallPresenter.java69 import com.android.incallui.call.state.DialerCallState;
1371 if (heldCall.getState() == DialerCallState.ONHOLD && canHold) { in handleCallKey()
1443 if (call.getState() != DialerCallState.DISCONNECTED) { in showDialogOrToastForDisconnectedCall()
/packages/apps/Dialer/java/com/android/incallui/ringtone/
DDialerRingtoneManager.java25 import com.android.incallui.call.state.DialerCallState;
66 && translateCallStateForCallWaiting(callState) == DialerCallState.INCOMING in shouldPlayRingtone()
86 if (callState != DialerCallState.INCOMING) { in translateCallStateForCallWaiting()
90 ? DialerCallState.INCOMING in translateCallStateForCallWaiting()
91 : DialerCallState.CALL_WAITING; in translateCallStateForCallWaiting()
109 && translateCallStateForCallWaiting(callState) == DialerCallState.CALL_WAITING in shouldPlayCallWaitingTone()
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
DTopRow.java32 import com.android.incallui.call.state.DialerCallState;
76 if (state.state() == DialerCallState.INCOMING in getInfo()
77 || state.state() == DialerCallState.CALL_WAITING) { in getInfo()
95 } else if (state.state() == DialerCallState.PULLING) { in getInfo()
97 } else if (state.state() == DialerCallState.DIALING in getInfo()
98 || state.state() == DialerCallState.CONNECTING) { in getInfo()
102 } else if (state.state() == DialerCallState.ACTIVE && state.isRemotelyHeld()) { in getInfo()
104 } else if (state.state() == DialerCallState.ACTIVE in getInfo()
107 } else if (state.state() == DialerCallState.CALL_PENDING in getInfo()
DBottomRow.java22 import com.android.incallui.call.state.DialerCallState;
74 boolean isTimerVisible = state.state() == DialerCallState.ACTIVE; in getInfo()
86 } else if (state.state() == DialerCallState.DISCONNECTING) { in getInfo()
92 } else if (state.state() == DialerCallState.DISCONNECTED) { in getInfo()
128 return state.state() == DialerCallState.INCOMING in isIncoming()
129 || state.state() == DialerCallState.CALL_WAITING; in isIncoming()
/packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/
DAnswerProximitySensor.java28 import com.android.incallui.call.state.DialerCallState;
50 if (call.getState() != DialerCallState.INCOMING) { in shouldUse()
134 if (call.getState() != DialerCallState.INCOMING) { in onDialerCallUpdate()
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DPrimaryCallState.java28 import com.android.incallui.call.state.DialerCallState;
116 .setState(DialerCallState.IDLE) in builder()
201 Assert.checkArgument(primaryCallState.state() == DialerCallState.CALL_PENDING); in build()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttChatFragment.java58 import com.android.incallui.call.state.DialerCallState;
460 if (!isTimerStarted && primaryCallState.state() == DialerCallState.ACTIVE) { in setCallState()
477 if (primaryCallState.state() == DialerCallState.DIALING) { in setCallState()
482 if (primaryCallState.state() == DialerCallState.DISCONNECTED) { in setCallState()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DAnswerFragment.java73 import com.android.incallui.call.state.DialerCallState;
905 if (primaryCallState.state() == DialerCallState.INCOMING && !isVideoCall()) { in onAnswerProgressUpdate()
1095 && !(primaryCallState.state() == DialerCallState.DISCONNECTED in canRejectCallWithSms()
1096 || primaryCallState.state() == DialerCallState.DISCONNECTING in canRejectCallWithSms()
1097 || primaryCallState.state() == DialerCallState.IDLE); in canRejectCallWithSms()
/packages/apps/Dialer/java/com/android/incallui/callpending/
DCallPendingActivity.java34 import com.android.incallui.call.state.DialerCallState;
151 .setState(DialerCallState.CALL_PENDING) in setupInCallScreen()
/packages/apps/Dialer/java/com/android/incallui/call/state/
DDialerCallState.java20 public class DialerCallState { class