summaryrefslogtreecommitdiff
path: root/core/java/android/widget/VideoView2.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused media2 widgetsSungsoo Lim2018-11-151-452/+0
| | | | | | Bug: 119591238 Test: build Change-Id: I8ec964f304ae1ea6d868b65f2fbeb9d5e5f39f3d
* Add @UnsupportedAppUsage annotationsMathew Inwood2018-08-211-0/+5
| | | | | | | | | | | | | | | | For packages: android.widget This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: Ic61019b1df85448a158fc2ba55c326353222c6b9
* Merge "Hide Media*2 APIs" into pi-devJean-Michel Trivi2018-03-231-0/+1
|\
| * Hide Media*2 APIsJean-Michel Trivi2018-03-221-0/+1
| | | | | | | | | | | | Bug: 76121592 Test: make offline-sdk-docs Change-Id: Ic5eba5ba0b3ef9f11c582ab6db7d8d61934941dd
* | Remove unnecessary Context from ApiLoaderChristofer Åkersten2018-03-221-1/+1
|/ | | | | | Bug: 76001644 Test: compile Change-Id: I6ac81dac16374d90facfe33c68607c5c286b335f
* VideoView2: Remove setRouteAttributesSungsoo Lim2018-03-081-36/+0
| | | | | | | | | Being consistent, create route player internally and do not expose it since VideoView2 creats a MediaPlayer inside and do not expose it. Bug: 72527212 Test: manually with VideoViewTest Change-Id: I6db3bc668f6ab77587fed49b2d34611bc3c30465
* Unhide VideoView2 APIsInsun Kang2018-02-281-7/+49
| | | | | | Test: make update-api Bug: 64293205 Change-Id: Ie57e3ea78dd623fc095c1ad5f270f3b97320f155
* MediaSession2: Unhide APIsJaewan Kim2018-02-271-2/+2
| | | | | | Bug: 64098437 Test: make update-api Change-Id: Ib73a32b422502cef324869356d56acaa7c48b219
* MediaControlView2: Add Support for AdJin Seok Park2018-02-231-0/+22
| | | | | | | | | Add APIs for getting/setting MediaMetadata2 in oder to add support for Advertising media type. Bug: 73136129 Test: run VideoViewTest.apk Change-Id: Iab8e23c1f02f4e2df62a6732112b233541f8f35c
* VideoView2: Remove redundant listenersInsun Kang2018-02-201-102/+12
| | | | | | Bug: 73598418 Test: build Change-Id: Ibc79fde985a98c2323c2c63feef874a90e084652
* VV2 & MCV2: Move handling MediaControlView2 visibility logic to VV2Insun Kang2018-02-051-2/+3
| | | | | | | | MediaControlView2's setTimeout API is removed and MCV2's visibility handling logic is moved into VideoView2. Test: build Change-Id: I149119148f159c78e86c5061d247f0a434310719
* VideoView2: Replace showSubtitle with setSubtitleEnabledInsun Kang2018-02-021-4/+14
| | | | | | | | - Renames showSubtitle to setSubtitleEnabled - Introduces isSubtitleEnabled method Test: build Change-Id: I4467231870a243706f06e1ccc3c067e769da5824
* VV2 and MCV2: Override onLayout of ViewGroup and remove MCV2.isShowing()Insun Kang2018-02-021-0/+5
| | | | | | | | | | - Overriding onLayout() is needed as VideoView2 and MediaControlView2 extends ViewGroup. - Removes MediaControlView2's isShowing() method, since it looks redundant API. Test: build, VideoViewTest app Change-Id: If4608ab56ca3f3883cb674c857f7e53e2dd0e73e
* Make VV2 & MCV2 extend ViewGroupChristofer Åkersten2018-02-011-4/+6
| | | | | Test: VideoViewTest Change-Id: I91410847de55bef834360d99fcb112b50cef1cea
* Move View related methods to helper classChristofer Åkersten2018-01-311-88/+6
| | | | | Test: Instantiate MediaControlView2 Change-Id: Ia958a97b38e67f236ee510978c379af9249d2887
* VideoView: Change showSubtitle() to get boolean parameterInsun Kang2018-01-301-13/+7
| | | | | | | | | | | | | | | | - Adds VideoView2 attributes - enableControlView - showSubtitle (boolean) - viewType (enum) - surfaceView - textureView - showSubtitle() --> showSubtitle(boolean) - hideSubtitle() removed. Test: build Change-Id: Ib21722af1c9c1caf036e047a18d27d46097e8f03
* Merge "VideoView2: Adds Executor paramter to setFooListener methods"Insun Kang2018-01-291-28/+28
|\
| * VideoView2: Adds Executor paramter to setFooListener methodsInsun Kang2018-01-291-28/+28
| | | | | | | | | | | | | | | | | | - Added Executor parameter to setFooListeners - Removed setFullScreen() - Renamed OnFullScreenChangedListener --> OnFullScreenRequestListener Test: build Change-Id: I1822876ecf55566182281a76ea7919d7c0112146
* | VideoView2: MediaRouter integration with MediaSessionSungsoo Lim2018-01-291-2/+21
|/ | | | | | Bug: 72526814 Test: build Change-Id: Iace25522b433152022bdd3458b6791a89618464b
* VideoView2/MediaControlView2: Remove overriden onKeyDown/dispatchKeyEventInsun Kang2018-01-261-21/+0
| | | | | Test: build Change-Id: I4f3a397001e771eac1d1f0208d4e2f262c76b44c
* Merge "VideoView2: Add custom actions API"Hyundo Moon2018-01-261-0/+31
|\
| * VideoView2: Add custom actions APIHyundo Moon2018-01-261-0/+31
| | | | | | | | | | Test: Using VideoViewTest application Change-Id: I941bf0f9605918b0e0f9e4684327eee9ffe24e11
* | Merge "VideoView2: Apply API review comment"Insun Kang2018-01-261-19/+25
|\ \
| * | VideoView2: Apply API review commentInsun Kang2018-01-261-19/+25
| |/ | | | | | | | | | | | | | | | | | | | | - Lint error: setVideoURI --> setVideoUri - Adds 'View' parameter to the listener methods - Adds missing documents for constants - Removes getAudioSessionId() - Typos Test: build Change-Id: I217c7608a8b9fed4111d0c928a270784307bf378
* / MediaSession2: Change MediaPlayerBase to MediaPlayerInterfaceJaewan Kim2018-01-261-2/+2
|/ | | | | | Test: Run all MediaComponents tests once Bug: 72527150 Change-Id: Ifd384ea274ec949caa767210b07e558844552077
* VideoView2: Remove APIs supported by MediaSessionSungsoo Lim2018-01-251-72/+13
| | | | | | | | Developers can use a MediaController instance from getMediaController() instead. Test: build Change-Id: If58a040155a2a6894227aa89c20e7dbed6643c4e
* Merge "Put latest MediaControlView2/VideoView2 code"Jin Seok Park2018-01-241-0/+24
|\
| * Put latest MediaControlView2/VideoView2 codeHyundo Moon2018-01-241-0/+24
| | | | | | | | | | | | | | | | | | | | This CL brings latest MediaControlView2/VideoView2 code from experimental, and it does the following: - Fullscreen button support (ag/3490251) - Set prev/next listener and controlling button visibility (ag/3498244) Test: Ran VideoViewTest app Change-Id: I1a64a9c98dcc625b504785728673edbee7b6935d
* | VideoView2: Add API for MediaRouter intergrationSungsoo Lim2018-01-241-1/+19
|/ | | | | Test: build Change-Id: I3d52d332f587ea8c5b1fa97de512805001e9a130
* Merge "Release MediaSession when VideoView2 is detached from window."Insun Kang2018-01-231-0/+20
|\
| * Release MediaSession when VideoView2 is detached from window.Insun Kang2018-01-231-0/+20
| | | | | | | | | | Test: build Change-Id: I36baae35cc8196e3fa2fc9f9bdda4219ffaf863d
* | Add API docs for VideoView2Insun Kang2018-01-231-51/+149
|/ | | | | Test: ran 'make doc-comment-check-docs' after removing @hide tag. Change-Id: I1c3492e8c302b9a6222b5400e71ccbabaaa372a3
* Initial commit for VideoView2ImplInsun Kang2018-01-191-35/+114
| | | | | Test: build Change-Id: I12b93da01b9c37115cba29b8b50b36cf3d74ddb6
* Skeleton for updatable VideoView2Sungsoo Lim2018-01-161-0/+363
Test: manual Change-Id: I77a960269e19ddf3659ffb9e60a69c4ca86f101b