History log of /packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e0321526805facb72b307be6120b20a881ee979d 13-May-2013 Marco Nelissen <marcone@google.com> Enable virtualization

When the Intent says to virtualize, and the right virtualizer is
present on the device, enable virtualization.

Bug: 8767565
Bug: 10727216

Change-Id: I8a98404b21c434966b7ae2dc341eb38f2a47eef2
(cherry picked from commit af6b0d2c08afd7803a92856c7c39b5e6144addfa)
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
e8b4b34cb77b179f397641e2f4572e4aa6be1943 17-Apr-2013 ztenghui <ztenghui@google.com> When video not seekable, don't show the scrubber

bug:7117365

Change-Id: I133ea68eaebf1d875a27336ac524d785efe71cc2
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
4f100e5f200d24a820ed59c7bc924e18e1b17a65 27-Oct-2012 Teng-Hui Zhu <ztenghui@google.com> Gallery: Do not set the background to null for video.

This will fix screen corruption when exit while video complete or rotate while
video playing.

bug:7405595

Change-Id: I8b559390a284e5c850bc02a76add86c4de600144
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
3f1f1baf3a674927e25cd5cd885fb372796bd3a0 24-Aug-2012 Teng-Hui Zhu <ztenghui@google.com> Add the UI elements for video trim activity.

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
28cb4161da5fc3756933ca67d509b8af1c6275f1 29-Aug-2012 Owen Lin <owenlin@google.com> Remove unused resources and fix some warnings.

Change-Id: I075977150c7da7650e723e29406f24ae2e23ea97
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
6772173d2a49b87a1d209f42fe52b5f830596f99 02-Jul-2012 Chih-Chung Chang <chihchung@google.com> Remove dependencies on APIs only exist on newer platforms.

Change-Id: I606a23863247454051dd183ddf6b77f6bc882685
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
df4763cf8752fb1babc7244fc2be33ed87d3b072 28-Jun-2012 Owen Lin <owenlin@google.com> Don't reuse bitmap before HoneyComb.

Change-Id: I0df9bf0a8f43e28ed25b436d4c584dc3ceb43c1d
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
ca7d9bfb42c1d5037bcecdde30eb836755140b03 29-Jun-2012 The Android Open Source Project <initial-contribution@android.com> Avoid using View.SYSTEM_UI_FLAG_LOW_PROFILE.

Use View.STATUS_BAR_HIDDEN instead.

Bug:6706727
Change-Id: I0324a251b10eba11350f1813ee975d493bbcfafa
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
3a45725ad42324cd2db172fb082fe80772d94d3f 28-Jun-2012 Owen Lin <owenlin@google.com> Don't use Build.VERSION_CODES.

Since they won't be available on old platform.

bug: 6752318

Change-Id: I55a9e83dbf05b93c83c68cb31f6edcbc29793283
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
7a5e1e771ae58241f3a2be36f23025f282032261 20-Jun-2012 Owen Lin <owenlin@google.com> Guard the use of SYSTEM_UI_FLAG_XXXX with TargetApi

bug: 6698718

Change-Id: I6962f0128ce2bd57658b7f3b77d2bc150eff1f60
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
22a3633a5b84449a419ecb92479703725bdd6723 21-Jun-2012 Wu-cheng Li <wuchengli@google.com> Use View.setBackgroundDrawable instead of setBackground.

View.setBackground was added in API 16. Use setBackgroundDrawable
instead.

bug:6698428
Change-Id: I1346ba4c640ae98d76e333779b4620cdc48b6a3a
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
0b4e90974bb2f171ec3b684c10d8b9c4d97afbde 19-Jun-2012 Owen Lin <owenlin@google.com> Make SystemUI always consists with the contrller overlay.

Change-Id: I81f2a71fd38fc2588a9acb97b9d333978ffb5e48
fix: 6679875
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
00bb8e439e33848d679a4404c203af9ed1a06a19 24-May-2012 Owen Lin <owenlin@google.com> Add back the background when we show the action bar

This change fix the following UI issues:

1. We add a black backgorund when ActionBar shows and remove it
when we hide the action bar.
2. Make the postion of video stable when opening
3. Prevent glitching when opening a video
4. Make it really full-screen.
5. Hide ControlOverlay at begining.

bug:6519765
bug:6491674

Change-Id: I3ab033642df2c4a158b99385b02e3e967eebeabd
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
24525c28e4c8b4432831b4a2bdb3806017b7772b 22-May-2012 Ray Chen <raychen@google.com> Fix 6519765 Ghosting is seen when hiding the actionbar in fullscreen video playback mode
b:6519765

Ensure SYSTEM_UI_FLAG_LAYOUT_STABLE and SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN is set in all states
so ActionBarOverlayLayout can response to fitSystemWindows and onSystemVisibilityChange correctly.

Change-Id: I41a33c9e7d21243bde6fa64e6cd1b709e7b04203
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
392a29210937c16a9086450bcfb98d1c61b0d87e 14-May-2012 Ray Chen <raychen@google.com> Fix 6479216 Playing a video should go full-screen first

Change-Id: I7b1d2bd28531ec4fd4b65862122cf058ef69066e
b: 6479216
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
fc8c503d1351c6ee62d233a944f2bd5220e64a55 29-Nov-2011 Chih-Chung Chang <chihchung@google.com> Fix 5661035: Accepts bluetooth keys while playing a video from gallery.

Change-Id: I8174b1a97baad563d8bbd685b9aab3a8ca428ead
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
aea077a5767d28fcdade440825239adfbfb8f45a 10-Nov-2011 Owen Lin <owenlin@google.com> Show control overlay when earphone is unplugged

Change-Id: I3e259e66d318010a3f9e9b47b561a09b2db2b6a5
fix: 5563251
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
5383c573055927dfd856c3f360671d1887a971d5 09-Nov-2011 Chih-Chung Chang <chihchung@google.com> Fix 5585254: Make system UI enter "low profile mode" while playing.

Change-Id: I91f680871b7a965f6776cb017dcd825a587e5054
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
209a9163d4e8cee0bfe162ae598ef40e6051479c 14-Oct-2011 Chih-Chung Chang <chihchung@google.com> Fix 5393669: New Player Control UI.

Change-Id: I1aa310eee3b7715dbefea6b2f24e6f32481db49c
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
fbcc99ce6124d486cc9b3b57e67b700357fd0e65 28-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5384679: Back button doesn't work in Video Player

Change-Id: Idde8778fc5643ef21fd4ad39ffbaa3c9e0c7d147
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
8176012eeb96bb167ef7c7ba2d02f82b646766f0 27-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5158468: Hide system bar when no play control is shown.

Change-Id: Iada70c39440f19eec1cb00088531719bc1bb8328
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
540e4698824654232f300992ed8c03b20c9d5946 14-Sep-2011 Owen Lin <owenlin@google.com> Pause the playback of video if the activity is resumed after 3 mins.

fix: 5260232

Also keep the current playback position when the activity is resumed.
Originally, we use the bookmark to keep the position. However, the bookmark
will be ignored if

1.) The video duration is less than 2 mins, 2.) The video
is just started (with 30sec), or 3.) The video is approching the end.

I think resume should not limited by the above rules. And we did get some
reports on this. (We mark them as WORK AS INTENTDED).

Change-Id: Ib9ac359d7ccb6a0278777b0892f0821e16bbb745
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java
f9a0a4306d589b4a4e20554fed512a603426bfa1 17-Aug-2011 Owen Lin <owenlin@google.com> Initial code for Gallery2.

fix: 5176434

Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c
/packages/apps/Gallery2/src/com/android/gallery3d/app/MoviePlayer.java