Commit Graph

49925 Commits

Author SHA1 Message Date
Sunny Goyal 8038c21c23 Moving the shortcut application logic to the DeepShortcutView. This makes the logic for accessing various properties consistant and and ties it to the UI of the DeepShortcutView.
am: 5836bf728e

Change-Id: Iab85f226458be10fd27102e38789497f836096f6
2016-08-15 17:18:03 +00:00
Sunny Goyal c9a0a7c62f Merge "Moving the shortcut application logic to the DeepShortcutView. This makes the logic for accessing various properties consistant and and ties it to the UI of the DeepShortcutView." into ub-launcher3-calgary-polish 2016-08-15 17:13:16 +00:00
Sunny Goyal 06e21a2587 Moving the state changes during drag-n-drop from startDrag to onDragStart
This will allow drag controller to optinally defer drag, based on some
threshold, by simply deferring the callback onDragStart

Change-Id: I17c06a15e2092b9797c7e57529b12a53d2acae6e
2016-08-15 10:08:16 -07:00
Hyunyoung Song fb65401797 Merge "Log shortcuts open on ACTION_UP instead of in showForIcon()." into ub-launcher3-calgary am: 650cd2377b
am: 8769b44ae0

Change-Id: I373a44df97e8a7a9377644c22d9d74d33b6ea4cf
2016-08-12 20:40:12 +00:00
Tony Wickham 79ae655672 Log shortcuts open on ACTION_UP instead of in showForIcon(). am: be06874c81
am: d8f951f923

Change-Id: I79dc3b984e020072ccdad361146a26a535eee22f
2016-08-12 20:40:11 +00:00
Hyunyoung Song 8769b44ae0 Merge "Log shortcuts open on ACTION_UP instead of in showForIcon()." into ub-launcher3-calgary
am: 650cd2377b

Change-Id: Iac4e32b44e260a17e7be8f92ec2fae250d89ac1f
2016-08-12 20:36:41 +00:00
Tony Wickham d8f951f923 Log shortcuts open on ACTION_UP instead of in showForIcon().
am: be06874c81

Change-Id: Iefc3b03644c2c197f0b744bb9f42fd3058624377
2016-08-12 20:36:40 +00:00
Sunny Goyal 2847e6b921 Merge "Fixing overlay scroll state not getting reset properly when scrolling is was cancelled" into ub-launcher3-calgary-polish
am: 9e22de7cb3

Change-Id: I4cda26705c6344e26b43b608e3c3dc6c365b1fa3
2016-08-12 20:32:42 +00:00
Sunny Goyal 0edb45ac13 Fixing overlay scroll state not getting reset properly when scrolling is was cancelled
am: 4ff424abf9

Change-Id: I76e0637e6cb8d930e043f79d34054bf424608e05
2016-08-12 20:32:41 +00:00
Hyunyoung Song 650cd2377b Merge "Log shortcuts open on ACTION_UP instead of in showForIcon()." into ub-launcher3-calgary 2016-08-12 20:31:13 +00:00
Sunny Goyal 9e22de7cb3 Merge "Fixing overlay scroll state not getting reset properly when scrolling is was cancelled" into ub-launcher3-calgary-polish 2016-08-12 20:20:08 +00:00
Sunny Goyal 4ff424abf9 Fixing overlay scroll state not getting reset properly when
scrolling is was cancelled

Bug: 30834333
Change-Id: I3605cd2dd939057905d297b5a25ce8669d578125
2016-08-12 13:14:56 -07:00
Sunny Goyal 5836bf728e Moving the shortcut application logic to the DeepShortcutView.
This makes the logic for accessing various properties consistant and
and ties it to the UI of the DeepShortcutView.

Bug: 30817556
Change-Id: I09536b9f91b2a9969fcc286f83dd2b17e16cd9ce
2016-08-12 11:10:12 -07:00
Bill Yi 0c1b62be18 Import translations. DO NOT MERGE am: 265cf73a43 -s ours
am: 003072d615  -s ours

Change-Id: Ia93dc2f69830a10f53970f69219d19b595c14167
2016-08-11 22:54:18 +00:00
Bill Yi 003072d615 Import translations. DO NOT MERGE
am: 265cf73a43  -s ours

Change-Id: I62cba71ed40ddbb6b19b9f17f490d53aa67ff52e
2016-08-11 22:50:48 +00:00
Bill Yi a4ef858f83 Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
am: c0d65c98d8  -s ours

Change-Id: I6e8232b502f582d63782ba5bcf8ad06fda297a7e
2016-08-11 22:47:18 +00:00
Bill Yi 097e484d05 Import translations. DO NOT MERGE
am: 421c48ee8b  -s ours

Change-Id: I9c0d0e09d32a8e72734dd2acb41dc44888b979ce
2016-08-11 22:47:18 +00:00
TreeHugger Robot 3582553520 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2016-08-11 22:41:37 +00:00
TreeHugger Robot c0d65c98d8 Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish 2016-08-11 22:41:34 +00:00
Surendra Vispute 86d3da7f3c force a blank spin am: 7db9b085b2
am: bbc3401ec6

Change-Id: Ibe7df3038203a731b57361123472d07a1d3e27f4
2016-08-11 22:08:16 +00:00
Surendra Vispute bbc3401ec6 force a blank spin
am: 7db9b085b2

Change-Id: I6ec36898d22eae3a07bc10200d54653addb8cc6e
2016-08-11 22:05:45 +00:00
Bill Yi 52e188f913 Import translations. DO NOT MERGE
Change-Id: Iaea0e6a0d39d1a17db9d2cbbf6563028daa2b9ee
Auto-generated-cl: translation import
2016-08-11 15:05:16 -07:00
Bill Yi 421c48ee8b Import translations. DO NOT MERGE
Change-Id: I2558456492c591d91fb65e78f888da892ec1964b
Auto-generated-cl: translation import
2016-08-11 15:04:30 -07:00
Bill Yi 265cf73a43 Import translations. DO NOT MERGE
Change-Id: Iad4289a91834aa57c8458356a3f3b31be74c760b
Auto-generated-cl: translation import
2016-08-11 15:03:42 -07:00
Surendra Vispute 7db9b085b2 force a blank spin 2016-08-11 14:55:15 -07:00
Tony Wickham be06874c81 Log shortcuts open on ACTION_UP instead of in showForIcon().
- We only want to log when the container is opened and potentially
  used, not when a long press is followed by a drag-and-drop.
- Also cleaned up code that was determining the container of the
  app icon, since LaunchSourceProvider.fillInLaunchSourceData()
  can do that instead (it's more robust and consistent).

Bug: 30791570
Change-Id: I05b6750f26182fda8a9940ac66f1371c2d228ca9
2016-08-10 18:26:41 -07:00
Sunny Goyal 9ae4beabac Merge "Reloading workspace when the shortcuts permission changes" into ub-launcher3-calgary am: 6eac7881d4
am: eea721266f

Change-Id: I3f892d1fea0ed259f5ebfee8256fed7661b455d4
2016-08-11 00:11:29 +00:00
Sunny Goyal ade5b365a1 Reloading workspace when the shortcuts permission changes am: 95f3d6ba2c
am: 39fa255fc6

Change-Id: I922ad7ebaac37998a4ac58882fee4d4bba84d2fa
2016-08-11 00:11:28 +00:00
Sunny Goyal eea721266f Merge "Reloading workspace when the shortcuts permission changes" into ub-launcher3-calgary
am: 6eac7881d4

Change-Id: Ib3048ca92759013d2d574116be36893b364f7353
2016-08-11 00:07:59 +00:00
Sunny Goyal 39fa255fc6 Reloading workspace when the shortcuts permission changes
am: 95f3d6ba2c

Change-Id: I90ca9f1380eee4c3e26f929614a1c77b2520b378
2016-08-11 00:07:58 +00:00
Sunny Goyal 6eac7881d4 Merge "Reloading workspace when the shortcuts permission changes" into ub-launcher3-calgary 2016-08-11 00:01:47 +00:00
Sunny Goyal 95f3d6ba2c Reloading workspace when the shortcuts permission changes
> Check for permission on every onResume
> If the permission is different than last known permission,
reload and rebind workspace.

Bug: 30789422
Change-Id: Idfa445815e29e2336505779545507d106b33a253
2016-08-10 17:00:15 -07:00
Bill Yi 1a44ffd95d Import translations. DO NOT MERGE am: cb782bd43a -s ours
am: 327259aceb  -s ours

Change-Id: I274424b67476fae5d7b9c3c6d4738a0f4173fef7
2016-08-10 21:07:17 +00:00
Bill Yi 327259aceb Import translations. DO NOT MERGE
am: cb782bd43a  -s ours

Change-Id: Icc41ea74e46085196303876c4c655879d3cd734c
2016-08-10 21:04:16 +00:00
Bill Yi d2825d1153 Import translations. DO NOT MERGE
am: 26dfbda050  -s ours

Change-Id: I8100535aefeb00a5f8d880708e6f7338568c8cdf
2016-08-10 21:01:16 +00:00
Bill Yi f1c4b0179b Import translations. DO NOT MERGE
Change-Id: I59f1660f94c6afcd5ab8cf151301da235be08a19
Auto-generated-cl: translation import
2016-08-10 08:18:24 -07:00
Bill Yi 26dfbda050 Import translations. DO NOT MERGE
Change-Id: Iad51eb6eb92204d454c1e03d03281eaedcb85f7f
Auto-generated-cl: translation import
2016-08-10 08:17:35 -07:00
Bill Yi cb782bd43a Import translations. DO NOT MERGE
Change-Id: Id72084a093ca622391d5c3af74f90e66499dea28
Auto-generated-cl: translation import
2016-08-10 08:16:45 -07:00
Tony Wickham 49b4b0fd5a Merge "Change drag from shortcuts to say "Cancel" instead of "Remove"" into ub-launcher3-calgary am: 1ba0e4df79
am: 1d69de8f77

Change-Id: If5f4a7d6f302ff79edb36e348e1aba041671ed76
2016-08-09 22:06:55 +00:00
Tony Wickham b723fcd217 Change drag from shortcuts to say "Cancel" instead of "Remove" am: df64e9ee06
am: 64624c80fc

Change-Id: Ic4f46e51245bc5bc7246b6bc6264a3e8b6ee778f
2016-08-09 22:06:54 +00:00
Tony Wickham 1d69de8f77 Merge "Change drag from shortcuts to say "Cancel" instead of "Remove"" into ub-launcher3-calgary
am: 1ba0e4df79

Change-Id: I6f9f706457aecb7b74286022cfff391942931383
2016-08-09 22:03:54 +00:00
Tony Wickham 64624c80fc Change drag from shortcuts to say "Cancel" instead of "Remove"
am: df64e9ee06

Change-Id: I27b16b2f526034b50012b65d032098b75f86a754
2016-08-09 22:03:54 +00:00
Tony Wickham 1ba0e4df79 Merge "Change drag from shortcuts to say "Cancel" instead of "Remove"" into ub-launcher3-calgary 2016-08-09 21:52:43 +00:00
Tony Wickham df64e9ee06 Change drag from shortcuts to say "Cancel" instead of "Remove"
Bug: 30757836
Change-Id: I7d2d97898bd1feac3cd7ba15614c29a1e1b33841
2016-08-09 11:07:46 -07:00
Tony Wickham ba75b16099 Merge "Make padding consistent between shortcuts and the app icon." into ub-launcher3-calgary am: ea5bcba847
am: cd7e3d859d

Change-Id: I4af6af2f11c9938bdd1d6caacb6854e6292b7d9c
2016-08-08 21:20:24 +00:00
Tony Wickham d3d9096487 Make padding consistent between shortcuts and the app icon. am: 988e2b7a4d
am: 84af784548

Change-Id: Ic3965ae8730d9629b0f2b90505b5ecd9e8cbcf2a
2016-08-08 21:20:23 +00:00
Tony Wickham cd7e3d859d Merge "Make padding consistent between shortcuts and the app icon." into ub-launcher3-calgary
am: ea5bcba847

Change-Id: Icfdb94eaec6cb3084023ebb40afa8feee5c14cf7
2016-08-08 21:17:52 +00:00
Tony Wickham 84af784548 Make padding consistent between shortcuts and the app icon.
am: 988e2b7a4d

Change-Id: Ib1a194b7b383b991bb0fd4da7c28a52821fbae8c
2016-08-08 21:17:51 +00:00
Tony Wickham ea5bcba847 Merge "Make padding consistent between shortcuts and the app icon." into ub-launcher3-calgary 2016-08-08 21:03:29 +00:00
Sunny Goyal 40afca1f37 Merge "Forcing drag layer to be non accessible. Setting a touch delegate makes a view to become accessible, if its set to auto. This was making drayLayer accessible causing Talkback to speak out every item on the draglayer when window focus changes" into ub-launcher3-calgary
am: dd6bb46232

Change-Id: I29b5e1c3f74a58ca1be341e4be6c4198e991dd4b
2016-08-08 18:10:10 +00:00