Commit Graph

13657 Commits

Author SHA1 Message Date
TreeHugger Robot 94652a207f Merge "Allapps motion changes for landscape" into ub-launcher3-dorval-polish 2017-05-24 21:07:08 +00:00
Mario Bertschler 1a83af2b81 Allapps motion changes for landscape
Scrim and Gradient alpha starting from 0

Change-Id: If200539f3915ff32885712cff868d74d014c340f
2017-05-24 13:58:30 -07:00
TreeHugger Robot dcc0cc7220 Merge "Update FolderIcon preview to be 1dp bigger (stroke) than other shortcuts." into ub-launcher3-dorval-polish 2017-05-24 20:29:30 +00:00
Jon Miranda 896e71a859 Update FolderIcon preview to be 1dp bigger (stroke) than other
shortcuts.

Bug: 38338424
Change-Id: I2e9cdb2285e97e9d899eda13947bedb40d6fbcb2
2017-05-24 12:15:24 -07:00
TreeHugger Robot 2aab7dc0af Merge "Revert "Allapps motion changes for landscape"" into ub-launcher3-dorval-polish 2017-05-24 18:12:52 +00:00
Tony Wickham 9ff727ef44 Merge "Don't hide text in pre-drag when opening popup above icon" into ub-launcher3-dorval-polish 2017-05-24 18:00:36 +00:00
Mario Bertschler 418d443d2f Revert "Allapps motion changes for landscape"
This reverts commit d15dccf10e.

Change-Id: I04c06d419bc636929259bc5f4fdce982d97ef33f
2017-05-24 17:56:56 +00:00
Tony 17b7f9bdf4 Don't hide text in pre-drag when opening popup above icon
Bug: 38468930
Change-Id: Id03162af829a00442d1db0a93f7e9d8bcb998b1a
2017-05-24 10:50:41 -07:00
Mario Bertschler d15dccf10e Allapps motion changes for landscape
Bug: 38230696
Change-Id: I82e36c240c934ff6b86b55e0a0f07391fd11ec82
2017-05-24 10:30:13 -07:00
Jon Miranda 66714d3cb7 Update physics VelocityTracker units to 175 pixels per second.
This makes it a bit more subtle.

Bug: 38349031
Change-Id: I2a6f5edf2d662ca1e742665e437ff59268f00c07
2017-05-23 20:34:20 -07:00
Sunny Goyal 9d1aa13a97 Some fixes in the compat implementation of wallpaper manager
Change-Id: I781fd520e812aaeaab42b8b765d7e7f2e64a96a1
2017-05-23 16:26:22 -07:00
Jonathan Miranda 8c26cec587 Merge "Turn flag on for LAUNCHER3_PHYSICS." into ub-launcher3-dorval-polish 2017-05-23 22:34:14 +00:00
Sunny Goyal 4046e58eaa Merge "Adding compat implementation for the new WallpaperManager APIs for color extraction" into ub-launcher3-dorval-polish 2017-05-23 22:16:50 +00:00
Bill Yi e1a87e4288 Import translations. DO NOT MERGE
am: b64355fe05  -s ours

Change-Id: I8d9e79f46a0b99f98839da875450c0912d094cc6
2017-05-23 21:50:33 +00:00
TreeHugger Robot b4d50680f2 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval-polish 2017-05-23 21:43:07 +00:00
Jon Miranda 0140a9d3ac Turn flag on for LAUNCHER3_PHYSICS.
Change-Id: Ibd89a1a422dda9d24b64f4e2968c4edb1342db22
2017-05-23 14:39:31 -07:00
Sunny Goyal 3e93ec558a Adding compat implementation for the new WallpaperManager APIs for color extraction
Change-Id: Ie06c9ac3a77cd33d22ce298a55e234078895c3a0
2017-05-23 14:03:03 -07:00
Bill Yi c152748e46 Import translations. DO NOT MERGE
Change-Id: I94345589894b7d404865e34abaf6fb6c37b85f70
Auto-generated-cl: translation import
2017-05-23 13:14:33 -07:00
Bill Yi b64355fe05 Import translations. DO NOT MERGE
Change-Id: I7f53533487bce703a8fa6e45c1a8650057e108f2
Auto-generated-cl: translation import
2017-05-23 13:12:13 -07:00
Jon Miranda 4e54a4cfa5 Fix bug where item was not moved in database when added to a Folder.
I thought calling arrangeChildren(saveChanges=true) would handle
this case, but because we set the position and rank in addViewForRank,
arrangeChildren does not see any changes to save.

Change-Id: Iab0fefe6da7711857ea05955a3243459f4e8527b
2017-05-23 11:45:17 -07:00
Jonathan Miranda db894b9bba Merge "Add physics motion to items in all apps." into ub-launcher3-dorval-polish 2017-05-23 17:35:36 +00:00
Jon Miranda 4e11c2738a Add physics motion to items in all apps.
Motion applied to:
- Icons
- Prediction icons
- Prediction divider

Bug: 38349031
Change-Id: I376e6e39080c8c80463a0ce8b104b05e4d576f17
2017-05-23 10:02:51 -07:00
TreeHugger Robot 36faf14d34 Merge "Calling recreate() instead of finish() so that the activity life cycle is handled properly" into ub-launcher3-dorval-polish 2017-05-23 16:45:36 +00:00
Bill Yi f6f526d7ec Import translations. DO NOT MERGE
Change-Id: Ic054fdce631204ca6f134343d8bd40237024845b
Auto-generated-cl: translation import
2017-05-22 19:12:44 -07:00
Sunny Goyal e13d464539 Calling recreate() instead of finish() so that the activity
life cycle is handled properly

Change-Id: I6ee022ee3e81a0660f4798ab4b62ddcb163c7067
2017-05-22 15:59:15 -07:00
TreeHugger Robot 09273b676e Merge "Allow user to place PendingAddShortcutInfo in opened Folder." into ub-launcher3-dorval-polish 2017-05-22 21:56:50 +00:00
Jon Miranda c476d6e192 Allow user to place PendingAddShortcutInfo in opened Folder.
Current implementation only allowed dropping PendingAddShortcutInfo
on a FolderIcon.

Bug: 37814579
Change-Id: Ice42421c34665b0ebf199945761c5c86614573a4
2017-05-22 14:49:28 -07:00
Sunny Goyal a474a9bcf5 Simplifying logic for managed for icon addition
> Checking for duplicate icons before adding new icons

For O and above, icon addition is controlled using
SessionCommitReceiver.
As long as the Launcher is the default app, it will keep adding
icons on the homescreen. Apps installed while launcher was
not the default homescreen, no icons will be added.

For below O, icons are added based on package event. As long as
the Launcher process is running, it will keep adding icons on the
homescreen. Apps installed while the launcher app was dead, no
icons will be added.

Bug: 37528649
Bug: 37082950
Bug: 34112546
Change-Id: Ic99501fa476c00474a479f2a36c24614bfa3f4bf
2017-05-22 13:31:04 -07:00
Tony Wickham 998dbecf53 Merge "Rename "Settings" to "Home settings"" into ub-launcher3-dorval-polish 2017-05-22 20:14:15 +00:00
TreeHugger Robot 8b017e52da Merge "Keep elevation during the Folder clip animation." into ub-launcher3-dorval-polish 2017-05-22 20:02:55 +00:00
TreeHugger Robot b2b75b99a1 Merge "Removing various reflection calls with final APIs" into ub-launcher3-dorval-polish 2017-05-22 18:41:23 +00:00
Sunny Goyal 22ca9ec137 Removing various reflection calls with final APIs
Change-Id: Ibf48d6015d808f86bc79ccf64e3077eb5b6ccaff
2017-05-22 11:00:29 -07:00
Mario Bertschler e5c411e626 Minor accessibility change for app discovery item
am: fc2b3d2b8a

Change-Id: I8ebb397d368f83e7602f7f6fa6658ac89493d498
2017-05-22 17:58:38 +00:00
Mario Bertschler fc2b3d2b8a Minor accessibility change for app discovery item
Bug: 38345854

Change-Id: Ib200b5a6295eb26650c7f28d0b7823b489c70cda
2017-05-22 09:21:01 -07:00
Tony Wickham cbe6c2849e Rename "Settings" to "Home settings"
Bug: 37903251
Change-Id: Ia6a8b329135100af9b54900e275c5362695bfd74
2017-05-19 19:33:26 -07:00
Sunny Goyal 8bca47adc5 Merge "Making some methods accessible" into ub-launcher3-dorval-polish 2017-05-19 21:09:55 +00:00
Bill Yi 081fbed940 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval
am: 45febfec54  -s ours

Change-Id: I45c8936ad2900bddc3133ffa5f105ea496d2eefb
2017-05-19 19:36:55 +00:00
Tony Wickham fda3107c8b Merge "Make expanded system shortcuts clickable" into ub-launcher3-dorval
am: 440052ce5d

Change-Id: I5d53a468bb4aa3060e3e7e618bfdbdb537a5aadc
2017-05-19 19:36:38 +00:00
Sunny Goyal 0e947fbdbb Making some methods accessible
Bug: 37616877
Change-Id: I22ed43d9a39d321757d7c2fde7754b95a44780e2
2017-05-19 12:22:31 -07:00
Tony Wickham 3720c69322 resolve merge conflicts of 8af16760d to ub-launcher3-dorval-polish
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I4cdfeebd09be58270c249429104d91dc9a31b49c
2017-05-19 12:17:02 -07:00
Hyunyoung Song 4de0ddc4f1 Merge "When building Launcher3 target, LauncherDumpProto class should not be proguarded b/36904684" into ub-launcher3-dorval
am: 904a38340c

Change-Id: I3cb282f6c78ff0c9a34e8f3ced25915fe3b96d7f
2017-05-19 18:02:19 +00:00
Sunny Goyal c6bfffb078 Removing workspaceLoaded check from loadDeepShortcuts()
am: 4869bf3f74

Change-Id: I1516a214df024f5e9b9387671cfadd3697384ede
2017-05-19 18:02:00 +00:00
Tony Wickham d5dbf61757 resolve merge conflicts of 02aced978 to ub-launcher3-dorval-polish
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ib44ce0130b9eb01c354f18326d7d3a1eeb2c5eb8
2017-05-19 10:52:19 -07:00
Peter Schiller 7056275771 Merge "Rounded caret" into ub-launcher3-dorval-polish 2017-05-18 23:23:44 +00:00
Tony Wickham 30e55d0f7c Don't set system shortcut text to white
Bug: 38201638
Change-Id: Icacd63810306848ec1fb54e5dcc6021660ac5099
2017-05-18 15:31:19 -07:00
Peter Schiller b01046f9e7 Rounded caret
Change-Id: I3889fe61a29834c3c7e3829a990b481507589f68
2017-05-18 14:12:47 -07:00
TreeHugger Robot 45febfec54 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval 2017-05-18 18:40:39 +00:00
TreeHugger Robot 440052ce5d Merge "Make expanded system shortcuts clickable" into ub-launcher3-dorval 2017-05-18 18:34:04 +00:00
Tony Wickham cd58d0d4e5 Make expanded system shortcuts clickable
The textview on top was consuming the clicks, so we set it to
not be focusable (clicks are handled by the parent).

This regression was caused by a TextView bug introduced in
ag/2247666, which set clickable=true if focusable=true.

Bug: 38385679
Change-Id: I0a946073919dabcd19b47cd7df2a1fcac6946cd5
2017-05-18 11:16:58 -07:00
Tony Wickham 8af16760dc Merge "Update accessibility for popup" into ub-launcher3-dorval 2017-05-18 01:06:46 +00:00