summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherAppWidgetInfo.java
Commit message (Collapse)AuthorAgeFilesLines
* Calculating widget minSpans and spans statically/independent of orientationSunny Goyal2015-08-031-4/+0
| | | | | | | | | > Filtering the widget list and excluding widgets which dont fit the grid > setting minSpans for the widget item when binding. Bug: 22541314 Bug: 22559137 Change-Id: Ieda48b56c95bee0c7ec71dd691af7e23e2d43db6
* Supporting custom widgets provided by launcherAdam Cohen2014-12-051-1/+15
| | | | | | | -> This change provides integration for widgets provided by the launcher package which can run arbitrary code. Change-Id: I6052da5c4afed7ee72e3b44d045b9c46f2d84c42
* Adding support to delete unrestored icons and widgetsSunny Goyal2014-09-191-0/+5
| | | | | Bug: 17584719 Change-Id: If8e76fc80ea885c9004c50b7b6a9353525a50105
* Improving restored widget behaviorSunny Goyal2014-08-271-1/+1
| | | | | | | | | | | > Clicking a broken widget install shows a dialog similar to an app icon > Clicking remove on the dialog removed all components for the corresponding package > Widget pending view shows 'Setup' text instead of icon, if there is enough space Change-Id: I82ec0a1ee9542c1e3b860e6e00798a80450dce3c
* Updating the ui for widget restore flowSunny Goyal2014-08-121-0/+5
| | | | | | | | | | | | | | > Pending widget show a PreloadIconDrawable to indicate installation progress > Only the concerned widgets are reinflated on package install and not the whole workspace. > Adding support for storing default package icon in IconCache issue: 10779035 issue: 16737660 Change-Id: Id787ae4a5ef72d6e01aeb5a1bae5ab8840037679
* Adding support to restore widgets even for jelly beans.Sunny Goyal2014-08-081-4/+14
| | | | | | | | | | | | | | | > Show 'widget-not-ready' until the widget app is installed > Once the app is installed, bind a new widget id (not required on L if id-remap was received). **Remove the widget if bind failed > If the widget has no configuration screen, show the widget, otherwise show 'setup-widget'. > Clicking 'setup-widget' shows the config screen, and updates the widget on RESULT_OK. issue: 10779035 Change-Id: I2f8b06d09dd6acbc498cdd93edc59c26e5ce17af
* Adding app widget restore support in Launcher3 for android LSunny Goyal2014-07-211-0/+22
| | | | | | | | | | | When the app is restored, it displays placeholders for all pending widgets. These placeholders can be moved and removed similar to a widget (size is fixed to what defined in backup). Once the system notifies the launcher of the new widget ids, the place holders are replaced with actual widgets. issue: 10779035 Change-Id: I68cbe4da01e9ca2978cb4471a7c645d2aa592055
* Launcher3 multi-profile supportKenny Guy2014-04-301-2/+7
| | | | | | | | | | | | | | | | | | | | | Use LauncherApps API and badging APIs instead of PackageManager. With compatability layer that uses PackageManager pre L. Adds support to show apps from current user and any managed profiles. Background: Managed profiles are user sandboxes that are visible from the primary user and can be launched as if they are a part of this user. A launcher should now be capable of listing apps from this user as well as related profiles of this user. Launching of activities is now via the LauncherApps interface, to allow for cross-profile app launching. Only activities with category LAUNCHER can be added as a shortcut on the workspace for a managed profile. Widgets and non-application shortcuts are only supported for the current profile. Widgets from the managed profile are not available. Change-Id: I5f396b1bf7f91ad91a5710ea4a0fd14573972eb9
* Make classes that extend ItemInfo public.Anjali Koppal2014-03-041-1/+1
| | | | | | | Also follow up on changes in ag/418520, adding Views to those method params. Change-Id: I93e0a3b30d10b969d1903a2f227f6744d709e89a
* remember the provider path when creating a widget.Chris Wren2013-09-171-0/+1
| | | | | Bug: 10779026 Change-Id: I4f5b619087868a8f637c433c29e3aa6856ccc97d
* Launcher2 is now Launcher3.Daniel Sandler2013-06-051-0/+98
Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b