Commit Graph

11698 Commits

Author SHA1 Message Date
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 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
Sunny Goyal e820198406 Merge "Adding support for workspace state change listener" into ub-launcher3-calgary 2016-06-08 17:02:57 +00:00
Sunny Goyal 9443ef5ec6 Adding support for workspace state change listener
Change-Id: Id0a4bcf345ce928544f5d406f37252a00d1dc7af
2016-06-07 16:21:47 -07:00
Hyunyoung Song 015bad07c6 Merge \"Fix NexusLauncher NPE\" into ub-launcher3-calgary
am: 94c6b11bf6

Change-Id: I1e2c363964dbf66cd27e2145f6e116755da42e4d
2016-06-07 22:52:02 +00:00
Hyunyoung Song 94c6b11bf6 Merge "Fix NexusLauncher NPE" into ub-launcher3-calgary 2016-06-07 22:46:33 +00:00
Hyunyoung Song 2e041a61af Fix NexusLauncher NPE
Change-Id: Ieb1144487841d7ea4ae880bf8e6c2334a2145e7e
2016-06-07 15:37:51 -07:00
Adam Cohen b36a52eff8 Merge \"Ensure that custom actions are available to all apps items\" into ub-launcher3-calgary
am: f0c721b7c8

Change-Id: I788d1dac98a0ef04abaa2bce9327e9b2faff077b
2016-06-07 22:13:01 +00:00
Adam Cohen f0c721b7c8 Merge "Ensure that custom actions are available to all apps items" into ub-launcher3-calgary 2016-06-07 22:08:05 +00:00
Adam Cohen 6e92f05314 Ensure that custom actions are available to all apps items
-> When BubbleTextViews were being recycled, the RecyclerView was clearing the
   AccessibilityDelegate. Ensure that this is reset by the adapter when a
   BubbleTextView is reused.

issue 25948877

Change-Id: I95dd21bfdcd602a67925d1b8f06e6ca92d1d7203
2016-06-07 14:33:03 -07:00
Sunny Goyal 359ee82981 Merge "Fixing FileLogs tests" into ub-launcher3-calgary
am: 081cca3731

* commit '081cca3731f99b1031bbb580f529b21a09a0581f':
  Fixing FileLogs tests

Change-Id: I764ed735789f6c3b3d67b6b29a69772b80435800
2016-06-07 21:09:35 +00:00
Sunny Goyal 081cca3731 Merge "Fixing FileLogs tests" into ub-launcher3-calgary 2016-06-07 21:06:06 +00:00
Sunny Goyal e0e0e1d000 Fixing FileLogs tests
During tests, the logs directory is changed. But the active thread
was not getting stopped which was causing some logs to be written
to the old location corresponding to some previous test

Change-Id: I7b8587eae0eb68fa180e3992694cab3745922483
2016-06-07 13:54:50 -07:00
Bill Yi 4c81a4e1eb Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
am: 09e948703f  -s ours

* commit '09e948703f0d7f68baccb2e8a2b968dd672f6f77':
  Import translations. DO NOT MERGE

Change-Id: I634ab0e0f9415689f4178b534244debd407b0092
2016-06-07 20:52:18 +00:00
TreeHugger Robot 6587189faa Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2016-06-07 20:48:37 +00:00
TreeHugger Robot 09e948703f Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary 2016-06-07 20:47:52 +00:00
Bill Yi 64cc9d2bdc Import translations. DO NOT MERGE
Change-Id: I8f147e0f54e6c7b11590df74337cd75419609126
Auto-generated-cl: translation import
2016-06-07 13:44:01 -07:00
Bill Yi 6c88d40659 Import translations. DO NOT MERGE
Change-Id: Idd8897ea385ab5190750df3179e21a829d160099
Auto-generated-cl: translation import
2016-06-07 13:42:19 -07:00
Bill Yi feb11f8dc4 Import translations. DO NOT MERGE am: 21c2d8f244 -s ours
am: 66813d0a80  -s ours

* commit '66813d0a802d910aea2b61e1837a1b37b0582753':
  Import translations. DO NOT MERGE

Change-Id: Ib2ee37579bb311f83ec3b953e581b5cb04d9c2f0
2016-06-07 20:25:10 +00:00
Bill Yi 66813d0a80 Import translations. DO NOT MERGE
am: 21c2d8f244  -s ours

* commit '21c2d8f244dae711b12339cc6e643cd34ef8dcd6':
  Import translations. DO NOT MERGE

Change-Id: Idcac20c106c76d9701b291972676610807a4a291
2016-06-07 20:22:47 +00:00
Bill Yi 21c2d8f244 Import translations. DO NOT MERGE
Change-Id: Ifcd878b149cbe2b1b2a021024039f30aef1a36a7
Auto-generated-cl: translation import
2016-06-07 13:03:19 -07:00
Sunny Goyal 8653f1d748 Updating the app search buton text
Bug: 28774501
Change-Id: I268a2d98f70d160c91ebd8fc796f3626ae67c159
2016-06-07 10:31:49 -07:00
Sunny Goyal f5f0ffc5fd Merge "Allowing the first screen to expand to the screen edge" into ub-launcher3-calgary
am: 2a5b356375

* commit '2a5b356375e15602acab429642064c566a1a1f4d':
  Allowing the first screen to expand to the screen edge

Change-Id: Ibcf6074646390d4cb160d0553084c498c262c77e
2016-06-07 17:14:43 +00:00
Sunny Goyal 2a5b356375 Merge "Allowing the first screen to expand to the screen edge" into ub-launcher3-calgary 2016-06-07 17:10:33 +00:00
Sunny Goyal 2478d2efec Merge "Removing the SearchDropTarget bar as it no longer contains the QSB" into ub-launcher3-calgary
am: 4c395f2367

* commit '4c395f23673f9a42b51ce7b47be0940ce846e03d':
  Removing the SearchDropTarget bar as it no longer contains the QSB

Change-Id: I7936ae1d3e8cadb6bea44b9eeb1ad3e978706862
2016-06-07 17:08:59 +00:00
Sunny Goyal 4c395f2367 Merge "Removing the SearchDropTarget bar as it no longer contains the QSB" into ub-launcher3-calgary 2016-06-07 17:05:19 +00:00
Hyunyoung Song f88953d2ea Merge "Guard all apps pull up work behind the flag" into ub-launcher3-calgary
am: 033f4ea716

* commit '033f4ea716e295b34c58d4c59c891e45805c2f0d':
  Guard all apps pull up work behind the flag

Change-Id: Id2e20c3ca403d5e2e23a23289d4d08a4c64e03ba
2016-06-07 04:24:27 +00:00
TreeHugger Robot 033f4ea716 Merge "Guard all apps pull up work behind the flag" into ub-launcher3-calgary 2016-06-07 04:18:24 +00:00
Hyunyoung Song b11ae50fcb Guard all apps pull up work behind the flag
b/28917826

Change-Id: Ic001d820bad777d90c6bdcd1a17b6961e38769be
2016-06-06 21:04:36 -07:00
Bill Yi 1bb337f215 Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
am: e9c5f8925f  -s ours

* commit 'e9c5f8925f79e559be64202117d7e89c29034304':
  Import translations. DO NOT MERGE

Change-Id: I6b28d550dffca34e2c5ce27dcd289d12d013d177
2016-06-07 02:28:18 +00:00
TreeHugger Robot e9c5f8925f Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary 2016-06-07 02:25:29 +00:00
TreeHugger Robot 9c84424814 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2016-06-07 02:24:56 +00:00
Sunny Goyal 7c786f75d1 Allowing the first screen to expand to the screen edge
This allows the QSB to extend all the way to the edge
Change-Id: I43c6e21e44fef7fffe6fb12b7afb95549b68679f
2016-06-06 16:41:57 -07:00
Bill Yi ff76b90a62 Import translations. DO NOT MERGE
Change-Id: Id5cb43a9bce01723cce1bf61670ba5d2210a59cf
Auto-generated-cl: translation import
2016-06-06 16:28:13 -07:00
Bill Yi c094eeff75 Import translations. DO NOT MERGE
Change-Id: Ia6c33079c6d94e4e6045fba33317f886cc6d9907
Auto-generated-cl: translation import
2016-06-06 16:27:25 -07:00
Sunny Goyal 47328fd53f Removing the SearchDropTarget bar as it no longer contains the QSB
> Renaming it to simply DropTargetBar
> Moving AppInfo to the top bar as well
> The workspace pages will extend to the top edge (minus some padding).
Since the QSB is no longer displayed on top of every page, there is
no reason to reserve the space.
> In spring-loaded mode, the workspace cell layout will scale enough
to make room for the drop target bar at the top

Change-Id: I2baf607310335dd576c9d9fcbb75ab708f47ac03
2016-06-06 16:15:46 -07:00
Hyunyoung Song b6d79290ef Merge "Pull up all apps interaction First phase implementation: dragging and animation interaction is implemented namely in two classes. ScrollGestureDetector and AllAppsTransitionController." into ub-launcher3-calgary
am: 63741779e5

* commit '63741779e564ea9c6814800199b994f7464906db':
  Pull up all apps interaction First phase implementation: dragging and animation interaction is implemented namely in two classes. ScrollGestureDetector and AllAppsTransitionController.

Change-Id: I8b8ed62b8ea945e7931a90b8b6e95ff358ed492b
2016-06-06 21:27:06 +00:00
Hyunyoung Song 63741779e5 Merge "Pull up all apps interaction First phase implementation: dragging and animation interaction is implemented namely in two classes. ScrollGestureDetector and AllAppsTransitionController." into ub-launcher3-calgary 2016-06-06 21:20:45 +00:00
Hyunyoung Song 645764e3e5 Pull up all apps interaction
First phase implementation: dragging and animation interaction is implemented
namely in two classes. ScrollGestureDetector and AllAppsTransitionController.

FeatureFlag.LAUNCHER#_ALL_APPS_PULL_UP will be true for only AOSP and
not in the extending builds. This way, we can safely iterate without
turning it on the shipped ready version.
b/28917826

Change-Id: I0501309c0121880ffe0555f82d6ac5a145581bb1
2016-06-06 14:19:02 -07:00
Sunny Goyal 1c22ed6595 Fixing memory leak in QSB widget
am: 02d3d43d97

* commit '02d3d43d97a06b8066495de8eeb63a46ee98b7f2':
  Fixing memory leak in QSB widget

Change-Id: I62720392a36fc67aa399b862bd14e69db9e54e2f
2016-06-03 21:15:52 +00:00