OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2015 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 package org.appspot.apprtc; | 11 package org.appspot.apprtc; |
12 | 12 |
13 import android.app.Activity; | 13 import android.app.Activity; |
14 import android.app.Fragment; | 14 import android.app.Fragment; |
15 import android.os.Bundle; | 15 import android.os.Bundle; |
16 import android.view.LayoutInflater; | 16 import android.view.LayoutInflater; |
17 import android.view.View; | 17 import android.view.View; |
18 import android.view.ViewGroup; | 18 import android.view.ViewGroup; |
19 import android.widget.ImageButton; | 19 import android.widget.ImageButton; |
20 import android.widget.TextView; | 20 import android.widget.TextView; |
21 | 21 |
22 import org.webrtc.RendererCommon.ScalingType; | 22 import org.webrtc.VideoRendererGui.ScalingType; |
23 | 23 |
24 /** | 24 /** |
25 * Fragment for call control. | 25 * Fragment for call control. |
26 */ | 26 */ |
27 public class CallFragment extends Fragment { | 27 public class CallFragment extends Fragment { |
28 private View controlView; | 28 private View controlView; |
29 private TextView contactView; | 29 private TextView contactView; |
30 private ImageButton disconnectButton; | 30 private ImageButton disconnectButton; |
31 private ImageButton cameraSwitchButton; | 31 private ImageButton cameraSwitchButton; |
32 private ImageButton videoScalingButton; | 32 private ImageButton videoScalingButton; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 } | 109 } |
110 } | 110 } |
111 | 111 |
112 @Override | 112 @Override |
113 public void onAttach(Activity activity) { | 113 public void onAttach(Activity activity) { |
114 super.onAttach(activity); | 114 super.onAttach(activity); |
115 callEvents = (OnCallEvents) activity; | 115 callEvents = (OnCallEvents) activity; |
116 } | 116 } |
117 | 117 |
118 } | 118 } |
OLD | NEW |