OSDN Git Service
Jon Miranda [Mon, 19 Sep 2016 23:19:29 +0000 (23:19 +0000)]
Only reset search field when back key is hit if there is no query.
am:
bb918b3532
Change-Id: Icc66e5fcd8686b4280f4e21be8e1e6464cf9d874
Jonathan Miranda [Mon, 19 Sep 2016 23:19:14 +0000 (23:19 +0000)]
Merge "Add context to widget dimensions for accessibility." into ub-launcher3-calgary-polish
am:
41be5cdea5
Change-Id: Ib40c4281cfa97daa006ee3a8e782f166cfcbeb00
Jon Miranda [Mon, 19 Sep 2016 23:19:13 +0000 (23:19 +0000)]
Add context to widget dimensions for accessibility.
am:
6c61323998
Change-Id: I5cd9cce4d842a17bafc68b31a09dcf0a62949c1e
Jonathan Miranda [Mon, 19 Sep 2016 23:04:11 +0000 (23:04 +0000)]
Merge "Add context to widget dimensions for accessibility." into ub-launcher3-calgary-polish
Jon Miranda [Mon, 19 Sep 2016 21:49:27 +0000 (21:49 +0000)]
Uses a TransformingTouchDelegate to extend touch target for widgets list. am:
0ef81fdc22
am:
48542731c5
Change-Id: Ia2bd1b6e5203f40ce3ef75a05712ee63ccfbf3e3
Jon Miranda [Mon, 19 Sep 2016 21:43:54 +0000 (21:43 +0000)]
Uses a TransformingTouchDelegate to extend touch target for widgets list.
am:
0ef81fdc22
Change-Id: I33962020ff1cf75e46254c24687a53fd5b2088fa
Jon Miranda [Fri, 16 Sep 2016 19:38:09 +0000 (12:38 -0700)]
Uses a TransformingTouchDelegate to extend touch target for widgets list.
The widget row contents were being clipped, which made it seem like
the horizontal scroll was broken.
Bug:
30023607
Change-Id: I00b0c334bbb0faf166d4cd168392cc494ed732e0
Jon Miranda [Mon, 19 Sep 2016 18:25:39 +0000 (11:25 -0700)]
Add context to widget dimensions for accessibility.
Bug:
19085860
Change-Id: Ia28c2c14b93945d796226eea3de040e971fd42f0
Sunny Goyal [Mon, 19 Sep 2016 16:39:23 +0000 (16:39 +0000)]
Merge "Updating the paddings in folder cell" into ub-launcher3-calgary-polish
am:
d1e5b5ceaa
Change-Id: I23ffc16834bab24d3874c204ea4131e95cf7d20e
Sunny Goyal [Mon, 19 Sep 2016 16:39:23 +0000 (16:39 +0000)]
Updating the paddings in folder cell
am:
baec6ffae2
Change-Id: I4bfa78ade93639d3864baeeb5028b9caa3935c29
Sunny Goyal [Mon, 19 Sep 2016 16:33:40 +0000 (16:33 +0000)]
Merge "Updating the paddings in folder cell" into ub-launcher3-calgary-polish
Jon Miranda [Mon, 19 Sep 2016 16:31:56 +0000 (09:31 -0700)]
Only reset search field when back key is hit if there is no query.
Bug:
31432372
Change-Id: I93c7ee661597f934402f464c4f0182a8fad38d39
Hyunyoung Song [Fri, 16 Sep 2016 19:47:02 +0000 (19:47 +0000)]
Merge "Fixing issue where overview->normal workspace mode cannot be done by tapping b/
31458165" into ub-launcher3-calgary-polish
am:
80e6aa4b01
Change-Id: I07d8700dd8683100c59c8ecd5efedbb6465056c5
Hyunyoung Song [Fri, 16 Sep 2016 19:45:06 +0000 (19:45 +0000)]
Fixing issue where overview->normal workspace mode cannot be done by tapping b/
31458165
am:
f99370c2a9
Change-Id: Id5c7b068fae21a2c4941390bf99db413581ede44
Hyunyoung Song [Fri, 16 Sep 2016 19:34:39 +0000 (19:34 +0000)]
Merge "Fixing issue where overview->normal workspace mode cannot be done by tapping b/
31458165" into ub-launcher3-calgary-polish
Sunny Goyal [Wed, 14 Sep 2016 18:26:21 +0000 (11:26 -0700)]
Updating the paddings in folder cell
> Updating overall padding for the cell and adding drawable padding
> Ensuring that the folder cell is always rendered properly based
on available vertical space
Bug:
30605958
Change-Id: I8ceb9fea5a25052b0d7461f52edca0e6a33fa085
Hyunyoung Song [Fri, 16 Sep 2016 19:03:27 +0000 (12:03 -0700)]
Fixing issue where overview->normal workspace mode cannot be done by tapping
b/
31458165
Because workspaceInModalState makes the VerticalFlingDetector
to consume the touch input, click is not detected in Overview mode.
Placed pulldown to search behind a feature flag.
Change-Id: I31ab69f57944a18e6b264c4f2ed2d0c1175cd940
Tony Wickham [Fri, 16 Sep 2016 18:52:22 +0000 (18:52 +0000)]
Merge "Don't close all apps when touching deep shortcuts container." into ub-launcher3-calgary-polish
am:
f595f3de0f
Change-Id: I46ea15877619d6a179e8a79401367e4f13873028
Tony Wickham [Fri, 16 Sep 2016 18:52:21 +0000 (18:52 +0000)]
Don't close all apps when touching deep shortcuts container.
am:
946f85060a
Change-Id: I5966cc024c9ac1e60ebb4ded18df8430dbc68513
Tony Wickham [Fri, 16 Sep 2016 18:47:48 +0000 (18:47 +0000)]
Merge "Don't close all apps when touching deep shortcuts container." into ub-launcher3-calgary-polish
Jonathan Miranda [Fri, 16 Sep 2016 17:59:25 +0000 (17:59 +0000)]
Merge "Fixed NumberFormatException when trying to display vector drawable." into ub-launcher3-calgary-polish
am:
2fdd8f75c3
Change-Id: I5a7e48c6611f079813e83f2e2dfb95f6053f3e37
Jon Miranda [Fri, 16 Sep 2016 17:59:24 +0000 (17:59 +0000)]
Fixed NumberFormatException when trying to display vector drawable.
am:
a802a62c47
Change-Id: Ibbcf9ad0160f299a661cd9429071738ae8f7a325
Jonathan Miranda [Fri, 16 Sep 2016 17:47:27 +0000 (17:47 +0000)]
Merge "Fixed NumberFormatException when trying to display vector drawable." into ub-launcher3-calgary-polish
Hyunyoung Song [Thu, 15 Sep 2016 23:35:31 +0000 (23:35 +0000)]
Merge "Set contentDescription on caret" into ub-launcher3-calgary-polish
am:
c1c6126745
Change-Id: I2893e95ee3d494ba5e19fb9ad02a1400f1d0f283
Hyunyoung Song [Thu, 15 Sep 2016 23:35:30 +0000 (23:35 +0000)]
Set contentDescription on caret
am:
c5afad6eb9
Change-Id: Ibea35c8fe58d7db0bcbddb41ae6e24ef7804dde0
Hyunyoung Song [Thu, 15 Sep 2016 23:31:37 +0000 (23:31 +0000)]
Merge "Set contentDescription on caret" into ub-launcher3-calgary-polish
Hyunyoung Song [Thu, 15 Sep 2016 23:19:14 +0000 (16:19 -0700)]
Set contentDescription on caret
Change-Id: I1f66b96b3f94649d85857b0107144bb4070ef448
Jon Miranda [Thu, 15 Sep 2016 22:21:16 +0000 (22:21 +0000)]
Use ContextCompat.getColor to support API levels below 23.
am:
488d8adeb8
Change-Id: I153c4d57effecf1a59bc92884e0da48660f84870
Jon Miranda [Thu, 15 Sep 2016 22:07:44 +0000 (15:07 -0700)]
Fixed NumberFormatException when trying to display vector drawable.
Found while debugging on Lollipop.
Change-Id: Idb098d3a8f7f1fa608fd8a32225cdefa41ba47a7
Jon Miranda [Thu, 15 Sep 2016 22:05:12 +0000 (15:05 -0700)]
Use ContextCompat.getColor to support API levels below 23.
Found while debugging on Lollipop.
Change-Id: Ibe97fd30c4ee8cd0c1735a41802b859345f9e931
Sunny Goyal [Thu, 15 Sep 2016 21:35:37 +0000 (21:35 +0000)]
Adding support for extending the touch target in the touchDelegate am:
1cc48e1d0c
am:
9784572c47
Change-Id: I0ec99d77913f1c5d3d6da0ba6b667c830b2e8ce2
Sunny Goyal [Thu, 15 Sep 2016 21:33:10 +0000 (21:33 +0000)]
Adding support for extending the touch target in the touchDelegate
am:
1cc48e1d0c
Change-Id: I29ce4b52a2b687f73b2db4ddb633210e905aad69
Jon Miranda [Thu, 15 Sep 2016 20:58:00 +0000 (20:58 +0000)]
Fix bug where page indicator animation repeats itself.
am:
3f9d6278e3
Change-Id: Icb431b7c6cc1ea05c8d3e2e09a75f28956a9c15b
Sunny Goyal [Thu, 15 Sep 2016 19:32:28 +0000 (12:32 -0700)]
Adding support for extending the touch target in the touchDelegate
Bug:
31458312
Change-Id: Ic819bdede2776ff63ec17053cc1326415edc1ca0
Jon Miranda [Thu, 15 Sep 2016 19:31:28 +0000 (12:31 -0700)]
Fix bug where page indicator animation repeats itself.
Bug:
31501865
Change-Id: I0df77859b82b60fd0e50023e0f5690961850cf6c
Hyunyoung Song [Thu, 15 Sep 2016 17:58:47 +0000 (17:58 +0000)]
Pull down should start search. b/
31458165
am:
46133612b4
Change-Id: I1147a69e6dd9fbfb614b8740a30e6c840948435a
Hyunyoung Song [Thu, 15 Sep 2016 17:48:25 +0000 (10:48 -0700)]
Pull down should start search.
b/
31458165
Change-Id: If4821e3d89a05a00551af6a5209ebc1693a1389b
Sunny Goyal [Tue, 13 Sep 2016 22:03:06 +0000 (22:03 +0000)]
Simplifying the startSearch call in launcher callbacks
am:
6f28e71e94
Change-Id: I1f450940d01acc479b8363b3bd10eb7fe70ae249
Sunny Goyal [Tue, 13 Sep 2016 21:19:29 +0000 (14:19 -0700)]
Simplifying the startSearch call in launcher callbacks
Change-Id: I722e110903cced237f05667c4d711468d7cd3daa
Sunny Goyal [Mon, 12 Sep 2016 22:16:57 +0000 (15:16 -0700)]
Fixing broken build
Change-Id: I2429244ff6c9a08ca7c1ab224bb7aad031d76574
Sunny Goyal [Mon, 12 Sep 2016 21:58:54 +0000 (21:58 +0000)]
Adding support for multiwindow drag and drop
am:
d139b0aa7d
Change-Id: Ie2a41a3e355ff502a870bde5c8be2576b8712bf7
Sunny Goyal [Mon, 12 Sep 2016 21:36:30 +0000 (14:36 -0700)]
Adding support for multiwindow drag and drop
Change-Id: I95b46e3c3f1238307d3ef5a6c81a8e530ba0987a
Sunny Goyal [Mon, 12 Sep 2016 20:29:45 +0000 (20:29 +0000)]
Merge "Using DragObject for folder drop instead of maintaining states when drag starts from inside a folder" into ub-launcher3-calgary-polish
am:
1e35fbbac7
Change-Id: I82e18807efe254f86df434dc73c94f951f041c3a
Sunny Goyal [Mon, 12 Sep 2016 20:29:45 +0000 (20:29 +0000)]
Using DragObject for folder drop instead of maintaining states when drag starts from inside a folder
am:
e393d3af36
Change-Id: I44abfbed5ea0a8125b8c5ca50ecdf3a205de8775
Sunny Goyal [Mon, 12 Sep 2016 20:21:04 +0000 (20:21 +0000)]
Merge "Using DragObject for folder drop instead of maintaining states when drag starts from inside a folder" into ub-launcher3-calgary-polish
Sunny Goyal [Mon, 12 Sep 2016 18:19:08 +0000 (18:19 +0000)]
Merge "Fixing double system state call in iconCache" into ub-launcher3-calgary-polish
am:
0cf3265bd0
Change-Id: I1f2e4f1ae4222ca25aa5e9fbd6a5e6dc992ea1e9
Sunny Goyal [Mon, 12 Sep 2016 18:19:08 +0000 (18:19 +0000)]
Fixing double system state call in iconCache
am:
fd47652574
Change-Id: Ia2288bbd269480a3337b0f819e1c8a9a05140294
Sunny Goyal [Mon, 12 Sep 2016 18:19:07 +0000 (18:19 +0000)]
Merge "Adding support for searching word segments when camelcase is used in the title" into ub-launcher3-calgary-polish
am:
9c41f94b5b
Change-Id: I8d68ca9eaa36b7c447a2a8b793dc7c62f917096b
Sunny Goyal [Mon, 12 Sep 2016 18:19:06 +0000 (18:19 +0000)]
Adding support for searching word segments when camelcase is used in the title
am:
e4a3e0cfaf
Change-Id: I98380419701f598ac87bf81d3c173bf26b5281e6
Sunny Goyal [Mon, 12 Sep 2016 18:10:29 +0000 (18:10 +0000)]
Merge "Fixing double system state call in iconCache" into ub-launcher3-calgary-polish
Sunny Goyal [Mon, 12 Sep 2016 18:09:48 +0000 (18:09 +0000)]
Merge "Adding support for searching word segments when camelcase is used in the title" into ub-launcher3-calgary-polish
Sunny Goyal [Sun, 11 Sep 2016 21:48:39 +0000 (14:48 -0700)]
Fixing double system state call in iconCache
Change-Id: I6d43c8054c18e199f4343662f92631f0808c773e
Sunny Goyal [Fri, 9 Sep 2016 03:31:38 +0000 (20:31 -0700)]
Adding support for searching word segments when camelcase is used in the title
Bug:
30880421
Change-Id: If642d24408fe0e80b5a0dd9a2a57d2f3c2d92ea9
Sunny Goyal [Fri, 9 Sep 2016 19:42:10 +0000 (12:42 -0700)]
Using DragObject for folder drop instead of maintaining states when
drag starts from inside a folder
Change-Id: I073b59c194d0bd483d579bbcb638b116b09590a0
Sunny Goyal [Sat, 10 Sep 2016 00:13:46 +0000 (00:13 +0000)]
Merge "Preventing a shortcut which requires permissions from being added to homescreen" into ub-launcher3-calgary-polish
am:
acd0c4204b
Change-Id: Ide95340d3a4589a15bcb076e56f75da3a6e3c204
Sunny Goyal [Sat, 10 Sep 2016 00:13:45 +0000 (00:13 +0000)]
Preventing a shortcut which requires permissions from being added to homescreen
am:
fb5096d07b
Change-Id: Iac143134ac7679200fb1290072ec620d2a9bc131
Sunny Goyal [Sat, 10 Sep 2016 00:04:51 +0000 (00:04 +0000)]
Merge "Preventing a shortcut which requires permissions from being added to homescreen" into ub-launcher3-calgary-polish
Hyunyoung Song [Fri, 9 Sep 2016 22:18:36 +0000 (22:18 +0000)]
Merge "Show IME when search query != null after rotation" into ub-launcher3-calgary-polish
am:
915d56abc7
Change-Id: Iba9e2b716a7901e498b72470c241a1962dc2a2bf
Hyunyoung Song [Fri, 9 Sep 2016 22:18:36 +0000 (22:18 +0000)]
Show IME when search query != null after rotation
am:
c2fe1147f9
Change-Id: I9b7b139f5675edec9aff4968cef7780b48ff2165
Hyunyoung Song [Fri, 9 Sep 2016 22:13:33 +0000 (22:13 +0000)]
Merge "Show IME when search query != null after rotation" into ub-launcher3-calgary-polish
Hyunyoung Song [Fri, 9 Sep 2016 22:02:20 +0000 (15:02 -0700)]
Show IME when search query != null after rotation
Change-Id: Ia35fba140a5addc21bf347cd63b72dc4e357421e
Sunny Goyal [Fri, 2 Sep 2016 00:24:47 +0000 (17:24 -0700)]
Separating all the static data in a separate class, BgDataModel.
This will allow moving all the Tasks defined in LauncherModel as
separate intependent classes
Change-Id: I0b2f82b90dc22590eb1cc360a5690e2e7f857b5c
Sunny Goyal [Fri, 9 Sep 2016 19:49:34 +0000 (19:49 +0000)]
Merge "Using ItemInfoMatcher in place of similar interfaces and utility methods" into ub-launcher3-master
Tony Wickham [Fri, 9 Sep 2016 00:07:48 +0000 (00:07 +0000)]
Merge "Fix deferred shortcut container removal." into ub-launcher3-calgary-polish
am:
40851b637e
Change-Id: Ibdd247c65f7ab6b11f8a7e92a28c2b596af83131
Tony Wickham [Fri, 9 Sep 2016 00:07:47 +0000 (00:07 +0000)]
Fix deferred shortcut container removal.
am:
ec383dfc63
Change-Id: I3a2d582f3834f9034e46eebd67815fa890b520b0
Tony Wickham [Fri, 9 Sep 2016 00:07:46 +0000 (00:07 +0000)]
Merge "Don't show app info for ITEM_TYPE_SHORTCUT." into ub-launcher3-calgary-polish
am:
eafe9291c5
Change-Id: If5417b87549274c228a2a1719eef64131c4202e4
Tony Wickham [Fri, 9 Sep 2016 00:07:46 +0000 (00:07 +0000)]
Don't show app info for ITEM_TYPE_SHORTCUT.
am:
252f0a3321
Change-Id: I7af83f1bce7dcc4c6f1b3762f8907148ccaf5fe5
TreeHugger Robot [Fri, 9 Sep 2016 00:02:39 +0000 (00:02 +0000)]
Merge "Fix deferred shortcut container removal." into ub-launcher3-calgary-polish
TreeHugger Robot [Fri, 9 Sep 2016 00:02:35 +0000 (00:02 +0000)]
Merge "Don't show app info for ITEM_TYPE_SHORTCUT." into ub-launcher3-calgary-polish
Sunny Goyal [Thu, 1 Sep 2016 22:17:46 +0000 (15:17 -0700)]
Using ItemInfoMatcher in place of similar interfaces and utility methods
Change-Id: I7337b819fe8f42f7a5a1481b5ed5d99a8cf583c4
Tony Wickham [Thu, 8 Sep 2016 22:00:24 +0000 (15:00 -0700)]
Don't show app info for ITEM_TYPE_SHORTCUT.
Bug:
30440566
Change-Id: I77b101331ea249c633be9f7df1edebefa7b9e0a8
Sunny Goyal [Thu, 8 Sep 2016 21:41:36 +0000 (21:41 +0000)]
Merge "Launcher restore state fixes:" into ub-launcher3-calgary-polish
am:
add78abb98
Change-Id: Ib1b5e20228098cc4a09e4e547faf3c69e4119261
Sunny Goyal [Thu, 8 Sep 2016 21:41:36 +0000 (21:41 +0000)]
Launcher restore state fixes:
am:
2100c78bd9
Change-Id: I8de4f0c98cff8764a764c06efeade9d6a26319dd
Sunny Goyal [Thu, 8 Sep 2016 21:32:06 +0000 (14:32 -0700)]
Preventing a shortcut which requires permissions from being added to
homescreen
A shortcut can be added by any app as INSTALL_SHORTCUT is a normal
level permission. But the intent is actually launched by the launcher
app which can have other permission as well.
> When adding a shortcut from the broadcast, verify that the intent does
not require any permission
> When adding a shortcut using the two-step drop process, verify that
the source app also has the permission to create such a shortcut
Bug:
30778130
Change-Id: I710a490d69019dc25709db5a97020c20d9325007
Sunny Goyal [Thu, 8 Sep 2016 21:30:45 +0000 (21:30 +0000)]
Merge "Launcher restore state fixes:" into ub-launcher3-calgary-polish
Tony Wickham [Thu, 8 Sep 2016 21:20:48 +0000 (14:20 -0700)]
Don't close all apps when touching deep shortcuts container.
Bug:
31373894
Change-Id: Ica1d0c2318e8f5d3e45196174c9b495a1c2515cd
Tony Wickham [Thu, 8 Sep 2016 20:58:35 +0000 (13:58 -0700)]
Fix deferred shortcut container removal.
- Previously, the drag listener listener was removed from the
container as soon as it started animating closed, which got
rid of its opportunity to complete the deferred removal.
- The deferred removal now calls close(), which does further
cleanup including updating the app icon's text visibility.
Bug:
31248681
Change-Id: I18e545e7e19e50b7d47e23a5beb8f254ba1a4ccf
Sunny Goyal [Thu, 8 Sep 2016 20:24:35 +0000 (20:24 +0000)]
Merge "Updating the assets for the all-apps search background." into ub-launcher3-calgary-polish
am:
b2dbc56568
Change-Id: Ie272a4cfcf0aa20bbf417051bb69aee5b6a2f51e
Sunny Goyal [Thu, 8 Sep 2016 20:24:34 +0000 (20:24 +0000)]
Updating the assets for the all-apps search background.
am:
57b4006d52
Change-Id: I7e9f0c1f350ddfe77b53b141b9e4367100603c8d
Sunny Goyal [Thu, 8 Sep 2016 20:16:48 +0000 (20:16 +0000)]
Merge "Updating the assets for the all-apps search background." into ub-launcher3-calgary-polish
Sunny Goyal [Fri, 2 Sep 2016 20:21:00 +0000 (13:21 -0700)]
Updating the assets for the all-apps search background.
Bug:
30309105
Change-Id: I4dd4a97ff49fd3c6dd386f100ca35dfb629044df
Tony Wickham [Thu, 8 Sep 2016 17:10:20 +0000 (17:10 +0000)]
Merge "Add outline to shortcuts when focused." into ub-launcher3-calgary-polish
am:
285c76dded
Change-Id: Ie2192bc0be33661ace27f1b96d2dc1dbc3e29f10
Tony Wickham [Thu, 8 Sep 2016 17:10:19 +0000 (17:10 +0000)]
Add outline to shortcuts when focused.
am:
8dd5168b05
Change-Id: Ibb0331561129d42ee83821bfa284689e2e0633c6
Tony Wickham [Thu, 8 Sep 2016 17:04:40 +0000 (17:04 +0000)]
Merge "Add outline to shortcuts when focused." into ub-launcher3-calgary-polish
Tony Wickham [Wed, 31 Aug 2016 20:30:27 +0000 (13:30 -0700)]
Add outline to shortcuts when focused.
Bug:
30563273
Change-Id: Ia54c112dcf91c225588b7388001eb93ee5c03171
Hyunyoung Song [Wed, 7 Sep 2016 22:43:20 +0000 (22:43 +0000)]
Change all apps caret target bounding box b/
30400751 am:
da1c17c492
am:
621ae5c2e6
Change-Id: I770f5a0b080bb6528d80ac157afd4663d0fae5ea
Hyunyoung Song [Wed, 7 Sep 2016 22:40:49 +0000 (22:40 +0000)]
Change all apps caret target bounding box b/
30400751
am:
da1c17c492
Change-Id: Ic3b9cc87ec75e13162588bab8cefe8f870af13f8
Sunny Goyal [Wed, 7 Sep 2016 21:57:48 +0000 (21:57 +0000)]
Merge "Preventing concurrentmodification exception when dragging a icon with shortcuts from inside a folder" into ub-launcher3-calgary-polish
am:
27d10940d2
Change-Id: I71319a1c73da63640370508b17cb6c7fab4a223e
Sunny Goyal [Wed, 7 Sep 2016 21:57:48 +0000 (21:57 +0000)]
Preventing concurrentmodification exception when dragging a icon with shortcuts from inside a folder
am:
d0d495f508
Change-Id: I9254264ae8a85f013efc0966fcf05ad826ca4790
Hyunyoung Song [Wed, 7 Sep 2016 21:57:47 +0000 (21:57 +0000)]
Merge "Change all apps caret target bounding box b/
30400751" into ub-launcher3-calgary-polish
am:
5f4d130d87
Change-Id: I84d1d5905fadd3476415e996669fe51351ddd296
Hyunyoung Song [Wed, 7 Sep 2016 21:57:47 +0000 (21:57 +0000)]
Change all apps caret target bounding box b/
30400751
am:
016eaeea99
Change-Id: Ib1b820557cd4ab1e404629df93231705f00ee5cd
Sunny Goyal [Wed, 7 Sep 2016 21:48:50 +0000 (21:48 +0000)]
Merge "Preventing concurrentmodification exception when dragging a icon with shortcuts from inside a folder" into ub-launcher3-calgary-polish
Hyunyoung Song [Wed, 7 Sep 2016 21:45:09 +0000 (14:45 -0700)]
Change all apps caret target bounding box
b/
30400751
1) This also fixes the issue of apps drawer sliding up when page is swiped
horizontally immediately above the hotseat area.
2) Disclaimer: this should be cp'ed to calgary.
Hence, I tried to keep the diff small. Ideally, CaretDrawable animation
handling should move to AllAppsHandleImageView via refactoring in
follow up CL.
Change-Id: I4d808ee2eeca53b40c0b4e4e0e364fef056e26c3
(cherry picked from commit
016eaeea99e163f0b5385cf660297e6c21ff21e5)
Hyunyoung Song [Wed, 7 Sep 2016 21:46:04 +0000 (21:46 +0000)]
Merge "Change all apps caret target bounding box b/
30400751" into ub-launcher3-calgary-polish
Hyunyoung Song [Wed, 7 Sep 2016 21:45:09 +0000 (14:45 -0700)]
Change all apps caret target bounding box
b/
30400751
1) This also fixes the issue of apps drawer sliding up when page is swiped
horizontally immediately above the hotseat area.
2) Disclaimer: this should be cp'ed to calgary.
Hence, I tried to keep the diff small. Ideally, CaretDrawable animation
handling should move to AllAppsHandleImageView via refactoring in
follow up CL.
Change-Id: I4d808ee2eeca53b40c0b4e4e0e364fef056e26c3
Sunny Goyal [Wed, 7 Sep 2016 21:39:41 +0000 (14:39 -0700)]
Preventing concurrentmodification exception when dragging a icon
with shortcuts from inside a folder
When dragging the icon, DeepShortcutContainer removes itself as a
dragListener causing the exception
Change-Id: Ifb2b4a3045caa54aa0b6a9b525055ffdcfaa04a6
Sunny Goyal [Mon, 22 Aug 2016 23:00:03 +0000 (16:00 -0700)]
Launcher restore state fixes:
> Creating PendingRequestArgs to store generic request info across
activity instances
> Storing the CALL_PHONE request in PendingRequestArgs
> Handling onActivityResult only after the workspace has loaded.
onActivityResult sometimes modifies launcher db when removing empty
screens, and any add action is also deferred until bindComplete.
This simplifies this logic.
> Always binding the restored page irrespective of pending result.
Before starting a request activity (bind widget permission, or
widget config activity or shortcut picker), workspace commits the
pending screen id to the DB. Hence the restore page is valid when
restore is called (onResume loads with currentPage instead of
restored page)
Bug:
28573143
Change-Id: I34be603cbeb2145f5caf0d18e016f50029e07df8
Hyunyoung Song [Tue, 6 Sep 2016 18:51:02 +0000 (18:51 +0000)]
Support user event logging for drag and drop b/
30039490 am:
551e5abfe1 -s ours
am:
9b7149db40
Change-Id: I2f5f6083b2a29d1bcb41e3f35760a5f3a4d314f5
Hyunyoung Song [Tue, 6 Sep 2016 18:47:31 +0000 (18:47 +0000)]
Support user event logging for drag and drop b/
30039490
am:
551e5abfe1 -s ours
Change-Id: Ie1edd18af660437dcbd510885f9101b93592b53f
Hyunyoung Song [Thu, 1 Sep 2016 19:47:12 +0000 (12:47 -0700)]
Support user event logging for drag and drop
b/
30039490
Supported in this CL:
- DnD: drag from container [WORKSPACE|HOTSEAT|FOLDER|ALLAPPS|WIDGETS|DEEPSHORTCUTS]
drag to container [HOTSEAT,WORKSPACE,FOLDER,DROPTARGETS]
- Source and target can be [FOLDER_ICON, ICON, DEEPSHORTCUT, WIDGET]
- $ adb shell setprop log.tag.UserEvent DEBUG will turn on debugging
Change-Id: I0b8b879b80e6dce85bbde6e7794f9e0677832603
(cherry picked from commit
59a238095e82fd02355f4cb53abe01655a50b051)