History log of /packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2b823f452b6c0b7c0bb5ef67f77510ce75800809 03-May-2017 Jon Miranda <jonmiranda@google.com> Show icon in PendingAppWidgetHostView immediately.

Before this change, PendingAppWidgetHostView would appear 'blank'
until they were loaded -- which could take a while depending on
how many apps the user had, because the all apps icons are loaded
first.

Bug: 36815047
Change-Id: Ia7449cce4341ed9e9384fc8aaadeaae6c33bb262
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
658058b960ef029fc70f0f3e131057a6ba0d10e2 21-Jan-2017 Sunny Goyal <sunnygoyal@google.com> Adding some widget addition flow tests

> Added two dummy widget providers: with config and without config
> Added tests for verify widget config flow

Change-Id: I4577f085abe8f8b82047b644c71cc9065358153a
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
04a324afb7309fcf65cfa45420616a094031f20f 21-Jan-2017 Sunny Goyal <sunnygoyal@google.com> Adding WidgetAddFlowHandler to handle widget addition and configuration.

This will allow us to override the implementation and provide custom
logic for widget addition.

Bug: 33584624
Change-Id: I310bf39e301c7e1c8de4f62456594535e2fe5bbc
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
7c74e4ae641e76f73d74348e293c244a157f6585 16-Dec-2016 Sunny Goyal <sunnygoyal@google.com> No more UserHandleCompat

Bug: 32745285
Change-Id: I762fb4e268c1afe48a1860ab12a4ccb3f626aa95
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
32f3dda80240e707ad4467b6b65fb589f539c58e 11-Nov-2016 Sunny Goyal <sunnygoyal@google.com> Adding a utility class to enforce that icons are always flattened on
the background thread.

Bug: 21325319
Change-Id: I4d0f02557cdbf70cfa86750ac047faf2917e39bf
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
f0ba8b7ca1dc8fd53451d3d16e9f4fc306cddcd4 10-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Moving various runnables in LauncherModel to individual tasks

> Adding tests for some of the runnable

Change-Id: I1a315d38878857df3371f0e69d622a41fc3b081a
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
1edab71d010f3efdde212b96aa1a44ab7a5b4ee5 01-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Unifying toString() method for various ItemInfo subclasses

Change-Id: I7cde42f0df412e2877fb93c77e74ee56a25edead
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
86df138d9f5b32d947f3497314694a2a7adac70c 11-Aug-2016 Sunny Goyal <sunnygoyal@google.com> Adding support for pending widgets in AutoInstall layout

> Pending widgets whill show a loading progress while the app
is being installed.
> Extra bind options can be defined using the tub tags
<extra key="key-name" value="key-value" />
These are sent as widget options when the widget is bound.
> If the widget has any config activity, it is not shown
> Required attributes:
className, packageName, x, y, spanY, spanY & screen

Bug: 30279609
Change-Id: I1338618bfa5d86967339dffb68c12b1add6eb5d7
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
0b50421583ec98ae1252342e8847e8554307bc90 27-May-2016 Sunny Goyal <sunnygoyal@google.com> Merge "Adding some UI tests > Launcher app from all-apps > Drag icon to all-apps and launch it > Add widget from widget tray" into ub-launcher3-calgary
d478c83fd6abebe6ce3f066d392a28f8ba9be100 01-Apr-2016 Sunny Goyal <sunnygoyal@google.com> Showing a permission dialog when a restored widget is not yet bound, and launcher
does not has the permission to bind the widget

Change-Id: I51d32b9958f82671b928d559105129261fb8f268
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
6d02c7a0337d37e5b1c596a4acec0c292a9b7f93 19-May-2016 Sunny Goyal <sunnygoyal@google.com> Adding some UI tests
> Launcher app from all-apps
> Drag icon to all-apps and launch it
> Add widget from widget tray

Change-Id: I6bd6128a7b560a23a887d1fb40bfcda25b9b02e7
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
87af0fded6d91b85c7a4bbf066f93d58c241b146 16-May-2016 Sunny Goyal <sunnygoyal@google.com> Removing reference of hostView from LauncherAppWidgetInfo

LauncherAppWidgetInfo is a model item and does not need to reference
a view. Removing this dependency will allow cleaning up the
item unbinding logic

Bug: 28740269
Change-Id: I11fc2e2500b8fe29d157eefe74c70b1decdfd08d
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
25c2e3ef07bda7df1e591cf9cdf9f6512ee2dbf7 29-Oct-2015 Sunny Goyal <sunnygoyal@google.com> Allowing widgets to be focusable

> Pressing 'enter' enters the focus inside the widget.
> If the widget has only one focusable, it directly performs click
> Pressing 'esc' brings the focus back to the parent host.

Bug: 25199581
Change-Id: Ia7fd5d929f5945d61173abd349660a5efbe74afc
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
233ee964a9ecf419a3e8330a67456d422879132d 03-Aug-2015 Sunny Goyal <sunnygoyal@google.com> Calculating widget minSpans and spans statically/independent of orientation
> 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
5940042d39b576553c2499bcf3d0641281e6ad52 06-Mar-2014 Adam Cohen <adamcohen@google.com> Supporting custom widgets provided by launcher

-> This change provides integration for widgets provided by
the launcher package which can run arbitrary code.

Change-Id: I6052da5c4afed7ee72e3b44d045b9c46f2d84c42
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
9448536b113afa6ceefce26604a1b44618d1d4f2 19-Sep-2014 Sunny Goyal <sunnygoyal@google.com> Adding support to delete unrestored icons and widgets

Bug: 17584719
Change-Id: If8e76fc80ea885c9004c50b7b6a9353525a50105
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
e7b8cd9e4f8d38d0445f3a032fafd44332f70878 27-Aug-2014 Sunny Goyal <sunnygoyal@google.com> Improving restored widget behavior

> 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
0fc1be164e982433e619bcbb16aa67e28ff681ef 12-Aug-2014 Sunny Goyal <sunnygoyal@google.com> Updating the ui for widget restore flow

> 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
ff572277112ec3d6a6a8c1be274d6fa1019e3648 23-Jul-2014 Sunny Goyal <sunnygoyal@google.com> Adding support to restore widgets even for jelly beans.

> 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
651077bdd603bb182be039925fd17bdf0da15016 30-Jun-2014 Sunny Goyal <sunnygoyal@google.com> Adding app widget restore support in Launcher3 for android L

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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
ed13187a745866483139e2878037e1f8427ce567 30-Apr-2014 Kenny Guy <kennyguy@google.com> Launcher3 multi-profile support

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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
7b168a1bb94044d9ae11004bae18beba9eed46fd 05-Mar-2014 Anjali Koppal <akoppal@google.com> Make classes that extend ItemInfo public.

Also follow up on changes in ag/418520, adding Views to those method
params.

Change-Id: I93e0a3b30d10b969d1903a2f227f6744d709e89a
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
d5e66bfca1dc4fdbab7513d88c6568bc4d17bca8 16-Sep-2013 Chris Wren <cwren@android.com> remember the provider path when creating a widget.

Bug: 10779026
Change-Id: I4f5b619087868a8f637c433c29e3aa6856ccc97d
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java
325dc23624160689e59fbac708cf6f222b20d025 06-Jun-2013 Daniel Sandler <dsandler@android.com> Launcher2 is now Launcher3.

Changes include
- moving from com.android.launcher{,2} to
com.android.launcher3
- removing wallpapers
- new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetInfo.java