OSDN Git Service

android-x86/packages-apps-Launcher3.git
7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
Bill Yi [Tue, 2 Aug 2016 10:05:05 +0000 (10:05 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
am: 73a0a726a6  -s ours

Change-Id: I410c82c057cc2683263d49afeef5b3e89e052d41

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 2 Aug 2016 10:05:04 +0000 (10:05 +0000)]
Import translations. DO NOT MERGE
am: b22c174a2e  -s ours

Change-Id: Iff89271315880c168fb26e3f4387f0d84eb9b154

7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-master
TreeHugger Robot [Tue, 2 Aug 2016 09:53:44 +0000 (09:53 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-master

7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
TreeHugger Robot [Tue, 2 Aug 2016 09:53:38 +0000 (09:53 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 2 Aug 2016 01:27:06 +0000 (18:27 -0700)]
Import translations. DO NOT MERGE

Change-Id: I66f83332bff8966941998be370eeb821d145a5e5
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 2 Aug 2016 01:26:24 +0000 (18:26 -0700)]
Import translations. DO NOT MERGE

Change-Id: I221a6a62f6329ddac3e71461bb381820ed239873
Auto-generated-cl: translation import

7 years agoMerge "Add logging for shortcuts opening." into ub-launcher3-calgary
Tony Wickham [Tue, 2 Aug 2016 01:07:04 +0000 (01:07 +0000)]
Merge "Add logging for shortcuts opening." into ub-launcher3-calgary
am: 6d9b072bdd

Change-Id: Ia31a1d865d8af05de25ec799386a39ea97828437

7 years agoAdd logging for shortcuts opening.
Tony Wickham [Tue, 2 Aug 2016 01:07:03 +0000 (01:07 +0000)]
Add logging for shortcuts opening.
am: 55c6691e3a

Change-Id: I780076409a7ed5eb5c8086450c386ac5a544d66f

7 years agoMerge "Add logging for shortcuts opening." into ub-launcher3-calgary
Tony Wickham [Tue, 2 Aug 2016 00:56:57 +0000 (00:56 +0000)]
Merge "Add logging for shortcuts opening." into ub-launcher3-calgary

7 years agoAdd logging for shortcuts opening.
Tony Wickham [Mon, 1 Aug 2016 23:42:19 +0000 (16:42 -0700)]
Add logging for shortcuts opening.

- Log as long press with child type DEEPSHORTCUTS container
- Parent type can be one of WORKSPACE, HOTSEAT, FOLDER,
  ALLAPPS, PREDICTION, or SEARCHRESULT.

Bug: 30537079
Change-Id: Ie62e4889ee06c845f959ca998781787a7fdaf00e

7 years agoMerge "Adding quiet mode support for shortcuts" into ub-launcher3-calgary
Sunny Goyal [Mon, 1 Aug 2016 22:29:20 +0000 (22:29 +0000)]
Merge "Adding quiet mode support for shortcuts" into ub-launcher3-calgary
am: f8d2a70e0f

Change-Id: I002543899baaef4842cdcb3a5ec5bd7573dc5985

7 years agoAdding quiet mode support for shortcuts
Sunny Goyal [Mon, 1 Aug 2016 22:29:20 +0000 (22:29 +0000)]
Adding quiet mode support for shortcuts
am: d3b87ef196

Change-Id: I9f782108419525f778936fe61e04073c81881f54

7 years agoMerge "Adding quiet mode support for shortcuts" into ub-launcher3-calgary
Sunny Goyal [Mon, 1 Aug 2016 22:04:11 +0000 (22:04 +0000)]
Merge "Adding quiet mode support for shortcuts" into ub-launcher3-calgary

7 years agoMerge \"Build fix: Updating SDK for tests\" into ub-launcher3-calgary
Sunny Goyal [Mon, 1 Aug 2016 17:14:29 +0000 (17:14 +0000)]
Merge \"Build fix: Updating SDK for tests\" into ub-launcher3-calgary
am: 0843675e93

Change-Id: I0c7863bd507f64b00f1c5d497f56c4ac82064a3a

7 years agoBuild fix: Updating SDK for tests
Sunny Goyal [Mon, 1 Aug 2016 17:14:29 +0000 (17:14 +0000)]
Build fix: Updating SDK for tests
am: ec944ad7b0

Change-Id: I1ba91de248e319e01a54bafc252e7a40496dd1ae

7 years agoMerge "Build fix: Updating SDK for tests" into ub-launcher3-calgary
Sunny Goyal [Mon, 1 Aug 2016 17:09:02 +0000 (17:09 +0000)]
Merge "Build fix: Updating SDK for tests" into ub-launcher3-calgary

7 years agoBuild fix: Updating SDK for tests
Sunny Goyal [Fri, 29 Jul 2016 23:53:47 +0000 (16:53 -0700)]
Build fix: Updating SDK for tests

Change-Id: I1377dce808335f65eb0799b7053c84853f57980a

7 years agoMerge \"Set shortcuts arrow pivot to side connected to container.\" into ub-launcher3...
Tony Wickham [Sat, 30 Jul 2016 05:13:19 +0000 (05:13 +0000)]
Merge \"Set shortcuts arrow pivot to side connected to container.\" into ub-launcher3-calgary
am: 1460475626

Change-Id: I9bf77425b52b74c3904d5fcb41ef7a233bbc5253

7 years agoSet shortcuts arrow pivot to side connected to container.
Tony Wickham [Sat, 30 Jul 2016 05:13:19 +0000 (05:13 +0000)]
Set shortcuts arrow pivot to side connected to container.
am: 4d5887bd8c

Change-Id: I677309debc91c5a7af3dece0e076cc9182c1c7d4

7 years agoMerge \"Badging shortcuts with app icons\" into ub-launcher3-calgary
Sunny Goyal [Sat, 30 Jul 2016 05:13:18 +0000 (05:13 +0000)]
Merge \"Badging shortcuts with app icons\" into ub-launcher3-calgary
am: 66d17ca32d

Change-Id: I726a35f9267c2e1561a6da91eff77a32a07b772b

7 years agoBadging shortcuts with app icons
Sunny Goyal [Sat, 30 Jul 2016 05:13:18 +0000 (05:13 +0000)]
Badging shortcuts with app icons
am: 79cf718fcd

Change-Id: I970ef85a1b6296d7f6d1387d5d7e283ef3ab6639

7 years agoFilter shortcuts down to 4 if there are more.
Tony Wickham [Sat, 30 Jul 2016 05:13:17 +0000 (05:13 +0000)]
Filter shortcuts down to 4 if there are more.
am: c39edf54e6

Change-Id: Ib5374fb977b53242faac4f759f9d5cee7d9c618e

7 years agoMerge "Set shortcuts arrow pivot to side connected to container." into ub-launcher3...
Tony Wickham [Sat, 30 Jul 2016 00:04:14 +0000 (00:04 +0000)]
Merge "Set shortcuts arrow pivot to side connected to container." into ub-launcher3-calgary

7 years agoSet shortcuts arrow pivot to side connected to container.
Tony Wickham [Fri, 29 Jul 2016 23:34:17 +0000 (16:34 -0700)]
Set shortcuts arrow pivot to side connected to container.

Bug: 30508528
Change-Id: Iddc733d79b680010785d21b347d151bc23bffc23

7 years agoMerge "Badging shortcuts with app icons" into ub-launcher3-calgary
Sunny Goyal [Fri, 29 Jul 2016 23:14:51 +0000 (23:14 +0000)]
Merge "Badging shortcuts with app icons" into ub-launcher3-calgary

7 years agoFilter shortcuts down to 4 if there are more.
Tony Wickham [Wed, 27 Jul 2016 19:32:32 +0000 (12:32 -0700)]
Filter shortcuts down to 4 if there are more.

- We take the first 4 in sorted order, except we remove up to 2
  static shortcuts to make room for dynamic ones if they exist.
- Added ShortcutFilterTest with testSortAndFilterShortcuts().
  This asserts that the filtered list is sorted and has the
  expected number of static and dynamic shortcuts based on
  inputs with various amounts of each.

Bug: 28980830
Change-Id: I832b6b21144f17c74bb8b90a840d6620e99911b8

7 years agoAdding quiet mode support for shortcuts
Sunny Goyal [Thu, 28 Jul 2016 19:11:54 +0000 (12:11 -0700)]
Adding quiet mode support for shortcuts

> LauncherApps returns empty list when the user is locked. Not relying on
LauncherApps in this case
> When the user is locked, removing all dynamic shortcuts
> Loading shortcuts from DB when the user is locked
> Verifying the shortcuts again when the user is available

Bug: 30411561
Change-Id: Ib6eb372c5b009cadb86a8f6e781f3f3cbf787ceb

7 years agoBadging shortcuts with app icons
Sunny Goyal [Thu, 28 Jul 2016 00:32:34 +0000 (17:32 -0700)]
Badging shortcuts with app icons

Change-Id: I3fa005ece20a54b31f823acb28c384ecdf1eafb1

7 years agoMerge \"Cancel exit spring loaded runnable when launcher state is set to APPS or...
Hyunyoung Song [Fri, 29 Jul 2016 21:38:30 +0000 (21:38 +0000)]
Merge \"Cancel exit spring loaded runnable when launcher state is set to APPS or WIDGETS b/29645452\" into ub-launcher3-calgary
am: 72dc60c576

Change-Id: Ida309677c84d067f012841aa9edeb21ec03594fe

7 years agoCancel exit spring loaded runnable when launcher state is set to APPS or WIDGETS...
Hyunyoung Song [Fri, 29 Jul 2016 21:38:30 +0000 (21:38 +0000)]
Cancel exit spring loaded runnable when launcher state is set to APPS or WIDGETS b/29645452
am: 06ca7568c6

Change-Id: I17e8718fc30f3afe405b85095f30818e2369bd2f

7 years agoMerge "Cancel exit spring loaded runnable when launcher state is set to APPS or WIDGE...
Hyunyoung Song [Fri, 29 Jul 2016 21:32:48 +0000 (21:32 +0000)]
Merge "Cancel exit spring loaded runnable when launcher state is set to APPS or WIDGETS b/29645452" into ub-launcher3-calgary

7 years agoCancel exit spring loaded runnable when launcher state is set to APPS or WIDGETS
Hyunyoung Song [Fri, 29 Jul 2016 20:03:54 +0000 (13:03 -0700)]
Cancel exit spring loaded runnable when launcher state is set to APPS or WIDGETS
b/29645452

By cancelling the runnable, we are enabling transition:
state1 -> state3 instead of state1-> state2-> state3.
Transition state1->state3 is a viable transition that is
supported by our model.

        Launcher           Workspace
--------------------------------------------
state1  APPS_SPRING_LOADED SPRING_LOADED
state2  WORKSPACE          NORMAL
state3  APPS               NORMAL_HIDDEN

Change-Id: If27905567efe439324494e0091a4b42fcbf01448

7 years agoMerge changes I33da0d7f,I36c31609 into ub-launcher3-calgary
Winson [Fri, 29 Jul 2016 05:56:08 +0000 (05:56 +0000)]
Merge changes I33da0d7f,I36c31609 into ub-launcher3-calgary
am: c42087e5c0

Change-Id: Ic169d18dab27357283b16dd1d705821052874b38

7 years agoWorking around incorrect wallpaper offsets being calculated in RTL.
Winson [Fri, 29 Jul 2016 05:56:06 +0000 (05:56 +0000)]
Working around incorrect wallpaper offsets being calculated in RTL.
am: c7d2e83c15

Change-Id: I6477d7e7ed8686c8ccc5deab06621dc6496351e1

7 years agoFixing RTL wallpaper scrolling.
Winson [Fri, 29 Jul 2016 05:56:04 +0000 (05:56 +0000)]
Fixing RTL wallpaper scrolling.
am: d96fa13369

Change-Id: Iad37d794d8d22ec178888e20fb97b117b3de22b8

7 years agoMerge changes I33da0d7f,I36c31609 into ub-launcher3-calgary
Winson Chung [Fri, 29 Jul 2016 05:49:20 +0000 (05:49 +0000)]
Merge changes I33da0d7f,I36c31609 into ub-launcher3-calgary

* changes:
  Working around incorrect wallpaper offsets being calculated in RTL.
  Fixing RTL wallpaper scrolling.

7 years agoImport translations. DO NOT MERGE am: 3c654c199e -s ours
Bill Yi [Fri, 29 Jul 2016 04:15:28 +0000 (04:15 +0000)]
Import translations. DO NOT MERGE am: 3c654c199e  -s ours
am: fdaa46fb50  -s ours

Change-Id: Ie03014fa0180bbfc1636b7362dc040c72e41828a

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 29 Jul 2016 04:12:28 +0000 (04:12 +0000)]
Import translations. DO NOT MERGE
am: 3c654c199e  -s ours

Change-Id: I509897896e4a9930da187f4f2270050063073d46

7 years agoMerge \"Import translations. DO NOT MERGE\" into ub-launcher3-calgary
Bill Yi [Fri, 29 Jul 2016 04:12:28 +0000 (04:12 +0000)]
Merge \"Import translations. DO NOT MERGE\" into ub-launcher3-calgary
am: bf6e01ced5  -s ours

Change-Id: I00e17922016c5ff66d433948e4e294fc530e5121

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 29 Jul 2016 04:12:28 +0000 (04:12 +0000)]
Import translations. DO NOT MERGE
am: 6c5025a9f5  -s ours

Change-Id: Icc53bd9754405e04fb6e639afae16c3ea805738c

7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
TreeHugger Robot [Fri, 29 Jul 2016 04:04:30 +0000 (04:04 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary

7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-master
TreeHugger Robot [Fri, 29 Jul 2016 04:04:11 +0000 (04:04 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-master

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 29 Jul 2016 01:58:07 +0000 (18:58 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 30413963
Change-Id: Ia648babe5145a5d82113993a4bc408e4e0b8c23f

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 29 Jul 2016 01:52:23 +0000 (18:52 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 30413963
Change-Id: I356f01214564a37fd27810a4bbd51a433ef5514d

7 years agoMerge \"Prevent opening shortcuts container if one is already open.\" into ub-launche...
Tony Wickham [Fri, 29 Jul 2016 01:33:48 +0000 (01:33 +0000)]
Merge \"Prevent opening shortcuts container if one is already open.\" into ub-launcher3-calgary
am: 6257bc327b

Change-Id: I770e0fcd8b7c82776137467a1419a559defbd58f

7 years agoPrevent opening shortcuts container if one is already open.
Tony Wickham [Fri, 29 Jul 2016 01:33:48 +0000 (01:33 +0000)]
Prevent opening shortcuts container if one is already open.
am: 8141d63ed1

Change-Id: I0263738c17b069edc7295f67f1f5b00e1bfeae0d

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 29 Jul 2016 01:29:11 +0000 (18:29 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 30413963
Change-Id: I1ddbf2a7fc380ae4cc7a4273370d47fae1122b07

7 years agoMerge "Prevent opening shortcuts container if one is already open." into ub-launcher3...
Tony Wickham [Fri, 29 Jul 2016 01:14:22 +0000 (01:14 +0000)]
Merge "Prevent opening shortcuts container if one is already open." into ub-launcher3-calgary

7 years agoUpdate fast scroll shadow to match other shadows
Peter Schiller [Fri, 29 Jul 2016 00:49:55 +0000 (00:49 +0000)]
Update fast scroll shadow to match other shadows
am: 62d7023639

Change-Id: I605425b5335b7586ad3e047548b48d0669829e21

7 years agoUpdate fast scroll shadow to match other shadows
Peter Schiller [Thu, 28 Jul 2016 23:58:06 +0000 (16:58 -0700)]
Update fast scroll shadow to match other shadows

Change-Id: Ia19f64b8c3b5a09a11909f2792e3c0956a0dc1cd

7 years agoWorking around incorrect wallpaper offsets being calculated in RTL.
Winson [Thu, 28 Jul 2016 19:24:55 +0000 (12:24 -0700)]
Working around incorrect wallpaper offsets being calculated in RTL.

- When launcher starts up, onCreate() triggers the launcher model loader
  to start, which calls bindScreens() to add the workspace pages.
  However, layout does not happen until the device is unlocked, which
  means that even though the default screen index and children are there
  the page scrolls are calculated incorrectly, and even in RTL, the
  page scroll for the 0th screen is zero (it should be at the right
  most edge of the workspace).  This CL works around this by deferring
  until the first layout after bindScreens() to unlock the wallpaper
  offset from its default bounds.  The workaround is only applied when
  the launcher activity is first created.

Bug: 28795125
Change-Id: I33da0d7f934f5337d26e69f068f579a32897a837

7 years agoFixing RTL wallpaper scrolling.
Winson [Thu, 28 Jul 2016 19:24:55 +0000 (12:24 -0700)]
Fixing RTL wallpaper scrolling.

- Ensure that we map the scroll offsets to the full wallpaper offset
  range
- Default to either edge of the wallpaper (depending on RTL) to match
  the default system wallpaper behavior (ag/1265418)

Bug: 28795125
Bug: 29398681
Change-Id: I36c316095057912d2dda0beb43bd1e6aaeac3fdc

7 years agoMerge \"Responsive caret drawable\" into ub-launcher3-calgary
Hyunyoung Song [Thu, 28 Jul 2016 21:24:01 +0000 (21:24 +0000)]
Merge \"Responsive caret drawable\" into ub-launcher3-calgary
am: 7da6d00c2e

Change-Id: Ie19a222ada005fdfeb30c1cd3740c90358e4ba82

7 years agoResponsive caret drawable
Hyunyoung Song [Thu, 28 Jul 2016 21:24:01 +0000 (21:24 +0000)]
Responsive caret drawable
am: 7ccc4625e3

Change-Id: I455ba4700aceb09b06f71ededf196f15abee6831

7 years agoMerge "Responsive caret drawable" into ub-launcher3-calgary
Peter Schiller [Thu, 28 Jul 2016 21:18:37 +0000 (21:18 +0000)]
Merge "Responsive caret drawable" into ub-launcher3-calgary

7 years agoResponsive caret drawable
Hyunyoung Song [Wed, 27 Jul 2016 19:48:09 +0000 (12:48 -0700)]
Responsive caret drawable

Change-Id: I9d40052d001c80d99db511af6134227f8e4e4239

7 years agoOnly add shortcuts to the deep shortcut map if they are dynamic/manifest.
Tony Wickham [Thu, 28 Jul 2016 20:03:09 +0000 (20:03 +0000)]
Only add shortcuts to the deep shortcut map if they are dynamic/manifest.
am: ca258b36be

Change-Id: Ib93bedbe81fa2cd515c18e5f575dad66c4c6a609

7 years agoMerge \"Showing the shortcuts in the disabled state and removing ti from the menu...
Sunny Goyal [Thu, 28 Jul 2016 19:32:08 +0000 (19:32 +0000)]
Merge \"Showing the shortcuts in the disabled state and removing ti from the menu when its disabled\" into ub-launcher3-calgary
am: 55f5bd730c

Change-Id: I94d2deab5f6d0ba40965185d4132cb41ab340069

7 years agoShowing the shortcuts in the disabled state and removing ti from the menu when its...
Sunny Goyal [Thu, 28 Jul 2016 19:32:08 +0000 (19:32 +0000)]
Showing the shortcuts in the disabled state and removing ti from the menu when its disabled
am: 70a7c9b700

Change-Id: I081687401817e617d02b2be5abd8492493b1404f

7 years agoMerge \"Fading in the first screen, when launcher loads for the first time\" into...
Sunny Goyal [Thu, 28 Jul 2016 19:32:07 +0000 (19:32 +0000)]
Merge \"Fading in the first screen, when launcher loads for the first time\" into ub-launcher3-calgary
am: e34dd33156

Change-Id: Ib1e7f37e300c67c093fe9870cdc67b91dee0e00d

7 years agoFading in the first screen, when launcher loads for the first time
Sunny Goyal [Thu, 28 Jul 2016 19:32:07 +0000 (19:32 +0000)]
Fading in the first screen, when launcher loads for the first time
am: b5b9ad68b7

Change-Id: I482f291347ff891f674002f0db7241a88abc6c0c

7 years agoOnly add shortcuts to the deep shortcut map if they are dynamic/manifest.
Tony Wickham [Thu, 28 Jul 2016 19:31:28 +0000 (12:31 -0700)]
Only add shortcuts to the deep shortcut map if they are dynamic/manifest.

Bug: 30475465
Change-Id: I93aff6330b86a3bfa3e6b5741ab759d835618f0b

7 years agoMerge "Showing the shortcuts in the disabled state and removing ti from the menu...
Sunny Goyal [Thu, 28 Jul 2016 19:23:28 +0000 (19:23 +0000)]
Merge "Showing the shortcuts in the disabled state and removing ti from the menu when its disabled" into ub-launcher3-calgary

7 years agoShowing the shortcuts in the disabled state and removing ti from the menu
Sunny Goyal [Thu, 28 Jul 2016 17:07:32 +0000 (10:07 -0700)]
Showing the shortcuts in the disabled state and removing ti from the menu
when its disabled

Bug: 30315906
Change-Id: Ice747e7be955d8bb2dd65191f7613e2afd4abc1c

7 years agoMerge "Fading in the first screen, when launcher loads for the first time" into ub...
Sunny Goyal [Thu, 28 Jul 2016 19:13:17 +0000 (19:13 +0000)]
Merge "Fading in the first screen, when launcher loads for the first time" into ub-launcher3-calgary

7 years agoStop setting original icon visible when dragging app with shortcuts.
Tony Wickham [Thu, 28 Jul 2016 18:52:04 +0000 (18:52 +0000)]
Stop setting original icon visible when dragging app with shortcuts.
am: c714c0148b

Change-Id: If5c0e4adbcd388f56e2bbb1994b1d72001a6a6d2

7 years agoStop setting original icon visible when dragging app with shortcuts.
Tony Wickham [Thu, 28 Jul 2016 18:27:03 +0000 (11:27 -0700)]
Stop setting original icon visible when dragging app with shortcuts.

- This was leaving a "ghost" icon behind, which looked really weird.
- We still need to make it visible for All Apps, or else you can get
  in a state where the icon is gone from all apps indefinitely.

Bug: 30465972
Change-Id: I79eacf2dfdb0cd267732ae63ef69a9bb193933a5

7 years agoMerge \"Check package name and user handle in onShortcutsChanged().\" into ub-launche...
Tony Wickham [Thu, 28 Jul 2016 17:26:59 +0000 (17:26 +0000)]
Merge \"Check package name and user handle in onShortcutsChanged().\" into ub-launcher3-calgary
am: 64035e9ee6

Change-Id: Id435b3b7970c056efa39dc62a5288dc07319269c

7 years agoCheck package name and user handle in onShortcutsChanged().
Tony Wickham [Thu, 28 Jul 2016 17:26:58 +0000 (17:26 +0000)]
Check package name and user handle in onShortcutsChanged().
am: 672d07f3f0

Change-Id: I35ac8a10cc08ab9907078d1e9d58807112e54d21

7 years agoMerge "Check package name and user handle in onShortcutsChanged()." into ub-launcher3...
Tony Wickham [Thu, 28 Jul 2016 17:18:07 +0000 (17:18 +0000)]
Merge "Check package name and user handle in onShortcutsChanged()." into ub-launcher3-calgary

7 years agoCheck package name and user handle in onShortcutsChanged().
Tony Wickham [Thu, 28 Jul 2016 01:22:41 +0000 (18:22 -0700)]
Check package name and user handle in onShortcutsChanged().

Otherwise shortcuts with the same id would be updated,
even if they were in different packages.

Bug: 28980830

Change-Id: Ideefe3aaac83af38c03a38d821bac192ae55fe67

7 years agoFading in the first screen, when launcher loads for the first time
Sunny Goyal [Sat, 2 Apr 2016 18:23:39 +0000 (11:23 -0700)]
Fading in the first screen, when launcher loads for the first time

Bug: 29007436
Bug: 27705838
Change-Id: I95891d0bad19a67985b689bb96d6068dcd85004a

7 years agoLauncher shortcuts animations update.
Sunny Goyal [Thu, 28 Jul 2016 00:46:03 +0000 (00:46 +0000)]
Launcher shortcuts animations update.
am: a2454ad2d8

Change-Id: I674a7dd4a037ca7a7ee2e51493c096344edaf5ce

7 years agoMerge \"Cleanup deferred drag when closing deep shortcuts container.\" into ub-launch...
Tony Wickham [Thu, 28 Jul 2016 00:46:03 +0000 (00:46 +0000)]
Merge \"Cleanup deferred drag when closing deep shortcuts container.\" into ub-launcher3-calgary
am: 71538da6e2

Change-Id: I683a03e3c72dd3d541ec7d6ee5c14105815cba91

7 years agoCleanup deferred drag when closing deep shortcuts container.
Tony Wickham [Thu, 28 Jul 2016 00:46:02 +0000 (00:46 +0000)]
Cleanup deferred drag when closing deep shortcuts container.
am: b9da46275b

Change-Id: I4f8c11fe12f4daf1c9fb446a936413b769b5de8e

7 years agoMerge \"Fade QSB with the workspace as the overlay enters\" into ub-launcher3-calgary
Adam Cohen [Thu, 28 Jul 2016 00:46:02 +0000 (00:46 +0000)]
Merge \"Fade QSB with the workspace as the overlay enters\" into ub-launcher3-calgary
am: e117f53f36

Change-Id: Iadb3f61dd99e67504f0a54a7210cc4010fb9d159

7 years agoFade QSB with the workspace as the overlay enters
Adam Cohen [Thu, 28 Jul 2016 00:46:02 +0000 (00:46 +0000)]
Fade QSB with the workspace as the overlay enters
am: 2a82afd6f6

Change-Id: Idd9d9f0e4aeec394281d1044b4313cbd52acb6c1

7 years agoMerge \"Remove two redundant layout pass in AllAppsTransitionController.\" into ub...
Hyunyoung Song [Thu, 28 Jul 2016 00:46:01 +0000 (00:46 +0000)]
Merge \"Remove two redundant layout pass in AllAppsTransitionController.\" into ub-launcher3-calgary
am: d7380e210e

Change-Id: I51d95bf4f4844e3aa85cd49edbc004828aa6465d

7 years agoRemove two redundant layout pass in AllAppsTransitionController.
Hyunyoung Song [Thu, 28 Jul 2016 00:46:01 +0000 (00:46 +0000)]
Remove two redundant layout pass in AllAppsTransitionController.
am: dd60ce41b3

Change-Id: Id43927d38cf9e93b88387e97664ad02770c68460

7 years agoLauncher shortcuts animations update.
Sunny Goyal [Fri, 22 Jul 2016 17:50:11 +0000 (10:50 -0700)]
Launcher shortcuts animations update.

> The shortcut container closes with an animation
> When opening/closing the animation only the icon scales
and not the title and drag handle
> When dragging the icon, it starts from the original icon position and
moves under the user finger. The container grows to follow the drag view.

Bug: 28980830
Change-Id: Ic0353c30b682d1f018cbf4d62e8a6e8e7d7d4664

7 years agoMerge "Cleanup deferred drag when closing deep shortcuts container." into ub-launcher...
Tony Wickham [Thu, 28 Jul 2016 00:29:45 +0000 (00:29 +0000)]
Merge "Cleanup deferred drag when closing deep shortcuts container." into ub-launcher3-calgary

7 years agoMerge "Fade QSB with the workspace as the overlay enters" into ub-launcher3-calgary
Sunny Goyal [Thu, 28 Jul 2016 00:23:04 +0000 (00:23 +0000)]
Merge "Fade QSB with the workspace as the overlay enters" into ub-launcher3-calgary

7 years agoPrevent opening shortcuts container if one is already open.
Tony Wickham [Thu, 28 Jul 2016 00:10:01 +0000 (17:10 -0700)]
Prevent opening shortcuts container if one is already open.

Bug: 30245433
Change-Id: Id50f9e4b9ff40e1d1124caee537a07a594d6a790

7 years agoMerge "Remove two redundant layout pass in AllAppsTransitionController." into ub...
Hyunyoung Song [Thu, 28 Jul 2016 00:09:12 +0000 (00:09 +0000)]
Merge "Remove two redundant layout pass in AllAppsTransitionController." into ub-launcher3-calgary

7 years agoRemove two redundant layout pass in AllAppsTransitionController.
Hyunyoung Song [Thu, 28 Jul 2016 00:08:38 +0000 (17:08 -0700)]
Remove two redundant layout pass in AllAppsTransitionController.

Change-Id: I48d043820db962c58e97a09d7888303c1d5bf4ad

7 years agoFade QSB with the workspace as the overlay enters
Adam Cohen [Wed, 27 Jul 2016 23:56:37 +0000 (16:56 -0700)]
Fade QSB with the workspace as the overlay enters

Change-Id: Iadab9d9f051a85f6772a5d54d38534fcf1b029d7

7 years agoCleanup deferred drag when closing deep shortcuts container.
Tony Wickham [Wed, 27 Jul 2016 23:09:01 +0000 (16:09 -0700)]
Cleanup deferred drag when closing deep shortcuts container.

This fixes those states where a drag view dangles on the screen
forever until launcher restarts. For instance, long press
Settings and press home before letting go.

Bug: 30291280

Change-Id: Ib8c403a02a17f35ba170c21f78f41bdc3b48d096

7 years agoClearing search query after clearing input text.
Winson [Wed, 27 Jul 2016 21:36:07 +0000 (21:36 +0000)]
Clearing search query after clearing input text.
am: a81f580fb7

Change-Id: I422ca04433352efdd3ee19308885385598d628db

7 years agoClearing search query after clearing input text.
Winson [Wed, 27 Jul 2016 20:50:05 +0000 (13:50 -0700)]
Clearing search query after clearing input text.

Bug: 30435142
Change-Id: I3f00e1339aba46f4ab3cd092e59a94b506179dcf

7 years agoMerge \"Change default animation duration for all apps open and close.\" into ub...
Hyunyoung Song [Wed, 27 Jul 2016 19:01:25 +0000 (19:01 +0000)]
Merge \"Change default animation duration for all apps open and close.\" into ub-launcher3-calgary
am: 8fcdee05bb

Change-Id: I82511566a1ea3880846735fbadb952a044a69848

7 years agoChange default animation duration for all apps open and close.
Hyunyoung Song [Wed, 27 Jul 2016 19:01:24 +0000 (19:01 +0000)]
Change default animation duration for all apps open and close.
am: e3876e8dd0

Change-Id: Ie3438d095210735709580ed098f0821c852d7717

7 years agoMerge "Change default animation duration for all apps open and close." into ub-launch...
Hyunyoung Song [Wed, 27 Jul 2016 18:55:29 +0000 (18:55 +0000)]
Merge "Change default animation duration for all apps open and close." into ub-launcher3-calgary

7 years agoChange default animation duration for all apps open and close.
Hyunyoung Song [Wed, 27 Jul 2016 18:54:02 +0000 (11:54 -0700)]
Change default animation duration for all apps open and close.

> Also set different interpolator for all apps opening clicking the caret

Change-Id: I7f9b764a8bf8bb7c38d94acbd964e912f22d6941

7 years agoMerge \"Updating the label for shortcuts aciton\" into ub-launcher3-calgary
Sunny Goyal [Wed, 27 Jul 2016 18:22:23 +0000 (18:22 +0000)]
Merge \"Updating the label for shortcuts aciton\" into ub-launcher3-calgary
am: 16c6d3abe4

Change-Id: Idda7b26aef5c133a51e234f2135fbd6cd4e5c828

7 years agoUpdating the label for shortcuts aciton
Sunny Goyal [Wed, 27 Jul 2016 18:22:22 +0000 (18:22 +0000)]
Updating the label for shortcuts aciton
am: 3cdf466e2b

Change-Id: I5fd9f57e4c02c0e62bc9782adefe260cb03add88

7 years agoMerge \"AllAppsTransitionController always use LauncherStateTransitionAnimation b...
Hyunyoung Song [Wed, 27 Jul 2016 18:19:52 +0000 (18:19 +0000)]
Merge \"AllAppsTransitionController always use LauncherStateTransitionAnimation b/30375760\" into ub-launcher3-calgary
am: 0dc7e91d5c

Change-Id: I9b7589885fa94097a0875d938b004efdd44cc358

7 years agoAllAppsTransitionController always use LauncherStateTransitionAnimation b/30375760
Hyunyoung Song [Wed, 27 Jul 2016 18:19:52 +0000 (18:19 +0000)]
AllAppsTransitionController always use LauncherStateTransitionAnimation b/30375760
am: 9dcf0a3ef7

Change-Id: If1e13e71dd362dbb7529d39ce8c650fa4de489c6

7 years agoMerge "Updating the label for shortcuts aciton" into ub-launcher3-calgary
Sunny Goyal [Wed, 27 Jul 2016 18:19:05 +0000 (18:19 +0000)]
Merge "Updating the label for shortcuts aciton" into ub-launcher3-calgary

7 years agoUpdating the label for shortcuts aciton
Sunny Goyal [Wed, 27 Jul 2016 18:16:46 +0000 (11:16 -0700)]
Updating the label for shortcuts aciton

Bug: 30374655
Change-Id: I92d269aca8b9361356b1b2241b24fc9e17ad1074

7 years agoMerge "AllAppsTransitionController always use LauncherStateTransitionAnimation b...
Hyunyoung Song [Wed, 27 Jul 2016 18:03:52 +0000 (18:03 +0000)]
Merge "AllAppsTransitionController always use LauncherStateTransitionAnimation b/30375760" into ub-launcher3-calgary