Commit Graph

7200 Commits

Author SHA1 Message Date
Jon Miranda fc2bf24022 Remove assumptions from swap prediction logic.
Bug: 64689250
Change-Id: If54ac03dec7d8c09f951b3ffeb7732202e3f1562
2017-09-20 18:28:39 +00:00
Jonathan Miranda 8c220d1311 [automerger] Move orientation initialization to onCreate. am: 11ee2f6e8f
Change-Id: Ic4928769ab2891a7a709ed57404298a988baec1d
2017-09-20 17:19:20 +00:00
Jon Miranda 11ee2f6e8f Move orientation initialization to onCreate.
Bug: 64916689
Change-Id: Iacc04dcc261fc049b83cb81792975414fb00b3cc
2017-09-20 10:18:41 -07:00
TreeHugger Robot 0520395d66 Merge "Change rule so that multi-window labels are shown if there is space." into ub-launcher3-master 2017-09-20 15:47:26 +00:00
Jonathan Miranda ef4697fdad [automerger] Fix bug where widgets are inflated in the wrong orientation. am: 6bed350b75
Change-Id: I9d4bdaba96fe6afc90a48a141cd3af640b592a7a
2017-09-19 21:43:36 +00:00
Jon Miranda 6bed350b75 Fix bug where widgets are inflated in the wrong orientation.
The bug is that in onResume, the context may tell us the wrong
orientation.

As a workaround, we store the orientation that the Launcher
is created with, and we use that orientation to check whether
we actually need to reinflate the widgets.

Bug: 64916689
Change-Id: I5194debbd217a573d1f177c31d8c0abdf9da51b5
2017-09-19 14:43:17 -07:00
Jon Miranda 0cd04571d2 Change rule so that multi-window labels are shown if there is space.
ie. Taimen has enough room to show the labels in mw mode.

Bug: 65778773
Change-Id: If585f3f975b44d17ea6e07f23c50758998bbb564
2017-09-19 11:31:42 -07:00
TreeHugger Robot d926a9316f Merge "Fixing widgets not getting restored when the corresponding system app is enabled" into ub-launcher3-dorval-polish2 2017-09-18 17:14:10 +00:00
TreeHugger Robot 291e4d2420 Merge changes from topic "am-1de652e5-383f-4291-b4b5-dee384ddf1ba" into ub-launcher3-master
* changes:
  [automerger] Fixing widgets not getting restored when the corresponding system app is enabled am: adaf210794
  Fixing widgets not getting restored when the corresponding system app is enabled
2017-09-18 17:14:10 +00:00
Tony Wickham 42b5f52b36 Merge "Ignore clicks on notifications that don't have intents." into ub-launcher3-dorval-polish2 2017-09-18 17:11:33 +00:00
Sunny Goyal 0d992b903c [automerger] Fixing widgets not getting restored when the corresponding system app is enabled am: adaf210794
Change-Id: I91d976d1985a72737d5a365898dbfc9a6a18cd68
2017-09-18 17:04:45 +00:00
Sunny Goyal adaf210794 Fixing widgets not getting restored when the corresponding system app is enabled
Bug: 64723295
Change-Id: I143b554087e6ff8cfbdb5f02d53fdcc7a1ce3b12
2017-09-18 10:04:37 -07:00
Tony Wickham 716688f50e [automerger] Ignore clicks on notifications that don't have intents. am: 22cb37745c
Change-Id: I8973d3ebdb083ed28b8516b8dc26f547f9ab0d52
2017-09-16 00:40:30 +00:00
Tony Wickham 22cb37745c Ignore clicks on notifications that don't have intents.
Bug: 64479852
Change-Id: I3bfff96a12169d0d191a36a8c7e90d4810e9f176
2017-09-15 17:38:48 -07:00
Hyunyoung Song 2dd64c0710 Merge changes from topic "am-ef87c1d2-519f-467f-b097-802ff59b63b3" into ub-launcher3-master
* changes:
  [automerger] Remove haptic on touch down Bug: 65463659 am: d315ff2bc2
  Remove haptic on touch down Bug: 65463659
2017-09-14 17:51:48 +00:00
Hyunyoung Song 465435d16d Merge "Remove haptic on touch down Bug: 65463659" into ub-launcher3-dorval-polish2 2017-09-14 17:51:48 +00:00
TreeHugger Robot 83f7683509 Merge "Fixing custom widgets support:" into ub-launcher3-master 2017-09-14 00:00:48 +00:00
Sunny Goyal 952e63d006 Fixing custom widgets support:
> Moving the definitions to xml so that it is easier to override in derivative projects
> Fixing verious bind and save logic for custom widgets
> Adding feature flag to easily disable custom widgets

Change-Id: I0e278bc7dd415713029364060ef10842da990be9
2017-09-13 14:04:35 -07:00
Sunny Goyal ad7ff44009 Unifying various icon loading methods
Change-Id: I5a8969b6aad6513d769b5bb38bf95a701fe346d8
2017-09-13 11:56:55 -07:00
Hyunyoung Song 3705664cf0 [automerger] Remove haptic on touch down Bug: 65463659 am: d315ff2bc2
Change-Id: Ib476e68fe09e94e4a6299434c876b8bd4834c248
2017-09-12 22:55:15 +00:00
Hyunyoung Song d315ff2bc2 Remove haptic on touch down
Bug: 65463659

Change-Id: I111d18a3d1dcd7877ad4aa5baaeca2e6810be332
2017-09-12 15:54:50 -07:00
TreeHugger Robot 673f917d57 Merge "WallpaperManagerCompat should target correct platform Also replace Utilities.isAtLeastO() to static final constant. Bug: 65544683" into ub-launcher3-dorval-polish2 2017-09-11 21:40:47 +00:00
TreeHugger Robot b22a49a677 Merge changes from topic "launcher_at_least_oreo" into ub-launcher3-master
* changes:
  [automerger] WallpaperManagerCompat should target correct platform Also replace Utilities.isAtLeastO() to static final constant. Bug: 65544683 am: e24cb63b81
  WallpaperManagerCompat should target correct platform Also replace Utilities.isAtLeastO() to static final constant. Bug: 65544683
2017-09-11 21:40:47 +00:00
Sunny Goyal e76297e4cc [automerger] Fixing promise icons not getting restored after the app is installed am: a41ebf0cd2
Change-Id: I36a2e68f4514a10e73a6f52809c59cbd5a30f34c
2017-09-11 20:07:51 +00:00
Sunny Goyal a41ebf0cd2 Fixing promise icons not getting restored after the app is installed
Bug: 65387781
Change-Id: I8f6ca6695ad074a707b574af9499586fdd90d5c1
2017-09-11 13:07:41 -07:00
Hyunyoung Song 8c1e15f3a5 [automerger] WallpaperManagerCompat should target correct platform Also replace Utilities.isAtLeastO() to static final constant. Bug: 65544683 am: e24cb63b81
Change-Id: I85935372c20d6b473b692119730212811e01657d
2017-09-11 19:17:38 +00:00
Hyunyoung Song e24cb63b81 WallpaperManagerCompat should target correct platform
Also replace Utilities.isAtLeastO() to static final constant.
Bug: 65544683

Change-Id: I39fbea66939d72c31702748716c4e65b4f9bee6a
2017-09-11 12:17:09 -07:00
TreeHugger Robot 2f8d53d2f7 Merge "Removing some folder customization options" into ub-launcher3-master 2017-09-08 22:41:35 +00:00
Sunny Goyal 7ce471bdf6 Removing support for CustomContent screen
The supported way to customize Launcher and add a "-1 page" is by
using LauncherOverlays. Custom content screen is no longer supported.

Change-Id: I3f8a2734c287d1a69ae0c038ec1de1d45fa1b464
2017-09-08 14:06:30 -07:00
Sunny Goyal add3d8322d Removing some folder customization options
The old folder preview and animation relied on creating bitmaps for transition.
As we move to hardware bitmaps, creating custom bitmaps which rely on icon bitmaps
would be costly (hardware bitmaps are immutable and cannot be drawn on a software canvas).

Bug: 35428783
Change-Id: I39869ed44feb6a886985ad15775bc1ab55565727
2017-09-08 12:07:24 -07:00
TreeHugger Robot 9c1607886b Merge "Try-catching getColorHints in wallpapermanager compat." into ub-launcher3-dorval-polish2 2017-09-06 21:25:54 +00:00
TreeHugger Robot 17e780794b Merge changes from topic "am-b36d86f4-1165-4732-96de-e44bd366c739" into ub-launcher3-master
* changes:
  [automerger] Try-catching getColorHints in wallpapermanager compat. am: 2b1073994c
  Try-catching getColorHints in wallpapermanager compat.
2017-09-06 21:25:54 +00:00
Tony Wickham 9fad935b03 Merge "Adjust notification paddings" into ub-launcher3-dorval-polish2 2017-09-06 21:17:29 +00:00
Mario Bertschler 7b6badad54 [automerger] Try-catching getColorHints in wallpapermanager compat. am: 2b1073994c
Change-Id: Ie9d0ebcdde7bd885905177f2ee07a0e3d2868d16
2017-09-06 21:06:20 +00:00
Mario Bertschler 2b1073994c Try-catching getColorHints in wallpapermanager compat.
Change-Id: I1b2fbbdfeecb46d1864dad888f4c7e9765a25715
2017-09-06 14:06:09 -07:00
Tony Wickham 614484617b [automerger] Adjust notification paddings am: 2063ebd990
Change-Id: I58f0521e3d23f113c5729bf79010a69ac7b6bf5a
2017-09-06 20:39:00 +00:00
Tony Wickham 2063ebd990 Adjust notification paddings
- Reduce main notification height
- Increase header height and center "Notifications"
- Footer has short height when empty to serve as padding

Bug: 65215656
Change-Id: I691d176628b0b51e8d9af030084b8c29837778dc
2017-09-06 13:37:00 -07:00
Jon Miranda 610af37575 Add springs when user clicks on caret / all apps snaps to top.
Bug: 65373058
Change-Id: I9cc5c4c98fd3e5b53d597c4493f2dcef6d9be94a
2017-09-05 23:20:27 +00:00
Mario Bertschler 2021828034 [automerger] Remove reflection from wallpaper manager for wallpaper colors. am: aeed7f24f2
Change-Id: Ie74a159966516d5feb458689349c39685448ebb9
2017-09-05 21:58:53 +00:00
Mario Bertschler aeed7f24f2 Remove reflection from wallpaper manager for wallpaper colors.
Bug: 65016704
Change-Id: I36bac7a3cd9cd4911657e693a424c9960cb9d042
2017-09-05 14:58:30 -07:00
Mario Bertschler f41edbe875 Install long-click action for apps that are not installed.
Bug: 65059282
Change-Id: Ifec3ac15c9cf52c456e695846eb91024b07fe333
2017-08-31 12:09:13 -07:00
Jonathan Miranda 934ff6e217 [automerger] Fix bug where Launcher crashes when pinned shortcut has no icon. am: 01521b52a8
Change-Id: I6c3ec09a3133d7daa20dba69b1256acbf85d38ed
2017-08-30 21:49:42 +00:00
Jon Miranda 01521b52a8 Fix bug where Launcher crashes when pinned shortcut has no icon.
Bug: 65187090
Change-Id: Ica5b10e640cf4ab752055da2f4e352680ab26391
2017-08-30 14:47:41 -07:00
Sunny Goyal ab1c684ae8 Merge changes from topic "am-f8cfbb03-ab08-49c2-b587-0dcf40840504" into ub-launcher3-master
* changes:
  [automerger] Fix bug where dragging app from Search breaks Folder preview. am: 4f59381bc4
  Fix bug where dragging app from Search breaks Folder preview.
2017-08-30 19:20:40 +00:00
Sunny Goyal 8f3285c1c5 Merge "Fix bug where dragging app from Search breaks Folder preview." into ub-launcher3-dorval-polish2 2017-08-30 19:20:40 +00:00
TreeHugger Robot c32d5abe60 Merge changes from topic "am-b4842062-1b80-4730-9ee4-8ba12a75cc30" into ub-launcher3-master
* changes:
  [automerger] Fix bug where mw landscape cell size is calculated incorretly. am: a11380d370
  Fix bug where mw landscape cell size is calculated incorretly.
2017-08-30 19:17:07 +00:00
TreeHugger Robot bb28c01cf4 Merge "Fix bug where mw landscape cell size is calculated incorretly." into ub-launcher3-dorval-polish2 2017-08-30 19:17:07 +00:00
Jonathan Miranda 8f87845a6a [automerger] Fix bug where dragging app from Search breaks Folder preview. am: 4f59381bc4
Change-Id: I2840d69d93cf63483e6611c6ef7e64d1ca1419f1
2017-08-30 19:00:45 +00:00
Jon Miranda 4f59381bc4 Fix bug where dragging app from Search breaks Folder preview.
Bug: 64975940
Change-Id: I3182a9396aa1e34bc3489f794f2de40387c50da3
2017-08-30 11:59:30 -07:00
Sunny Goyal 7379dbe01f Merge changes from topic "am-4df15ef1-0996-467f-85b8-fd121a766e01" into ub-launcher3-master
* changes:
  [automerger] Updating the all-apps discovery bounce animation am: e18d3f537f
  Updating the all-apps discovery bounce animation
2017-08-30 18:37:14 +00:00