8d0bc8f74dd470a8a9c4ec8d28139396fb5266ab |
|
08-Jun-2016 |
Alan Viverette <alanv@google.com> |
MediaRouter: Remove use of tint The use of tint also affects to the custom drawables like white drawables in the light theme. Bug: 29184928 Change-Id: I47b1a47c040988a2a44c3cf53f46494b3f3be1b2
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
327fd3c7148b95a33468ae9748822f6141abd032 |
|
25-May-2016 |
Donghyun Cho <donghyun@google.com> |
MediaRouter: Reduce the size of the mediarouter library In order to reduce the size, - Used optimized png files - Removed some resources in mdpi/hdpi dimensions - Used tinting instead of light-theme resources Bug: 28901991 Change-Id: I15f1798eb41be02e07b322a5db0fa7cb37d8bec5
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
6759b1021d8198ad1d239bb30e5a102b99624bce |
|
25-Feb-2016 |
Adam Lesinski <adamlesinski@google.com> |
Build support libs with AAPT2 Use AAPT2 to build the framework support libraries. Apps built with AAPT2 can more efficiently link against these libraries by specifying their module name in LOCAL_STATIC_ANDROID_LIBRARIES. Ex: LOCAL_STATIC_ANDROID_LIBRARIES := android-support-v7-appcompat android-support-v4 Apps built with AAPT2 do not need to specify --auto-add-overlay or --extra-packages, as these are automatically added as needed by the build system. This change will not affect any apps that currently depend on the support libraries. This is because they import the resources directly. We use LOCAL_JAR_EXCLUDE_FILES := none only to support javac when building javadoc. Jack builds are correct because the build system passes in the latest generated R.java ahead of any previous ones packaged in classes.jack. This means we can dynamically reference a support lib module, correctly seeing non-final R.java. Then at app package time, we only include the final R.java generated by the AAPT2 packaging step. Bug:25958912 Change-Id: I6577a91e4d428dd29fecaa86a26be43d4da8310c
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
57f39186667b8acef1a0ebeda585c357a751a8b3 |
|
02-Apr-2016 |
Adam Lesinski <adamlesinski@google.com> |
Revert "Build support libs with AAPT2" This reverts commit 66b8608151c5923de3c9877bc03218d83f6b3beb. Change-Id: I2178c0336bef8386e1f36ff3816b6dbf1e6a64d0
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
66b8608151c5923de3c9877bc03218d83f6b3beb |
|
25-Feb-2016 |
Adam Lesinski <adamlesinski@google.com> |
Build support libs with AAPT2 Use AAPT2 to build the framework support libraries. Apps built with AAPT2 can more efficiently link against these libraries by specifying their module name in LOCAL_STATIC_ANDROID_LIBRARIES. Ex: LOCAL_STATIC_ANDROID_LIBRARIES := android-support-v7-appcompat android-support-v4 Apps built with AAPT2 do not need to specify --auto-add-overlay or --extra-packages, as these are automatically added as needed by the build system. This change will not affect any apps that currently depend on the support libraries. This is because they import the resources directly. We use LOCAL_JAR_EXCLUDE_FILES := none only to support javac when building javadoc. Jack builds are correct because the build system passes in the latest generated R.java ahead of any previous ones packaged in classes.jack. This means we can dynamically reference a support lib module, correctly seeing non-final R.java. Then at app package time, we only include the final R.java generated by the AAPT2 packaging step. Bug:25958912 Change-Id: I5235b73ac68f2050d089aefc3163901ff80f2d46
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
4ac91fa3f14db2f25345595fb921497c11d4e5c0 |
|
31-Mar-2016 |
Adam Lesinski <adamlesinski@google.com> |
Revert "Build support libs with AAPT2" This reverts commit 0dac8d82e2a249d7c9c42ab259389e11cac15400. Change-Id: I830fb18162b6eea8dde9e38f9dc39b02449ec846
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
0dac8d82e2a249d7c9c42ab259389e11cac15400 |
|
25-Feb-2016 |
Adam Lesinski <adamlesinski@google.com> |
Build support libs with AAPT2 Use AAPT2 to build the framework support libraries. Apps built with AAPT2 can more efficiently link against these libraries by specifying their module name in LOCAL_STATIC_ANDROID_LIBRARIES. Ex: LOCAL_STATIC_ANDROID_LIBRARIES := android-support-v7-appcompat android-support-v4 Apps built with AAPT2 do not need to specify --auto-add-overlay or --extra-packages, as these are automatically added as needed by the build system. This change will not affect any apps that currently depend on the support libraries. This is because they import the resources directly. We use LOCAL_JAR_EXCLUDE_FILES := none only to support javac when building javadoc. Jack builds are correct because the build system passes in the latest generated R.java ahead of any previous ones packaged in classes.jack. This means we can dynamically reference a support lib module, correctly seeing non-final R.java. Then at app package time, we only include the final R.java generated by the AAPT2 packaging step. Bug:25958912 Change-Id: I71bff080ff2694aa3df1c8a67d933e2daab0f245
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
c4918b70f2041e863d300ae08c75bb50255a3ec8 |
|
25-Nov-2015 |
Sungsoo Lim <sungsoo@google.com> |
MediaRouter: A minor change for better readability This change has the same result, but better for understanding what the code is intended to do. Change-Id: I5c1d423b81e204f523e769cb4c127ef9e81b988c
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
2c39db167f54cd0f6d45f5043eee2b09004ddc5b |
|
21-Nov-2015 |
Jae Seo <jaeseo@google.com> |
Revert "MediaRouter: Fix for background colors of group volume controls" This reverts commit a5acc84977ea7a13946a6bb974333a8986558c9b. Change-Id: Iee26afae1729940185e740cd63c6d611091b6589
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
4448a8e5ed20d230cb838042ff73b6409106cf80 |
|
17-Nov-2015 |
Sungsoo Lim <sungsoo@google.com> |
MediaRouter: Make getThemeColor() work properly If an app uses its own style for MRCD, the primary color in the style was not applied properly when creating theme context in the constructor of MRCD. Bug: 25731047 Change-Id: I9744c76373ac9b3d400f7be753a589aa520c78e6
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
a5acc84977ea7a13946a6bb974333a8986558c9b |
|
17-Nov-2015 |
Sungsoo Lim <sungsoo@google.com> |
MediaRouter: Fix for background colors of group volume controls Bug: 25732176 Change-Id: I3b3265778894ce9c397829fea714c08fc3da7a23
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
d807ca0f601dc0b9807e0ed635b3f502fddec083 |
|
08-Oct-2015 |
Jae Seo <jaeseo@google.com> |
MediaRouter: New color scheme for main and group media controls Instead of showing dark controls in a possibly dark (i.e. the primary dark), modeled the white dialog and used the the primary color for the group controls. Also, reverted opacity values back to 87% for better contrast in a light background. In addition, - Fixed a bug that the volume slider for a disabled media route is still movable. - Fixed a bug that the volume sliders are always tinted with the primary color. - Fixed a bug that the ripple drawables for the play/pause and group collapse/expand buttons are cut off by an invisible divider. - Corrected the inconsistent disabled alpha values. - Ensured the volume slider color is opaque so that the underlying progress bar is not seen through the thumb. Bug: 24336474, Bug: 24779916, Bug: 24779734, Bug: 24779945 Change-Id: Ic163d73dd38558994ff5e0bf8b4c3d4b66800c23
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
f5e8e4e6c1e751584b95194b9a55d30563dd7d7d |
|
07-Oct-2015 |
Jae Seo <jaeseo@google.com> |
MediaRouter: Correct the opacity values for the icons Also removed unnecessary background to avoid possible overdraw. Bug: 24713423 Change-Id: I3318244c48d572403dd30b07e71cb1bfbbd4073e
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
727fce56da20393a04aa827e58600ac508cfbe27 |
|
06-Oct-2015 |
Jae Seo <jaeseo@google.com> |
MediaRouter: Fix colors - Modified the criteria for picking up the controller color based on similar implementation in v7 Palette so that text colors roughly match up to the material design standard colors from http://www.google.com/design/spec/style/color.html#color-color-palette - Corrected opacity values on a light background for various drawables. Bug: 24336474, Bug: 24674278, Bug: 24683845 Change-Id: Idc8658af841aa9856a1ef58a3a1d2928b4cbb5a0
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
6871022d2e8969b3a7838cf653acdb3ba03785c3 |
|
03-Oct-2015 |
Jae Seo <jaeseo@google.com> |
MediaRouter: Use a lighter color for the group panel if needed Added a logic to check the contrast between the text and its background in the group volume panel. In case the contrast is insufficient (i.e. < 4.5), generate a 15% lighter color based on the app's primary color and use it instead of the app's dark primary color. Bug: 24336474 Change-Id: I6153335eee5b99400b8694a636e13b389e4fb7ea
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
af77901e2c29580384aa7fa7c55f10d2125f2db3 |
|
24-Sep-2015 |
Jae Seo <jaeseo@google.com> |
MediaRouter: Use colorAccent for default dialog button text Change-Id: I322d9a601c035b6dd3176d871e689a1a224aae0e
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
6f6fdaf79cd74810b2b96514c6914ae1dbe6c5f0 |
|
24-Sep-2015 |
Jae Seo <jaeseo@google.com> |
MediaRouter: Use default text color for button when contrast is low Bug: 24336361 Change-Id: Ie763e040e72c63869f11e4fc622a9ca8853c26b7
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
328f1006c17ddeb3eb563580bcd6638e1cfb4320 |
|
17-Sep-2015 |
Jaewan Kim <jaewan@google.com> |
MediaRouter: Implement chevron/caret animation Bug: 23970688 Change-Id: I2f592750b0080395ad41fdc4c089892645129c99
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
86a802c8d09983d8725cccf59217e65d3e0c6373 |
|
05-Sep-2015 |
Jae Seo <jaeseo@google.com> |
MediaRouter: Set volume slider color properly Change-Id: Id588ad4c7bf2ef088c62ba3cfdf5420cbe9932c2
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
d2f5d27a43c88c06ef5546b0d361f04650851665 |
|
05-Sep-2015 |
Jae Seo <jaeseo@google.com> |
MediaRouter: Choose a better controller style based on primary color Change-Id: I7163b12835f8387f90ebc337c63cddbe50f5023e
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
94be6100218126ce6a08bf1f56209578500b361f |
|
28-Oct-2014 |
RoboErik <epastern@google.com> |
Update the support lib MediaRouter dialogs This updates the UI for MediaRouter dialogs to use the new material designs for MediaRouter. This doesn't update everything and new icons are still needed. Change-Id: I87c7c63c10ac60448251a8fc1fc4740a12f1603c
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
9942d40d0d952b03b583fe66f434676793697aa2 |
|
24-May-2013 |
Jeff Brown <jeffbrown@google.com> |
MediaRouter UI tweaks. Fix an issue where the MediaRouteButton would cause the currently selected route to be deselected when switching activities. The button now no longer has any side-effects. Added code to handle the case where the dialog may be empty by showing a progress bar and placeholder text. Make the route chooser and controller dialogs dark to match the system volume dialog. Fixed the dividers in the route controller dialog. Fixed some incorrect assumptions in the MediaRouteActionProvider related to whether the MediaRouteButton has been attached to the window. Sometimes we would fail to add the necessary route callbacks. This was intended to workaround a framework limitation but it caused other problems. Fixed the padding of the media route button. Cleaned up some documentation. Bug: 9102538 Change-Id: I226e33c3017e8e4a9d877d023a8f158184861343
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
2ef36d857302c5cd738c7c8bdec53d31feebebba |
|
16-May-2013 |
Jeff Brown <jeffbrown@google.com> |
MediaRouter UI tweaks. Fix a couple of styling issues. Fix an NPE when a provider is removed. Bug: 8175766 Change-Id: I109bc93e94d4a05924ae01189911d2418660d0f3
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
11417b1cfde8f1749905f2d735623af9214148af |
|
27-Apr-2013 |
Jeff Brown <jeffbrown@google.com> |
Add media router picker UI. Introduced the concept of a MediaRouteSelector which is the means by which an application states the route capabilities of routes that it would like to discover. Added selectors to the addCallback method along with several other methods to assist with discovery. Callbacks can specify flags to perform active scans of routes or to disable filtering of route events. Added a workaround to scan for wifi displays on JB MR1. Refactored the route descriptor objects to use the builder pattern instead of simply documenting that they should be immutable since several developers have already tripped over this. The UI is feature complete but not final. Bug: 8175766 Change-Id: I54ebb7488222746b0c07292e65b9ded1b9d720fa
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|