Lines Matching refs:inCallActivity

145   private InCallActivity inCallActivity;  field in InCallPresenter
499 final boolean doFinish = (inCallActivity != null && isActivityStarted()); in attemptFinishActivity()
502 inCallActivity.setExcludeFromRecents(true); in attemptFinishActivity()
503 inCallActivity.finish(); in attemptFinishActivity()
511 public void unsetActivity(InCallActivity inCallActivity) { in unsetActivity() argument
512 if (inCallActivity == null) { in unsetActivity()
515 if (this.inCallActivity == null) { in unsetActivity()
520 if (this.inCallActivity != inCallActivity) { in unsetActivity()
534 private void updateActivity(InCallActivity inCallActivity) { in updateActivity() argument
539 if (inCallActivity != null) { in updateActivity()
540 if (this.inCallActivity == null) { in updateActivity()
541 context = inCallActivity.getApplicationContext(); in updateActivity()
550 this.inCallActivity = inCallActivity; in updateActivity()
551 this.inCallActivity.setExcludeFromRecents(false); in updateActivity()
574 this.inCallActivity = null; in updateActivity()
786 if (inCallActivity != null) { in onHandoverToWifiFailed()
787 inCallActivity.showDialogOrToastForWifiHandoverFailure(call); in onHandoverToWifiFailed()
805 if (inCallActivity != null) { in onInternationalCallOnWifi()
806 inCallActivity.showDialogForInternationalCallOnWifi(call); in onInternationalCallOnWifi()
825 if (inCallActivity != null && inCallActivity.isInCallScreenAnimating()) { in onCallListChange()
854 inCallActivity.dismissPendingDialogs(); in onCallListChange()
895 inCallActivity.dismissKeyguard(hasCall); in onCallListChange()
967 if (inCallActivity != null) { in onIncomingCall()
969 inCallActivity.onPrimaryCallStateChanged(); in onIncomingCall()
985 if (inCallActivity != null) { in onUpgradeToVideo()
987 inCallActivity.onPrimaryCallStateChanged(); in onUpgradeToVideo()
993 if (inCallActivity != null) { in onUpgradeToRtt()
994 inCallActivity.showDialogForRttRequest(call, rttRequestId); in onUpgradeToRtt()
1000 if (inCallActivity != null) { in onSpeakEasyStateChange()
1001 inCallActivity.onPrimaryCallStateChanged(); in onSpeakEasyStateChange()
1015 if (inCallActivity != null) { in onSessionModificationStateChange()
1017 inCallActivity.onPrimaryCallStateChanged(); in onSessionModificationStateChange()
1033 inCallActivity.dismissKeyguard(false); in onDisconnect()
1188 return inCallActivity.isVisible(); in isShowingInCallUi()
1197 return (inCallActivity != null in isActivityStarted()
1198 && !inCallActivity.isDestroyed() in isActivityStarted()
1199 && !inCallActivity.isFinishing()); in isActivityStarted()
1218 if (inCallActivity != null) { in updateIsChangingConfigurations()
1219 isChangingConfigurations = inCallActivity.isChangingConfigurations(); in updateIsChangingConfigurations()
1242 if (inCallActivity != null) { in onUiShowing()
1244 inCallActivity.onPrimaryCallStateChanged(); in onUiShowing()
1249 if (inCallActivity != null) { in refreshUi()
1251 inCallActivity.onPrimaryCallStateChanged(); in refreshUi()
1307 if (isActivityStarted() && inCallActivity.isVisible()) { in onPostDialCharWait()
1308 inCallActivity.showDialogForPostCharWait(callId, chars); in onPostDialCharWait()
1458 inCallActivity.showDialogOrToastForDisconnectedCall( in showDialogOrToastForDisconnectedCall()
1459 new DisconnectMessage(inCallActivity, call)); in showDialogOrToastForDisconnectedCall()
1523 inCallActivity != null && inCallActivity.getCallCardFragmentVisible(); in startOrFinishUi()
1551 boolean activityIsFinishing = inCallActivity != null && !isActivityStarted(); in startOrFinishUi()
1567 inCallActivity.dismissPendingDialogs(); in startOrFinishUi()
1617 return inCallActivity == null && !serviceConnected && inCallState == InCallState.NO_CALLS; in isReadyForTearDown()
1663 inCallActivity = null; in attemptCleanup()
1701 if (intent == null || inCallActivity != null) { in maybeStartRevealAnimation()
1782 if (inCallActivity == null) { in setInCallAllowsOrientationChange()
1788 inCallActivity.setAllowOrientationChange(allowOrientationChange); in setInCallAllowsOrientationChange()
1798 if (inCallActivity == null) { in applyScreenTimeout()
1803 final Window window = inCallActivity.getWindow(); in applyScreenTimeout()
1818 if (inCallActivity != null) { in showConferenceCallManager()
1819 inCallActivity.showConferenceFragment(show); in showConferenceCallManager()
1832 if (inCallActivity == null) { in isDialpadVisible()
1835 return inCallActivity.isDialpadVisible(); in isDialpadVisible()
1850 if (inCallActivity != null) { in onForegroundCallChanged()
1851 inCallActivity.onForegroundCallChanged(newForegroundCall); in onForegroundCallChanged()
1856 return inCallActivity; in getActivity()
1860 public void setActivity(InCallActivity inCallActivity) { in setActivity() argument
1861 if (inCallActivity == null) { in setActivity()
1864 if (this.inCallActivity != null && this.inCallActivity != inCallActivity) { in setActivity()
1868 updateActivity(inCallActivity); in setActivity()