Commit Graph

10334 Commits

Author SHA1 Message Date
Sunny Goyal df6ccf8196 Resizing the bitmap before caching it in the DB
> The icon size in the backup can be different that what is
  required by the device. We should resize the icon, before
  caching it.

Bug: 22413328
Change-Id: Id77c53edf8ea5e95a2d32dbe22be553120279ebd
2015-07-20 14:34:30 -07:00
Sunny Goyal c115e647ad Shifting hotseat icons to aling with all-apps icon, if the hotseat
size is different from the source device

Bug: 19074056
Change-Id: I8d8517971a3cde0dc38f653d151daeba90fa38a0
2015-07-20 14:25:04 -07:00
Sunny Goyal 53f9672b30 Fixing widget restore
> Widget restore active flag was not cleared when the app was downloaded
> Icon from session info was not getting cached

Bug: 22413379
Change-Id: Ie096b929252200675a76dadd8c25cc3aa433671b
2015-07-20 12:00:22 -07:00
Sunny Goyal 05be6b7649 am b04136b4: Merge "Adding minSpanX and minSpanY for all the launcher widgets" into ub-launcher3-burnaby
* commit 'b04136b4714a0d9afddab6a70045f4f4f7fa1ee4':
  Adding minSpanX and minSpanY for all the launcher widgets
2015-07-17 19:06:46 +00:00
Sunny Goyal b04136b471 Merge "Adding minSpanX and minSpanY for all the launcher widgets" into ub-launcher3-burnaby 2015-07-17 18:56:38 +00:00
Sunny Goyal 3a30cfeb7c Adding minSpanX and minSpanY for all the launcher widgets
Bug: 22353460
Change-Id: Id4450dee42a83e4603dcd56e1c4dec2b0e405858
2015-07-17 11:10:05 -07:00
Hyunyoung Song 11bebbc463 am f63dda5e: Query the title and icon for app using correct user handle.
* commit 'f63dda5e153febf0b5163ac41d927129ec822314':
  Query the title and icon for app using correct user handle.
2015-07-17 00:39:17 +00:00
Hyunyoung Song f63dda5e15 Query the title and icon for app using correct user handle.
> Note: when there are corp and regular user profile widget providers,
it is guaranteed that regular user profile widget provider is always
queried first. Thsi is guaranteed because inside AppWidgetManagerCompat.getProviders(),
regular user always takes prescedence when iterating thru different providers
associated to different users.

Change-Id: I5e38e1fb30925ccba7e1e2925fd3e77c44a14901
2015-07-16 17:24:30 -07:00
Hyunyoung Song a1ce66dfb7 am 7dc9a0f7: Merge "Fix issue where corp app widget doesn\'t show correctly on drop targets." into ub-launcher3-burnaby
* commit '7dc9a0f7d7e138cb9e685609777021b74e8dd67b':
  Fix issue where corp app widget doesn't show correctly on drop targets.
2015-07-16 23:49:15 +00:00
Hyunyoung Song 7dc9a0f7d7 Merge "Fix issue where corp app widget doesn't show correctly on drop targets." into ub-launcher3-burnaby 2015-07-16 23:37:36 +00:00
Hyunyoung Song ffd0ab4da1 Fix issue where corp app widget doesn't show correctly on drop targets.
b/22535234

Change-Id: I6e57c7728704ad0f99df25257211243a23d26acd
2015-07-16 16:36:59 -07:00
Sunny Goyal 25aba0aea5 Removing boot receiver.
> Registering the receiver at runtime, only when it is required
> Using system property sys.boot_completed to check if boot completion
> This prevents unnecessary process startup during system bootup

Change-Id: I68f99ecf2e1ffd2ca7b6d15a99a282451bf67aec
2015-07-16 15:17:57 -07:00
Sunny Goyal 8239daded4 Merge "Fixing drag outline positions for folder over hotseat" into ub-launcher3-master 2015-07-16 22:09:32 +00:00
Sunny Goyal 92bce43164 Fixing drag outline positions for folder over hotseat
Change-Id: Ia2508307554089205fd678987454e81cb811a59b
2015-07-16 15:08:41 -07:00
Sunny Goyal 6c56c68555 Changing the dogfood check to a static boolean to better handle proguard optimizations
Change-Id: I892b88ce1a007fafc23a73ad4193c5c4aa411d1b
2015-07-16 14:09:53 -07:00
Sunny Goyal 14031ebb81 am 36db8567: Merge "Fixing AppWidgetInfo not initialized with proper user" into ub-launcher3-burnaby
* commit '36db85679d492888f03654fa04f6c291e74168e7':
  Fixing AppWidgetInfo not initialized with proper user
2015-07-16 01:18:27 +00:00
Sunny Goyal 36db85679d Merge "Fixing AppWidgetInfo not initialized with proper user" into ub-launcher3-burnaby 2015-07-16 01:13:01 +00:00
Adam Cohen ec66a6d0f7 am 84a62861: Merge "Fix issue with UiThreadReveal on L devices" into ub-launcher3-burnaby
* commit '84a62861d6ba91f3b0822d6da0c1c7eedf9b3f0e':
  Fix issue with UiThreadReveal on L devices
2015-07-16 00:53:56 +00:00
Sunny Goyal ab7a4fe206 Fixing AppWidgetInfo not initialized with proper user
Bug: 21673750
Change-Id: I1e03c3cb10a87e394e963cc2001c9c1c293eb2ca
2015-07-15 17:39:33 -07:00
Adam Cohen 84a62861d6 Merge "Fix issue with UiThreadReveal on L devices" into ub-launcher3-burnaby 2015-07-16 00:38:11 +00:00
Adam Cohen 54e362121f Fix issue with UiThreadReveal on L devices
issue 22507784

Change-Id: If75292b21a1b572903099ab0682d5c7f69a960f4
2015-07-15 17:35:56 -07:00
Sunny Goyal b7443004d8 am 0c13a34f: Merge "Using highres icons for backup" into ub-launcher3-burnaby
* commit '0c13a34fd1f32a8cb8c5cec06553e3741731c756':
  Using highres icons for backup
2015-07-15 18:03:12 +00:00
Sunny Goyal 0c13a34fd1 Merge "Using highres icons for backup" into ub-launcher3-burnaby 2015-07-15 17:55:11 +00:00
Sunny Goyal 09d70195d7 Using highres icons for backup
Bug: 22410445
Change-Id: I0fbc2d1217127556af806f12dbb5960712627ab7
2015-07-15 10:18:09 -07:00
Hyunyoung Song eaa3750a01 am 321dea13: Merge "Widget row should not be cut off on the right, when there is an indent" into ub-launcher3-burnaby
* commit '321dea1346ba6e0e49a0cfc49b9303f3d7cfe303':
  Widget row should not be cut off on the right, when there is an indent
2015-07-15 00:09:38 +00:00
Hyunyoung Song 321dea1346 Merge "Widget row should not be cut off on the right, when there is an indent" into ub-launcher3-burnaby 2015-07-14 23:58:14 +00:00
Hyunyoung Song 6fdc2035ea Widget row should not be cut off on the right, when there is an indent
b/22483452

Change-Id: I9d1cd8b71f4b6a4f75af420e9f54b73e9ae7527c
2015-07-14 16:52:35 -07:00
Sunny Goyal 2f824acaab am 2a1be7a6: Merge "Fixing shortcuts not getting migrated to app icons" into ub-launcher3-burnaby
* commit '2a1be7a6165b49d21396bcb228a468bc79dd4d3e':
  Fixing shortcuts not getting migrated to app icons
2015-07-14 17:56:28 +00:00
Sunny Goyal 2a1be7a616 Merge "Fixing shortcuts not getting migrated to app icons" into ub-launcher3-burnaby 2015-07-14 17:48:30 +00:00
Sunny Goyal c22841bfd1 Fixing shortcuts not getting migrated to app icons
Bug: 22410445
Change-Id: I939c59270529daf51638aa30b30763c18a2ce6a5
2015-07-13 20:15:37 -07:00
Winson Chung 4988ae8cda am af263737: Merge "Fixing regression in calculating workspace padding." into ub-launcher3-burnaby
* commit 'af2637376f5fb37d1dfa598a8c95a623367501ce':
  Fixing regression in calculating workspace padding.
2015-07-13 23:38:36 +00:00
Winson Chung af2637376f Merge "Fixing regression in calculating workspace padding." into ub-launcher3-burnaby 2015-07-13 23:24:02 +00:00
Hyunyoung Song 3155e34856 am cbab1cb4: Merge "Hide spammy WidgetModel log behind a DEBUG flag" into ub-launcher3-burnaby
* commit 'cbab1cb44f4fca4ea80ec2aeb63b55b9ea5d9e2e':
  Hide spammy WidgetModel log behind a DEBUG flag
2015-07-13 22:01:01 +00:00
Hyunyoung Song b4a367459a resolved conflicts for merge of 98ff38aa to ub-launcher3-master
Change-Id: Ie43d7215e604758936c558b79d191f1b26bb31f8
2015-07-13 14:23:39 -07:00
Winson Chung 4f3bfadbf4 Fixing regression in calculating workspace padding.
Bug: 22340087
Change-Id: I28d599fbb8f136b8b5aa4aeffaa0fba5661ab73c
2015-07-13 11:15:06 -07:00
Hyunyoung Song f56513f6ba Hide spammy WidgetModel log behind a DEBUG flag
Change-Id: I0119855655516d9fdc114334a974b8766aabf674
2015-07-13 10:26:22 -07:00
Winson Chung 4f7eb4077e Fixing overview mode scale calculations.
- Making the overview scale apply just like the spring loaded scale factor
- Tweaking overview scale to make it not so small

Change-Id: If93bac08609b0cfd9c9d9f8f6057498957378b56
2015-07-10 18:23:08 -07:00
Hyunyoung Song 98ff38aa48 Animation should start and finish on widgets button when opening/closing widget tray.
b/21301759

Change-Id: Ib0b9132d8709426598d95fc9f60d37752e05b711
2015-07-10 17:50:13 -07:00
Sunny Goyal aad90582a1 Handle custom shortcuts only when requestCode is REQUEST_CREATE_SHORTCUT,
otherwise it would conflict with results coming from a different request

Change-Id: I395cc970acef54d289d6c0a37cdfa35fc4dbb9ab
2015-07-11 00:09:28 +00:00
Sunny Goyal 3f99a1440e Merge "Fixing screen jump when going to spring_loaded mode in rtl" into ub-launcher3-master 2015-07-10 23:43:54 +00:00
Winson Chung 19795603fe am 76648c58: Making long-press of AllApps to jump directly to search.
* commit '76648c58d5fe8e5c0695f865243d3f421c53a84d':
  Making long-press of AllApps to jump directly to search.
2015-07-10 23:35:58 +00:00
Winson Chung 76648c58d5 Making long-press of AllApps to jump directly to search.
Bug: 22210146
Change-Id: Iacf28416d6e31233a68e3b41576a8860b4b72b88
2015-07-10 16:08:56 -07:00
Sunny Goyal 6d5fd2aee8 am 4a0df755: Merge "Computing the visible cell layout area without using the current scroll" into ub-launcher3-burnaby
* commit '4a0df755161c65e2d24299aeaf7408b2e97036d3':
  Computing the visible cell layout area without using the current scroll
2015-07-09 17:19:38 +00:00
Winson Chung 9e0fdb2869 am ceb21570: Merge "Adding bounds checking when updating container bounds." into ub-launcher3-burnaby
* commit 'ceb21570f8cc057bd467bd1952d1fcfd65f0d288':
  Adding bounds checking when updating container bounds.
2015-07-09 17:19:37 +00:00
Sunny Goyal 62231b108d am cb037eee: Fixing overscroll not drawn in rtl
* commit 'cb037eee8ca863ad99d9cdbacd6a82759295e5a0':
  Fixing overscroll not drawn in rtl
2015-07-09 17:19:36 +00:00
Sunny Goyal ce5a7e5ee4 Fixing screen jump when going to spring_loaded mode in rtl
> Removing call to snapToScreen when changing state
> Marking adjacent pages visible in overview and spring_loaded mode, so that they get drawn atleast once.

Change-Id: If305e0d4cfa63bac03f301d69017da55f89155bd
2015-07-09 10:17:46 -07:00
Sunny Goyal 4a0df75516 Merge "Computing the visible cell layout area without using the current scroll" into ub-launcher3-burnaby 2015-07-09 17:14:49 +00:00
Sunny Goyal 41d8417678 Computing the visible cell layout area without using the current scroll
Bug: 22358433
Change-Id: Ib79d02156b6bfab831fa659637f6113a7f555ba7
2015-07-09 10:13:36 -07:00
Winson Chung ceb21570f8 Merge "Adding bounds checking when updating container bounds." into ub-launcher3-burnaby 2015-07-09 17:12:48 +00:00
Winson Chung 0edfe2c880 Merge "Fixing minor issue with spatially sorting workspace items for binding." into ub-launcher3-master 2015-07-09 17:12:46 +00:00