Commit Graph

5144 Commits

Author SHA1 Message Date
Sunny Goyal
3169e9c331 Fixing mismatch comment in flags
Change-Id: Ie86e2ebd4f40653fb127a239b57361164ef31b07
2016-03-03 13:38:58 -08:00
Sunny Goyal
531cda693d Using a negative flag for icon notmalization
Change-Id: Iaa94aea730d2b5cc3f15f3578f240127ca0eef63
2016-03-03 13:30:57 -08:00
Adam Cohen
efca0279eb Switch all folder preview rendering to be programmatic (ie. no assets)
-> Refactored the preview background rendering to be much more self-contained.
   This cleans up a lot of code in the CellLayout, and keeps the logic in the
   right place.
-> We switch to software rendering for performance and compatibility reasons.
-> Removed all assets.
-> FolderIcon accept animation includes animation of the clipped region.
-> 1:1 hand-off of drawing of the FolderIcon background between the FolderIcon
   and the CellLayout. Unfortunately, CellLayout rendering is still required
   to work around clipping issues (due to use of software layer). We also
   need this to support folder creation feedback.

Change-Id: Ib8f7fa6359dfedff8145f38dd50ba03849ca0d51
2016-03-03 09:24:45 -08:00
Sunny Goyal
992a5f566e Starting market search whenever the search key is pressed
Bug: 27365428
Change-Id: I508cb35cd1aaab1eac6cf60014fa6f80592365ef
2016-03-02 11:32:18 -08:00
Hyunyoung Song
a10bf37446 Merge "Prevent work profile widget DnD crash b/26079469" into ub-launcher3-burnaby-polish
am: 5cc55a143a

* commit '5cc55a143a2ed35d6f2ac1fe57a4e8b3e26d47a0':
  Prevent work profile widget DnD crash b/26079469
2016-03-01 19:59:45 +00:00
Hyunyoung Song
5cc55a143a Merge "Prevent work profile widget DnD crash b/26079469" into ub-launcher3-burnaby-polish 2016-03-01 19:58:45 +00:00
Hyunyoung Song
3e840f4343 Prevent work profile widget DnD crash
b/26079469

Change-Id: I3d49ac498bbaaef8ca8a3051f5ab4b35ef771410
2016-03-01 11:57:44 -08:00
Sunny Goyal
e670159cfe Merge "Fixing homescreen getting blank when returning from the overlay" into ub-launcher3-calgary 2016-03-01 01:07:39 +00:00
Sunny Goyal
061380a04d Fixing scrollTo getting called even though the gesture was handled by an overlay
Change-Id: Ia46c4ef3db8a3ae4fa615625b7b983d7e461c797
2016-02-29 15:15:39 -08:00
Sunny Goyal
f323002e26 Merge "Chaning shadow algorithm to reuse bitmap instead of creating a new bitmap on every tap" into ub-launcher3-calgary 2016-02-26 19:28:34 +00:00
Sunny Goyal
53d5c9ee5f Disabling system drag driver in NYC
Change-Id: Ia7374f04c2aeb9cf8eb5bcf330da56bbc3f47ef2
2016-02-26 09:52:21 -08:00
Sunny Goyal
6c651132fb Chaning shadow algorithm to reuse bitmap instead of creating
a new bitmap on every tap

Bug: 27239742
Change-Id: I8e4259b79b1048e5fa82e7a1c8934ec7c52995be
2016-02-26 09:15:06 -08:00
Sunny Goyal
ee68816be8 Fixing homescreen getting blank when returning from the overlay
Change-Id: Ie11b92cd59c90e71b9b58eeede742ef0c5b28380
2016-02-26 08:47:21 -08:00
Sunny Goyal
6646016ff5 Merge "Adding overlay interaction support" into ub-launcher3-calgary 2016-02-26 03:57:11 +00:00
Sunny Goyal
38138ddcca Merge "Removign optimations in onDestroy" into ub-launcher3-calgary 2016-02-25 18:01:37 +00:00
Sunny Goyal
c86df470ab Adding overlay interaction support
> Sending unboundX to the overlay which is the total untranslated X and not just deltaX from last frame
> Handling overlay callback and translating workspace accordingly

Change-Id: I3bd8d9efac738e9ce131758f0e5ff1b9c1d6a8fc
2016-02-25 10:01:13 -08:00
Sunny Goyal
7515f1b41c Merge "Preventing crash when there is not enough width to show the pending text" into ub-launcher3-burnaby-polish
am: ed2ce76bfe

* commit 'ed2ce76bfeda7cee2dc0fa124825ac603f2761ea':
  Preventing crash when there is not enough width to show the pending text
2016-02-25 04:15:32 +00:00
Sunny Goyal
bc545eefc5 Merge "Preserving the homescreen rotation setting on a tablet, when the display is scaled" into ub-launcher3-calgary 2016-02-25 04:15:14 +00:00
Sunny Goyal
ed2ce76bfe Merge "Preventing crash when there is not enough width to show the pending text" into ub-launcher3-burnaby-polish 2016-02-25 04:14:06 +00:00
Adam Cohen
4f8071b759 Cleaning up folder icon drawing
-> Tracking individual drawing parms for each item
-> This enables animation of the preview items as the preview changes

Change-Id: I1b8f650cb28dc09cfb921bbdc93f2a3db61178fd
2016-02-24 18:20:40 -08:00
Sunny Goyal
10a0e8a5c6 Merge "Cleaning up the overlay interface" into ub-launcher3-calgary 2016-02-25 00:19:40 +00:00
Sunny Goyal
86feafc1e5 Merge "Revert "Disabling som attributes so that dependencies can use compat libraries"" into ub-launcher3-burnaby-polish
am: 81131edc8e

* commit '81131edc8ed9c1d866d98bef3f08bbd9eb4d47fc':
  Revert "Disabling som attributes so that dependencies can use compat libraries"
2016-02-25 00:13:15 +00:00
Sunny Goyal
81131edc8e Merge "Revert "Disabling som attributes so that dependencies can use compat libraries"" into ub-launcher3-burnaby-polish 2016-02-25 00:04:26 +00:00
Hyunyoung Song
2773b01bb7 Merge "Change preloading coefficient for widgets tray to improve jankness on low performance devices." into ub-launcher3-burnaby-polish
am: 2cb92eb2bb

* commit '2cb92eb2bbfbd6ae4331657d3446f3f771aabd4b':
  Change preloading coefficient for widgets tray to improve jankness on low performance devices.
2016-02-24 02:39:40 +00:00
Hyunyoung Song
2cb92eb2bb Merge "Change preloading coefficient for widgets tray to improve jankness on low performance devices." into ub-launcher3-burnaby-polish 2016-02-24 02:28:59 +00:00
Hyunyoung Song
b7271fd17e Change preloading coefficient for widgets tray to improve jankness
on low performance devices.

Change-Id: I6dfe1161bf596792a7fc8b3c5160a4922e177834
2016-02-23 18:23:54 -08:00
Sunny Goyal
5845bea514 Preventing crash when there is not enough width to show the pending text
Bug: 26901856
Change-Id: I03c9631ce224cce76b2c896a5e6ce6b0ee741782
2016-02-23 16:43:23 -08:00
Sunny Goyal
59871ef875 Revert "Disabling som attributes so that dependencies can use compat libraries"
This reverts commit e1bd986d77.

Change-Id: I27490d0cb241b2e58ce45998f7f9e9bc8d84993c
2016-02-24 00:28:02 +00:00
Sunny Goyal
8f3819bc51 Preserving the homescreen rotation setting on a tablet, when the display is scaled
Bug: 27040652
Change-Id: I07f5e02443379ac5b877f72d33cedf4f2feca926
2016-02-23 14:50:27 -08:00
Sunny Goyal
32554d1c61 Cleaning up the overlay interface
Removing some unnecessary and unused methods

Bug: 25993953
Change-Id: I4d715cdee04eb7b0ebef673d885a4258c521ff1f
2016-02-23 12:06:16 -08:00
Hyunyoung Song
dfaeff757d Manual revert due to conflict:
am: d31dcbcc7c

* commit 'd31dcbcc7c7901959c65c4e635e59274a1d4c334':
  Manual revert due to conflict:
2016-02-23 19:56:32 +00:00
Hyunyoung Song
d31dcbcc7c Manual revert due to conflict:
Revert "Load label in bg thread to prevent ANR b/27238970"

This reverts commit b62fd09576.

Change-Id: Ia751e3414fb24a18bb8bb9ca09dcd93d0e4249f6
2016-02-23 11:36:21 -08:00
Sunny Goyal
1a187d4e37 Disabling som attributes so that dependencies can use compat libraries
am: e1bd986d77

* commit 'e1bd986d77afc9426e320b7cce53993086f9d8ba':
  Disabling som attributes so that dependencies can use compat libraries
2016-02-23 19:02:41 +00:00
Sunny Goyal
e1bd986d77 Disabling som attributes so that dependencies can use compat libraries
Bug: 27101533
Change-Id: I18de77cffbbb234f25fb85dfe0334ed7fe113a74
2016-02-23 10:43:02 -08:00
Sunny Goyal
261194387b Revert "Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage"
This reverts commit fc956e5a2a.

Change-Id: Ib3b5156b8fc3cad35c4634d61d5390c848ce1f93
2016-02-23 02:02:54 +00:00
Hyunyoung Song
b62fd09576 Load label in bg thread to prevent ANR
b/27238970

Change-Id: Ic5d77df7d5276cee07861d59427a94fb19691d9c
(cherry picked from commit 72a9953cf4)
2016-02-23 00:45:56 +00:00
Hyunyoung Song
72a9953cf4 Load label in bg thread to prevent ANR
b/27238970

Change-Id: Ic5d77df7d5276cee07861d59427a94fb19691d9c
2016-02-22 16:36:15 -08:00
Hyunyoung Song
fbf19cccd2 <UserEventLogging> Log app launches
b/26494415

1) Current Logger can capture taps from
- homescreen
- folder inside homescreen
- apps prediction
- all apps a-z
- tap from hotseat
2) Deprecate LauncherCallback methods that is no longer needed

Future CL.
3) Stats and Logger will be merged. Bundle used for Stats can be
replaced with LauncherLogProto
4) Logging anything else other than app launches

Change-Id: Id52eb615f66142017b5c490a220ce6654d325681
2016-02-19 12:55:53 -08:00
Sunny Goyal
f940684626 resolve merge conflicts of a6194d3d92 to ub-launcher3-calgary
Change-Id: I29b3c3bb2c070e34c78c62b8f9086e6f3c8bd277
2016-02-19 11:12:14 -08:00
Sunny Goyal
b347535cb0 Merge "Deleting the WallpaperPicker code inside launcher. Instead linking it to the packages/apps/WallpaperPicker project" into ub-launcher3-calgary 2016-02-19 18:08:52 +00:00
Sunny Goyal
a6194d3d92 Wrapping thw widgetList inside a layout, so that it has the same view structure as allApps
Change-Id: I28b035beb1c7e13101ec20ff671d3cad5f757c0e
2016-02-19 09:35:43 -08:00
Sunny Goyal
4759760bc9 Removing LauncherCallbacks control over app search
am: c42ac0a5a6

* commit 'c42ac0a5a6f0a4e41a9fc1b694f841204ae1989c':
  Removing LauncherCallbacks control over app search
2016-02-18 23:50:51 +00:00
Sunny Goyal
c42ac0a5a6 Removing LauncherCallbacks control over app search
Change-Id: Icb199607dea3f169055e44946272aa9f1e758d1d
2016-02-18 15:32:27 -08:00
Sunny Goyal
bd822508e5 Deleting the WallpaperPicker code inside launcher.
Instead linking it to the packages/apps/WallpaperPicker project

Change-Id: Ib6830b180a22c22afece01e0a4f6e94e89d6452b
2016-02-18 15:09:21 -08:00
Sunny Goyal
ecd365293f resolve merge conflicts of 2953833bcb to ub-launcher3-calgary
Change-Id: Ia7fc406d1e287974e87979af9a4b1f5f1e4e23d9
2016-02-18 10:23:18 -08:00
Sunny Goyal
2953833bcb Adding a utility method to iterate over folder contents
Change-Id: I9f17ade7dc06819587290387b811d828da57b2fb
2016-02-18 09:10:19 -08:00
Sunny Goyal
f63c46bf5e Merge "Revert "Temporarily disabling custom search controller"" into ub-launcher3-calgary 2016-02-18 16:55:48 +00:00
Sunny Goyal
f51084c296 Revert "Temporarily disabling custom search controller"
This reverts commit 954b7d36b9.

Change-Id: If304fa164e50f68aac168ede0f4bc0ff97659a8a
2016-02-18 00:40:49 +00:00
Sunny Goyal
fc956e5a2a Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage
Change-Id: Ifd0d717d70aff4c83c9eb5cba397d04500b2c869
2016-02-17 13:27:13 -08:00
Adam Cohen
29aac6e272 Merge "First pass at new FolderIcon visual treatment" into ub-launcher3-calgary 2016-02-17 19:07:47 +00:00