Loading api/current.xml +11 −0 Original line number Diff line number Diff line Loading @@ -2550,6 +2550,17 @@ visibility="public" > </field> <field name="colorBackgroundCacheHint" type="int" transient="false" volatile="false" value="16843435" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="colorForeground" type="int" transient="false" core/res/res/values/attrs.xml +5 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,11 @@ <attr name="colorForegroundInverse" format="color" /> <!-- Color that matches (as closely as possible) the window background. --> <attr name="colorBackground" format="color" /> <!-- This is a hint for a solid color that can be used for caching rendered views. This will be the color of the background when there is a solid background color; it will be null when the background is a texture or translucent. --> <attr name="colorBackgroundCacheHint" format="color" /> <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. --> <attr name="disabledAlpha" format="float" /> <!-- Default background dim amount when a menu, dialog, or something similar pops up. --> Loading core/res/res/values/public.xml +1 −0 Original line number Diff line number Diff line Loading @@ -1175,6 +1175,7 @@ <public type="attr" name="scrollbarFadeDuration" /> <public type="attr" name="scrollbarDefaultDelayBeforeFade" /> <public type="attr" name="fadeScrollbars" /> <public type="attr" name="colorBackgroundCacheHint" /> <public type="style" name="Theme.Wallpaper" /> <public type="style" name="Theme.Wallpaper.NoTitleBar" /> Loading core/res/res/values/styles.xml +2 −1 Original line number Diff line number Diff line Loading @@ -459,12 +459,13 @@ <style name="Widget.ListView" parent="Widget.AbsListView"> <item name="android:listSelector">@android:drawable/list_selector_background</item> <item name="android:cacheColorHint">?android:attr/colorBackground</item> <item name="android:cacheColorHint">?android:attr/colorBackgroundCacheHint</item> <item name="android:divider">@android:drawable/divider_horizontal_dark_opaque</item> </style> <style name="Widget.ListView.White" parent="Widget.AbsListView"> <item name="android:listSelector">@android:drawable/list_selector_background</item> <item name="android:cacheColorHint">?android:attr/colorBackgroundCacheHint</item> <item name="android:divider">@android:drawable/divider_horizontal_bright_opaque</item> </style> Loading core/res/res/values/themes.xml +9 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ <item name="colorForeground">@android:color/bright_foreground_dark</item> <item name="colorForegroundInverse">@android:color/bright_foreground_dark_inverse</item> <item name="colorBackground">@android:color/background_dark</item> <item name="colorBackgroundCacheHint">?android:attr/colorBackground</item> <item name="disabledAlpha">0.5</item> <item name="backgroundDimAmount">0.6</item> Loading Loading @@ -289,6 +290,7 @@ wallpaper appear behind them. --> <style name="Theme.Wallpaper"> <item name="android:windowBackground">@android:color/transparent</item> <item name="android:colorBackgroundCacheHint">@null</item> <item name="android:windowShowWallpaper">true</item> </style> Loading @@ -308,6 +310,7 @@ top of a dark background. --> <style name="Theme.WallpaperSettings"> <item name="android:windowBackground">@android:drawable/screen_background_dark_transparent</item> <item name="android:colorBackgroundCacheHint">@null</item> <item name="android:windowIsTranslucent">true</item> <item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item> </style> Loading @@ -316,6 +319,7 @@ top of a light background. --> <style name="Theme.Light.WallpaperSettings"> <item name="android:windowBackground">@android:drawable/screen_background_light_transparent</item> <item name="android:colorBackgroundCacheHint">@null</item> <item name="android:windowIsTranslucent">true</item> <item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item> </style> Loading @@ -335,6 +339,7 @@ flag and appropriate animations for your windows. --> <style name="Theme.Translucent"> <item name="android:windowBackground">@android:color/transparent</item> <item name="android:colorBackgroundCacheHint">@null</item> <item name="android:windowIsTranslucent">true</item> <!-- Note that we use the base animation style here (that is no animations) because we really have no idea how this kind of Loading Loading @@ -379,6 +384,8 @@ <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item> <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item> <item name="android:colorBackgroundCacheHint">@null</item> <item name="textAppearance">@android:style/TextAppearance</item> <item name="textAppearanceInverse">@android:style/TextAppearance.Inverse</item> Loading Loading @@ -422,6 +429,7 @@ background, and turns off dimming behind the window. --> <style name="Theme.Panel"> <item name="android:windowBackground">@android:color/transparent</item> <item name="android:colorBackgroundCacheHint">@null</item> <item name="android:windowFrame">@null</item> <item name="android:windowContentOverlay">@null</item> <item name="android:windowIsFloating">true</item> Loading @@ -436,6 +444,7 @@ background, and turns off dimming behind the window. --> <style name="Theme.Light.Panel"> <item name="android:windowBackground">@android:color/transparent</item> <item name="android:colorBackgroundCacheHint">@null</item> <item name="android:windowFrame">@null</item> <item name="android:windowContentOverlay">@null</item> <item name="android:windowIsFloating">true</item> Loading Loading
api/current.xml +11 −0 Original line number Diff line number Diff line Loading @@ -2550,6 +2550,17 @@ visibility="public" > </field> <field name="colorBackgroundCacheHint" type="int" transient="false" volatile="false" value="16843435" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="colorForeground" type="int" transient="false"
core/res/res/values/attrs.xml +5 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,11 @@ <attr name="colorForegroundInverse" format="color" /> <!-- Color that matches (as closely as possible) the window background. --> <attr name="colorBackground" format="color" /> <!-- This is a hint for a solid color that can be used for caching rendered views. This will be the color of the background when there is a solid background color; it will be null when the background is a texture or translucent. --> <attr name="colorBackgroundCacheHint" format="color" /> <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. --> <attr name="disabledAlpha" format="float" /> <!-- Default background dim amount when a menu, dialog, or something similar pops up. --> Loading
core/res/res/values/public.xml +1 −0 Original line number Diff line number Diff line Loading @@ -1175,6 +1175,7 @@ <public type="attr" name="scrollbarFadeDuration" /> <public type="attr" name="scrollbarDefaultDelayBeforeFade" /> <public type="attr" name="fadeScrollbars" /> <public type="attr" name="colorBackgroundCacheHint" /> <public type="style" name="Theme.Wallpaper" /> <public type="style" name="Theme.Wallpaper.NoTitleBar" /> Loading
core/res/res/values/styles.xml +2 −1 Original line number Diff line number Diff line Loading @@ -459,12 +459,13 @@ <style name="Widget.ListView" parent="Widget.AbsListView"> <item name="android:listSelector">@android:drawable/list_selector_background</item> <item name="android:cacheColorHint">?android:attr/colorBackground</item> <item name="android:cacheColorHint">?android:attr/colorBackgroundCacheHint</item> <item name="android:divider">@android:drawable/divider_horizontal_dark_opaque</item> </style> <style name="Widget.ListView.White" parent="Widget.AbsListView"> <item name="android:listSelector">@android:drawable/list_selector_background</item> <item name="android:cacheColorHint">?android:attr/colorBackgroundCacheHint</item> <item name="android:divider">@android:drawable/divider_horizontal_bright_opaque</item> </style> Loading
core/res/res/values/themes.xml +9 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ <item name="colorForeground">@android:color/bright_foreground_dark</item> <item name="colorForegroundInverse">@android:color/bright_foreground_dark_inverse</item> <item name="colorBackground">@android:color/background_dark</item> <item name="colorBackgroundCacheHint">?android:attr/colorBackground</item> <item name="disabledAlpha">0.5</item> <item name="backgroundDimAmount">0.6</item> Loading Loading @@ -289,6 +290,7 @@ wallpaper appear behind them. --> <style name="Theme.Wallpaper"> <item name="android:windowBackground">@android:color/transparent</item> <item name="android:colorBackgroundCacheHint">@null</item> <item name="android:windowShowWallpaper">true</item> </style> Loading @@ -308,6 +310,7 @@ top of a dark background. --> <style name="Theme.WallpaperSettings"> <item name="android:windowBackground">@android:drawable/screen_background_dark_transparent</item> <item name="android:colorBackgroundCacheHint">@null</item> <item name="android:windowIsTranslucent">true</item> <item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item> </style> Loading @@ -316,6 +319,7 @@ top of a light background. --> <style name="Theme.Light.WallpaperSettings"> <item name="android:windowBackground">@android:drawable/screen_background_light_transparent</item> <item name="android:colorBackgroundCacheHint">@null</item> <item name="android:windowIsTranslucent">true</item> <item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item> </style> Loading @@ -335,6 +339,7 @@ flag and appropriate animations for your windows. --> <style name="Theme.Translucent"> <item name="android:windowBackground">@android:color/transparent</item> <item name="android:colorBackgroundCacheHint">@null</item> <item name="android:windowIsTranslucent">true</item> <!-- Note that we use the base animation style here (that is no animations) because we really have no idea how this kind of Loading Loading @@ -379,6 +384,8 @@ <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item> <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item> <item name="android:colorBackgroundCacheHint">@null</item> <item name="textAppearance">@android:style/TextAppearance</item> <item name="textAppearanceInverse">@android:style/TextAppearance.Inverse</item> Loading Loading @@ -422,6 +429,7 @@ background, and turns off dimming behind the window. --> <style name="Theme.Panel"> <item name="android:windowBackground">@android:color/transparent</item> <item name="android:colorBackgroundCacheHint">@null</item> <item name="android:windowFrame">@null</item> <item name="android:windowContentOverlay">@null</item> <item name="android:windowIsFloating">true</item> Loading @@ -436,6 +444,7 @@ background, and turns off dimming behind the window. --> <style name="Theme.Light.Panel"> <item name="android:windowBackground">@android:color/transparent</item> <item name="android:colorBackgroundCacheHint">@null</item> <item name="android:windowFrame">@null</item> <item name="android:windowContentOverlay">@null</item> <item name="android:windowIsFloating">true</item> Loading