Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -5312,6 +5312,7 @@ package android.appwidget { field public static final int RESIZE_VERTICAL = 2; // 0x2 field public static final int WIDGET_CATEGORY_HOME_SCREEN = 1; // 0x1 field public static final int WIDGET_CATEGORY_KEYGUARD = 2; // 0x2 field public static final int WIDGET_CATEGORY_RECENTS = 4; // 0x4 field public int autoAdvanceViewId; field public android.content.ComponentName configure; field public int icon; core/java/android/appwidget/AppWidgetManager.java +2 −1 Original line number Diff line number Diff line Loading @@ -181,7 +181,8 @@ public class AppWidgetManager { * A bundle extra that hints to the AppWidgetProvider the category of host that owns this * this widget. Can have the value {@link * AppWidgetProviderInfo#WIDGET_CATEGORY_HOME_SCREEN} or {@link * AppWidgetProviderInfo#WIDGET_CATEGORY_KEYGUARD}. * AppWidgetProviderInfo#WIDGET_CATEGORY_KEYGUARD} or {@link * AppWidgetProviderInfo#WIDGET_CATEGORY_RECENTS}. */ public static final String OPTION_APPWIDGET_HOST_CATEGORY = "appWidgetCategory"; Loading core/java/android/appwidget/AppWidgetProviderInfo.java +0 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,6 @@ public class AppWidgetProviderInfo implements Parcelable { /** * Indicates that the widget can be displayed within recents. * @hide */ public static final int WIDGET_CATEGORY_RECENTS = 4; Loading core/res/res/values/attrs.xml +3 −2 Original line number Diff line number Diff line Loading @@ -5956,11 +5956,12 @@ <flag name="vertical" value="0x2" /> </attr> <!-- Optional parameter which indicates where this widget can be shown, ie. home screen, keyguard or both. resized. Supports combined values using | operator. --> ie. home screen, keyguard, recents or any combination thereof. Supports combined values using | operator. --> <attr name="widgetCategory" format="integer"> <flag name="home_screen" value="0x1" /> <flag name="keyguard" value="0x2" /> <flag name="recents" value="0x4" /> </attr> </declare-styleable> Loading packages/SystemUI/res/values-sw720dp/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -32,5 +32,8 @@ <!-- Min alpha % that recent items will fade to while being dismissed --> <integer name="config_recent_item_min_alpha">0</integer> <!-- Transposes the search bar layout in landscape --> <bool name="recents_transpose_search_layout_with_orientation">false</bool> </resources> Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -5312,6 +5312,7 @@ package android.appwidget { field public static final int RESIZE_VERTICAL = 2; // 0x2 field public static final int WIDGET_CATEGORY_HOME_SCREEN = 1; // 0x1 field public static final int WIDGET_CATEGORY_KEYGUARD = 2; // 0x2 field public static final int WIDGET_CATEGORY_RECENTS = 4; // 0x4 field public int autoAdvanceViewId; field public android.content.ComponentName configure; field public int icon;
core/java/android/appwidget/AppWidgetManager.java +2 −1 Original line number Diff line number Diff line Loading @@ -181,7 +181,8 @@ public class AppWidgetManager { * A bundle extra that hints to the AppWidgetProvider the category of host that owns this * this widget. Can have the value {@link * AppWidgetProviderInfo#WIDGET_CATEGORY_HOME_SCREEN} or {@link * AppWidgetProviderInfo#WIDGET_CATEGORY_KEYGUARD}. * AppWidgetProviderInfo#WIDGET_CATEGORY_KEYGUARD} or {@link * AppWidgetProviderInfo#WIDGET_CATEGORY_RECENTS}. */ public static final String OPTION_APPWIDGET_HOST_CATEGORY = "appWidgetCategory"; Loading
core/java/android/appwidget/AppWidgetProviderInfo.java +0 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,6 @@ public class AppWidgetProviderInfo implements Parcelable { /** * Indicates that the widget can be displayed within recents. * @hide */ public static final int WIDGET_CATEGORY_RECENTS = 4; Loading
core/res/res/values/attrs.xml +3 −2 Original line number Diff line number Diff line Loading @@ -5956,11 +5956,12 @@ <flag name="vertical" value="0x2" /> </attr> <!-- Optional parameter which indicates where this widget can be shown, ie. home screen, keyguard or both. resized. Supports combined values using | operator. --> ie. home screen, keyguard, recents or any combination thereof. Supports combined values using | operator. --> <attr name="widgetCategory" format="integer"> <flag name="home_screen" value="0x1" /> <flag name="keyguard" value="0x2" /> <flag name="recents" value="0x4" /> </attr> </declare-styleable> Loading
packages/SystemUI/res/values-sw720dp/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -32,5 +32,8 @@ <!-- Min alpha % that recent items will fade to while being dismissed --> <integer name="config_recent_item_min_alpha">0</integer> <!-- Transposes the search bar layout in landscape --> <bool name="recents_transpose_search_layout_with_orientation">false</bool> </resources>