1. 23 Oct, 2016 1 commit
  2. 19 Oct, 2016 1 commit
  3. 18 Oct, 2016 1 commit
  4. 17 Oct, 2016 1 commit
  5. 13 Oct, 2016 2 commits
  6. 12 Oct, 2016 2 commits
  7. 11 Oct, 2016 1 commit
  8. 10 Oct, 2016 1 commit
  9. 07 Oct, 2016 6 commits
  10. 06 Oct, 2016 1 commit
  11. 03 Oct, 2016 1 commit
  12. 30 Sep, 2016 4 commits
  13. 29 Sep, 2016 3 commits
  14. 28 Sep, 2016 7 commits
  15. 27 Sep, 2016 3 commits
  16. 26 Sep, 2016 1 commit
  17. 24 Sep, 2016 2 commits
    • Tony's avatar
      Don't attempt to add item back to folder when deferring drag. · 1cf412ca
      Tony authored
      Since the item hasn't yet been removed until the deferred drag
      starts, adding it again will throw an exception (the view
      already has a parent).
      
      Bug: 30769920
      Change-Id: Icb95aaa64e6e3c5dc105bbf3e54460b529d02033
      1cf412ca
    • Tony Wickham's avatar
      Refactor shortcuts drag and drop. · 6e74e899
      Tony Wickham authored
      - Instead of creating our own drag view within the container, and
        handling logic to determine when to start a real drag, we start
        the drag immediately and just defer onDragStart().
      - To determine when the deferred drag should start, we add a
        DeferDragCondition to DragOptions. The default DeferDragCondition
        never defers a drag, but is overridden for apps with shortcuts
        to defer until the icon is dragged a given distance.
      - Because the drag is handled in DragController, including checking
        when to start the deferred drag, DeepShortcutsContainer no longer
        needs to handle touch events and ShortcutsContainerListener has
        been removed.
      
      This change has several immediate benefits:
      - The code is much cleaner, because it allows touch handling to be
        done by the DragController through the normal drag flow, without
        recreating logic in ShortcutsContainerListener/DeepShortcutContainer.
      - The janky second haptic feedback has been removed (now it vibrates
        when you long press, like everywhere else, but not again when the
        shortcuts close after dragging a distance).
      - Drops are animated, instead of just popping the icon back into place.
      
      Bug: 30769920
      Bug: 30465972
      Bug: 31533078
      Change-Id: I679b412b72fbf6c3895d76963311eb5010c8e8db
      6e74e899
  18. 23 Sep, 2016 2 commits