Commit Graph

49925 Commits

Author SHA1 Message Date
Bill Yi a981886821 Import translations. DO NOT MERGE
Change-Id: I343b48a459a76f8095562da1d4e6b06ec58acb37
Auto-generated-cl: translation import
2016-09-22 00:18:16 -07:00
Bill Yi 0fe66d46ae Import translations. DO NOT MERGE
Change-Id: Idd135c03ff2a6ff9d08ca6c4e9e5ec6ae1520efa
Auto-generated-cl: translation import
2016-09-22 00:17:47 -07:00
Hyunyoung Song 5fc2f9928e Merge "Make IME less sticky when launching a new app b/31382106" into ub-launcher3-calgary-polish
am: 1c8c3c1f05

Change-Id: Icbb7207443592d97922cfeeab384e83ee0b8e019
2016-09-22 00:30:50 +00:00
Hyunyoung Song 2cc3d6647b Make IME less sticky when launching a new app b/31382106
am: 7e83ab90ae

Change-Id: I1f3fac72ce6ba14ea0c116f71f398ff2727469af
2016-09-22 00:30:49 +00:00
Hyunyoung Song 1c8c3c1f05 Merge "Make IME less sticky when launching a new app b/31382106" into ub-launcher3-calgary-polish 2016-09-22 00:10:56 +00:00
Hyunyoung Song 7e83ab90ae Make IME less sticky when launching a new app
b/31382106

Change-Id: Iee60a2f7e6a70858623e80d4b8b68154d1941210
2016-09-21 17:03:56 -07:00
Sunny Goyal 26b839d8f6 Preventing a shortcut which requires permissions from being added to homescreen am: 116d34bc63 am: 0754b948eb am: 9ee10983f7
am: 31c3f9f59c

Change-Id: I3df72127a4981d26e796e8106848f12a6bc5725b
2016-09-21 21:28:39 +00:00
Sunny Goyal 31c3f9f59c Preventing a shortcut which requires permissions from being added to homescreen am: 116d34bc63 am: 0754b948eb
am: 9ee10983f7

Change-Id: Iefba60f22be62f411491e87f6806144a9fa67f39
2016-09-21 21:25:38 +00:00
Sunny Goyal 9ee10983f7 Preventing a shortcut which requires permissions from being added to homescreen am: 116d34bc63
am: 0754b948eb

Change-Id: Ic4b126bd201ad8b48180dc562dbfbde60ce2b4d4
2016-09-21 21:23:08 +00:00
Sunny Goyal 7354c012c0 Preventing a shortcut which requires permissions from being added to homescreen am: 116d34bc63
am: 528c8f3c92

Change-Id: I2df9080d6da2b534cd981d5c8d52e5addff9cafe
2016-09-21 21:23:07 +00:00
Sunny Goyal 0754b948eb Preventing a shortcut which requires permissions from being added to homescreen
am: 116d34bc63

Change-Id: Ibf7052bdefcffecad3940dc3fe0c04b37eb877b8
2016-09-21 21:20:37 +00:00
Sunny Goyal 528c8f3c92 Preventing a shortcut which requires permissions from being added to homescreen
am: 116d34bc63

Change-Id: Iefb8b5cc6962635fd2483585439389f309e34733
2016-09-21 21:20:37 +00:00
Sunny Goyal 116d34bc63 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: I33a391bc0af81248aaff4459aaa79d1adc77926b
(cherry picked from commit fb5096d07b)
2016-09-21 20:12:20 +00:00
Shankhoneer Chakrovarty b836dc3384 Merge "Created include filters for jacoco" into ub-launcher3-calgary am: d6925a9f70
am: 98c7c2fc80

Change-Id: Iff4f4e0648251fbc3823c0d3bf079ee2824f0e56
2016-09-21 19:55:58 +00:00
Shankhoneer Chakrovarty 56b7f276a3 Created include filters for jacoco am: 687c345f9e
am: 62f55c0d1a

Change-Id: Ie6d60eb3bc8623e3fdd607a41f26fc8f43f61242
2016-09-21 19:55:50 +00:00
Shankhoneer Chakrovarty 98c7c2fc80 Merge "Created include filters for jacoco" into ub-launcher3-calgary
am: d6925a9f70

Change-Id: I163101ef0a64eb38e47597db49b644290d5bb3c3
2016-09-21 19:53:20 +00:00
Shankhoneer Chakrovarty 62f55c0d1a Created include filters for jacoco
am: 687c345f9e

Change-Id: Iba826f45c2a0c0d5952090d2f454f18c7534403d
2016-09-21 19:53:20 +00:00
Shankhoneer Chakrovarty d6925a9f70 Merge "Created include filters for jacoco" into ub-launcher3-calgary 2016-09-21 19:47:05 +00:00
Hyunyoung Song 0a9c092c89 Fixing two critical bugs in all apps transition controller
bug#1: if long press from page indicator region, you can pull up all apps
even though the workspace is in overview state.

bug#2: all apps should not intercept touch not only in overview mode
but also in any modal state.

Change-Id: I91c0a181f037f6c2465a983825da3a2da7e2920f
2016-09-20 22:50:06 -07:00
Tony Wickham dbf08b4aee Stop jumping to workspace from hotseat on quick drop.
Regression occurred in ag/1315317.

In that change, Launcher#enterSpringLoadedDragMode() was moved from
the end of startDrag() to the end of onDragStart(). This changed the
sequence of events from:

beginDragShared() --> DragController#startDrag() --> onDragStart -->
dropTarget.onDragOver() --> Launcher#enterSpringLoadedDragMode()

to:

beginDragShared() --> DragController#startDrag() --> onDragStart -->
Launcher#enterSpringLoadedDragMode() --> onDragOver()

Basically, the key difference is that onDragOver() is called after
enterSpringLoadedDragMode(). This matters, because onDragOver()
returns early if Workspace#transitionStateShouldAllowDrop() returns
false, which it does during the spring loaded transition. This meant
that onDragOver() didn't update the layout to be Hotseat, and thus
the current workspace page was used as default, since that is what
was set in onDragEnter(). To fix it, I've copied the logic in
onDragOver() that checks to see if the drag is over the hotseat first
to a new method that onDragEnter() now calls as well.

Bug: 31245181
Change-Id: Ie758921b25fc96516a09c32bdc9706da941522df
2016-09-20 16:48:42 -07:00
Hyunyoung Song f09bfab404 Merge "Fix ExtendedEditText not handling touch correctly b/31555902" into ub-launcher3-calgary-polish
am: 13c14c8f8c

Change-Id: I6dfc939480c54909e34e5ae6747bd22e86fa5368
2016-09-20 21:50:27 +00:00
Hyunyoung Song c7be9c576e Fix ExtendedEditText not handling touch correctly b/31555902
am: 3f9d647de6

Change-Id: I8222f4f386f3322d167bce070070bf473685d789
2016-09-20 21:50:26 +00:00
Hyunyoung Song 13c14c8f8c Merge "Fix ExtendedEditText not handling touch correctly b/31555902" into ub-launcher3-calgary-polish 2016-09-20 21:10:35 +00:00
Tony Wickham a2757345fe Merge "When shortcuts close, only set text visible if not in hotseat." into ub-launcher3-calgary-polish
am: 4125386687

Change-Id: I10a7cdd6b8eb49633afa4e07e0e1a184760786e5
2016-09-20 21:05:18 +00:00
Tony Wickham daf30c1505 When shortcuts close, only set text visible if not in hotseat.
am: 12624a5a17

Change-Id: I0c6fedcb89d626e3bddca98610ec3da808cdc68e
2016-09-20 21:05:17 +00:00
Tony Wickham 4125386687 Merge "When shortcuts close, only set text visible if not in hotseat." into ub-launcher3-calgary-polish 2016-09-20 20:49:37 +00:00
Hyunyoung Song 3f9d647de6 Fix ExtendedEditText not handling touch correctly
b/31555902

Change-Id: Ife23cf6af29ac47315aee4abc0ffe2dbcde352f9
2016-09-20 12:37:41 -07:00
Shankhoneer Chakrovarty 687c345f9e Created include filters for jacoco
Go to for report: https://cnsviewer.corp.google.com/ear/cns/on-d/home/android-test/kharon/shankh/world/test_logs/ub-launcher3-calgary/0/CodeCoverage/inv_5368912399306607305/coverage_8663315225010526892.ear/index.html
go to https://x20web.corp.google.com/users/sh/shankh/coverage/index.html for source code level code coverage statistics

Bug: 29882934

Change-Id: I397537f45ac4611e8a97d4656d0e7d2b694688fc
2016-09-20 12:14:48 -07:00
Jonathan Miranda 62891bca45 Merge "Only reset search field when back key is hit if there is no query." into ub-launcher3-calgary-polish
am: 6a7ca92f72

Change-Id: Ib3212c0a393d6e4ccf8e56a456b8642d10e65287
2016-09-19 23:19:31 +00:00
Jon Miranda d450161a2e Only reset search field when back key is hit if there is no query.
am: bb918b3532

Change-Id: Icc66e5fcd8686b4280f4e21be8e1e6464cf9d874
2016-09-19 23:19:29 +00:00
Jonathan Miranda 1fd8f378a9 Merge "Add context to widget dimensions for accessibility." into ub-launcher3-calgary-polish
am: 41be5cdea5

Change-Id: Ib40c4281cfa97daa006ee3a8e782f166cfcbeb00
2016-09-19 23:19:14 +00:00
Jon Miranda f944860db6 Add context to widget dimensions for accessibility.
am: 6c61323998

Change-Id: I5cd9cce4d842a17bafc68b31a09dcf0a62949c1e
2016-09-19 23:19:13 +00:00
Jonathan Miranda 6a7ca92f72 Merge "Only reset search field when back key is hit if there is no query." into ub-launcher3-calgary-polish 2016-09-19 23:08:42 +00:00
Jonathan Miranda 41be5cdea5 Merge "Add context to widget dimensions for accessibility." into ub-launcher3-calgary-polish 2016-09-19 23:04:11 +00:00
Jon Miranda 018530c41e Uses a TransformingTouchDelegate to extend touch target for widgets list. am: 0ef81fdc22
am: 48542731c5

Change-Id: Ia2bd1b6e5203f40ce3ef75a05712ee63ccfbf3e3
2016-09-19 21:49:27 +00:00
Jon Miranda 48542731c5 Uses a TransformingTouchDelegate to extend touch target for widgets list.
am: 0ef81fdc22

Change-Id: I33962020ff1cf75e46254c24687a53fd5b2088fa
2016-09-19 21:43:54 +00:00
Jon Miranda 0ef81fdc22 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
2016-09-19 13:08:43 -07:00
Jon Miranda 6c61323998 Add context to widget dimensions for accessibility.
Bug: 19085860
Change-Id: Ia28c2c14b93945d796226eea3de040e971fd42f0
2016-09-19 11:25:39 -07:00
Sunny Goyal 024cda77cc Merge "Updating the paddings in folder cell" into ub-launcher3-calgary-polish
am: d1e5b5ceaa

Change-Id: I23ffc16834bab24d3874c204ea4131e95cf7d20e
2016-09-19 16:39:23 +00:00
Sunny Goyal 290e9e2807 Updating the paddings in folder cell
am: baec6ffae2

Change-Id: I4bfa78ade93639d3864baeeb5028b9caa3935c29
2016-09-19 16:39:23 +00:00
Sunny Goyal d1e5b5ceaa Merge "Updating the paddings in folder cell" into ub-launcher3-calgary-polish 2016-09-19 16:33:40 +00:00
Jon Miranda bb918b3532 Only reset search field when back key is hit if there is no query.
Bug: 31432372
Change-Id: I93c7ee661597f934402f464c4f0182a8fad38d39
2016-09-19 09:31:56 -07:00
Hyunyoung Song 8260e0da8b 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
2016-09-16 19:47:02 +00:00
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 80e6aa4b01 Merge "Fixing issue where overview->normal workspace mode cannot be done by tapping b/31458165" into ub-launcher3-calgary-polish 2016-09-16 19:34:40 +00:00
Sunny Goyal baec6ffae2 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
2016-09-16 12:05:02 -07: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 5e4d87bec2 Merge "Don't close all apps when touching deep shortcuts container." into ub-launcher3-calgary-polish
am: f595f3de0f

Change-Id: I46ea15877619d6a179e8a79401367e4f13873028
2016-09-16 18:52:22 +00: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
Tony Wickham f595f3de0f Merge "Don't close all apps when touching deep shortcuts container." into ub-launcher3-calgary-polish 2016-09-16 18:47:48 +00:00