TreeHugger Robot
9b9beae02e
Merge "Moving LoaderTask static" into ub-launcher3-dorval-polish
2017-06-05 19:49:11 +00:00
Tony
f514f207c2
resolve merge conflicts of 629a67c5a to ub-launcher3-dorval-polish
...
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I5aed3f0c978976c499b532c816d81196cb11e3a1
2017-06-02 19:33:49 -07:00
Tony
629a67c5ac
Migrate ColorExtractionService to JobService
...
IntentService cannot be run in the background, so moving to
JobService prevents us from crashing if the wallpaper is
changed while we aren't running.
Bug: 62065291
Change-Id: Ie0c887e36d0ced43a0b9ab8136bf55eb37697489
2017-06-02 18:21:05 -07:00
Sunny Goyal
c6e97692e4
Moving LoaderTask static
...
Will move it to a separate file in a followup cl.
This simplifies dependencies between LauncherModel and LoaderTask which
and making it easier to start the loader before Launcher activity is
created (as the Callbacks in LauncherModel can change while loader is running).
Bug: 34112546
Bug: 37616877
Change-Id: Ie9619c6b0de0e3eb60657c04ae1b58d946c829e9
2017-06-02 14:27:29 -07:00
TreeHugger Robot
d74633cbc5
Merge "Launch wallpaper picker with rectangular reveal" into ub-launcher3-dorval-polish
2017-06-02 20:17:30 +00:00
TreeHugger Robot
8d14e49709
Merge "Promise icons don't support popup" into ub-launcher3-dorval-polish
2017-06-02 20:07:31 +00:00
Tony
85efb4b07d
Launch wallpaper picker with rectangular reveal
...
There was a logic error causing it to be launched with null
activity options.
Bug: 37904252
Change-Id: Ia44b7bccf0b7f83ceab9d3949542b79a842e4873
2017-06-02 13:06:10 -07:00
Tony
869a97da73
Promise icons don't support popup
...
Bug: 62253847
Change-Id: I1123f3d1efad65e74957b1404b5b2c95ba392713
2017-06-02 12:18:46 -07:00
TreeHugger Robot
ccb25a3da8
Merge "Moving workspace bind logic into a separate class." into ub-launcher3-dorval-polish
2017-06-01 23:46:40 +00:00
Sunny Goyal
f8d6ed21ce
Moving workspace bind logic into a separate class.
...
This change separates the loading and binding code. Eventually workspace
loading will not depend on bind and we will be able to preload workspace
even before the launcher activity is started.
Bug: 34112546
Bug: 37616877
Change-Id: Ia8e661465cb40ad073b5b76adfc74b9e15633b1d
2017-06-01 15:56:38 -07:00
Tony
acaf5b3a37
Remove gap between popup items
...
- Unround interior corners
- Update colors (shortcuts are gray when next to
notifications, notifications always white)
- Clean up animation to animate entire popup with
simple reveal instead of individual items
animating with reveal and icon scale
Bug: 35766387
Bug: 36110804
Change-Id: I33685d53e2db3904731676123dc230be4dabb5d4
2017-05-31 15:11:43 -07:00
Hyunyoung Song
d5645d406b
Merge "Add debug message to indicate why shortcut has been deleted. b/62088762" into ub-launcher3-dorval-polish
2017-05-31 21:01:09 +00:00
Hyunyoung Song
3a253967df
Add debug message to indicate why shortcut has been deleted.
...
b/62088762
Change-Id: I2bd6104d1f4d76d7bf888615a06088d3405f03c6
2017-05-31 12:08:55 -07:00
Mario Bertschler
2518cfc365
Distignuishing between hotseat/workspace on the logging for opening
...
all apps via swipe/fling.
b/38422894
Change-Id: I84a5fd8df38f70caf887eb0def905756059ccd93
2017-05-30 13:57:05 -07:00
Mario Bertschler
c6e07299c2
Providing a default color extraction implementation.
...
Enabling FeatureFlag LAUNCHER3_GRADIENT_ALL_APPS
Change-Id: I86d982344a4a04a79bde6dce714b1f0bff90f992
2017-05-26 11:36:51 -07:00
Tony Wickham
27af2de5ac
Merge "Log when App info or Widgets system shortcuts are tapped" into ub-launcher3-dorval-polish
2017-05-25 21:40:16 +00:00
Tony Wickham
1d0b0e25dc
Log when App info or Widgets system shortcuts are tapped
...
Sample output:
D/UserEvent: action:LONGPRESS
Source child:APP_ICON, grid(1,3), span(1,1), pageIdx=0 parent:WORKSPACE id=0
Elapsed container 135 ms session 7984 ms action 0 ms
isInLandscapeMode false
isInMultiWindowMode false
D/UserEvent: action:TAP
Source child:WIDGETS_BUTTON parent:DEEPSHORTCUTS
Elapsed container 41 ms session 8906 ms action 0 ms
isInLandscapeMode false
isInMultiWindowMode false
D/UserEvent: action:LONGPRESS
Source child:APP_ICON, grid(1,3), span(1,1), pageIdx=0 parent:WORKSPACE id=0
Elapsed container 184 ms session 11297 ms action 0 ms
isInLandscapeMode false
isInMultiWindowMode false
D/UserEvent: action:TAP
Source child:APPINFO_TARGET parent:DEEPSHORTCUTS
Elapsed container 678 ms session 11976 ms action 0 ms
isInLandscapeMode false
isInMultiWindowMode false
Bug: 37430954
Change-Id: I526edbf1eea551eb8eaddbb27e52058804fee874
2017-05-25 21:37:58 +00:00
TreeHugger Robot
552e6c803c
Merge "Theming on Scrim- and GradientView" into ub-launcher3-dorval-polish
2017-05-25 20:33:26 +00:00
Mario Bertschler
27288381a1
Theming on Scrim- and GradientView
...
Change-Id: I3070b54485a9476ffb71e325cdd45c2bd7ef5c9a
2017-05-25 13:25:05 -07:00
Hyunyoung Song
9c7ed9e9da
Merge "Use View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR API now that it's available b/38431856" into ub-launcher3-dorval-polish
2017-05-25 17:56:21 +00:00
Hyunyoung Song
0ef74aba1a
Use View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR API now that it's available
...
b/38431856
Change-Id: I6a5cc835f2d14661a312e30057ae88fe2e1f23fa
2017-05-25 10:46:47 -07:00
Sunny Goyal
368ae77201
Defining a dark theme for launcher
...
> Removing the code for LIGHT_STATUS_BAR as that will be controlled by the theme
> Updating icon cache to always use transparent background for low-res, as the
theme can change the bg color
Change-Id: Iab64ec29cab629ee515af22ec15b95d3f40a9df5
2017-05-24 14:34:04 -07: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
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
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
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
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
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
TreeHugger Robot
8b017e52da
Merge "Keep elevation during the Folder clip animation." into ub-launcher3-dorval-polish
2017-05-22 20:02:55 +00:00
Sunny Goyal
22ca9ec137
Removing various reflection calls with final APIs
...
Change-Id: Ibf48d6015d808f86bc79ccf64e3077eb5b6ccaff
2017-05-22 11:00:29 -07:00
Sunny Goyal
8bca47adc5
Merge "Making some methods accessible" into ub-launcher3-dorval-polish
2017-05-19 21:09:55 +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
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
Peter Schiller
b01046f9e7
Rounded caret
...
Change-Id: I3889fe61a29834c3c7e3829a990b481507589f68
2017-05-18 14:12:47 -07:00
Tony Wickham
8af16760dc
Merge "Update accessibility for popup" into ub-launcher3-dorval
2017-05-18 01:06:46 +00:00
Sunny Goyal
8b6ac00a1b
Adding an option to change the shadow size
...
Change-Id: I8ec810c5cf06852771247af5f1d717f41079c4f5
2017-05-17 13:43:45 -07:00