Commit Graph

11803 Commits

Author SHA1 Message Date
Tony Wickham 47c5a49579 Remove DisallowIntercept runnable from ShortcutsContainerListener.
This was copied from ForwardingListener, which was used to prevent
scrollable parents from intercepting swipe gestures. We only use
long press, so we don't want to do this.

Bug: 30230790
Change-Id: Icbb692c1b46ad8287af2942baa452f3578fee679
2016-07-26 16:54:31 -07:00
Tony Wickham e9381d60cc Merge "Remove hover-to-launch gesture for shortcuts." into ub-launcher3-calgary 2016-07-26 23:11:08 +00:00
Tony Wickham bf0ee9a305 Remove hover-to-launch gesture for shortcuts.
- You can no longer long press and drag over shortcuts before
  lifting to launch them.
- Dragging in any direction past a threshold enters spring-loaded mode.

Bug: 28980830
Change-Id: I36bfc379cc983017456a3ef0314faa1ac9691c36
2016-07-26 15:55:11 -07:00
Sunny Goyal 984c260a98 Merge "Removing shadow and badging from the icon which is shown in the menu These are added as soon as the icon is added to the workspace" into ub-launcher3-calgary 2016-07-26 22:15:09 +00:00
Sunny Goyal 10923b30a2 Removing shadow and badging from the icon which is shown in the menu
These are added as soon as the icon is added to the workspace

Bug: 28980830
Change-Id: I725d2ee8994324f09d9ecf7bbbb0090a7ceb5769
2016-07-26 14:18:09 -07:00
Sunny Goyal 8c06310b06 Merge "Adding TransformingTouchDelegate to allow transforming touch events before sending to the delegate." into ub-launcher3-calgary 2016-07-26 17:55:58 +00:00
Sunny Goyal c664f24de2 Merge "Fixing regression where the source icon becomes visible while dragging" into ub-launcher3-calgary 2016-07-26 17:20:25 +00:00
Winson Chung 2f88ef34fb Merge "Ensure that we update the preview layout rule when not animating." into ub-launcher3-calgary 2016-07-26 16:47:50 +00:00
Sunny Goyal 6f155340b9 Merge "Added custom actions for showing the shortcuts menu and adding a quick action on the home screen" into ub-launcher3-calgary 2016-07-26 00:39:51 +00:00
Sunny Goyal 3ffa64df36 Added custom actions for showing the shortcuts menu and adding a quick action
on the home screen

Bug: 30374655
Change-Id: I2f3ae31f2fb2c09f64f2a47e95a9d25435f7efe2
2016-07-25 17:39:34 -07:00
Sunny Goyal 8f8f398941 Adjusting the text shadows
Bug: 30192204
Change-Id: I4a12246521c41146b801f326a3d37e88aa49b727
2016-07-25 17:34:09 -07:00
Winson 8f288aac99 Ensure that we update the preview layout rule when not animating.
Bug: 28166173
Change-Id: Ibf0245f2dd667216ccabb23a1b279b1801d60cac
2016-07-25 17:12:32 -07:00
Sunny Goyal e6fd19b19f Fixing regression where the source icon becomes visible while dragging
Bug: 30291280
Change-Id: I5687e00371315a318e8ff93dd3de4c5f437a6971
2016-07-25 15:22:27 -07:00
Hyunyoung Song 75df256cc1 Merge "Refresh the all apps container search result when apps are installed" into ub-launcher3-calgary 2016-07-25 21:28:23 +00:00
Hyunyoung Song f66b680239 Refresh the all apps container search result when apps are installed
b/30102209

> After user comes back from the play store after installing
the app that didn't exist when searched, the app will now be
shown in the filtered search result list.

Change-Id: Ia5fe501596127a7401928e5db2d6f425ad753701
2016-07-25 14:24:08 -07:00
Sunny Goyal b0e80bcee7 Fixing missed events during motion interaction
> Only ignoring touch events during the start of the motion events
> Handling action_cancel

Bug: 30291280
Change-Id: I4aa791b30c65ebaff90bb2f232d77de62ab6a033
2016-07-25 13:33:44 -07:00
Winson Chung 76acffce3d Merge "Ensure we still build the hw layers when pulling up all apps." into ub-launcher3-calgary 2016-07-25 18:32:06 +00:00
TreeHugger Robot e8af8a65bc Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary 2016-07-25 16:45:38 +00:00
Sunny Goyal 9b6e6ce381 Merge "Updating the search hint to contain the icon as a span object." into ub-launcher3-calgary 2016-07-25 16:39:24 +00:00
Bill Yi 87c235f2e4 Import translations. DO NOT MERGE
Change-Id: Ibe25b8c09e10130238dc0e9e73503825baaf604d
Auto-generated-cl: translation import
2016-07-25 08:58:38 -07:00
Winson fadbe8ffbd Fixing regression in folder positioning.
- When we had the search bar, the workspace padding always 
  accounted for the search bar (and therefor drop target bar) height
  when the folder opened.  Now that there is no padding on the top, we
  should offset the bar whenever possible to ensure that the drop target
  bar is visible.

Bug: 30110595
Change-Id: Ia9a8581981c777f2507b6bd880994a3dcfd52c39
2016-07-23 01:15:08 +00:00
Winson 61d9e78f23 Ensure we still build the hw layers when pulling up all apps.
Bug: 30310330
Change-Id: I0d9f2fe01230bdb333c098b5515fc196ac2da2dc
2016-07-22 15:07:23 -07:00
Hyunyoung Song 68f98ac102 Long press on the caret should start search on all apps container
Change-Id: I87e6b8a9b43bf8a84bcf4d39302bc5c6f6a5f3fd
2016-07-22 14:26:14 -07:00
Sunny Goyal ce3fffb5fb Updating the search hint to contain the icon as a span object.
This makes the icon part of the hint text, and removes any need for
custom focus event handling.
Also the icon will now appear at the start of the text  based on the
direction of the text and not the direction of the layout

Change-Id: I06c5cf99492d75b1005c69ec7c521cde0fdab010
2016-07-22 13:17:30 -07:00
Sunny Goyal 58368b1515 Merge "Increasing the size of the drag icon when a shortcut is dragged" into ub-launcher3-calgary 2016-07-22 17:47:50 +00:00
Hyunyoung Song 7122cb8e2b Merge "Animate discovery bounce for all apps pull up interaction b/30221381" into ub-launcher3-calgary 2016-07-22 00:33:13 +00:00
Hyunyoung Song c001cf5620 Animate discovery bounce for all apps pull up interaction
b/30221381

> Will not support landscape case. If the user knows how to enable
rotation, it's very unlikely they don't know how to bring up apps drawer
> If unlocked using finger unlock immediately after screen is turned
off, bounce is not shown due to delay in ACTION_SCREEN_OFF broadcast

Change-Id: Ia8b7e572eaa4aeab8b1add1e5660fee3a63ba21c
2016-07-21 17:32:43 -07:00
Tony Wickham 9d6df217af Merge "Fix deep shortcuts RTL issues." into ub-launcher3-calgary 2016-07-21 22:26:56 +00:00
Sunny Goyal 157793dda4 Increasing the size of the drag icon when a shortcut is dragged
Change-Id: I7d768657300d3229e05d1eb18aec3720a9098ffc
2016-07-21 15:18:24 -07:00
Tony Wickham 3e97622d16 Fix deep shortcuts RTL issues.
- Container was shifted off screen.
- Touch down x coordinate was incorrect, causing the deferred
  drag to start immediately upon moving the original icon.

Bug: 30075428
Change-Id: I148b6f4f7945ecbcf67b52ba26a2af0065d8f538
2016-07-21 15:13:25 -07:00
Hyunyoung Song 1ce0e30451 Fix NPE on clicking the all apps caret.
Change-Id: I2623e7470ffe711bce375699b9579803ded6c02f
2016-07-21 12:47:28 -07:00
Sunny Goyal 4a44b6e59f Merge "Optimizing open shortcuts container lookep" into ub-launcher3-calgary 2016-07-21 18:57:21 +00:00
Hyunyoung Song 5aa2714959 Add user event log for deep shortcuts and all apps opening interaction.
b/30114798

Change-Id: I11ad99d0bc1983294d6a5329b98917cb87250823
2016-07-21 11:48:37 -07:00
Winson Chung 06580312ed Merge changes I09bce218,Id5716a34 into ub-launcher3-calgary
* changes:
  Matching hotseat to spec.
  Fixing issue with shadow drawing over search bar.
2016-07-21 16:58:42 +00:00
Sunny Goyal 71b3d1c38e Optimizing open shortcuts container lookep
findviewById does a DFS, inseat only looking at the first level children

Change-Id: Idc028a56648ca026c6022425e3a6e7453fa91986
2016-07-20 17:42:58 -07:00
Tony Wickham 35a754bade Change shortcut background to #FFFFFF, as per spec.
Bug: 28980830
Change-Id: Ie05ce97267cdeaebeb48691a948c61961d2a39d2
2016-07-20 17:40:48 -07:00
Tony Wickham f3c911cb10 Merge "Add drag handle to shortcuts." into ub-launcher3-calgary 2016-07-21 00:38:35 +00:00
Hyunyoung Song 852974375d Merge "Centered all apps search text" into ub-launcher3-calgary 2016-07-21 00:35:05 +00:00
Tony Wickham 377ed3f63e Add drag handle to shortcuts.
Also use short text if long text is ellipsized.

Bug: 30212144
Bug: 28980830
Change-Id: I213766bca0561d284d1da883ca37b0a42d886129
2016-07-20 17:28:34 -07:00
Winson 6231ede10c Matching hotseat to spec.
- Fixing regression in hottest folder background getting clipped
- Ensuring that the padding is correctly applied in vertical bar layout
  to match workspace

Bug: 30021487
Change-Id: I09bce21829867f4bd4e50646e565959421e4984c
2016-07-20 17:21:55 -07:00
Winson be9798b6a2 Fixing issue with shadow drawing over search bar.
- Adding notion of clip-against view for click shadow alignment.

Bug: 30255227
Change-Id: Id5716a3484051a55690025d61f709e3d96cbe024
2016-07-20 16:21:24 -07:00
Sunny Goyal 2eeae10e98 Merge "Fixing missing user check when updating shortcuts for an app" into ub-launcher3-calgary 2016-07-20 22:13:58 +00:00
Winson 11439c5854 Fixing small regressions from layout tweaks
- Ensure that the caret is the right height
- Ensure that the workspace page spacing matches the workspace padding,
  but just offscreen

Bug: 30021487
Change-Id: Iaf4b33db0f6456b74986638fb6b6af78fc6e1859
2016-07-20 22:09:57 +00:00
Sunny Goyal 860538df1d Fixing missing user check when updating shortcuts for an app
Change-Id: I889c555d3402fd71098af29b78eb6d959a071080
2016-07-20 15:04:23 -07:00
Peter Schiller 03340309e2 Caret background protection
Change-Id: I5f902a3977677e7848932a6a60992a62f1638e39
2016-07-20 14:27:23 -07:00
Sunny Goyal 1f418d2361 Merge "Adding support for dynamically adding shadows to the icon" into ub-launcher3-calgary 2016-07-20 19:15:09 +00:00
Sunny Goyal cb6287aedc Merge "Using the same clip animation for wallpaper button as using for app icons" into ub-launcher3-calgary 2016-07-20 19:01:50 +00:00
Sunny Goyal 5bc04e67f7 Merge "Protecting QSB scroll while transition animation is running." into ub-launcher3-calgary 2016-07-20 18:59:20 +00:00
Sunny Goyal 0eca4e2b95 Using the same clip animation for wallpaper button as using for app icons
Bug: 30222414
Change-Id: I12ea7be255abe572c29102b6e93c4d2cdfce0aff
2016-07-20 11:56:54 -07:00
Winson Chung c80a024fb0 Merge "Initial changes to tweak layout." into ub-launcher3-calgary 2016-07-20 18:51:23 +00:00