Commit Graph

5086 Commits

Author SHA1 Message Date
Sunny Goyal d365ed6952 Removign optimations in onDestroy
> Workspace is still being held at
   Launcher > DragLayer > DragController > DragListeners
> The activity is not GCed immediately whith/without this optimization
> No momory/GPU change with/without this optimization

Change-Id: I9466ed47adbac717954d1998951937b04bc4cfd5
2016-02-12 09:44:03 -08:00
Sunny Goyal cb1edd20e1 Fixing crash during rotation
am: bb702584fa

* commit 'bb702584fa551fab8cffbb0ae5459d9efd16ce2a':
  Fixing crash during rotation
2016-02-11 22:58:20 +00:00
Sunny Goyal 8ddb390914 Merge "Making some view properties exported. These will be visible in hierarchy viewer" into ub-launcher3-calgary 2016-02-11 22:08:45 +00:00
Sunny Goyal e759e4de5f Merge "Separating out Launcher3 resources from Wallpaper resources" into ub-launcher3-calgary 2016-02-11 22:08:05 +00:00
Sunny Goyal bb702584fa Fixing crash during rotation
> Different views with same IDs were saving state
> Fixing scroll getting reset on rotation

Change-Id: Iae42419b83ee5ffa1bb43959f0931c8dfb761f32
2016-02-11 11:06:43 -08:00
Sunny Goyal 954b7d36b9 Temporarily disabling custom search controller
Change-Id: I7920425a63e64cd619349895e8e7e1c8448305f5
2016-02-11 09:28:40 -08:00
Tony Wickham 654f1b315f Merge "Change widget host view background when giving focus to child." into ub-launcher3-burnaby-polish
am: 4df1653331

* commit '4df165333131483e1d6b6c156d345a4aeef9806c':
  Change widget host view background when giving focus to child.
2016-02-10 23:36:42 +00:00
Tony Wickham 4df1653331 Merge "Change widget host view background when giving focus to child." into ub-launcher3-burnaby-polish 2016-02-10 23:35:11 +00:00
Tony Wickham fb78856466 Change widget host view background when giving focus to child.
Before, the FocusIndicatorView stayed on the widget host unless the
widget had its own focus change listener, which caused a couple of
problems, namely  (1) it was hard to know where the focus was from
a user's standpoint, and (2) the focus indicator could get stuck on
the screen if you entered a widget and then long-pressed workspace.
Now, the focus indicator goes away and instead the widget is framed
with a white border to indicate that the focus is inside it. The
frame goes away when pressing ESC or when touching the screen.

Bug: 26744224

Change-Id: I14025576fd7a9f901b4d969b878af0bebad79a70
2016-02-10 15:28:18 -08:00
Sunny Goyal 5abb9f88ef Separating out Launcher3 resources from Wallpaper resources
Change-Id: I7e33c83df8b16e8552fe588cadbcf3bf7881cb95
2016-02-10 15:11:35 -08:00
Sunny Goyal 7c50b31f57 resolve merge conflicts of 3826bab27e to ub-launcher3-calgary.
Change-Id: I14ff2d67de4ba97628bdf651602724f9f4989173
2016-02-10 12:27:51 -08:00
Sunny Goyal 3826bab27e Merge "Merging search bar with all apps" into ub-launcher3-burnaby-polish 2016-02-10 19:18:13 +00:00
Sunny Goyal 4ffec48dec Making some view properties exported.
These will be visible in hierarchy viewer

Change-Id: I940724a7f61d67b8502d77be203a94875bc92668
2016-02-09 11:29:34 -08:00
Hyunyoung Song f97083245c WidgetsModel clone method should be called in worker thread
b/24582368

Change-Id: I7b1d2ccfa7d7ac8235e4aeccc2b6b1a8eeea6461
(cherry picked from commit 747a5bc486)
2016-02-09 02:19:59 +00:00
Hyunyoung Song 39a98ed803 Merge "WidgetsModel clone method should be called in worker thread" into ub-launcher3-calgary 2016-02-09 02:19:43 +00:00
Hyunyoung Song 747a5bc486 WidgetsModel clone method should be called in worker thread
b/24582368

Change-Id: I7b1d2ccfa7d7ac8235e4aeccc2b6b1a8eeea6461
2016-02-08 18:14:17 -08:00
Sunny Goyal 0ac7ede56a Merging search bar with all apps
Change-Id: I78577124cd3c05d52669c3e52b0294d6eb1d194d
2016-02-08 14:55:22 -08:00
Tony Wickham f87b8e3b6b Merge "Tweak spring-loaded workspace." into ub-launcher3-calgary 2016-02-08 19:55:26 +00:00
Tony Wickham e0c3323656 Tweak spring-loaded workspace.
- No page indicators in spring-loaded mode
- Don’t move workspace up as high
- Scale workspace at 90% instead of 80% on phones
- Increase speed of workspace -> spring-loaded -> workspace
- Widgets were being scaled down twice when dragging from widget picker
- Don't scale up icons when dragging (scaling other stuff down is enough)
- Make scrim less dark and panels more transparent
- Thin white border around page instead of highlight when hovering

Change-Id: I963e91c20d4c0340480d165e0f3b8064783c0cb2
2016-02-08 11:37:19 -08:00
Hyunyoung Song a27d7a5a19 Add more debugging info when Launcher deletes widget from homescreen.
b/26219491

Change-Id: I5899cafa8d78e5e64a4ec1495ebf62ebc55ea8f5
(cherry picked from commit 70264a9717)
2016-02-04 01:23:25 +00:00
Hyunyoung Song 70264a9717 Add more debugging info when Launcher deletes widget from homescreen.
b/26219491

Change-Id: I5899cafa8d78e5e64a4ec1495ebf62ebc55ea8f5
2016-02-03 15:28:47 -08:00
Sunny Goyal bda3ff8f20 resolve merge conflicts of 0e04980310 to ub-launcher3-calgary.
Change-Id: Ic4526dfc388590aa0288936d827f19060922529f
2016-02-03 11:41:36 -08:00
Sunny Goyal 0e04980310 Merge "Updating folder UI when icons are normalized > Increasing padding > Making the folder label bold and lighter color" into ub-launcher3-burnaby-polish 2016-02-03 19:32:02 +00:00
Sunny Goyal 2113c9d664 Merge "Fixing Search drop target bar stays visible, until the first time an item is picked up" into ub-launcher3-burnaby-polish 2016-02-01 23:08:25 +00:00
Tony Wickham c32c63c46e resolve merge conflicts of b9759d399b to ub-launcher3-calgary.
Change-Id: I66230c15e5eaeef316d4e2f14b85c6ff1b6e977d
2016-02-01 14:51:35 -08:00
Tony Wickham b9759d399b Merge "Add extra space for the search bar." into ub-launcher3-burnaby-polish 2016-02-01 22:29:55 +00:00
Tony Wickham 8a75806c1a Add extra space for the search bar.
Also fixed a broken test.

Change-Id: I1c270e69617528ea30f0e26a2101673e9b9fa63c
2016-02-01 14:15:37 -08:00
Sunny Goyal 5c556e7226 Updating folder UI when icons are normalized
> Increasing padding
  > Making the folder label bold and lighter color

Change-Id: Ib86d711c27cd03f366cdd35222d1f63f4a542f06
2016-01-29 18:46:19 -08:00
Sunny Goyal 6731395671 Fixing Search drop target bar stays visible, until the first time
an item is picked up

Change-Id: I48ac697147ffe7a1f8802ed00de4fa4006a1878e
2016-01-29 18:39:26 -08:00
Sunny Goyal ad37152c14 resolve merge conflicts of b171e5675b to ub-launcher3-calgary.
Change-Id: I329c7518d8c3f0f43e96c6446d5b53a6f4439211
2016-01-29 14:30:08 -08:00
Sunny Goyal b171e5675b Adding a method to throttle backup manager calls
Notifying backup manager when a boolean preference changes

Bug: 22885775
Change-Id: I105013af1841f6cd87472f558fa490670ed1ba24
2016-01-29 14:12:21 -08:00
Sunny Goyal 75c7c5ae28 resolve merge conflicts of 6362683acb to ub-launcher3-calgary.
Change-Id: Id48bf33912bf927121356a08b8501ee0070bfdc7
2016-01-27 16:55:50 -08:00
Sunny Goyal 6362683acb Merge "Removing unnecessary new object creation in dispatchDraw" into ub-launcher3-burnaby-polish 2016-01-28 00:30:06 +00:00
Sunny Goyal ccf3a9ed56 Preventing a Runtime widget crash from crashing the Launcher
am: 3fc648d3b7

* commit '3fc648d3b792f63d3b99509300a602d23c842433':
  Preventing a Runtime widget crash from crashing the Launcher
2016-01-26 20:02:13 +00:00
Sunny Goyal 3fc648d3b7 Preventing a Runtime widget crash from crashing the Launcher
Bug: 26750103
Change-Id: I31f120bb0c4d64b903b3dd5dae0ae46f95bcdf59
2016-01-25 17:30:25 -08:00
Kenny Guy ff05f4375d Respond to managed profile availabilty Intents.
Grey out applications when managed profile is
not available.

Change-Id: I9bb9442cd0b3d0d207062716bfd6b179e3ba8489
2016-01-25 21:23:59 +00:00
Kenny Guy 44cba69638 Grey out suspended applications.
Grey out application shortcuts and all apps entries
for packages that are suspended.

Bug: 22776761
Change-Id: I1b63da1816aca1de52b9f9bee62d1b162d0cdf4d
2016-01-25 11:28:06 +00:00
Sunny Goyal 8bf6f311e8 Removing unnecessary new object creation in dispatchDraw
dispatchDraw was calling getVisiblePages which in turn calls
getDescendantCoordRelativeToParent and created multiple new abjects

Change-Id: I401fec076183979d30dfdbbdc02a57bd79f3886d
2016-01-23 14:42:25 -08:00
Sunny Goyal f076eae0ca Adding support for migrating the grid between any two valid screens sizes.
The grid is migrated in steps where each step consists of at max one column change and at max one row change.
Adding some unit tests for GridMigrationLogic

Bug: 25958224
Change-Id: Ie54e872ea0925cc4c463edbba0a7201d62b373a0
2016-01-20 11:58:09 -08:00
Sunny Goyal 5743d870bd resolve merge conflicts of b56090af35 to ub-launcher3-master.
Change-Id: I2ef9a25b70815efe37109004517a7c3077ffa22e
2016-01-19 13:01:20 -08:00
Sunny Goyal b56090af35 Merge "Removing some obsolete files" into ub-launcher3-burnaby-polish 2016-01-19 20:54:00 +00:00
Sunny Goyal 3c0adb0729 Removign \'final\' modifiers from FeatureFlags so that then can be overridden
am: c7a49f0574

* commit 'c7a49f05743f377d2299e4ecbc2e396e7afe87c3':
  Removign 'final' modifiers from FeatureFlags so that then can be overridden
2016-01-19 19:41:00 +00:00
Sunny Goyal 2080603ca7 Removing some obsolete files
Change-Id: I45cc23afcecb67163da99a9b81ace0021f723c9b
2016-01-19 10:38:49 -08:00
Sunny Goyal c7a49f0574 Removign 'final' modifiers from FeatureFlags so that then can be overridden
Change-Id: I07265eaeed883301787eb0ffd838f516d7c63d26
2016-01-19 10:36:23 -08:00
Sunny Goyal fda9dead66 Merge "Disabling icon normalization" into ub-launcher3-burnaby-polish
am: d42903b4f0

* commit 'd42903b4f093a6915c4001b1f1b46140b4fdcb35':
  Disabling icon normalization
2016-01-13 18:38:58 +00:00
Sunny Goyal d42903b4f0 Merge "Disabling icon normalization" into ub-launcher3-burnaby-polish 2016-01-13 18:04:19 +00:00
Sunny Goyal dde32e216c Disabling icon normalization
Bug: 26537769
Change-Id: Ia1d7127a7c01fe98127e34440d1c003b669eaf75
2016-01-13 09:48:17 -08:00
Sunny Goyal e3a593a025 Merge "Fixing icon badging being done on scaled bitmap size" into ub-launcher3-burnaby-polish
am: 5255c87c6f

* commit '5255c87c6f215010aeeb690eed4eae28177b0a93':
  Fixing icon badging being done on scaled bitmap size
2016-01-12 22:39:23 +00:00
Sunny Goyal 5255c87c6f Merge "Fixing icon badging being done on scaled bitmap size" into ub-launcher3-burnaby-polish 2016-01-12 22:35:16 +00:00
Sunny Goyal 92899800b7 Fixing custom content screen not aligned properly in landscape
am: ecdc24f6f6

* commit 'ecdc24f6f667319db56a16dd7d1efda16dfe662e':
  Fixing custom content screen not aligned properly in landscape
2016-01-12 18:45:48 +00:00