Commit Graph

78507 Commits

Author SHA1 Message Date
Bill Yi 2c25197b37 Import translations. DO NOT MERGE
am: 2911dcd6fa  -s ours

Change-Id: I7739c64c2ab8618bc31b4c134fcb08f1150936b7
2016-08-16 21:07:34 +00:00
Louis Begin a9c21c624c Improve handling of external deletion in LauncherProvider.delete
When deleting a widget, ensure that we also delete the corresponding
widget from the system server

Bug 30835877

Change-Id: I7d539c2d37ef53086d09ae128f7278941f804aeb
2016-08-16 12:43:05 -07:00
Sunny Goyal 86df138d9f Adding support for pending widgets in AutoInstall layout
> Pending widgets whill show a loading progress while the app
is being installed.
> Extra bind options can be defined using the tub tags
    <extra key="key-name" value="key-value" />
  These are sent as widget options when the widget is bound.
> If the widget has any config activity, it is not shown
> Required attributes:
   className, packageName, x, y, spanY, spanY & screen

Bug: 30279609
Change-Id: I1338618bfa5d86967339dffb68c12b1add6eb5d7
2016-08-16 12:37:29 -07:00
Sunny Goyal b9b41b835e Merge "Blocking alpha animation if the initial and final state for the animation are both 0" into ub-launcher3-calgary-polish 2016-08-16 17:49:46 +00:00
Sunny Goyal d1602ddfdf Merge "Moving the state changes during drag-n-drop from startDrag to onDragStart" into ub-launcher3-calgary-polish 2016-08-16 17:47:59 +00:00
TreeHugger Robot d7058f2b06 Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish 2016-08-16 15:35:23 +00:00
TreeHugger Robot c9efe2ba9c Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary 2016-08-16 15:35:19 +00:00
TreeHugger Robot e82bcdd618 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2016-08-16 15:35:05 +00:00
Sunny Goyal e0eec462b6 Merge "Updating version check to use SDK_INT" into ub-launcher3-calgary am: 6fbdc09e1c
am: a968be35be

Change-Id: I1007961ef8e1f48062edba931c38379615066328
2016-08-16 02:55:11 +00:00
Sunny Goyal b4b3a43b72 Updating version check to use SDK_INT am: a9206128a2
am: 6ff0c6f299

Change-Id: I369f216d1b967c0754c0a839bad72a6acd0a6af2
2016-08-16 02:55:11 +00:00
Sunny Goyal a968be35be Merge "Updating version check to use SDK_INT" into ub-launcher3-calgary
am: 6fbdc09e1c

Change-Id: I07d87b14a1ef22c035ff8074a1649ead32a4b728
2016-08-16 02:51:10 +00:00
Sunny Goyal 6ff0c6f299 Updating version check to use SDK_INT
am: a9206128a2

Change-Id: If87c82149d086c056e6116a313519833c38a77dd
2016-08-16 02:51:10 +00:00
Sunny Goyal 6fbdc09e1c Merge "Updating version check to use SDK_INT" into ub-launcher3-calgary 2016-08-16 02:44:51 +00:00
Sunny Goyal a9206128a2 Updating version check to use SDK_INT
Change-Id: Idb46053e7304bc8d0cab03a17a6fe73013e4f092
2016-08-15 19:35:22 -07:00
Hyunyoung Song 6d05164ace [DO NOT MERGE] Set launch source target correctly for user event logging am: 5a17fe6ca0 -s ours
am: 54d3a264c0  -s ours

Change-Id: I22ca0426d124a0a7d752c9b1a280d74e7cbf9d10
2016-08-16 02:14:37 +00:00
Hyunyoung Song 54d3a264c0 [DO NOT MERGE] Set launch source target correctly for user event logging
am: 5a17fe6ca0  -s ours

Change-Id: I08c7d7ca433577cc676b5ed005af03dd2110e8a1
2016-08-16 02:10:38 +00:00
Bill Yi d9d73d8aa7 Import translations. DO NOT MERGE
Change-Id: Ibe236dabffa61ef50952deee1ec1f00ca0f37096
Auto-generated-cl: translation import
2016-08-15 18:02:15 -07:00
Bill Yi 2911dcd6fa Import translations. DO NOT MERGE
Change-Id: If3c9e57ec6801605397ff16f2ec93c6aaeda665e
Auto-generated-cl: translation import
2016-08-15 18:00:59 -07:00
Bill Yi 2deaba905f Import translations. DO NOT MERGE
Change-Id: I96007581be40da18813dfcb8606bc6d8fed29e54
Auto-generated-cl: translation import
2016-08-15 17:59:41 -07:00
Hyunyoung Song b6128acde4 Merge "Set launch source target correctly for user event logging" into ub-launcher3-calgary-polish
am: be37dcb1b1

Change-Id: Iabb9c5711b549f2271a8edd8ec16bdf638891a10
2016-08-16 00:49:03 +00:00
Hyunyoung Song b3560c0777 Set launch source target correctly for user event logging
am: 8ce6063c4a

Change-Id: I2a29a1480ae52d6069951ae8a483c10930b6a18c
2016-08-16 00:49:02 +00:00
Hyunyoung Song 5a17fe6ca0 [DO NOT MERGE] Set launch source target correctly for user event logging
Before, everything is set to APP_ICON
With this changed, pinned shortcuts are set to DEEPSHORTCUT

Change-Id: I3e17de63f58693525236290ef5cb1f909f1d6098
(cherry picked from commit 8ce6063c4a)
2016-08-16 00:40:26 +00:00
Hyunyoung Song be37dcb1b1 Merge "Set launch source target correctly for user event logging" into ub-launcher3-calgary-polish 2016-08-16 00:39:56 +00:00
Hyunyoung Song 8ce6063c4a Set launch source target correctly for user event logging
Before, everything is set to APP_ICON
With this changed, pinned shortcuts are set to DEEPSHORTCUT

Change-Id: I3e17de63f58693525236290ef5cb1f909f1d6098
2016-08-15 16:22:20 -07:00
Tony Wickham 0ec33d4700 Merge "Ignore clicks on shortcuts' drag handles." into ub-launcher3-calgary am: e8882f7d27
am: f12ab0733c

Change-Id: I8f3853c918e34fd4189b240b791f8fb118a5ab60
2016-08-15 23:20:28 +00:00
Tony Wickham 753057f671 Ignore clicks on shortcuts' drag handles. am: e04a07f6ac
am: 6bb6711f4e

Change-Id: I027ba0d375bc262ac58828664aa82b8a09ee0c86
2016-08-15 23:20:27 +00:00
Tony Wickham f12ab0733c Merge "Ignore clicks on shortcuts' drag handles." into ub-launcher3-calgary
am: e8882f7d27

Change-Id: I68b3f7ca4aca025962fb0e1e1206b07c2ff1b8d1
2016-08-15 23:15:27 +00:00
Tony Wickham 6bb6711f4e Ignore clicks on shortcuts' drag handles.
am: e04a07f6ac

Change-Id: I96360a63524edeff3e2aa9b21707c1c81a79012f
2016-08-15 23:15:27 +00:00
Tony Wickham e8882f7d27 Merge "Ignore clicks on shortcuts' drag handles." into ub-launcher3-calgary 2016-08-15 22:52:56 +00:00
Tony Wickham e04a07f6ac Ignore clicks on shortcuts' drag handles.
When touching down within the drag handle's bounds, we remove the
onClickListener temporarily (restored when touching down outside
of the drag handle's bounds). Long clicks still start the drag.

Also increased drag threshold from 12dp to 16dp.

Bug: 30816665

Change-Id: I0b33dc34bf95c0532376f2f7cf50865fa50093de
2016-08-15 14:02:08 -07:00
Sunny Goyal bf206123a8 Blocking alpha animation if the initial and final state for the animation
are both 0

Bug: 30739854
Change-Id: I4f7c579dc3f64a4fed60d7b2f8ecd5f359e165ec
2016-08-15 11:02:36 -07:00
Sunny Goyal 65a3e353f7 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
am: c9a0a7c62f

Change-Id: I4d715c6fe243b86b7a83b4422d06a9468c554581
2016-08-15 17:18:03 +00:00
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