Home | History | Annotate | Download | only in incallui

Lines Matching refs:Ui

143      * Determines if the current UI state represents a video call.
180 * UI thread handler used for delayed task execution.
221 * @param ui The Ui implementation that is now ready to be used.
224 public void onUiReady(VideoCallUi ui) {
225 super.onUiReady(ui);
247 * @param ui The Ui implementation that is no longer ready to be used.
250 public void onUiUnready(VideoCallUi ui) {
251 super.onUiUnready(ui);
274 final VideoCallUi ui = getUi();
275 if (ui == null || mVideoCall == null) {
276 Log.w(this, "onSurfaceCreated: Error bad state VideoCallUi=" + ui + " mVideoCall="
286 mVideoCall.setPreviewSurface(ui.getPreviewVideoSurface());
291 mVideoCall.setDisplaySurface(ui.getDisplayVideoSurface());
330 * Called by {@link VideoCallFragment} when the surface is detached from UI (TextureView).
418 // change the camera or UI unless the waiting VT call becomes active.
509 // Make sure we hide or show the video UI if needed.
514 final VideoCallUi ui = getUi();
515 if (ui == null) {
519 ui.cleanupSurfaces();
655 VideoCallUi ui = getUi();
656 if (ui == null) {
666 if (ui.isDisplayVideoSurfaceCreated()) {
667 Log.d(this, "Calling setDisplaySurface with " + ui.getDisplayVideoSurface());
668 videoCall.setDisplaySurface(ui.getDisplayVideoSurface());
671 final int rotation = ui.getCurrentRotation();
768 VideoCallUi ui = getUi();
769 if (ui == null) {
776 ui.showVideoViews(true, !isPaused && isCallActive);
778 ui.showVideoViews(true, false);
780 ui.showVideoViews(false, !isPaused && isCallActive);
783 ui.hideVideoUi();
816 VideoCallUi ui = getUi();
817 if (ui == null) {
855 VideoCallUi ui = getUi();
856 if (ui == null) {
857 Log.e(this, "onCameraDimensionsChange ui is null");
871 if (ui.isPreviewVideoSurfaceCreated()) {
873 mVideoCall.setPreviewSurface(ui.getPreviewVideoSurface());
884 VideoCallUi ui = getUi();
885 if (ui == null) {
890 ui.setPreviewSurfaceSize(width, height);
1017 VideoCallUi ui = getUi();
1018 if (ui == null) {
1034 ui.setPreviewSize(width, height);
1045 VideoCallUi ui = getUi();
1046 if (ui == null) {
1051 Point size = ui.getScreenSize();
1061 ui.setDisplayVideoSize(size.x, size.y);
1215 final VideoCallUi ui = getUi();
1216 if (ui == null) {
1273 ImageView photoView = ui.getPreviewPhotoView();
1290 public interface VideoCallUi extends Ui {