History log of /packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetProviderInfo.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
87f784c285fdeed9091a4de8b9b44db3eca677d8 11-Jan-2017 Sunny Goyal <sunnygoyal@google.com> Removing static Context access using LauncherAppState

> This ensures that LauncherAppState is only accessed in the presence of
a valid context

Bug: 33032833
Change-Id: I955e5cb022f8bd6374681ae6c0720a2666d5b750
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetProviderInfo.java
8ad02b8f3f3512cdb8eafba6da4483641bf24efc 29-Dec-2016 Sunny Goyal <sunnygoyal@google.com> Removing static access to Context through LauncherAppState

Bug: 33032833
Change-Id: I09baaa6d79187b3096a2ab3a89d7dcaeaf9eee68
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetProviderInfo.java
a52ecb0390c85afb385371bb844bb496c59ddf87 17-Dec-2016 Sunny Goyal <sunnygoyal@google.com> Removing all compatibility code below Lollipop

Bug: 32745285
Change-Id: I62971908e3e4402941fab627bbdfd47be64473a3
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetProviderInfo.java
6c2975e7e3fc5dc7cb80f1a2b3e5ffd10e49c2be 06-Jul-2016 Sunny Goyal <sunnygoyal@google.com> Adding support for non-zero left insets

Bug: 29613069
Change-Id: Ifdf9bcce7ecdedc510f3be8a4dc10eb8da7c4bf1
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetProviderInfo.java
47328fd53f43fd0c2ed14ad925dd04483f9229a0 26-May-2016 Sunny Goyal <sunnygoyal@google.com> Removing the SearchDropTarget bar as it no longer contains the QSB

> Renaming it to simply DropTargetBar
> Moving AppInfo to the top bar as well
> The workspace pages will extend to the top edge (minus some padding).
Since the QSB is no longer displayed on top of every page, there is
no reason to reserve the space.
> In spring-loaded mode, the workspace cell layout will scale enough
to make room for the drop target bar at the top

Change-Id: I2baf607310335dd576c9d9fcbb75ab708f47ac03
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetProviderInfo.java
ec88204389ffc0d5fdbe656c683d5844b9c8b49b 05-Oct-2015 Sunny Goyal <sunnygoyal@google.com> Update the widget spans after the provider changes

Bug: 24003213
Change-Id: I51ad5919a808ef10385d62a48a94589eefcb06bc
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetProviderInfo.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/LauncherAppWidgetProviderInfo.java
e5bb705fb79f18df8680958dcf2c5460e16c90b6 27-Jul-2015 Sunny Goyal <sunnygoyal@google.com> Homescreen migration from a larger grid to a smaller grid.

Adding support for restoring from a larger device, if the grid size
difference is not more that 1.
During restore add all the items in the DB, and run a one-time migration
the next time launcher starts.

The migration strategy is defined in ShrinkWorkspaceTask.java which involves
resizing, moving and removing some items.

Change-Id: I6ee411f6db5bf0152b527e16146a88c56dec2d97
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetProviderInfo.java
53d7ee4285842732517edcccbdcaa92dccb1e107 22-May-2015 Sunny Goyal <sunnygoyal@google.com> Fixing different bitmap sizes in different orientations

> Using a single bitmap icon size
> Picking up appropriate density for satisfy the required icon size
> Fixing some icon size assumptions during icon animations

Bug: 19514688
Change-Id: Ia7a1d0d2c03a9d39ccc241fa4ae3eb8a0f374585
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetProviderInfo.java
2e6da1539bc7286336b3c24d96ab76434939ce4d 06-May-2015 Adam Cohen <adamcohen@google.com> Refactoring DeviceProfile

-> Pulling out the parts of device profile which can (and need to be)
initialized and accessed without access to an Activity context,
ie. the invariant bits.
-> The invariant bits are stored in InvariantDeviceProfile which is
initialized statically from LauncherAppState.
-> The DeviceProfile contains the Activity context-dependent bits,
and we will create one of these for each Activity instance, and
this instance is accessed through the Launcher activity.
-> It's possible that we can continue to refactor this such that
all appropriate dimensions can be computed without an Activity
context (by only specifying orientation). This would be an
extension of this CL and allow us to know exactly how launcher
will look in both orientations from any context.

Sets the stage for some improvements around b/19514688

Change-Id: Ia7daccf14d8ca2b9cb340b8780b684769e9f1892
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetProviderInfo.java
7066003b2032a49ae5e59dab9b706259bdeb7e6e 14-May-2015 Sunny Goyal <sunnygoyal@google.com> Various lint error fixes.

> Fixing some RTL errors by specifying both marginStart and marginLeft
> Moving all layout direction checks to Utilities
> Explicitely adding @TargetApi before every method

Change-Id: Ibe9c52b93b5a6adeadb27ace2b312770fd732ea0
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetProviderInfo.java
82b016cb56540fe26213e817dd0dd668099c8e20 09-May-2015 Winson Chung <winsonc@google.com> Trim all whitespace from titles and labels.

Bug: 20953160

Change-Id: I1610df5e445a4139522226f68fa6439926bc70c6
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetProviderInfo.java
3f471440a8b6b71d4c15501a96befd3b715c9e8f 09-Apr-2015 Hyunyoung Song <hyunyoungs@google.com> WidgetTray revamp work
- RecyclerView is rendering
- Animation is connected
- Drag and drop is now handled
- UI tweaking: background, margins, more to come.
- Flicker and preview not loading issue:
fixed height for the horizontal scroll view.
- Shortcuts are added
- Widget Preview loading should support shortPress for drop
- UI tweaks left: overlay of arrow when there are more items to scroll
- icons are added in the section header
- Sorting of widget sections and widget horizontal list
- Adding all the padding constants to dimen.xml file
- RecyclerView should only support one view type

For items to be addressed in follow up patches OR CLs,
TODO is added to the comment.

b/19897708

Change-Id: Ibfc4da1696a23d20bada93db46e126706eb13cdc
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetProviderInfo.java
3d9490ab9520ffe3798539ed1626463a7eb6c9e1 25-Mar-2015 Winson Chung <winsonc@google.com> Removing more code with API 21 dependencies.

Change-Id: I16c914334ce0694b84626269ae4bb5e83082c739
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetProviderInfo.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/LauncherAppWidgetProviderInfo.java