Home
last modified time | relevance | path

Searched refs:InCallPresenter (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DVideoCallPresenter.java37 import com.android.incallui.InCallPresenter.InCallDetailsListener;
38 import com.android.incallui.InCallPresenter.InCallOrientationListener;
39 import com.android.incallui.InCallPresenter.InCallStateListener;
40 import com.android.incallui.InCallPresenter.IncomingCallListener;
71 InCallPresenter.InCallEventListener {
84 if (mAutoFullScreenPending && !InCallPresenter.getInstance().isDialpadVisible()) {
86 InCallPresenter.getInstance().setFullScreen(true);
232 InCallPresenter.getInstance().addListener(this); in onUiReady()
233 InCallPresenter.getInstance().addDetailsListener(this); in onUiReady()
234 InCallPresenter.getInstance().addIncomingCallListener(this); in onUiReady()
[all …]
DConferenceManagerPresenter.java21 import com.android.incallui.InCallPresenter.InCallDetailsListener;
22 import com.android.incallui.InCallPresenter.InCallState;
23 import com.android.incallui.InCallPresenter.InCallStateListener;
24 import com.android.incallui.InCallPresenter.IncomingCallListener;
45 InCallPresenter.getInstance().addListener(this); in onUiReady()
46 InCallPresenter.getInstance().addIncomingCallListener(this); in onUiReady()
53 InCallPresenter.getInstance().removeListener(this); in onUiUnready()
54 InCallPresenter.getInstance().removeIncomingCallListener(this); in onUiUnready()
68 InCallPresenter.getInstance().showConferenceCallManager(false); in onStateChange()
71 InCallPresenter.getInstance().showConferenceCallManager(false); in onStateChange()
[all …]
DInCallServiceImpl.java42 InCallPresenter.getInstance().onBringToForeground(showDialpad); in onBringToForeground()
47 InCallPresenter.getInstance().onCallAdded(call); in onCallAdded()
52 InCallPresenter.getInstance().onCallRemoved(call); in onCallRemoved()
57 InCallPresenter.getInstance().onCanAddCallChanged(canAddCall); in onCanAddCallChanged()
64 InCallPresenter.getInstance().setUp( in onBind()
75 InCallPresenter.getInstance().onServiceBind(); in onBind()
76 InCallPresenter.getInstance().maybeStartRevealAnimation(intent); in onBind()
86 InCallPresenter.getInstance().onServiceUnbind(); in onUnbind()
96 InCallPresenter.getInstance().tearDown(); in tearDown()
DAnswerPresenter.java23 import com.android.incallui.InCallPresenter.InCallState;
37 implements CallList.CallUpdateListener, InCallPresenter.InCallUiListener,
38 InCallPresenter.IncomingCallListener,
81 InCallPresenter.getInstance().declineUpgradeRequest(); in onIncomingCall()
136 InCallPresenter inCallPresenter = InCallPresenter.getInstance(); in onUpgradeToVideo()
138 && inCallPresenter.getInCallState() == InCallPresenter.InCallState.INCOMING) { in onUpgradeToVideo()
163 final InCallActivity activity = InCallPresenter.getInstance().getActivity(); in showAnswerUi()
240 InCallPresenter.getInstance().acceptUpgradeRequest(videoState, context); in onAnswer()
255 InCallPresenter.getInstance().declineUpgradeRequest(context); in onDecline()
276 InCallPresenter.getInstance().onDismissDialog(); in onDismissDialog()
DNotificationBroadcastReceiver.java56 InCallPresenter.getInstance().answerIncomingCall( in onReceive()
59 InCallPresenter.getInstance().answerIncomingCall( in onReceive()
62 InCallPresenter.getInstance().declineIncomingCall(context); in onReceive()
64 InCallPresenter.getInstance().hangUpOngoingCall(context); in onReceive()
67 InCallPresenter.getInstance().acceptUpgradeRequest( in onReceive()
70 InCallPresenter.getInstance().declineUpgradeRequest(context); in onReceive()
DCallButtonPresenter.java43 import com.android.incallui.InCallPresenter.CanAddCallListener;
44 import com.android.incallui.InCallPresenter.InCallDetailsListener;
45 import com.android.incallui.InCallPresenter.InCallState;
46 import com.android.incallui.InCallPresenter.InCallStateListener;
47 import com.android.incallui.InCallPresenter.IncomingCallListener;
73 final InCallPresenter inCallPresenter = InCallPresenter.getInstance(); in onUiReady()
89 InCallPresenter.getInstance().removeListener(this); in onUiUnready()
91 InCallPresenter.getInstance().removeIncomingCallListener(this); in onUiUnready()
92 InCallPresenter.getInstance().removeDetailsListener(this); in onUiUnready()
93 InCallPresenter.getInstance().getInCallCameraManager().removeCameraSelectionListener(this); in onUiUnready()
[all …]
DInCallActivity.java150 InCallPresenter.getInstance().handleAccountSelection(selectedAccountHandle,
156 InCallPresenter.getInstance().cancelAccountSelection();
259 InCallPresenter.getInstance().setActivity(this); in onStart()
263 InCallPresenter.getInstance().onActivityStarted(); in onStart()
271 InCallPresenter.getInstance().setThemeColors(); in onResume()
272 InCallPresenter.getInstance().onUiShowing(true); in onResume()
275 InCallPresenter.getInstance().clearFullscreen(); in onResume()
282 InCallPresenter.getInstance().setFullScreen(false, true /* force */); in onResume()
315 InCallPresenter.getInstance().onUiShowing(false); in onPause()
317 InCallPresenter.getInstance().unsetActivity(this); in onPause()
[all …]
DDialpadPresenter.java25 implements InCallPresenter.InCallStateListener {
32 InCallPresenter.getInstance().addListener(this); in onUiReady()
39 InCallPresenter.getInstance().removeListener(this); in onUiUnready()
43 public void onStateChange(InCallPresenter.InCallState oldState, in onStateChange()
44 InCallPresenter.InCallState newState, CallList callList) { in onStateChange()
DCallCardPresenter.java52 import com.android.incallui.InCallPresenter.InCallDetailsListener;
53 import com.android.incallui.InCallPresenter.InCallEventListener;
54 import com.android.incallui.InCallPresenter.InCallState;
55 import com.android.incallui.InCallPresenter.InCallStateListener;
56 import com.android.incallui.InCallPresenter.IncomingCallListener;
162 onStateChange(null, InCallPresenter.getInstance().getInCallState(), CallList.getInstance()); in init()
179 InCallPresenter.getInstance().addListener(this); in onUiReady()
180 InCallPresenter.getInstance().addIncomingCallListener(this); in onUiReady()
181 InCallPresenter.getInstance().addDetailsListener(this); in onUiReady()
182 InCallPresenter.getInstance().addInCallEventListener(this); in onUiReady()
[all …]
DVideoPauseController.java20 import com.android.incallui.InCallPresenter.InCallState;
21 import com.android.incallui.InCallPresenter.InCallStateListener;
22 import com.android.incallui.InCallPresenter.IncomingCallListener;
72 private InCallPresenter mInCallPresenter;
104 public void setUp(InCallPresenter inCallPresenter) { in setUp()
DInCallOrientationEventListener.java90 InCallPresenter.getInstance().onDeviceOrientationChange(sCurrentOrientation); in onOrientationChanged()
102 InCallPresenter.getInstance().onDeviceOrientationChange(sCurrentOrientation); in enable()
DInCallPresenter.java78 public class InCallPresenter implements CallList.Listener, class
89 private static InCallPresenter sInCallPresenter;
280 public static synchronized InCallPresenter getInstance() { in getInstance()
282 sInCallPresenter = new InCallPresenter(); in getInstance()
288 static synchronized void setInstance(InCallPresenter inCallPresenter) { in setInstance()
1413 Log.i(InCallPresenter.getInstance(), "No valid accounts for call " + call); in isCallWithNoValidAccounts()
1540 InCallPresenter.getInstance().setBoundAndWaitingForOutgoingCall(false, null); in onServiceUnbind()
1567 InCallPresenter.getInstance().setBoundAndWaitingForOutgoingCall(true, accountHandle); in maybeStartRevealAnimation()
1814 private InCallPresenter() { in InCallPresenter() method in InCallPresenter
DProximitySensor.java30 import com.android.incallui.InCallPresenter.InCallState;
31 import com.android.incallui.InCallPresenter.InCallStateListener;
DAnswerFragment.java81 return InCallPresenter.getInstance().getAnswerPresenter(); in createPresenter()
257 InCallPresenter.getInstance().declineUpgradeRequest(context); in onDeclineUpgradeRequest()
DStatusBarNotifier.java57 import com.android.incallui.InCallPresenter.InCallState;
68 public class StatusBarNotifier implements InCallPresenter.InCallStateListener,
291 && !InCallPresenter.getInstance().isShowingInCallUi()) { in buildAndSendNotification()
711 final Intent intent = InCallPresenter.getInstance().getInCallIntent( in createLaunchPendingIntent()
DCallCardFragment.java391 final boolean isLayoutRtl = InCallPresenter.isRtl(); in setCallCardVisible()
706 InCallPresenter.getInstance().notifySecondaryCallerInfoVisibilityChanged(visible, in setSecondaryInfoVisible()
1254 MaterialPalette themeColors = InCallPresenter.getInstance().getThemeColors(); in updateColors()
1338 InCallPresenter.getInstance().onShrinkAnimationComplete(); in animateForNewOutgoingCall()
DCircularRevealFragment.java83 startOutgoingAnimation(InCallPresenter.getInstance().getThemeColors()); in onResume()
DCallButtonFragment.java245 MaterialPalette themeColors = InCallPresenter.getInstance().getThemeColors(); in updateColors()
578 InCallPresenter.getInstance().showConferenceCallManager(true); in onManageVideoCallConferenceClicked()
DDialpadFragment.java457 int textColor = InCallPresenter.getInstance().getThemeColors().mPrimaryColor; in updateColors()
DVideoCallFragment.java467 float spaceBesideCallCard = InCallPresenter.getInstance().getSpaceBesideCallCard(); in centerDisplayView()
DCall.java484 TelecomManager mgr = InCallPresenter.getInstance().getTelecomManager(); in updateFromTelecomCall()
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/
DInCallPresenterTest.java30 import com.android.incallui.InCallPresenter.InCallState;
45 InCallPresenter mInCallPresenter;
59 mInCallPresenter = InCallPresenter.getInstance(); in setUp()
73 InCallPresenter.setInstance(null); in tearDown()
128 verify(mContext).startActivity(InCallPresenter.getInstance().getInCallIntent(false, false)); in testOnCallListChange_pendingOutgoingToInCallTransitionShowsUiForErrorDialog()
140 verify(mContext).startActivity(InCallPresenter.getInstance().getInCallIntent(false, false)); in testOnCallListChange_noAccountProvidedForCallShowsUiForAccountPicker()
DProximitySensorTest.java27 import com.android.incallui.InCallPresenter.InCallState;