Commit Graph

11737 Commits

Author SHA1 Message Date
Sunny Goyal 44a54f77fd Moving LauncherAccessibilityDelegate to Launcher to associate it with activity lifecycle.
am: ae50284e0a

Change-Id: I4a37d0436641e6500f9fba5d6b07437a12815334
2016-06-17 17:44:19 +00:00
Sunny Goyal ae50284e0a Moving LauncherAccessibilityDelegate to Launcher to associate it with
activity lifecycle.

Change-Id: Ib815505677fa7ed74bdcfe7141b1d9bea5d7143a
2016-06-17 08:44:51 -07:00
Sunny Goyal ad5142828d Adding a flag (enabled by default) to remove the all-apps button.
am: bb011dad4e

Change-Id: I5d95b0c92db6be330256b51b8c90781efaa76413
2016-06-17 15:25:30 +00:00
Sunny Goyal bb011dad4e Adding a flag (enabled by default) to remove the all-apps button.
All apps can still be opened by clicking the caret.

Bug: 29398447
Change-Id: I61f1b05cea83a0a49d7cc16c518c5419618ba779
2016-06-17 08:17:22 -07:00
Sunny Goyal ccdbc5c881 Merge \"Adding a DB update path to handle the QSB position change\" into ub-launcher3-calgary
am: 0af8af3a60

Change-Id: Id09d7bf2bbe5a123a026ce788c4d277d2d07740a
2016-06-16 19:51:07 +00:00
Sunny Goyal 0af8af3a60 Merge "Adding a DB update path to handle the QSB position change" into ub-launcher3-calgary 2016-06-16 19:34:20 +00:00
Hyunyoung Song b7ad889d27 UI fixes to All apps pull up work
am: a9a8a42217

Change-Id: I45740d97bf5533d48db72b7d1443905e6c907baa
2016-06-16 02:19:15 +00:00
Hyunyoung Song a9a8a42217 UI fixes to All apps pull up work
b/28917826
- nav bar change to light when top of the all apps container
passes y mid point of the status bar
- apps search edit box change when top of the all apps passes
the bottom of nav bar
- Restrict pull up to work only if the ACTION_DOWN event started
from the hotseat.
- Landscape: reverted old padding and margin. Only the interaction
is different.
- Tuning of the motion spec
- Animation duration respects fling speed more agressively.
- and many more small bugs...

Change-Id: Icde4093c41eeab8c9c6d9dc8b7d57adc3b171349
2016-06-15 16:45:48 -07:00
Hyunyoung Song 317a3b5711 Fix the build.
am: 9417686f73

Change-Id: I789474d900d6e7c7aca067da2657fe9682cfc2d1
2016-06-15 20:33:33 +00:00
Hyunyoung Song 9417686f73 Fix the build.
Change-Id: I7cdfd2b276b53dbeb1d639a967753d0cc9d45d84
2016-06-15 13:25:01 -07:00
Hyunyoung Song 3b9fbf4507 Add caret shaped all app pull up handle to page indicator. b/28917826
am: 7d2fc8120e

Change-Id: Iaae75c8cacdc3520a7910ae60fe022793c3026fb
2016-06-15 20:09:56 +00:00
Hyunyoung Song 7d2fc8120e Add caret shaped all app pull up handle to page indicator.
b/28917826

> PageIndicator is also added in landscape
> Touch delegate allows the active touch area to be 36dp

Change-Id: If00f45fc88a13cd5a6759d771313439eb58561e3
2016-06-15 12:51:30 -07:00
Sunny Goyal a9e2f5abb3 Adding a DB update path to handle the QSB position change
> Renamed the id of 1st screen to 0 and making space for the QSB
by running the grid migration task.
> Added a feature flag to easily disable the QSB-in-workspace behavior

Change-Id: Ie3369f0d4433d916e9d6215d414770d4333f3e26
2016-06-15 10:03:12 -07:00
Sunny Goyal a9c2ec43c3 Merge \"Fixing bug in getDescendantCoordRelativeToParent where it was calculating the coordinates relative to the root\'s parent\" into ub-launcher3-calgary
am: b25b2c41c2

Change-Id: Ie2978044fe0f33ec8f8f6dcdd147750dec72950a
2016-06-15 00:58:38 +00:00
Sunny Goyal b25b2c41c2 Merge "Fixing bug in getDescendantCoordRelativeToParent where it was calculating the coordinates relative to the root's parent" into ub-launcher3-calgary 2016-06-15 00:34:48 +00:00
Sunny Goyal e8b5d20d94 Fixing bug in getDescendantCoordRelativeToParent where it was
calculating the coordinates relative to the root's parent

The bug went unnoticed for so long, as its only used in DragLayer
which is positioned at 0,0 in its parent

Change-Id: I101cda1f1fa919c0faf9b23b1eeb05764bdf1a40
2016-06-14 16:46:03 -07:00
Bill Yi 6a79aed3e8 Import translations. DO NOT MERGE
am: 90bcafb08c  -s ours

Change-Id: I2588687e369e86e614a3b53d58c169247c8c9ab7
2016-06-14 12:16:13 +00:00
TreeHugger Robot ffd94bf8bd Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2016-06-14 11:48:29 +00:00
Bill Yi c59be9e961 Import translations. DO NOT MERGE
Change-Id: I48c00e48de0a05cbcaaf6fc8fd57a648c626feb5
Auto-generated-cl: translation import
2016-06-13 23:58:27 -07:00
Bill Yi 90bcafb08c Import translations. DO NOT MERGE
Change-Id: I32411e1060a5383212672e414bad21ece14c6231
Auto-generated-cl: translation import
2016-06-13 23:57:41 -07:00
Sunny Goyal 2d16d22e51 Merge \"Replacing overview panel icons with vector drawables\" into ub-launcher3-calgary
am: fb94f485ee

Change-Id: I6f70d35d04bc92cfb3e44e2efd4aed6569449ec4
2016-06-13 22:52:38 +00:00
Sunny Goyal fb94f485ee Merge "Replacing overview panel icons with vector drawables" into ub-launcher3-calgary 2016-06-13 22:24:16 +00:00
Hyunyoung Song 556571ebb3 Merge \"All apps container should not intercept touch during animation.\" into ub-launcher3-calgary
am: 6041eb248a

Change-Id: I29292ad955af83792d42bf6a89072e7c688e22af
2016-06-13 19:49:07 +00:00
Hyunyoung Song 6041eb248a Merge "All apps container should not intercept touch during animation." into ub-launcher3-calgary 2016-06-13 19:40:35 +00:00
Hyunyoung Song 35ea6591a7 All apps container should not intercept touch during animation.
b/28917826
> When all apps container is settling near either the bottom or top
end, touch event should not be intercepted.

Change-Id: I8aee6cea52e844c4615b92b15f8ef7247236a25b
2016-06-13 12:38:32 -07:00
Sunny Goyal bff2c15f2f Merge \"Making the security checks and policy changes only when launching custom shortcuts. This prevents launcher specific intents to unknowingly leak data.\" into ub-launcher3-calgary
am: 055792afba

Change-Id: I0292309aee0e7e229a3cbf7b31394d04cc5fc956
2016-06-10 20:58:07 +00:00
Sunny Goyal 055792afba Merge "Making the security checks and policy changes only when launching custom shortcuts. This prevents launcher specific intents to unknowingly leak data." into ub-launcher3-calgary 2016-06-10 20:49:16 +00:00
Sunny Goyal a7ce166b2e Making the security checks and policy changes only when launching custom
shortcuts. This prevents launcher specific intents to unknowingly leak data.

Change-Id: I01343a9cee1f2a9a37a20aaf24e933e2771ecdbc
2016-06-10 13:48:44 -07:00
Hyunyoung Song d6558d367d Fixes to touch handling in all apps pull up work
am: f4cbb1428a

Change-Id: I7330d9ff9a78b9324688a3e32f4d0f9ec74cb829
2016-06-10 20:37:19 +00:00
Hyunyoung Song f4cbb1428a Fixes to touch handling in all apps pull up work
b/28917826
- Fast scroll bar works even when it's at the top of the recycler view
- Pull down only happens ONLY IF the thumb of the scroll bar is at top
- When container is touched during sliding down animation,
translation should not jump

Change-Id: Ic1d9a4aa77332cc0a7582556f893053003224dd3
2016-06-10 13:26:19 -07:00
Sunny Goyal dc6a52484f Unifying the workspace translation logic
am: a92e0dfa0c

Change-Id: I076e006f19a5831dfdca82e458f03f90444806cb
2016-06-10 17:42:13 +00:00
Sunny Goyal a92e0dfa0c Unifying the workspace translation logic
Change-Id: I82430734c222d43222763fc6edcadac33dc3e076
2016-06-10 08:55:31 -07:00
Sunny Goyal fcdf2f6d0c Merge \"Executing the DB migration during startup instead of restore.\" into ub-launcher3-calgary
am: 05e4ba0d57

Change-Id: Ief999709d1d66752a1ee619a454b8771d3249c36
2016-06-09 17:12:38 +00:00
Sunny Goyal 05e4ba0d57 Merge "Executing the DB migration during startup instead of restore." into ub-launcher3-calgary 2016-06-09 17:02:37 +00:00
Bill Yi 31f3eeb5bd Import translations. DO NOT MERGE
am: 083640b9db  -s ours

Change-Id: Id2f104b9775ea1576393c506bbdbdd391eb9c58e
2016-06-09 13:59:58 +00:00
Bill Yi 77ec2cf471 Import translations. DO NOT MERGE
Change-Id: Ie8ea10dfeaeb6d3b6786bd61ff826c6b67a63984
Auto-generated-cl: translation import
2016-06-09 00:28:41 -07:00
Bill Yi 083640b9db Import translations. DO NOT MERGE
Change-Id: Ib1042efbc531203100b43bc32bf17ca3c05eca48
Auto-generated-cl: translation import
2016-06-09 00:27:53 -07:00
Hyunyoung Song 5dd8adaf61 Fixes to all apps pull up work
am: 74b5af3529

Change-Id: I0e98279c3a77ec5503962bc1d220e8b001aa6e9d
2016-06-09 00:19:55 +00:00
Hyunyoung Song 74b5af3529 Fixes to all apps pull up work
b/28917826

- 2+ workspace page also slides up
- pull up touch interaction doesn't trigger only when yslop > xslop
- animation duration should be set independently when all apps button is used.
- workspace state is correctly set (drag and drop from the trays work)
- after lock screen, hotseat is positioned correctly
- Remove initial jump when sliding up
- Improved tuning on sliding
- Alpha value set differently on backbround and content of all apps

Still not fixed:
- Landscape
- Search edit text box styling
- All apps scroll bar

Change-Id: I817094b0f1ada5052ee604539459f556a99cadf1
2016-06-08 17:01:59 -07:00
Sunny Goyal e8f7d5a67e Executing the DB migration during startup instead of restore.
This allows proper execution of DB.onUpgrade task if the app updates
after the restore

Change-Id: I4c40167b30e1d7040b3a38be70d834f7b215e540
2016-06-08 16:14:59 -07:00
Sunny Goyal 7d7c5680eb Merge \"Updating the app search buton text\" into ub-launcher3-calgary
am: b7c2e99ffb

Change-Id: I51446897e7fc986feeabb15c8595de0dfb3b19dd
2016-06-08 22:39:26 +00:00
Sunny Goyal b7c2e99ffb Merge "Updating the app search buton text" into ub-launcher3-calgary 2016-06-08 22:35:32 +00:00
Sunny Goyal f87ccb9d59 Merge \"Unifying focus indicator handling for workspace and all-apps\" into ub-launcher3-calgary
am: 72f0fe370d

Change-Id: Iad5a466e528e679356026c8a4ce8a279d5372133
2016-06-08 22:29:00 +00:00
Sunny Goyal 72f0fe370d Merge "Unifying focus indicator handling for workspace and all-apps" into ub-launcher3-calgary 2016-06-08 22:27:08 +00:00
Sunny Goyal 40776c7de3 When the active page changes, simulate a scroll change. This prevents the animation progess from going out of sync of the active page, when the active page changes before the total number of pages change
am: 1fa6b9499b

Change-Id: Ie7e6487d790510cb794e8f2b13c46b9eccb4f103
2016-06-08 22:23:54 +00:00
Sunny Goyal 1fa6b9499b When the active page changes, simulate a scroll change.
This prevents the animation progess from going out of sync of the
active page, when the active page changes before the total number of
pages change

Bug: 29113836
Change-Id: I2b12ea29d64dc98d773e6060de4b655d3f975b5a
2016-06-08 15:13:53 -07:00
Sunny Goyal 3333b0ced8 Unifying focus indicator handling for workspace and all-apps
Adding an abstract FocusIndicatorHelper based on FocusIndicatorView
which draws the background instead of using a dummy view.

Change-Id: Id560195323d2ddad8fcd77ba675cf3f4fd4a94ab
2016-06-08 15:00:09 -07:00
Sunny Goyal a9558b6e69 Fixing crash on Lollipop
am: ab06999a70

Change-Id: I37cd1ae78ef2b67f9c3f2a1d5e24d6580fb49e39
2016-06-08 19:31:12 +00:00
Sunny Goyal ab06999a70 Fixing crash on Lollipop
Fragment.getContext is available from MNC onwards.
Using getActivity instead

Change-Id: I99ef98947879ff165895fc76facb438cd4b8b414
2016-06-08 12:00:02 -07:00
Sunny Goyal 3e1df306dc Merge \"Adding support for workspace state change listener\" into ub-launcher3-calgary
am: e820198406

Change-Id: Ia3b462b74055e71aa38fc44ae3abf39e9fa5a37b
2016-06-08 17:14:45 +00:00