History log of /frameworks/base/media/java/android/media/tv/TvTrackInfo.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3d04b7693428dd887c93e2ac7f4e90fd0cc87859 13-May-2015 Jae Seo <jaeseo@google.com> TIF: API Review: android.media.tv

Addressed the feedback from the API Review:

android.media.tv.TvView.TimeShiftPositionCallback
Please add more documentation to explain why we are using the wall-clock
time here.

android.media.tv.TvInputService
onTimeShiftSetPlaybackRate should be renamed to
onTimeShiftSetPlaybackParams and pass in the PlaybackParams object
(formerly known as PlaybackSettings) instead of the rate and mode
separately.

android.media.tv.TvTrackInfo
getDescription() should return a CharSequence not a String.

android.media.tv.TvTrackInfo.Builder
setDescription() should take a CharSequence as input.

android.media.tv.TvView
Change timeShiftSetPlaybackRate() to setTimeShiftPlaybackParams() and
use the PlaybackParams object (formerly known as PlaybackSettings)
instead of the rate and mode separately.

Bug: 21045120
Change-Id: I768665ae9c385fcb034bfb346c21b4c9f0891172
/frameworks/base/media/java/android/media/tv/TvTrackInfo.java
de08be8f79ea40f3dffae9edff4227704a5c0a3a 24-Apr-2015 Jae Seo <jaeseo@google.com> TIF: Use Preconditions.checkNotNull for null checking

Bug: 19941047
Change-Id: Ib2b5d86d21ecc48888f9343a0e8f16b08fef6925
/frameworks/base/media/java/android/media/tv/TvTrackInfo.java
0610e12733875a267f59d87a2a68aebbf486066e 23-Apr-2015 Dongwon Kang <dwkang@google.com> TIF: use <p> tag in a consistent way.

Bug: 20340510
Change-Id: I2422646f01542f571d033ee363df58e0906f3514
/frameworks/base/media/java/android/media/tv/TvTrackInfo.java
24ed8072f5b7f221c5b69ff8216ff77b06f506e6 15-Apr-2015 Jae Seo <jaeseo@google.com> TIF: Add pixel aspect ratio to TvTrackInfo

Needed to handle scaling properly for some video formats such as 720x576
4:3 and 720x576 16:9 (the most common European SD formats) where pixels
are not square.

Bug: 19500694
Change-Id: I4d245ed40e8b80f7efd6acdb059d20b63b4ef9de
/frameworks/base/media/java/android/media/tv/TvTrackInfo.java
071b2c72a88eb11e83dcd9c3abd117b30a42d911 09-Mar-2015 Dongwon Kang <dwkang@google.com> TIF: Add getDescription() method to TvTrackInfo.

This is useful when language is not enough for describing the track.
E.g. main audio track(eng) vs audio commentary(eng)

Bug: 19302103
Change-Id: Iebffb943d2c0b5f7a7a12820ff3475b66e0130e8
/frameworks/base/media/java/android/media/tv/TvTrackInfo.java
47b9e4afc9dba512680c2b1e8b82d44232f4b5e0 19-Aug-2014 Jae Seo <jaeseo@google.com> TIF: Add the video frame rate information to TvTrackInfo

Bug: 16187997
Change-Id: I25d5489e42502fa8f2537aadc205bb4203980fb2
/frameworks/base/media/java/android/media/tv/TvTrackInfo.java
10d285ac06b3d3060c7d90d3dc196d4ac8367467 31-Jul-2014 Jae Seo <jaeseo@google.com> TIF: Make selected tracks identifiable

A recent change on the multi-track API surfaced an issue that it's hard to
identify selected tracks from the list of tracks obtained from
TvView.getTracks() method, especially when two or more tracks convey the same
track information (e.g. two English stereo audio tracks with the same sample
rate). This change introduced a new public method getId() in TvTrackInfo that
returns an ID with which one can identify the tracks uniquely. It also led to
minor signature changes across the multi-track API to make it more
developer-friendly in both application and TV input service developers'
perspectives.

Change-Id: I226f75e697b0ce52b44db7471660f6d9f646f6f9
/frameworks/base/media/java/android/media/tv/TvTrackInfo.java
1f81b1040f40a3233981f34268b11e5c9ad9f34c 05-Aug-2014 Dongwon Kang <dwkang@google.com> TIF: make the documentation consistent.

Change-Id: Iaf93c8753c43fa128b464cea3f63a38fb7b3c8b3
/frameworks/base/media/java/android/media/tv/TvTrackInfo.java
d5ce9759524740cfb02638fd1d7b44315957b422 25-Jul-2014 Jae Seo <jaeseo@google.com> TIF: Make TvTrackInfo methods more explicit.

This change addresses the following API council feedback:

TvTrackInfo:
-- Remove all KEY_/VALUE_ constants, and replace with explicit,
strongly-typed accessor methods.
-- Add additional Bundle getExtras() method (in addition to the explicit
types); most of the time this Bundle will be null.

Bug: 16542165
Change-Id: Ie48cb170b2bbf07d9460fdc8ed77d7db01799772
/frameworks/base/media/java/android/media/tv/TvTrackInfo.java
1f213914c45c23c653f721690da2ce0718e63139 02-Jul-2014 Dongwon Kang <dwkang@google.com> Support multiple tracks in TV Input framework.

Added API: getTracks/selectTrack/unselectTrack/onTrackInfoChanged
(onVideo/Audio/ClosedCaptionStreamChanged callbacks are removed in favor of onTrackInfoChanged)
Use cases: audio and closed caption track selection
Background: go/tif-multi-track

Bug:14073704, Bug:14121898, Bug: 16049453
Change-Id: I199ed16f690d4e757da0bb30c8bc8222a6fa1d7a
/frameworks/base/media/java/android/media/tv/TvTrackInfo.java