summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app/TrimVideo.java
Commit message (Collapse)AuthorAgeFilesLines
* Use MediaMuxer for the video trim and mute.ztenghui2013-04-101-1/+1
| | | | | | bug:8548085 Change-Id: I55955285ee141ebab6437950a154280cc5fefcc0
* remove actionbar sherlockJohn Reck2012-12-121-13/+4
| | | | Change-Id: Idb9b63f625fd4f0b78d947421ec5b098d8e5dfd5
* Video: Fix crash in trimming/muting video in GB.Teng-Hui Zhu2012-11-161-5/+5
| | | | | | | | | Basically switched to use sherlock actionbar and protect various new methods with API level check. bug:7546257 Change-Id: Ic16f75126c619578a9e9c2520fa264687d89a2e6
* Video: Add the mute functionality.Teng-Hui Zhu2012-11-141-106/+13
| | | | | | | | | 1. Enable the mute video functionality. 2. Consolidate the sharing code, especially for file handling. bug:7543943 Change-Id: Ie7ec605996bc3242b1a50385f506e6a50ee2d2fc
* Disable save button when there's no modificationDoris Liu2012-10-291-12/+13
| | | | | Bug: 7353884 Change-Id: I1b88e8b8ab3a92aad1226c60062a17a2f4badfb9
* Initialize the modified date correctly.Teng-Hui Zhu2012-10-241-6/+9
| | | | | | | | | On top of that, the date_taken is in units of seconds, while others are in units of milliseconds. bug:7307090 Change-Id: I3f14a6354fa72a20d228d49a92d5c2007ca29df1
* Make save button in video trimming consistentDoris Liu2012-10-161-3/+2
| | | | | | | | | Bug: 7353884 Updated save button icon and text Save button in video trimming now acts like back button when no change has been made. Change-Id: Iec29315222d3f3ffac9b96a89cad2821d7f86c4f
* Trimming: Exit current activity after click doneTeng-Hui Zhu2012-10-021-0/+3
| | | | | | | Don't auto exit the trimmed video playing. bug:7093055 Change-Id: I97fa1556cbe0591f2204ab4135b85375f82abbe8
* Trimming: clean up strings and prevent too short or no trimming.Teng-Hui Zhu2012-09-291-8/+27
| | | | | | | Also view the result if the activity is not stopped. bug:7093055 Change-Id: If244d567a4be9da22542398f6b7c22a081786339
* Trimming: Use OnClickListener for savingTeng-Hui Zhu2012-09-281-6/+3
| | | | | | bug:7093055 Change-Id: I4b6b408bb051aa1a7fb506f0b5d1db75fe3f1a2f
* Trimming: clean up the UI for trimming.Teng-Hui Zhu2012-09-271-36/+25
| | | | | | | | | | Get rid of the home button and use the done button only in the action bar. Switch back to use system actionbar / activity. Rename the ShortenExample. bug:7093240 Change-Id: I61684e9723af12cecc212bbd911c23aab0258463
* Trimming: switch to use sherlock action barTeng-Hui Zhu2012-09-261-9/+15
| | | | | | | | | Show a "done" instead of the icon according to the UX team. And we don't have API level dependency. bug:7093240 Change-Id: Ib331495dd233c4dcbeb3d587bd5a4d0d89039d49
* The trimming solution with the mp4parser library.Teng-Hui Zhu2012-09-241-5/+173
| | | | | | bug:7093055 Change-Id: I598a81d80c9c5107696f3af7761207e3ec88f3ff
* Add the UI elements for video trim activity.Teng-Hui Zhu2012-09-111-0/+254
1. Refactored the classes to support both the video play and trim. Now the common code for controller overlay is in CommonControllerOverlay, which is basically the same as the original MovieControllerOverlay without animation. Because in trimming, we don't want to hide all the controller. The specific animations are implemented in the sub-classes which are TrimControllerOverlay and MovieControllerOverlay. At the same time, TrimTimeBar extended TimeBar to support the extra trimming start scrubber and end scrubber. The interface between the timebar and the controllerOverlay are kept almost the same way, except adding the trimming info when necessary. With all these, the activity of TrimVideo now relied on the TrimTimeBar and TrimControllerOverlay. Similarily, the MovieActivity relied on the TimeBar and MovieControllerOverlay. 2. Hook the TrimVideo activity with the trim menu. Note that the icons are temporary for now, still need UX input on that. bug:7093055 Change-Id: Ib9bfbc090106744a569fce4c451ddffc0a2c699b