summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSungsoo Lim <sungsoo@google.com>2014-07-29 11:48:36 +0900
committerSungsoo Lim <sungsoo@google.com>2014-08-01 13:47:28 +0900
commit5c5b83fcd58d21c9ab7ac986bf84f604ec5bb4b5 (patch)
tree042670f975c8ad51f618483bd9a636961e61a64c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent012ef36a6c5e9745d112c734aed916cab052558c (diff)
TIF: Use XML file for representing TvContentRating
This change addresses the following API council feedback. - Remove all constants from TvContentRating. Instead this class becomes a general parser for a tuple of "rating domain"+type+subtype(s). - Instead of constants in the API, the rating definitions should come from parsed XML meta-data tied to a TvInputService entry in the AndroidManifest. This XML should define a ranked order of the rating constants along with @string references for displaying in the Settings UI. Mention that the "rating domain" should be scoped similar to a package name, for example "com.youtube.ratings". - For system-defined rating types (like US, Korea, etc) we should parse this same XML format, but it may come from a hard-coded XML resource (since they aren't tied to a single TvInputService.) - Thoroughly document the built-in supported types in javadoc on TvContentRating. Change-Id: I0a9526c73c8ca67fd0eeac63f3c63c05657a45e3
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions