summaryrefslogtreecommitdiffstats
path: root/src/org/codeaurora/gallery3d/video/CodeauroraVideoView.java
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'LA.UM.7.3.r1-06900-sdm845.0' into HEADBruno Martins2019-03-271-0/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | "LA.UM.7.3.r1-06900-sdm845.0" * tag 'LA.UM.7.3.r1-06900-sdm845.0': fix NullPointerException in applyOriginalAspect fix monkey force close in showRepresentation Revert "SnapdraongGallery:Fix FileProvider permission" SnapdraongGallery:Fix FileProvider permission SnapdraongGallery:Fix black screen change Home button function in timelinepage fix monkey FC when delete item Change-Id: I8eae03d52b98518e2fd6c3b56e291b2a6b4c8408
| * SnapdraongGallery:Fix black screenjunjiez2018-11-211-0/+11
| | | | | | | | | | | | | | | | | | | | 1.Force the surface of the videoView to be recreated after resume when it's null 2.Process screen off intent only when screen is in off state. Change-Id: Ifc2fc5ca5414f3fd8bd753abb1e4e8f7477f6645 CRs-Fixed: 2348871
* | Gallery2: Reduce logspam in video playeremancebo2018-11-201-1/+1
|/ | | | Change-Id: I71b1356f7e326174378c99b4b0e5e60764a7c139
* Fix Time bar don't update replay after trimzhuw2018-08-301-0/+13
| | | | | | add start Timer callback, run during start() Change-Id: I648d8a28c7ab9b49c8703ceab482214b992cf8de
* Print media player metrics as required.jinwu2018-07-301-2/+23
| | | | Change-Id: If9b3fccc5700684a0681894a44ef284f135e8175
* Enable media player metrics for SD Galleryjinwu2018-06-261-0/+2
| | | | Change-Id: Id46cfef5fb7a561dd71e3c3c7b2bfe0aeefc66c9
* Fix video don't play when send intent in keyguardlock modezhuw2017-08-251-1/+1
| | | | | | | don't reset targetstate when surface destroyed Change-Id: I2194236781d3c87799abbf9dc7206f3aad43fdec CRs-Fixed: 2088478
* Gallery: remove calls to @hide and internal API/membersLikai Ding2016-06-031-7/+7
| | | | | CRs-Fixed: 986672 Change-Id: Ib7b9eb494da9c38191f75960f01e62dfbf356205
* Gallery: MediaPlayer/Metadata wrapperLikai Ding2016-06-031-4/+6
| | | | | CRs-Fixed: 986672 Change-Id: Ia290c2043d0d6a01df0ff2a07d143e15078ca109
* Gallery: fix a memory leakLikai Ding2016-04-271-31/+6
| | | | | | | | | | | | The requestAudioFocus() call does not provide the listener previously registered, so it remains in AudioManager and eventually leaks MovieActivity. The regression is introduced by Id8e3e4b0afbc72892301a08fb8a122c285fbfe97. Change-Id: I032cfb9df1973420a51476bba139294badee1366 CRs-Fixed: 999702
* Gallery: fix error when license expiresLikai Ding2016-04-211-1/+1
| | | | | | | | License expired pop-up will appear for multiple times. Check error status when start the video. Change-Id: I7ce509aec6859c8117aebc01c7a3c828221aafa3 CRs-Fixed: 980372
* Gallery2: Add video snapshot function according to UI spec.Chao Zhang2016-04-191-0/+8
| | | | | | | Add video snapshot function. Change-Id: I225d2c5a8f4a0b022e9dd2b517a98ddaf35dcf4a CRs-Fixed: 988600
* Gallery2: fix doPrepared() not called when open video from screen off.Chao Zhang2016-03-261-1/+1
| | | | | | | | doPrepared() not called because screen is off. so need call it again until mCurrentState isn't STATE_PREPARING. Change-Id: I8f865e319ab32f71ad99cf9052de56841d0de651 CRs-Fixed: 990113
* Gallery2: fix video can play while telephony call is in progress.Chao Zhang2016-01-271-4/+18
| | | | | | | | Doesn't allow play/resume video, while telephony call is in progress. And pause video if request audio focus failed. Change-Id: I9b29fef45f5038ffe7573e5f5eea2a12a56c43ae CRs-Fixed: 945033
* Gallery2: Auto pause and replay video when audio focus changed.zdi2016-01-221-0/+12
| | | | | | | | Add OnAudioFocusChangeListener in CodeauroraVideoView, pause video when lose audio focus and replay video when gain audio focus. Change-Id: Id8e3e4b0afbc72892301a08fb8a122c285fbfe97 CRs-Fixed: 962677
* Merge "Gallery2: fix video play abnormal when screen is locked."Linux Build Service Account2016-01-211-1/+18
|\
| * Gallery2: fix video play abnormal when screen is locked.Chao Zhang2016-01-201-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | play video --> lock screen --> call in --> refuse the call. after this step, screen is locked, but video is resume playing because CodeauroraVideoView's doPrepared() is called. add a check of KeyguardManager.inKeyguardRestrictedInputMode() in CodeauroraVideoView.doPreparedIfReady() like MovieActivity. Change-Id: I19d9da0d23ca490e5038316d6b982099b8280aba CRs-Fixed: 945013
* | Gallery2: Release MediaPlayer when the error occurred.zdi2016-01-201-0/+2
|/ | | | | | | Release MediaPlayer when the error occurred, avoid exception occurred. Change-Id: Iaa250e9e783f7d8ec06ff8c3603b8e5868c0dc4e CRs-Fixed: 963171
* Gallery2: Avoid showing error dialog multiple timesmqi2016-01-181-1/+4
| | | | | | | | | | | When framework sent error message frequently gallery will show error dialog multiple times which will cause lmk. Add condition to check if error dialog is already showing, avoid showing it again. Change-Id: I901b93c820bd760b52796432870d148f93a091c3 CRs-Fixed: 835360
* Gallery2: Upgrade worksAnand Chaudhari2015-09-301-0/+8
| | | | | | Make it work on the new platform Change-Id: I2d019f21bcb6da4e26fb671f23c5e1cef574bcd5
* Gallery2: Pause video when dialog showskaiyiz2015-03-111-0/+6
| | | | | | | | | | The live stream will be pause by server timeout dialog but start by surface change callback later. Check whether the dialog shows before start media player. Change-Id: I77e8e2b6f84cb0957571d86d9eef2cfb997f1074 CRs-Fixed: 802294
* Gallery2: Enable Suspend/Resumemqi2015-02-121-33/+8
| | | | | | | | Enable "Suspend/Resume" in Gallery which was commented out while porting due to framework not ready at that time. Change-Id: I74533b676f259d01c90d81aaeff72f8e8d8fbea0 CRs-fixed: 761691
* Gallery2: don't pause background music perminentlywjiang2014-11-131-5/+1
| | | | | | | | | Gallery app requests transient audio focus twice and explicitly pauses background music playback. To allow music resume after movie playback exists, remove redundant audio focus request and pause broadcast. CRs-Fixed: 695669 Change-Id: I46b88defc887d3e5b5c97acdc4f5a0a11d486a76
* Gallery2: add some video featuresLikai Ding2014-11-041-119/+159
| | | | | | | including: previous/next video play mode, screen mode, fast forward/rewind button, step settings. Change-Id: I3f4890c4dd95956e0eca889a5fd8b8d83b8d542e
* Gallery2: support live streaming and bookmarksLikai Ding2014-11-041-0/+1032
Users can input a URL for streaming display. URL bookmarking is supported. Change-Id: Ia69497cdcfee963ba2209119a5b9dc82b64497da