History log of /packages/apps/Mms/src/com/android/mms/model/VideoModel.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a9ca40ffa00b47cec925339352c3f80a7ce71805 08-Nov-2012 Roger Chen <cxr514033970@gmail.com> Set source of VideoModel to fullname of video file

Some operator will only send the MT the part I (smil) multipart body of Mms
m-retrieve-conf without part II (the real mutimedia files) if "src", "Content-
Type", "Name", "Content-Id" and "Content-Location" of the Mms m-send-req are
set to the full path in MT.

So MT will retrieve a Mms recognized as a Video Mms, but with no parts in
this case.

Change-Id: I2b70a0dbb45f081a93781a639bcebab87cf2d095
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
9c9df2773645d195dbf17df91d7cccdf5154fe84 04-Oct-2012 Tom Taylor <tomtaylor@google.com> MMS not displaying image or text after sending

Bug 7276966

When a pdu or image is canceled during loading, remove the pdu/slideshow
or image from the cache so it's fully reloaded the next time the uri is
requested.

Change-Id: I0f898821cfc1ad75115f298394a4f2497c3e4706
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
d64419030e1fec1e751695dab3bd7236e2fb0214 02-Aug-2012 Roger Chen <cxr514033970@gmail.com> Clean and format all imported packages

Change-Id: I2e45f5ba1d56b9b17314a8b0f4c0fc1a5d8fc4d9
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
0ecc26df09777835cfa8dbfd3c48ca7b7fa7f011 27-Mar-2012 Tom Taylor <tomtaylor@google.com> Use the new DRM scheme in MMS

Bug 5158047

Change-Id: Id5d0ed03816b70c9f06b98af982cd5afb9af38d5
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
721ad07121cb9b0cd76bdbbc88494aa8f4d45a6d 06-Mar-2012 Tom Taylor <tomtaylor@google.com> Increase cache size and put downsized thumbnail images on disk

Bug 6093907

Use Gallery code to compress thumbnails and store them in the
app's cache dir (not on the sd card). Increase the size of the
in-memory thumbnail cache to 16 images. Set the pdu and image
loader threads to a lower priority than the UI thread. Don't
extract the empty image bitmap on the UI thread. In fact, don't
show the empty image bitmap until we're sure the image can't
be decoded. Don't set the image bitmap multiple times. Remove
excess color list background that slows things down. Clean up
the thumbnail loader and get rid of the width, height params.
Lower the pdu cache to 16 items to match the thumbnail cache limit.
Modify SimpleCache to support both hard and soft references and
use hard refs for the small pdu and thumbnail caches. The result
is much faster and less janky scrolling.

Change-Id: Ifc0d590d4ab27bb66d306b681082b4e95cf3d64d
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
79bf6f70c54d08dc9c3481b8461a3a46a3cefb83 29-Feb-2012 Tom Taylor <tomtaylor@google.com> Jank: Strict mode violation loading video thumbnail

Bug 6083533

The video thumbnail was getting loaded on the UI thread. Now use
the ThumbnailManager to load the thumbnail in the background.

Change-Id: I4369fb1d0e4674d0365778ee0fd2379d01892b58
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
2fddde28ed2ccb3c156d596160e3a504c83ce444 05-Oct-2011 Tom Taylor <tomtaylor@google.com> Video captured from Messaging app is left in Gallery

Bug 1659270. Bug 5410499.
Instead of capturing a video and leaving the temp video in the gallery,
pass the camera a uri to store the video data. Also fix a bug where
captured pictures weren't getting their temp files renamed to a name
that included their slide number.

Change-Id: I83c0edc506d384f789a7a9ca98bf3ad5f50b361f
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
02277c6b787e8e29ee22b1df745eb8549d3ff023 17-Sep-2011 Tom Taylor <tomtaylor@google.com> Don't allow non-local videos to be attached

Bug 5319344

Change-Id: If440de4a67860a656e37fa62a2a8b6899adae77d
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
150c4179995cc0a75f934ef194372f9295957ca2 08-Apr-2011 Joe Onorato <joeo@google.com> Remove the deprecated things from Config.java. These havent been working since before 1.0.

Change-Id: I7b60931012a68116b516acc8af8a7a8fdeab97c3
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
c1edca92206708d49fc9a14da9eb5cc7e60e4a1d 31-Jan-2011 Sang-Jun Park <sj2202.park@samsung.com> Support video/mp4 content type

Change-Id: I388e6066b05872993c3f15167d2250d7732c6d8f
Signed-off-by: Sang-Jun Park <sj2202.park@samsung.com>
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
f7e8281a223af6228e6399055a6197a1edd9bc3a 09-Mar-2010 Tom Taylor <tomtaylor@google.com> Remove mms-common

Get rid of the mms-common library and move the mms files back into the
framework where they originally came from.

Change-Id: I8ce2b0a2a3cfc6b7da13ce0e791173c09dd8f0f5
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
fd644551e8506266aad2b76463b51b44154ed62f 29-Jan-2010 Tom Taylor <tomtaylor@google.com> Update refs now that MMS is removed

Move MMS to mms-common library. Update imports.

Change-Id: I28fa24a68c27977eba58cb62f2667596d3abe2c4
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
1931fe06a209e2ed3497db0248eec31dbe95d352 28-Jan-2010 Jesse Wilson <jessewilson@google.com> Removing now redundant copies of DOM v3 from MMS.

These were necessary for SMIL when Dalvik supported only DOM v2. This was
causing crashes because the MMS app included non-standard changes to the W3C
APIs for Event.getSeekTo() and Event.initEvent(). See bug 2403861.
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
6be18bedb5b87dbbcdb54f37d5a0945bd0f71377 17-Dec-2009 Tom Taylor <tomtaylor@google.com> Unbundling work

This is the first step in unbundling the Mms app. Some of the changes include:
- moving some of the Mms code from the framework into the app itself.
- same with emoticons
- remove dependency on internal drawables and add local copy to mms
- some dependencies on various internal classes now moved to android-common library
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
ca09b947272afd5f9a4960bc55a19f1b9e063d5b 15-Sep-2009 Wei Huang <weih@google.com> fix bug 2091298: don't auto restart the music app after done playing the mms audio attachment.
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
7fa61cafe50deb74beb0819bdf52128239d50201 26-Aug-2009 Wei Huang <weih@google.com> pause music player when playing audio in MMS slideshow, and resume when MMS audio is stopped.

- more logging reorg.

- call

Intent i = new Intent(MUSIC_SERVICE_ACTION);
i.putExtra("command", "pause");
mContext.sendBroadcast(i);

to pause music player, and

Intent i = new Intent(MUSIC_SERVICE_ACTION);
i.putExtra("command", "togglepause");
mContext.sendBroadcast(i);

to resume.

Change-Id: I917310fe1e4f127e608f2acdb2c7976290746188
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
72735c62aba8fd2a9420a0f9f83d22543e3c164f 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
892f2c5bf965b1431ae107b602444a93f4aad4a3 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
0f236f55349f070ac94e12cca963847173393da8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java
8eed706474910ccb978acda03e85d3261037da6e 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Mms/src/com/android/mms/model/VideoModel.java