Home
last modified time | relevance | path

Searched refs:VideoView2 (Results 1 – 20 of 20) sorted by relevance

/frameworks/support/media-widget/src/main/java/androidx/media/widget/
DVideoView2Impl.java45 VideoView2 instance, Context context, in initialize()
205 void setViewType(@VideoView2.ViewType int viewType); in setViewType()
212 @VideoView2.ViewType
225 Executor executor, VideoView2.OnCustomActionListener listener); in setCustomActions()
232 void setOnViewTypeChangedListener(VideoView2.OnViewTypeChangedListener l); in setOnViewTypeChangedListener()
DVideoView2.java104 public class VideoView2 extends BaseLayout { class
134 public VideoView2(@NonNull Context context) { in VideoView2() method in VideoView2
138 public VideoView2(@NonNull Context context, @Nullable AttributeSet attrs) { in VideoView2() method in VideoView2
142 public VideoView2(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) { in VideoView2() method in VideoView2
435 return VideoView2.class.getName(); in getAccessibilityClassName()
/frameworks/support/samples/SupportMediaDemos/src/main/java/com/example/androidx/media/
DVideoViewTest.java42 import androidx.media.widget.VideoView2;
86 mVideoView.setViewType(VideoView2.VIEW_TYPE_TEXTUREVIEW); in onCreate()
226 public static class MyVideoView extends VideoView2 {
279 if (mVideoView.getViewType() == VideoView2.VIEW_TYPE_SURFACEVIEW) { in onConfigurationChanged()
280 mVideoView.setViewType(VideoView2.VIEW_TYPE_TEXTUREVIEW); in onConfigurationChanged()
283 } else if (mVideoView.getViewType() == VideoView2.VIEW_TYPE_TEXTUREVIEW) { in onConfigurationChanged()
284 mVideoView.setViewType(VideoView2.VIEW_TYPE_SURFACEVIEW); in onConfigurationChanged()
290 private String getViewTypeString(VideoView2 videoView) { in getViewTypeString()
295 if (type == VideoView2.VIEW_TYPE_SURFACEVIEW) { in getViewTypeString()
297 } else if (type == VideoView2.VIEW_TYPE_TEXTUREVIEW) { in getViewTypeString()
/frameworks/base/media/java/android/media/update/
DVideoView2Provider.java32 import android.widget.VideoView2;
89 Executor executor, VideoView2.OnCustomActionListener listener); in setCustomActions_impl()
94 void setOnViewTypeChangedListener_impl(VideoView2.OnViewTypeChangedListener l); in setOnViewTypeChangedListener_impl()
98 void setFullScreenRequestListener_impl(VideoView2.OnFullScreenRequestListener l); in setFullScreenRequestListener_impl()
DStaticProvider.java53 import android.widget.VideoView2;
68 VideoView2Provider createVideoView2(VideoView2 instance, in createVideoView2()
/frameworks/support/media-widget/src/androidTest/java/androidx/media/widget/
DVideoView2Test.java89 private VideoView2 mVideoView;
103 mVideoView = (VideoView2) mActivity.findViewById(R.id.videoview); in setup()
158 new VideoView2(mActivity); in testConstructor()
159 new VideoView2(mActivity, null); in testConstructor()
160 new VideoView2(mActivity, null, 0); in testConstructor()
205 final VideoView2.OnViewTypeChangedListener mockViewTypeListener = in testPlayVideoOnTextureView()
206 mock(VideoView2.OnViewTypeChangedListener.class); in testPlayVideoOnTextureView()
225 .onViewTypeChanged(mVideoView, VideoView2.VIEW_TYPE_TEXTUREVIEW); in testPlayVideoOnTextureView()
/frameworks/base/core/java/android/widget/
DVideoView2.java108 public class VideoView2 extends ViewGroupHelper<VideoView2Provider> { class
131 public VideoView2(@NonNull Context context) { in VideoView2() method in VideoView2
135 public VideoView2(@NonNull Context context, @Nullable AttributeSet attrs) { in VideoView2() method in VideoView2
139 public VideoView2(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) { in VideoView2() method in VideoView2
143 public VideoView2( in VideoView2() method in VideoView2
148 (VideoView2) instance, superProvider, privateProvider, in VideoView2()
/frameworks/support/media-widget/api/
Dcurrent.txt16 public class VideoView2 extends android.view.ViewGroup {
17 ctor public VideoView2(android.content.Context);
18 ctor public VideoView2(android.content.Context, android.util.AttributeSet);
19 ctor public VideoView2(android.content.Context, android.util.AttributeSet, int);
/frameworks/av/packages/MediaComponents/src/com/android/widget/
DVideoView2Impl.java67 import android.widget.VideoView2;
92 private final VideoView2 mInstance;
115 private Pair<Executor, VideoView2.OnCustomActionListener> mCustomActionListenerRecord;
116 private VideoView2.OnViewTypeChangedListener mViewTypeChangedListener;
117 private VideoView2.OnFullScreenRequestListener mFullScreenRequestListener;
252 public VideoView2Impl(VideoView2 instance, in VideoView2Impl()
308 int viewType = (attrs == null) ? VideoView2.VIEW_TYPE_SURFACEVIEW in initialize()
311 "viewType", VideoView2.VIEW_TYPE_SURFACEVIEW); in initialize()
312 if (viewType == VideoView2.VIEW_TYPE_SURFACEVIEW) { in initialize()
317 } else if (viewType == VideoView2.VIEW_TYPE_TEXTUREVIEW) { in initialize()
[all …]
DVideoSurfaceView.java29 import static android.widget.VideoView2.VIEW_TYPE_SURFACEVIEW;
DVideoTextureView.java30 import static android.widget.VideoView2.VIEW_TYPE_TEXTUREVIEW;
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl_with_mp1/
DVideoView2ImplBaseWithMp1.java108 private Pair<Executor, VideoView2.OnCustomActionListener> mCustomActionListenerRecord;
109 private VideoView2.OnViewTypeChangedListener mViewTypeChangedListener;
161 protected VideoView2 mInstance;
242 VideoView2 instance, Context context, in initialize()
284 int viewType = (attrs == null) ? VideoView2.VIEW_TYPE_SURFACEVIEW in initialize()
287 "viewType", VideoView2.VIEW_TYPE_SURFACEVIEW); in initialize()
288 if (viewType == VideoView2.VIEW_TYPE_SURFACEVIEW) { in initialize()
293 } else if (viewType == VideoView2.VIEW_TYPE_TEXTUREVIEW) { in initialize()
563 public void setViewType(@VideoView2.ViewType int viewType) { in setViewType()
568 if (viewType == VideoView2.VIEW_TYPE_TEXTUREVIEW) { in setViewType()
[all …]
DVideoSurfaceViewWithMp1.java19 import static androidx.media.widget.VideoView2.VIEW_TYPE_SURFACEVIEW;
DVideoTextureViewWithMp1.java19 import static androidx.media.widget.VideoView2.VIEW_TYPE_TEXTUREVIEW;
DVideoView2ImplApi28WithMp1.java62 VideoView2 instance, Context context, in initialize()
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl/
DVideoView2ImplBase.java112 private Pair<Executor, VideoView2.OnCustomActionListener> mCustomActionListenerRecord;
113 private VideoView2.OnViewTypeChangedListener mViewTypeChangedListener;
172 private VideoView2 mInstance;
253 VideoView2 instance, Context context, in initialize()
305 int viewType = (attrs == null) ? VideoView2.VIEW_TYPE_SURFACEVIEW in initialize()
308 "viewType", VideoView2.VIEW_TYPE_SURFACEVIEW); in initialize()
309 if (viewType == VideoView2.VIEW_TYPE_SURFACEVIEW) { in initialize()
314 } else if (viewType == VideoView2.VIEW_TYPE_TEXTUREVIEW) { in initialize()
588 public void setViewType(@VideoView2.ViewType int viewType) { in setViewType()
593 if (viewType == VideoView2.VIEW_TYPE_TEXTUREVIEW) { in setViewType()
[all …]
DVideoTextureView.java19 import static androidx.media.widget.VideoView2.VIEW_TYPE_TEXTUREVIEW;
DVideoSurfaceView.java19 import static androidx.media.widget.VideoView2.VIEW_TYPE_SURFACEVIEW;
/frameworks/av/packages/MediaComponents/src/com/android/media/update/
DApiFactory.java65 import android.widget.VideoView2;
192 VideoView2 instance, ViewGroupProvider superProvider, ViewGroupProvider privateProvider, in createVideoView2()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt7382 Landroid/widget/VideoView2$OnViewTypeChangedListener;->onViewTypeChanged(Landroid/view/View;I)V
7383 Landroid/widget/VideoView2;->getMediaController()Landroid/media/session/MediaController;
7384 Landroid/widget/VideoView2;->setOnViewTypeChangedListener(Landroid/widget/VideoView2$OnViewTypeChan…
7385 Landroid/widget/VideoView2;->setVideoPath(Ljava/lang/String;)V