Sunny Goyal
776ca257ce
Merge "Defining various modes for CellLayout: Workspace, Hotseat & Folder" into ub-launcher3-master
2016-12-12 20:45:17 +00:00
Sunny Goyal
177bb5a9ba
Merge "Adding support for app widgets in the InstallQueue" into ub-launcher3-master
2016-12-12 17:16:46 +00:00
Sunny Goyal
ab121c1715
Adding a generic method to initiate overridable objects
...
Change-Id: Ia433427c65ad38804f2eed9c6bc209df232758c0
2016-12-12 17:01:11 +00:00
Sunny Goyal
3be633b82f
Adding support for app widgets in the InstallQueue
...
Bug: 32904959
Change-Id: I0d07a0c59d266493ae30a42579c1fa69b805009e
2016-12-12 08:37:33 -08:00
Hyunyoung Song
59dfebcaee
Merge "Build empty test apk until junit dependency issue is sorted out." into ub-launcher3-master
2016-12-08 23:05:33 +00:00
Hyunyoung Song
4c82c33a64
Build empty test apk until junit dependency issue is sorted out.
...
Change-Id: Ib63a654139e43c433011d0f7b761905426aff24d
2016-12-08 14:58:44 -08:00
Tony Wickham
0c87e735e1
Merge "Set PreloadIconDrawable disabled = false when restore is complete" into ub-launcher3-master
2016-12-08 22:27:41 +00:00
Tony Wickham
e391bd5a9a
Set PreloadIconDrawable disabled = false when restore is complete
...
This ensures that it regains its color rather than remaining gray.
Bug: 33429398
Change-Id: Ic073570613aa01f061f0f3093cf05ee74332ae8a
2016-12-08 14:13:27 -08:00
Jonathan Miranda
72169102db
Merge "Scale widgets when dragging and dropping in multi-window mode." into ub-launcher3-master
2016-12-08 18:43:17 +00:00
Jon Miranda
f7ff3fe58a
Scale widgets when dragging and dropping in multi-window mode.
...
This change mimics the non-MW mode behavior when dragging and
dropping widgets by taking the app widget scale into consideration.
This ensures a consistant drag and drop experience between
MW mode and non-MW mode.
* Uses cell data (cell height/width, spanX/Y) to get the expected
widget sizes.
* Scales sizes when necessary.
Bug: 32176631
Change-Id: Icdaf73ecd89a30e57fe7f405292d793f2d6a3ee8
2016-12-08 10:28:51 -08:00
Sunny Goyal
621e200647
Merge "Simplifyling widget inflation and addition flow." into ub-launcher3-master
2016-12-08 00:46:10 +00:00
Sunny Goyal
b4a192b5da
Merge "Adding support for deep shortcuts in Install queue" into ub-launcher3-master
2016-12-08 00:36:24 +00:00
Sunny Goyal
55cb70bf70
Adding an overridable DrawableFactory to allow creating custom icon drawables
...
> Adding ItemInfo as a parameter for creating drawable
Change-Id: I793acb0381d2b8df4db0a08317dddf1464788ebc
2016-12-07 15:55:47 -08:00
Sunny Goyal
d5462aa31b
Simplifyling widget inflation and addition flow.
...
> Removing insert parameter used to select the index of the view.
ShortcutAndWidgetContainer no longet relies on the index and instead
uses x and y to refer a particulat view.
> Creating helper methods to easily insert the icon by passing ItemInfo
directly. LauncherModel.addItemToDatabase synchronously updates the
ItemInfo with proper postion information. So we can directly use the
info instead of passing each parameter separately.
Bug: 32904959
Change-Id: I021c1b818f2f42604b95a6970e06aacc7211292a
2016-12-07 13:16:08 -08:00
Tony Wickham
5dc7435b33
Move icon back to original cell if a quick drag would cause reorder.
...
Most likely the user accidentally dragged the icon, so let's not
rearrange their home screen.
Bug: 30378199
Change-Id: I815a0817bca3b0d212324a58842b1f59dfdf0b91
2016-12-07 10:33:16 -08:00
Tony Wickham
4633be64e8
Fix for mTransitionProgress not being updated throughout animation.
...
Change-Id: I8f792794b7bc6edff081383b5a0a74af04a744ad
2016-12-06 17:11:35 -08:00
Tamas Berghammer
e2ff6b3133
Update package names to work with the proto3 compiler
...
Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
(cherry picked from commit f4f62cfb2d )
2016-12-03 18:50:38 +00:00
Sunny Goyal
f75baa9f40
Adding support for deep shortcuts in Install queue
...
Bug: 32904959
Change-Id: Ida43bcf78da716defdf95eb704c31973bc390ea1
2016-12-03 15:55:13 +05:30
Sunny Goyal
36f71f873b
Merge "Bug fix: QSB sometimes gets stuck to transparent." into ub-launcher3-master
2016-11-30 17:50:01 +00:00
Sunny Goyal
b7f5431232
Merge "Moving ShortcutInfo creation in InstallShortcutReceiver to background thread" into ub-launcher3-master
2016-11-30 16:42:31 +00:00
Sunny Goyal
2bcbe13c64
Moving ShortcutInfo creation in InstallShortcutReceiver to background thread
...
> Creating shortcut info requires iconCache access
Bug: 21325319
Change-Id: I3317d8b6824aa05b836f3ed3626f169d4d34f783
2016-11-30 05:47:57 +05:30
Sunny Goyal
70fc828256
Merge "Fixing wrong message sent on app widget host reset" into ub-launcher3-master
2016-11-30 00:10:06 +00:00
Sunny Goyal
72db9afef4
Fixing wrong message sent on app widget host reset
...
Change-Id: If5842d4ebbf3fa0ef8596f22788f909748f01ac5
2016-11-29 07:26:20 +05:30
Sunny Goyal
1c581c6d61
Bug fix: QSB sometimes gets stuck to transparent.
...
At some places, we were calling removeAllListeners before calling cancel
on an animation. AnimationListeners are also used to track states, and
removing listeners before canceling will prevent onAnimationEnd to be
called, thus preventing state cleanup.
PinchAnimationManager was causing ZeroAlphaAnimatorListener to be removing
from Qsb alpha animation, making the MultiStateAlphaController think there
is a zeroAlpha animation running.
> Removing all instances of removeAllListeners
> Updating various affected listeners to handle onAnimatinoCancel
> Fixing WorkspaceStateTransitionAnimation, which was animation QSB alpha
on page scroll index
Bug: 31910152
Change-Id: Ie7f31b67d4c502badcdd41f7b04867d1f35f5d27
2016-11-24 15:32:45 +05:30
Sunny Goyal
cfbd892bec
Preventing a shortcut which requires permissions from being added to homescreen am: 116d34bc63 am: 0754b948eb am: 9ee10983f7 am: 31c3f9f59c am: 26b839d8f6 am: e9d0ca8f07
...
am: f965504494
Change-Id: Ic35f9ff461a04ed4c1c33c3a2d89d7d9cc706595
2016-11-24 02:09:15 +00:00
Sunny Goyal
bae6174234
Preventing a shortcut which requires permissions from being added to homescreen am: 116d34bc63 am: 528c8f3c92 am: 7354c012c0 am: d2aefbd773
...
am: 0807b02cfd
Change-Id: I970f57c17a68d867097deb56d3dccbda511eb5ba
2016-11-24 02:09:04 +00:00
Bill Yi
f7ab6cfdc4
Import translations. DO NOT MERGE am: d730a04ef7 -s ours am: db360b65d4 -s ours am: 957c65fe13 -s ours am: b7bc3a8582 -s ours
...
am: d2fca6b2cd -s ours
Change-Id: Ic99ef3ce3fce7ab038ef4d7fecabeb8a9c579450
2016-11-24 02:08:52 +00:00
Tony Wickham
a8808fd4c6
Fix the build am: 4707e2b64d am: f304453c99 am: d85854558a am: c787609e6d
...
am: ea7fc96298
Change-Id: I0e2924ce3279a9412f848334dd1125e0565c2ed3
2016-11-24 02:08:41 +00:00
Tony Wickham
d5e4fb28e4
Fix the build am: 4707e2b64d am: 7815035df0 am: 5ecb655ac4 am: 8de70681f8
...
am: 2de38dfff4
Change-Id: I58d97f31159c607340870e3d6f49708380246c5c
2016-11-24 02:08:31 +00:00
Hyunyoung Song
27e3dc7a6e
Merge branch \\'ub-launcher3-burnaby-nyc\\' into nyc-dev b/29535844 am: 3c0c2c4b02 am: 027594fc1b am: 9015be72e4 am: a088d2be66
...
am: d11580e82d
Change-Id: I3ca354a01a91559db39aee7bb9eb1a11035f58bc
2016-11-24 02:08:20 +00:00
Hyunyoung Song
90461145d0
Merge branch \\'ub-launcher3-burnaby-nyc\\' into nyc-dev b/29535844 am: 3c0c2c4b02 am: 8868238fb2 am: 7cd14d0e55 am: db0d2d6122
...
am: 2088be1fef
Change-Id: If08811aca6ec45cf4fbc15871a969b53e5a3b302
2016-11-24 02:08:09 +00:00
Christopher Tate
ae88b102d2
Track adjustments to new wallpaper APIs am: ea4cc66cf3 am: 9f9d83d750 am: 449cbc3ab2 am: d30527cb9e
...
am: df6244f83b
Change-Id: Ia618b3f69d2238dff3f5de26a451f97cdb9e2fed
2016-11-24 02:08:00 +00:00
Christopher Tate
0e524be109
Track adjustments to new wallpaper APIs am: ea4cc66cf3 am: efe81e1226 am: 0cbd872189 am: 9cb2bdb8fa
...
am: c46849bed7
Change-Id: I37263dee9eeb67226a02549313ba210efeca56e3
2016-11-24 02:07:48 +00:00
Hyunyoung Song
fbcd4fdd35
Merge "Merge branch \'ub-launcher3-burnaby-nyc\' into launcher3merge am: 8c340dff19 am: 8249b928b7" into nyc-mr1-dev-plus-aosp am: 3a40216fa0 am: e878f1c719
...
am: b9ef562e93
Change-Id: Idd9a42eb247b0e4b197cc87a18efe58dff9ec2bd
2016-11-24 02:07:38 +00:00
Hyunyoung Song
7a7fb940e1
Merge branch \'ub-launcher3-burnaby-nyc\' into launcher3merge am: 8c340dff19 am: 8249b928b7 am: 896dd9a122 am: 57622d0578
...
am: 331cc230af
Change-Id: I174d73c8b78b602b1b15c315ee0faf537ebefca6
2016-11-24 02:07:27 +00:00
Sunny Goyal
f965504494
Preventing a shortcut which requires permissions from being added to homescreen am: 116d34bc63 am: 0754b948eb am: 9ee10983f7 am: 31c3f9f59c am: 26b839d8f6
...
am: e9d0ca8f07
Change-Id: Ia2c2d8910bef42788cc83e5a8f14c032204977b3
2016-11-24 02:07:03 +00:00
Sunny Goyal
0807b02cfd
Preventing a shortcut which requires permissions from being added to homescreen am: 116d34bc63 am: 528c8f3c92 am: 7354c012c0
...
am: d2aefbd773
Change-Id: I57e83bdf3d366653d474550679e9fc601b1de0e4
2016-11-24 02:06:51 +00:00
Bill Yi
d2fca6b2cd
Import translations. DO NOT MERGE am: d730a04ef7 -s ours am: db360b65d4 -s ours am: 957c65fe13 -s ours
...
am: b7bc3a8582 -s ours
Change-Id: Idba06804823ab726c160097951cde0406972007e
2016-11-24 02:06:41 +00:00
Tony Wickham
ea7fc96298
Fix the build am: 4707e2b64d am: f304453c99 am: d85854558a
...
am: c787609e6d
Change-Id: Ib89c31375856e1d7c3e6b151a78c7be6f6e3a445
2016-11-24 02:06:31 +00:00
Tony Wickham
2de38dfff4
Fix the build am: 4707e2b64d am: 7815035df0 am: 5ecb655ac4
...
am: 8de70681f8
Change-Id: Ie0095ff853d560e80f2ae9699606ca865574c23d
2016-11-24 02:06:20 +00:00
Hyunyoung Song
d11580e82d
Merge branch \\'ub-launcher3-burnaby-nyc\\' into nyc-dev b/29535844 am: 3c0c2c4b02 am: 027594fc1b am: 9015be72e4
...
am: a088d2be66
Change-Id: Idc55667e44750ec6b44f21d95dd9056b3f224c81
2016-11-24 02:06:10 +00:00
Hyunyoung Song
2088be1fef
Merge branch \\'ub-launcher3-burnaby-nyc\\' into nyc-dev b/29535844 am: 3c0c2c4b02 am: 8868238fb2 am: 7cd14d0e55
...
am: db0d2d6122
Change-Id: I0fc7059b4cadbf04e3aedd45788a2c4bd42d3195
2016-11-24 02:05:59 +00:00
Hyunyoung Song
5d6217dc03
Merge branch \'ub-launcher3-burnaby-nyc\' into launcher3merge am: 8c340dff19 am: 908298f567 am: 2aca1b1820 am: 8fd416a7be
...
am: df304a67ec
Change-Id: I08ca9a1e217d31c1b8bbf2bd1ccf94a7d155ad50
2016-11-24 02:05:49 +00:00
Christopher Tate
df6244f83b
Track adjustments to new wallpaper APIs am: ea4cc66cf3 am: 9f9d83d750 am: 449cbc3ab2
...
am: d30527cb9e
Change-Id: Icff840366d4961cef42bc47cd297c2c59f118b02
2016-11-24 02:05:48 +00:00
Hyunyoung Song
f3e74be3fc
resolve merge conflicts of 7520e49 to nyc-dev-plus-aosp am: 3e906a925c am: 724e51e88d am: 044e71c2d0
...
am: 74d09c3dea
Change-Id: I090af0ecbc90d833a06b5a4f26010b85d09edb42
2016-11-24 02:05:40 +00:00
Christopher Tate
c46849bed7
Track adjustments to new wallpaper APIs am: ea4cc66cf3 am: efe81e1226 am: 0cbd872189
...
am: 9cb2bdb8fa
Change-Id: I92b093df6ed6765387942990cdb1b07dd746f06e
2016-11-24 02:05:38 +00:00
Hyunyoung Song
436d8808f6
resolve merge conflicts of f82aba0 to nyc-mr1-dev-plus-aosp am: 1b1b84e96a -s ours am: 57d4540382
...
am: aff2b79dff
Change-Id: Ib642f0d5420b6b7d3aa29ef53da51fd1da6cb938
2016-11-24 02:05:29 +00:00
Hyunyoung Song
b9ef562e93
Merge "Merge branch \'ub-launcher3-burnaby-nyc\' into launcher3merge am: 8c340dff19 am: 8249b928b7" into nyc-mr1-dev-plus-aosp am: 3a40216fa0
...
am: e878f1c719
Change-Id: I4690e7c5917fc321ee0f0982f2041850dd2a8937
2016-11-24 02:05:27 +00:00
Hyunyoung Song
331cc230af
Merge branch \'ub-launcher3-burnaby-nyc\' into launcher3merge am: 8c340dff19 am: 8249b928b7 am: 896dd9a122
...
am: 57622d0578
Change-Id: I923238f0f846368db002cfb1614473ab7b0956c1
2016-11-24 02:05:18 +00:00
Sunny Goyal
e9d0ca8f07
Preventing a shortcut which requires permissions from being added to homescreen am: 116d34bc63 am: 0754b948eb am: 9ee10983f7 am: 31c3f9f59c
...
am: 26b839d8f6
Change-Id: Id331c88f2116d0644737e5f65605fece3e510e9d
2016-11-24 02:03:21 +00:00