Adding support for keyboard based drag and drop
For keyboard DnD, we use Accessible DnD implementation. A placeholder FloatingView draws the focus indicator for the virtual views Test: Visible Bug: 178781566 Change-Id: I632fc7377dffa1e05e3f0a9c3ad18641deb5a1a4
This commit is contained in:
1 parent
d462965698
commit
a4647b681f
18 files changed
+723
-288
No files matched your search
@@ -59,7 +59,7 @@ public class ShortcutMenuAccessibilityDelegate extends LauncherAccessibilityDele
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean performAction(View host, ItemInfo item, int action) {
|
||||
public boolean performAction(View host, ItemInfo item, int action, boolean fromKeyboard) {
|
||||
if (action == ADD_TO_WORKSPACE) {
|
||||
if (!(host.getParent() instanceof DeepShortcutView)) {
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user