Home | History | Annotate | Download | only in incallui

Lines Matching refs:videoState

150   private static boolean isCameraRequired(int videoState, int sessionModificationState) {
151 return VideoProfile.isBidirectional(videoState)
152 || VideoProfile.isTransmissionEnabled(videoState)
157 * Determines if the incoming video surface should be shown based on the current videoState and
161 * @param videoState The current video state.
165 public static boolean showIncomingVideo(int videoState, int callState) {
170 boolean isPaused = VideoProfile.isPaused(videoState);
178 && VideoProfile.isReceptionEnabled(videoState);
182 * Determines if the outgoing video surface should be shown based on the current videoState. The
189 Context context, int videoState, int sessionModificationState) {
199 return VideoProfile.isTransmissionEnabled(videoState)
274 private static int toCameraDirection(int videoState) {
275 return VideoProfile.isTransmissionEnabled(videoState)
276 && !VideoProfile.isBidirectional(videoState)
780 "videoCall: %s, videoState: %d",
879 * @param videoState The video state.
883 int videoState,
891 boolean showIncomingVideo = showIncomingVideo(videoState, callState);
892 boolean showOutgoingVideo = showOutgoingVideo(context, videoState, sessionModificationState);
902 InCallPresenter.getInstance().enableScreenTimeout(VideoProfile.isAudioOnly(videoState));
1279 private static boolean isVideoCall(int videoState) {
1281 && (VideoProfile.isTransmissionEnabled(videoState)
1282 || VideoProfile.isReceptionEnabled(videoState));