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
Sunny Goyal
4869bf3f74
Removing workspaceLoaded check from loadDeepShortcuts()
...
loadDeepShortcuts() is called after loadWorkspace() which already
clears the shortcutMap. So if loader runs twice, during the second run,
workspaceLoaded is true, but the shortcutMap had already been cleared
in loadWorkspace().
Bug: 38384071
Change-Id: I40f0faf88376617e56819aef02620488e528dfb2
2017-05-17 12:07:39 -07:00
Sunny Goyal
0dc1db4fee
Aligning the search box with bottom of hotseat icons
...
Bug: 37616877
Change-Id: I153e754db8e6c96b47ab644e19ce110f56bf852e
2017-05-17 11:36:31 -07:00
Tony Wickham
9863ea5dc7
Merge "Add setting to turn off icon badging" into ub-launcher3-dorval
...
am: d315d07aee
Change-Id: Id23914cbee040f3916257e02a9eb6b3f5a821b83
2017-05-16 23:38:22 +00:00
Tony Wickham
02aced9782
Merge "Use a single color for all icon badges." into ub-launcher3-dorval
2017-05-16 23:34:52 +00:00
Tony Wickham
d315d07aee
Merge "Add setting to turn off icon badging" into ub-launcher3-dorval
2017-05-16 23:33:59 +00:00
Mario Bertschler
8acf8b506d
Design adjustments for transition from workspace to
...
All apps.
Change-Id: I0aeb8da7f0eebdf677ca7bda06fb538f08a6ee51
2017-05-16 16:13:11 -07:00
Tony Wickham
2ab8482809
Add setting to turn off icon badging
...
Redirects to system Notifications setting page.
Bug: 36815147
Change-Id: I5ee542f94ed51a73a57df3a726384944ff3ee71d
2017-05-16 14:08:42 -07:00
Mario Bertschler
7f91393c55
Merge "Minor polishment on app discovery UI." into ub-launcher3-dorval
...
am: 8ffddbb7c2
Change-Id: I611a4707882a0fb5c78c223ebd9f5c8e0e67d411
2017-05-16 20:13:42 +00:00
Mario Bertschler
8ffddbb7c2
Merge "Minor polishment on app discovery UI." into ub-launcher3-dorval
2017-05-16 20:08:08 +00:00
Tony Wickham
e6a790e5ae
Use a single color for all icon badges.
...
Bug: 38346375
Change-Id: I26b7ad3dcfea6a18e169d656e19605c9794eadd3
2017-05-16 13:04:23 -07:00
Hyunyoung Song
ec6a48ce60
Merge "Log whether an event happened during landscape mode or not b/38211234" into ub-launcher3-dorval
...
am: 441c628a75
Change-Id: I2101f93fc5dca6e0f216a2cc8b86b976dc052bbe
2017-05-16 18:58:07 +00:00
Mario Bertschler
0287a44c81
Minor polishment on app discovery UI.
...
b/38341964
b/38342208
b/38341681
Change-Id: I8dfe4f5431cbfa96573c0461fddd410367c9ad13
2017-05-16 11:48:23 -07:00
Hyunyoung Song
d5a9b57713
Log whether an event happened during landscape mode or not
...
b/38211234
<sample log>
action:TAP
Source child:APP_ICON, packageHash=-1046965711, componentHash=-371608779, intentHash=208792422, grid(4,4), span(1,1), pageIdx=0 parent:WORKSPACE id=0
Elapsed container 3071 ms session 3071 ms action 0 ms
isInLandscapeMode true
isInMultiWindowMode false
</sample log>
Change-Id: I44dfe4e7ee2a41c56a50cc2b507bbbeedc458018
2017-05-16 11:12:43 -07:00
Jon Miranda
f79e54b8ac
Add missing 'leave behind' view for new Folder animation.
...
Bug: 35064148
Bug: 38338552
Change-Id: Iac1a795acf0ab21cf319e50d8b504cf42fbbb976
(cherry picked from commit 9544c8e498 )
2017-05-16 17:20:50 +00:00
Sunny Goyal
dc19a07aba
Adding support for top padding in BaseRecyclerView. The scrollbar is
...
drawn below the top padding.
Also adding callback for getting the all-apps vertical pull range
so that it can be controlled by SearchUiManager
Bug: 37616877
Change-Id: Ib4642073f3e92f6676caede3bddd652fda89c86f
2017-05-15 14:14:04 -07:00
TreeHugger Robot
b0b30d23c0
Merge "Fixes a bug in verifying the validity of a session info." into ub-launcher3-dorval-polish
2017-05-15 17:42:23 +00:00
Mario Bertschler
6d696f8d7c
Fixes a bug in verifying the validity of a session info.
...
b/38276210
Change-Id: I4c89fb60b21d4dbc70efb91111ac16ec16bdea4f
2017-05-15 10:16:12 -07:00
TreeHugger Robot
4e16c2e7b9
Merge "Removing padding override in multi-window mode" into ub-launcher3-dorval-polish
2017-05-12 22:04:29 +00:00
Jon Miranda
3b6d403d36
Keep elevation during the Folder clip animation.
...
Change-Id: Id2a60de89d5f0fdf6a1173a08a89b9e95e757ea4
2017-05-12 14:39:01 -07:00
Sunny Goyal
df39ca11d6
Removing padding override in multi-window mode
...
Bug: 37870754
Change-Id: Ia9fa51dccbd425874245bd312c0b0e087257fa81
2017-05-12 14:33:41 -07:00
Tony Wickham
40d2702db4
Accessibility fixes for moving items
...
am: 0270039b98
Change-Id: I856b8980817dd36785f27e203c0ee6174b24e568
2017-05-12 21:29:15 +00:00
Tony Wickham
0270039b98
Accessibility fixes for moving items
...
- Don't open popup when using "move item" action
- Don't announce "Item moved" if dropping on original cell
Bug: 33501751
Change-Id: I7236cd51fc00c357a1d7597e2fcb68c3a7c16b0b
2017-05-11 15:20:28 -07:00
Tony
18c4aa458e
Update accessibility for popup
...
- Content description includes count of notifications.
- Notifications have a dismiss action.
- All icons that support shortcuts will have action to show
shortcut menu, since there will be system shortcuts even if
there are no deep shortcuts.
Bug: 36564782
Change-Id: I51b085fa26754f2dcd93c7db6548f2edf054f494
2017-05-11 13:59:52 -07:00
TreeHugger Robot
9e00b3c503
Merge "Fade in background scrim when resuming from screen off." into ub-launcher3-dorval-polish
2017-05-11 20:36:46 +00:00
TreeHugger Robot
9968ed0932
Merge "Adding listener support for color extraction changes Changing the apps-search layout to use theme attribute instead of hard coded layout id" into ub-launcher3-dorval-polish
2017-05-11 19:46:28 +00:00
Jon Miranda
2d89ea8453
Fade in background scrim when resuming from screen off.
...
This change hides the hard cut off that appears when the Launcher
window is transitioning upwards when resuming from when the screen
is off.
Bug: 36446766
Change-Id: I0c0fe13ee9e08d27b94916d0407ef431d82b8d6a
2017-05-11 12:32:28 -07:00
Tony
e37d2b9f32
Merge "Visual updates for popup" into ub-launcher3-dorval
...
am: 5cfde85cb6
Change-Id: I4e97cb52054b5c5ff467f3481b92730f6f9a3e8e
2017-05-10 01:19:41 +00:00
TreeHugger Robot
5cfde85cb6
Merge "Visual updates for popup" into ub-launcher3-dorval
2017-05-10 01:10:55 +00:00
Tony
0b8a6fe532
Visual updates for popup
...
- Update some dimens
- Increase left padding for shortcuts
- Adjust arrow and notification ellipsis offset accordingly
- Align shortcut dividers to be same width as text
- Notification text 14sp instead of 15sp
- Increase width of popup by 12dp
- Shortcuts text 87% black instead of 54%
- Arrow has same color as attached side, so takes on header
gray instead of white when appropriate
Bug: 37753827
Change-Id: I0844b85995f22218a3b7e605e1653cceaed6cda1
2017-05-09 20:02:23 -05:00