Commit Graph

5772 Commits

Author SHA1 Message Date
Hyunyoung Song cbf371cddc Fixing issue where overview->normal workspace mode cannot be done by tapping b/31458165
am: f99370c2a9

Change-Id: Id5c7b068fae21a2c4941390bf99db413581ede44
2016-09-16 19:45:06 +00:00
Hyunyoung Song f99370c2a9 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
2016-09-16 12:03:27 -07:00
Tony Wickham c145b55afa Don't close all apps when touching deep shortcuts container.
am: 946f85060a

Change-Id: I5966cc024c9ac1e60ebb4ded18df8430dbc68513
2016-09-16 18:52:21 +00:00
Hyunyoung Song 859634d763 Set contentDescription on caret
am: c5afad6eb9

Change-Id: Ibea35c8fe58d7db0bcbddb41ae6e24ef7804dde0
2016-09-15 23:35:30 +00:00
Hyunyoung Song c5afad6eb9 Set contentDescription on caret
Change-Id: I1f66b96b3f94649d85857b0107144bb4070ef448
2016-09-15 16:19:14 -07:00
Jon Miranda 51cf50acb6 Use ContextCompat.getColor to support API levels below 23.
am: 488d8adeb8

Change-Id: I153c4d57effecf1a59bc92884e0da48660f84870
2016-09-15 22:21:16 +00:00
Jon Miranda 488d8adeb8 Use ContextCompat.getColor to support API levels below 23.
Found while debugging on Lollipop.

Change-Id: Ibe97fd30c4ee8cd0c1735a41802b859345f9e931
2016-09-15 15:05:12 -07:00
Sunny Goyal 590b54c017 Adding support for extending the touch target in the touchDelegate am: 1cc48e1d0c
am: 9784572c47

Change-Id: I0ec99d77913f1c5d3d6da0ba6b667c830b2e8ce2
2016-09-15 21:35:37 +00:00
Sunny Goyal 9784572c47 Adding support for extending the touch target in the touchDelegate
am: 1cc48e1d0c

Change-Id: I29ce4b52a2b687f73b2db4ddb633210e905aad69
2016-09-15 21:33:10 +00:00
Jon Miranda e0cfe60ecd Fix bug where page indicator animation repeats itself.
am: 3f9d6278e3

Change-Id: Icb431b7c6cc1ea05c8d3e2e09a75f28956a9c15b
2016-09-15 20:58:00 +00:00
Sunny Goyal 1cc48e1d0c Adding support for extending the touch target in the touchDelegate
Bug: 31458312
Change-Id: Ic819bdede2776ff63ec17053cc1326415edc1ca0
2016-09-15 13:37:13 -07:00
Jon Miranda 3f9d6278e3 Fix bug where page indicator animation repeats itself.
Bug: 31501865
Change-Id: I0df77859b82b60fd0e50023e0f5690961850cf6c
2016-09-15 12:40:18 -07:00
Hyunyoung Song ae02616a17 Pull down should start search. b/31458165
am: 46133612b4

Change-Id: I1147a69e6dd9fbfb614b8740a30e6c840948435a
2016-09-15 17:58:47 +00:00
Hyunyoung Song 46133612b4 Pull down should start search.
b/31458165

Change-Id: If4821e3d89a05a00551af6a5209ebc1693a1389b
2016-09-15 10:48:25 -07:00
Sunny Goyal 703bad8a26 Simplifying the startSearch call in launcher callbacks
am: 6f28e71e94

Change-Id: I1f450940d01acc479b8363b3bd10eb7fe70ae249
2016-09-13 22:03:06 +00:00
Sunny Goyal 6f28e71e94 Simplifying the startSearch call in launcher callbacks
Change-Id: I722e110903cced237f05667c4d711468d7cd3daa
2016-09-13 14:22:31 -07:00
Sunny Goyal 9d7b94c459 Fixing broken build
Change-Id: I2429244ff6c9a08ca7c1ab224bb7aad031d76574
2016-09-12 15:17:05 -07:00
Sunny Goyal ad0b6c1e18 Adding support for multiwindow drag and drop
am: d139b0aa7d

Change-Id: Ie2a41a3e355ff502a870bde5c8be2576b8712bf7
2016-09-12 21:58:54 +00:00
Sunny Goyal d139b0aa7d Adding support for multiwindow drag and drop
Change-Id: I95b46e3c3f1238307d3ef5a6c81a8e530ba0987a
2016-09-12 14:37:46 -07:00
Sunny Goyal 2eea42fcb9 Using DragObject for folder drop instead of maintaining states when drag starts from inside a folder
am: e393d3af36

Change-Id: I44abfbed5ea0a8125b8c5ca50ecdf3a205de8775
2016-09-12 20:29:45 +00:00
Sunny Goyal 1e35fbbac7 Merge "Using DragObject for folder drop instead of maintaining states when drag starts from inside a folder" into ub-launcher3-calgary-polish 2016-09-12 20:21:04 +00:00
Sunny Goyal eae23e4520 Fixing double system state call in iconCache
am: fd47652574

Change-Id: Ia2288bbd269480a3337b0f819e1c8a9a05140294
2016-09-12 18:19:08 +00:00
Sunny Goyal cc555bbc9e Adding support for searching word segments when camelcase is used in the title
am: e4a3e0cfaf

Change-Id: I98380419701f598ac87bf81d3c173bf26b5281e6
2016-09-12 18:19:06 +00:00
Sunny Goyal 0cf3265bd0 Merge "Fixing double system state call in iconCache" into ub-launcher3-calgary-polish 2016-09-12 18:10:29 +00:00
Sunny Goyal 9c41f94b5b Merge "Adding support for searching word segments when camelcase is used in the title" into ub-launcher3-calgary-polish 2016-09-12 18:09:49 +00:00
Sunny Goyal fd47652574 Fixing double system state call in iconCache
Change-Id: I6d43c8054c18e199f4343662f92631f0808c773e
2016-09-11 14:49:18 -07:00
Sunny Goyal e4a3e0cfaf Adding support for searching word segments when camelcase is used in the title
Bug: 30880421
Change-Id: If642d24408fe0e80b5a0dd9a2a57d2f3c2d92ea9
2016-09-09 18:11:35 -07:00
Sunny Goyal e393d3af36 Using DragObject for folder drop instead of maintaining states when
drag starts from inside a folder

Change-Id: I073b59c194d0bd483d579bbcb638b116b09590a0
2016-09-09 17:25:38 -07:00
Sunny Goyal 7616f8deff Preventing a shortcut which requires permissions from being added to homescreen
am: fb5096d07b

Change-Id: Iac143134ac7679200fb1290072ec620d2a9bc131
2016-09-10 00:13:45 +00:00
Sunny Goyal acd0c4204b Merge "Preventing a shortcut which requires permissions from being added to homescreen" into ub-launcher3-calgary-polish 2016-09-10 00:04:51 +00:00
Hyunyoung Song 4a652835fd Show IME when search query != null after rotation
am: c2fe1147f9

Change-Id: I9b7b139f5675edec9aff4968cef7780b48ff2165
2016-09-09 22:18:36 +00:00
Hyunyoung Song 915d56abc7 Merge "Show IME when search query != null after rotation" into ub-launcher3-calgary-polish 2016-09-09 22:13:33 +00:00
Hyunyoung Song c2fe1147f9 Show IME when search query != null after rotation
Change-Id: Ia35fba140a5addc21bf347cd63b72dc4e357421e
2016-09-09 15:02:20 -07:00
Sunny Goyal e9956a76c9 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
2016-09-09 13:32:32 -07:00
Sunny Goyal b948d9ba02 Merge "Using ItemInfoMatcher in place of similar interfaces and utility methods" into ub-launcher3-master 2016-09-09 19:49:34 +00:00
Tony Wickham 01486a1e65 Fix deferred shortcut container removal.
am: ec383dfc63

Change-Id: I3a2d582f3834f9034e46eebd67815fa890b520b0
2016-09-09 00:07:47 +00:00
Tony Wickham b9305b1727 Don't show app info for ITEM_TYPE_SHORTCUT.
am: 252f0a3321

Change-Id: I7af83f1bce7dcc4c6f1b3762f8907148ccaf5fe5
2016-09-09 00:07:46 +00:00
TreeHugger Robot 40851b637e Merge "Fix deferred shortcut container removal." into ub-launcher3-calgary-polish 2016-09-09 00:02:39 +00:00
TreeHugger Robot eafe9291c5 Merge "Don't show app info for ITEM_TYPE_SHORTCUT." into ub-launcher3-calgary-polish 2016-09-09 00:02:35 +00:00
Sunny Goyal 40452cf468 Using ItemInfoMatcher in place of similar interfaces and utility methods
Change-Id: I7337b819fe8f42f7a5a1481b5ed5d99a8cf583c4
2016-09-08 15:39:50 -07:00
Tony Wickham 252f0a3321 Don't show app info for ITEM_TYPE_SHORTCUT.
Bug: 30440566
Change-Id: I77b101331ea249c633be9f7df1edebefa7b9e0a8
2016-09-08 15:00:24 -07:00
Sunny Goyal d668dfb497 Launcher restore state fixes:
am: 2100c78bd9

Change-Id: I8de4f0c98cff8764a764c06efeade9d6a26319dd
2016-09-08 21:41:36 +00:00
Sunny Goyal fb5096d07b 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
2016-09-08 14:41:01 -07:00
Sunny Goyal add78abb98 Merge "Launcher restore state fixes:" into ub-launcher3-calgary-polish 2016-09-08 21:30:45 +00:00
Tony Wickham 946f85060a Don't close all apps when touching deep shortcuts container.
Bug: 31373894
Change-Id: Ica1d0c2318e8f5d3e45196174c9b495a1c2515cd
2016-09-08 14:20:48 -07:00
Tony Wickham ec383dfc63 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
2016-09-08 13:58:35 -07:00
Sunny Goyal 7cdd3b265d Updating the assets for the all-apps search background.
am: 57b4006d52

Change-Id: I7e9f0c1f350ddfe77b53b141b9e4367100603c8d
2016-09-08 20:24:34 +00:00
Sunny Goyal b2dbc56568 Merge "Updating the assets for the all-apps search background." into ub-launcher3-calgary-polish 2016-09-08 20:16:49 +00:00
Sunny Goyal 57b4006d52 Updating the assets for the all-apps search background.
Bug: 30309105
Change-Id: I4dd4a97ff49fd3c6dd386f100ca35dfb629044df
2016-09-08 12:57:11 -07:00
Tony Wickham 8372ea1780 Add outline to shortcuts when focused.
am: 8dd5168b05

Change-Id: Ibb0331561129d42ee83821bfa284689e2e0633c6
2016-09-08 17:10:19 +00:00