• Home
  • History
  • Annotate
  • only in /packages/apps/Car/Media/
History log of /packages/apps/Car/Media/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e635970cd98709d0fbb551b6f4e7ba9cf2d5b9d4 28-Aug-2017 android-build-team Robot <android-build-team-robot@google.com> release-request-c924aaac-f0a2-4215-8dc4-e314f22460d9-for-git_oc-mr1-release-4301796 snap-temp-L23200000097143969

Change-Id: If446d0a50c2d2ef52dfd85114b76481287405c20
ef10fab856cafbfaa89bd79bb7b95fca7f58b2dd 23-Aug-2017 Yao Chen <yaochen@google.com> Update the CarMediaApp with the new car intent constants.

Bug: 63672321
Test: builds and manually tested.
Change-Id: Ic0a1fa26abd0871d348f553c388fbacfa988e39f
ndroidManifest.xml
rc/com/android/car/media/MediaManager.java
f7797ba9fef9ea7d20ef88c950eb9546ff0257e7 25-Jun-2017 android-build-team Robot <android-build-team-robot@google.com> release-request-7bfcab52-d1c0-4256-9d6b-5b5092bc78ca-for-git_oc-mr1-release-4133428 snap-temp-L95800000077479875

Change-Id: I5dd17c682a90cd9f7b35f8fe051b34f8e1ff6f4a
e11d4ac6b648b23f67df49de47c34d27b16f095c 22-Jun-2017 Bryan Eyler <bryaneyler@google.com> Disable Car apps in PDK until the dependencies are fixed.

Bug 62360631

Change-Id: I5db7082a4f44618c5ecccc6d1e4a1d3749b3590a
ndroid.mk
7b377ede3807d8839be8087dd2b5eb1572474f30 21-May-2017 android-build-team Robot <android-build-team-robot@google.com> release-request-91ef8626-1af7-4595-b2bd-2d85ee97e99f-for-git_oc-mr1-release-4029936 snap-temp-L27200000066301195

Change-Id: Ie2e9b007d600dab15796f8ff9022b472fdcf0ab2
b435de51965d13509bd5a1a8e2a127470c0aaa11 18-May-2017 Rakesh Iyer <rni@google.com> Scroll to currently playing item.

We moved to showing the whole queue so make the list scroll
to the currently playing item. We need to scroll both on the
queue open and during the viewholder binding since the viewholders
for positions that don't show up on the screen are not guaranteed
to be called when the list becomes visible. By forcing the
initial scroll, we can make sure the updates while binding take
place.

Bug: 37999972
Test: 1. Skipped forward many tracks and opened the queue. Verified
that the currently playing song was scrolled to.
2. Stayed with the queue open and watched the list scroll when
the track changed.

Change-Id: I424b68c0fe3a74073e53495246065ca6f0244891
rc/com/android/car/media/drawer/MediaBrowserItemsFetcher.java
rc/com/android/car/media/drawer/MediaDrawerAdapter.java
rc/com/android/car/media/drawer/MediaDrawerController.java
rc/com/android/car/media/drawer/MediaItemsFetcher.java
rc/com/android/car/media/drawer/MediaQueueItemsFetcher.java
a8a00f9608939407ffd45f3aec6dbdc65efcdc7c 17-May-2017 android-build-team Robot <android-build-team-robot@google.com> release-request-323db86e-b638-4d24-8eb1-d2e3bf4a9d1a-for-git_oc-mr1-release-4017779 snap-temp-L47900000064949209

Change-Id: Ifbca96b9175061e34a4d58d0f4ad4a397853688f
0fcbdb4f0b2bcbb02ee331520f7df258aaeb46a5 10-May-2017 Rakesh Iyer <rni@google.com> Work around regression in Bitmap.java

Passing a null bitmap is causing a crash in Bitmap.java
due to a recent change, refactor the code so we don't
trigger it.

Bug: 38139078
Test: Media player now works.
Change-Id: I581553dd0930c5969151da329d5e62efaf24a7d8
rc/com/android/car/media/CrossfadeImageView.java
6bdaa287d0c71a6f7156fb08bda50166661495db 04-May-2017 Srinivas Visvanathan <sriniv@google.com> Update Media app to show entire queue

- This matches behavior of AAP/AAV.

Bug: 37999972
Test: Exercised queue in local media player
Change-Id: I7a51967288b145762976cdd99af39405c026c978
rc/com/android/car/media/drawer/MediaQueueItemsFetcher.java
5f33f82fb1a5907fbd8bd286dcdaa689d2d192d6 20-Apr-2017 Anthony Chen <ajchen@google.com> Decouple CarDrawerActivity from media drawer classes.

The CarDrawerActivity is now only passed to the MediaDrawerController.
The controller is now completely responsible for all drawer navigations.
The various item fetchers will notify the controller via interfaces of
variious user actions (e.g. clicks).

It is possible to separate the CarDrawerActivity from the
MediaDrawerController, but this is cleaner if done from the
car-stream-ui-lib level. That is, make some kind of base
CarDrawerController.

Test: Started media app. Test playing, opening queue and navigation in
drawer.

Change-Id: Idaaedf19ec2127f9b673d4294e08901b1dd96886
rc/com/android/car/media/MediaActivity.java
rc/com/android/car/media/drawer/MediaBrowserItemsFetcher.java
rc/com/android/car/media/drawer/MediaDrawerAdapter.java
rc/com/android/car/media/drawer/MediaDrawerController.java
rc/com/android/car/media/drawer/MediaItemOnClickListener.java
rc/com/android/car/media/drawer/MediaQueueItemsFetcher.java
349880a1749d601dea9f20106b3dd09ee47f8eb9 19-Apr-2017 Anthony Chen <ajchen@google.com> Media app fragment cleanup.

- Remove Activity references from the MediaPlaybackFragment. Now the
fragment controls all the views.
- Remove focus related code since embedded does not support rotary
- Remove parcelable exceptions because the code is not unmarshalling any
custom classes.

Test: opened media app and tested with local media
Change-Id: Iefb1d1ca10a2aad080bce6d3216dbb4bf86ec2a5
ndroidManifest.xml
es/anim/image_in.xml
es/layout/media_activity.xml
es/layout/media_controls.xml
es/layout/now_playing_screen.xml
es/values-w1024dp/dimens.xml
es/values/bools.xml
es/values/dimens.xml
es/values/integers.xml
rc/com/android/car/media/MediaActivity.java
rc/com/android/car/media/MediaPlaybackFragment.java
rc/com/android/car/media/util/widgets/MusicPanelLayout.java
rc/com/android/car/media/util/widgets/PlayPauseStopImageView.java
292426df297a9137cded7808ac4dfdb3d532d1f0 14-Apr-2017 Rakesh Iyer <rni@google.com> Fix up tap target heights.

The tap targets are really big and are getting really close to
the seek bar. Reduce the size a little to avoid mistriggers.

Also, the default dimens file was missing a bunch of resources
which could cause the application to crash because it wouldn't
find a resource at some resolutions. Put in placeholder numbers
for those.

Bug: 36191136
Test: Looked at the layout bounds with show layout bounds enabled
and made sure they look reasonable.
Change-Id: Id55f397acb8e751a75978b100051f34e6c5eb2dd
es/layout/media_controls.xml
es/values-w1024dp/dimens.xml
es/values/dimens.xml
2575070e9de72bde07e5bc1c7ece95bd7f78ac27 04-Apr-2017 Srinivas Visvanathan <sriniv@google.com> Fixing Media drawer layout issues

- Using updated CarDrawerAdpater that allows picking layout per item.
MediaDrawerAdapter delegates this to MediaItemsFetcher's.
- Both fetchers use small layout if media-description has no sub-title
and use normal layout otherwise.

Bug: 36573125
Test: Exercised media
Change-Id: I7f8c496d3b6b92f52c55719d9b5ddcf9839876d0
rc/com/android/car/media/drawer/MediaBrowserItemsFetcher.java
rc/com/android/car/media/drawer/MediaDrawerAdapter.java
rc/com/android/car/media/drawer/MediaDrawerController.java
rc/com/android/car/media/drawer/MediaItemsFetcher.java
rc/com/android/car/media/drawer/MediaQueueItemsFetcher.java
d9f5e3e6aa194c36a7f99463a23e9ecc731b7cff 25-Mar-2017 Rakesh Iyer <rni@google.com> Make media depend only on stream-ui-lib.

We're removing the ui components from the car support
library so make media depend on the copies that have
been added to the stream-ui-lib.

Bug: 33210228
Test: Booted and verified that everything looks okay.
Change-Id: I837b7baaf6eadad3f5828782acec96bee07b2ea4
ndroid.mk
es/drawable/error_illustration.xml
es/layout/initial_no_content.xml
es/values/dimens.xml
rc/com/android/car/media/CrossfadeImageView.java
rc/com/android/car/media/MediaPlaybackFragment.java
rc/com/android/car/media/util/widgets/PlayPauseStopImageView.java
5cb58af61618d6c457685a5feba630540f25567c 22-Mar-2017 Srinivas Visvanathan <sriniv@google.com> Moving Media app off CarActivity

- MediaActivity now extends CarDrawerActivity from car-stream-ui-lib and
no longer relies on legacy CarActivity.
- Re-implemented Drawer logic using CarDrawerAdapter. Added
media-specific subclass: MediaDrawerAdapter. It relies on
MediaBrowserItemsFetcher (and subclasses) for actual fetching of
browse items or queue items.
- Removed now dead classes: MediaProxyActivity, MediaCarMenuCallbacks
and MediaMenuBitmapDownloader.
- Drawer layout is still a bit broken because CarDrawerAdapter is not
flexible enough for Media needs. Filed follow-on bug b/36573125 to
address.

Bug: 34352155
Test: Played music in from LocalMediaPlay and BT Media player. Local
version works for the most part (except for b/36571620). BT version browse
works, but playback is buggy. Need to investigate BT side of things.

Change-Id: Ic9ee87fcdeaecb2c71a9d354316c1342ae90de28
ndroidManifest.xml
rc/com/android/car/media/MediaActivity.java
rc/com/android/car/media/MediaCarMenuCallbacks.java
rc/com/android/car/media/MediaMenuBitmapDownloader.java
rc/com/android/car/media/MediaPlaybackFragment.java
rc/com/android/car/media/MediaPlaybackModel.java
rc/com/android/car/media/MediaProxyActivity.java
rc/com/android/car/media/drawer/MediaBrowserItemsFetcher.java
rc/com/android/car/media/drawer/MediaDrawerAdapter.java
rc/com/android/car/media/drawer/MediaDrawerController.java
rc/com/android/car/media/drawer/MediaItemsFetcher.java
rc/com/android/car/media/drawer/MediaQueueItemsFetcher.java
ef5f2af55c10d097d166d81b28fc537028e21a66 22-Mar-2017 Srinivas Visvanathan <sriniv@google.com> Multi-listener support in MediaPlaybackModel

- Updating MediaPlaybackModel to support multiple listeners.
- Allowing MediaBrowser extras to be passed in optionally.

Bug: 34352155
Test: Manually
Change-Id: I309c9319cb68338a2716f6377a98ae5e22166a3e
rc/com/android/car/media/MediaPlaybackFragment.java
rc/com/android/car/media/MediaPlaybackModel.java
2e0164b40f9ac3fda9717caeb890b740290db5c7 20-Dec-2016 Rakesh Iyer <rni@google.com> Make media player platform signed.

Allows partners to easily check one signature instead of maintaining
long whitelists for each oem.

Test: Verified manually.
Change-Id: I955d118738f0aa1f3d92c8cc2a09ecf51903d908
ndroid.mk
daf511e6ce12d2b92462add34a34281752bedcc9 22-Oct-2016 Rakesh Iyer <rni@google.com> Fix media crash.

The media app is hanging on to a reference that is being nulled
out causing a crash. This is a spot fix, we should take a better
look at a the lifecycle in the future.

Bug: 32339749
Test: Manual.
Change-Id: I57da3d2f149b1bf60804517af8a5be8dedb42c70
rc/com/android/car/media/MediaCarMenuCallbacks.java
64b173f33aa2d98ea00b9113b52e6f8cb35589ad 20-Oct-2016 Rakesh Iyer <rni@google.com> Move car media app.

Original sha1: f802a6f645c66e914ecfe2c1fd06e4dd1aadc6ef

Credits:
ajchen@
rni@
victorchan@
yaochen@

Bug: 32118797
Test: Manual.
Change-Id: Ibfe594d5ea4e37fbbfc150b2152cc97e818bdc52
ndroid.mk
ndroidManifest.xml
es/anim/image_in.xml
es/anim/image_out.xml
es/anim/progress_indeterminate_material.xml
es/anim/progress_indeterminate_rotation_material.xml
es/drawable-hdpi/ic_list_view_disable.png
es/drawable-hdpi/ic_music_active.png
es/drawable-hdpi/progressbar.9.png
es/drawable-mdpi/ic_list_view_disable.png
es/drawable-mdpi/ic_music_active.png
es/drawable-mdpi/progressbar.9.png
es/drawable-xhdpi/ic_list_view_disable.png
es/drawable-xhdpi/ic_music_active.png
es/drawable-xhdpi/progressbar.9.png
es/drawable-xxhdpi/ic_list_view_disable.png
es/drawable-xxhdpi/ic_music_active.png
es/drawable-xxhdpi/progressbar.9.png
es/drawable/ic_music.xml
es/drawable/ic_overflow_activated.xml
es/drawable/ic_overflow_normal.xml
es/drawable/ic_pause.xml
es/drawable/ic_play_arrow.xml
es/drawable/ic_play_arrow_off.xml
es/drawable/ic_play_pause_stop.xml
es/drawable/ic_skip_next.xml
es/drawable/ic_skip_previous.xml
es/drawable/ic_stop.xml
es/drawable/ic_tracklist.xml
es/drawable/music_action_background.xml
es/drawable/music_buffering.xml
es/drawable/music_overflow_action_background.xml
es/drawable/seekbar_background.xml
es/drawable/vector_drawable_progress_bar_medium_thin.xml
es/interpolator/trim_end_interpolator.xml
es/interpolator/trim_start_interpolator.xml
es/layout/initial_no_content.xml
es/layout/media_activity.xml
es/layout/media_controls.xml
es/layout/now_playing_screen.xml
es/values-h600dp/dimens.xml
es/values-w1024dp/dimens.xml
es/values-w748dp/dimens.xml
es/values-w768dp/dimens.xml
es/values-wheel/bools.xml
es/values/attrs.xml
es/values/bools.xml
es/values/colors.xml
es/values/dimens.xml
es/values/id.xml
es/values/integers.xml
es/values/strings.xml
es/values/styles.xml
es/xml/automotive_app_desc.xml
rc/com/android/car/media/CarClientServiceAdapter.java
rc/com/android/car/media/CrossfadeImageView.java
rc/com/android/car/media/MediaActivity.java
rc/com/android/car/media/MediaCarMenuCallbacks.java
rc/com/android/car/media/MediaConstants.java
rc/com/android/car/media/MediaManager.java
rc/com/android/car/media/MediaMenuBitmapDownloader.java
rc/com/android/car/media/MediaPlaybackFragment.java
rc/com/android/car/media/MediaPlaybackModel.java
rc/com/android/car/media/MediaProxyActivity.java
rc/com/android/car/media/util/widgets/MusicPanelLayout.java
rc/com/android/car/media/util/widgets/PlayPauseStopImageView.java
6d22528aceaa1e41740f982f1ca36eb254acbda9 19-Oct-2016 Shirley Yuen <shirleyshukyee@google.com> Initial empty repository