summaryrefslogtreecommitdiff
path: root/core/java/android/widget/MediaControlView2.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused media2 widgetsSungsoo Lim2018-11-151-229/+0
| | | | | | Bug: 119591238 Test: build Change-Id: I8ec964f304ae1ea6d868b65f2fbeb9d5e5f39f3d
* 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-0/+1
| | | | | | | | | 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
* VideoView2: Move MediaContolView2's hidden constantInsun Kang2018-03-061-18/+0
| | | | | | | Bug: 74173212 Test: VideoViewTest app Change-Id: Ic91e0b0bfb910d555c1dbe77f028a017f2a18b79 (cherry picked from commit a0fdcc97f0e49162198142726381cd5746971a2c)
* Unhide MediaControlView2 APIsJin Seok Park2018-02-281-8/+35
| | | | | | Test: make update-api Bug: 64293205 Change-Id: Ia202a7fc1f8733cc2d95d13e7126916affe4f52e
* MediaControlView2: Hide API for customizationJin Seok Park2018-02-271-0/+12
| | | | | | | | Customization will be supported in the next release. This CL hides the public API that is needed for customizing MediaControlView2. Test: build Change-Id: Ie8132f70f2dc5bc3fbcf73c1e39edd9d5f8cb3f6
* VV2 & MCV2: Move handling MediaControlView2 visibility logic to VV2Insun Kang2018-02-051-20/+2
| | | | | | | | MediaControlView2's setTimeout API is removed and MCV2's visibility handling logic is moved into VideoView2. Test: build Change-Id: I149119148f159c78e86c5061d247f0a434310719
* VV2 and MCV2: Override onLayout of ViewGroup and remove MCV2.isShowing()Insun Kang2018-02-021-7/+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
* Merge "Make VV2 & MCV2 extend ViewGroup"Insun Kang2018-02-021-11/+6
|\
| * Make VV2 & MCV2 extend ViewGroupChristofer Åkersten2018-02-011-11/+6
| | | | | | | | | | Test: VideoViewTest Change-Id: I91410847de55bef834360d99fcb112b50cef1cea
* | MediaControlView2: Remove getProvider()Sungsoo Lim2018-02-011-9/+0
|/ | | | | | | getProvider() is already in the super class. Test: build Change-Id: I89e9dc18da248a94fa8b99e04148278558b1169d
* MediaSession2: Hide system apisSungsoo Lim2018-01-311-0/+9
| | | | | Test: build Change-Id: I6c56c260a002086bbd2c20420b301c66635215c3
* Move View related methods to helper classChristofer Åkersten2018-01-311-88/+8
| | | | | Test: Instantiate MediaControlView2 Change-Id: Ia958a97b38e67f236ee510978c379af9249d2887
* Remove show/hide APIJin Seok Park2018-01-301-23/+43
| | | | | | | | | | | | This CL removes the show/hide API from MediaControlView2 and instead provides the developer with the same function by calling setVisibility(View.VISIBLE | View.GONE), and calling the new APIs set/getTimeout() and requestPlayButtonFocus(). The original Runnable code has been moved to onVisibilityAggregated() as per API council's request. Test: build Change-Id: If53fb8849b4e086619a9c93c85e61da70272976e
* Update MediaControlView2/ProviderJin Seok Park2018-01-291-41/+74
| | | | | | | | | | | | | | | This CL does the following 5 things: 1) REMOVE setPrevNextListener API 2) REMOVE show/hideSubtitle API 3) EXPOSE Command related strings as public 4) CHANGE time parameter in show(timeout) from integer to long 5) CHANGE setButtonVisibility(visible) parameter from boolean to int All changes are based on API review. Test: build Change-Id: Ia6ffb454100be6a2f75a145e9d6a87bd88faac0c
* VideoView2/MediaControlView2: Remove overriden onKeyDown/dispatchKeyEventInsun Kang2018-01-261-21/+0
| | | | | Test: build Change-Id: I4f3a397001e771eac1d1f0208d4e2f262c76b44c
* Change MediaControlView2 APIsJin Seok Park2018-01-241-43/+20
| | | | | Test: build Change-Id: Ida307fa16f76e680aa12b92cbce4a8635cac17b2
* Put latest MediaControlView2/VideoView2 codeHyundo Moon2018-01-241-0/+37
| | | | | | | | | | 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
* Merge "Add API documentation for MediaControlView2"Jin Seok Park2018-01-241-20/+35
|\
| * Add API documentation for MediaControlView2Jin Seok Park2018-01-241-20/+35
| | | | | | | | | | Test: ran 'make doc-comment-check-docs' after removing @hide tag. Change-Id: I0eb45ed92e853ec1683c54863f0fdecccd2aa6e9
* | Release MediaSession when VideoView2 is detached from window.Insun Kang2018-01-231-0/+19
|/ | | | | Test: build Change-Id: I36baae35cc8196e3fa2fc9f9bdda4219ffaf863d
* Initial commit for VideoView2ImplInsun Kang2018-01-191-0/+231
Test: build Change-Id: I12b93da01b9c37115cba29b8b50b36cf3d74ddb6