History log of /packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
988ad27be4e42e659f7a2461d16f7d75352e4711 18-Aug-2017 Sunny Goyal <sunnygoyal@google.com> Applying the widget resize changes even when the activity is destroyed
in the middle of the resize interaction.

Bug: 64759853
Change-Id: I65ab7df0426f36fe1121bf055e38fc722822b0f4
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
d725f644b70239332a4440173e6411e9ffb169a0 18-Aug-2017 Hyunyoung Song <hyunyoungs@google.com> Remove LAUNCHER3_ALL_APPS_PULL_UP
Bug: 63712253
Verified: all apps transition fully functional
Verified: NO_ALL_APPS_ICON = false case also works.

Change-Id: I779fb7bd4927c5923da3f85590d912dbbbcdef4d
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
ff4f201fadb131e7c367f64296e3a08090946ada 08-Jun-2017 Mario Bertschler <bmario@google.com> Use extracted color for scrim in overview mode.

Change-Id: Ia24dbf69a64cb0b84da9985a5dd78ca699e7bed1
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
a69369450281376cb207be554199bb4895843eb2 31-May-2017 Mario Bertschler <bmario@google.com> Dark color on super light wallpaper support

Change-Id: I0fdfa9abefb72e06c45b1f635ac97e2acfa97f05
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
b8b48733a994fbaf7346170d7fba01da2d31f5d4 26-Apr-2017 Jon Miranda <jonmiranda@google.com> Remove background scrim when there are no top insets.

ie. In portrait multiwindow mode, the launcher is always on the
bottom so we can remove the background scrim that is meant to
protect the status bar contents.

Bug: 36397512
Change-Id: Ie9655b0604b5bebafdfb4153b370bb655129051c
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
343a77e609382bcb9b1d69ea235a9e6d779b719e 13-Apr-2017 Tony Wickham <twickham@google.com> Rename WidgetsAndMore to WidgetsBottomSheet

(It only contains widgets now.)

Bug: 35766387
Change-Id: I5864791a9741d1c56ac6df30125fe7a4a677b4bd
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
50e5165b78c75ccb022f0954699f49c579547115 21-Mar-2017 Tony Wickham <twickham@google.com> Add WidgetsAndMore bottom sheet

- Contains two rows, one for widgets, and one for "configurable
shortcuts" that have customization activities
- Extends AbstractFloatingView and uses VerticalPullDetector for
touch interactions
- No way to show this currently; will add options to popup in followup

Bug: 34940468
Change-Id: Iab62c2cb89428f91119c9c86f9db886496c321fd
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
c6cf493b07fc7234c2a0a164318fd9aeb02e48f3 08-Feb-2017 Jon Miranda <jonmiranda@google.com> Add basic logs for tap outside action.

Change-Id: I6288610b9870c3abe88794c53309b1d76dd2780f
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
dec3a908bfa395095e80e4a532cff98612b624de 26-Jan-2017 Sunny Goyal <sunnygoyal@google.com> Updating the preview generation logic so that it aligns better with
the drag source image

> Using common code for pending item drag (WidgetContainerView and PinItemDragListener)
> Adding a shortcut-circuit in Workspace when a pendingItem can create a shortcut
directly. Previously the multi-window drop was routing through onActivityResult which
was causing some state information to be lost.

Bug: 33584624
Change-Id: I0259870032185713caa9bff27092dbae6ce91199
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
b38fab75735c601b61765ecae61494c8637aaef4 21-Jan-2017 Sunny Goyal <sunnygoyal@google.com> Adding support for drag and drop for requestPinItem.

On long pressing, the confirmation activity starts a system
drag-n-drop and focuses the launcher activity. We then drive
the launcher drag controller using the system drag event

Caveats:
> We use a transparent preview for system drag and drop and use
a view inside launcher for actual preview. This gives us better
control over various animations.
> The parameters for drag operation are passed to the Launcher
activity using the intent. Since onNewIntent and onDragEvent
come at different times and are not associated, a random uuid
is used as mime-type to match the drag event with intent params
> If the workspace is locked (eg, loader is running) the drag
operation is simply dropped. Will be imporved in follow up cls

Bug: 33584624
Change-Id: I0bb5b25b690f86b6af31a14e11beb669fcb3a281
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
c9c57631a985a8e1a4eac17ef0952bd344e281a2 13-Oct-2016 Jon Miranda <jonmiranda@google.com> Fix clipping of drag outline by increasing padding.

Low resolution will be addressed in future CL.

Bug: 31915722
Change-Id: I6bdd32b7a30819fde1f15473a63ac280029b6715
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
f5440cbd6c0525769d24b890e16313a728831e04 15-Dec-2016 Sunny Goyal <sunnygoyal@google.com> Removing FeatureFlag.LAUNCHER3_LEGACY_WORKSPACE_DND and corresponding logic

Change-Id: Ie10c087b4f72ee27be5bf12e2c81be5b7a3a6176
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
47564ca3a1c8903e757cec57b269c5553b2b3c41 07-Nov-2016 Sunny Goyal <sunnygoyal@google.com> Merge "Simplifying mapCoordInSelfToDescendant" into ub-launcher3-master
f5e3744637db1598c389e62450627b2548f8f517 02-Nov-2016 Sunny Goyal <sunnygoyal@google.com> Updating version check method names

Change-Id: If98851677545a9bbb9de308c23ff5c155a61a8bf
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
5e0e94f0b2ae79770dd07b66441fda6e063e64ea 28-Oct-2016 Sunny Goyal <sunnygoyal@google.com> Simplifying mapCoordInSelfToDescendant

> Removing new object creation (during draw and touch handling)
> Simplifying matrix operation to call invert only once at the end

Change-Id: Iffadd6e9d84997baa36719ed688a7c3c1027e839
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
ed5d960ec1e052ad66551f53d4d67ee7efe0ff72 18-Oct-2016 Sunny Goyal <sunnygoyal@google.com> Removing some bitmap drawables.
Loading the edge drawables only when legacy DND is enabled

Change-Id: I1c66d03146fb7fa7d61a4abf8c2e5a4289a117b9
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
631ffbda64b92b843f18af6756b52b1ac4c22461 10-Oct-2016 Sunny Goyal <sunnygoyal@google.com> Merge "Refactoring floating view opening/closing logic" into ub-launcher3-master
740ac7f00e0b847b8e392800f7948d93493e11d6 29-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Refactoring floating view opening/closing logic

> Creating a base view for floating panels with some common methods
> Moving the getOpen method to individual classes
> Moving the folder icon animation logic to folder icon
> Moving all the logic related for opening folder to Folder class

Change-Id: I898dfb6870b857cb921d2729b89618bc43ff2e88
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
08ca40f97670ad56ea01a81a439e89a484f9fdb5 14-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Refactoring AppWidgetResizeFrame

> Defining the layout in xml
> Simplifying the touch handling calculations

Change-Id: Iccfd82161d1e678d77ad6ff63f76e04ad905f9d8
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
0de011705b132eacdd10f7bfb5cdc4bd79a147e8 06-Oct-2016 Hyunyoung Song <hyunyoungs@google.com> Code sanitization

- Removed bad method/class name typos

Change-Id: Ie6900e9e3d9ce9b550d2a2442a5dac3f7050a573
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
10236d6ac7f5f787ca21736494ccb5eaf2bd7c27 28-Sep-2016 Tony Wickham <twickham@google.com> Update pre-drag lifecycle for apps with shortcuts.

- First of all, deferred drag has been renamed to pre-drag
to avoid confusion with the existing deferred end drag.
- For normal drags, the cycle is still startDrag -->
onDragStart --> onDrop --> onDropComplete --> onDragEnd.
- Pre-drags have two additional callbacks: onPreDragStart
and onPreDragEnd. onPreDragStart is called between
startDrag and onDragStart, and onPreDragEnd is called
at the same time as onDragStart or onDragEnd.
- If the pre-drag has not transitioned to a full drag before
onDragEnd, onDragStart and onDropComplete are skipped
(onDrop is still called to allow the DragView to animate).

Change-Id: Icd7a8f75d5fcc159f9a52758c22ab6eae3edb9e2
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
6ad72f02fd233f2294222477102e83d721100493 23-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Resize only one widget at a time

> Removing logic to have multiple widgets in resize mode
> Making ResizeFrame a touch controller, so that it fits well with
other touch interaction in drag layer
> Chaning the method names in touch controller, so that it do not
overlaps with the default View methods

Change-Id: I85d4dbdfc82d078781adbce137dfaaea59c9c83d
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
d139b0aa7d03f676dc7869dc5b39fd9f24ff0a1d 12-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Adding support for multiwindow drag and drop

Change-Id: I95b46e3c3f1238307d3ef5a6c81a8e530ba0987a
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
8dd5168b0582a20a4ede5ccfd21d227118fd9743 31-Aug-2016 Tony Wickham <twickham@google.com> Add outline to shortcuts when focused.

Bug: 30563273
Change-Id: Ia54c112dcf91c225588b7388001eb93ee5c03171
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
52851aa3fd2dd9957e190d779f904f6abaf53fed 02-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Fixing topView not being considered in all places when calculating accessible
and focusable views

Bug: 30563273
Change-Id: I6253ce33ee5c328efdde2ea733029975b31e5eb8
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
65ceb5aa55403482e92e1e86105c1ef5510688ad 19-Aug-2016 Sunny Goyal <sunnygoyal@google.com> Moving the scrim to draglayer

> This causes the scrim to animate with the content on first launch
> Also removing the logic to disable scrim based on state. That
logic was only executing onResume which could lead to an invalid state

Bug: 30972956
Bug: 30576826

Change-Id: Ia8386b303ce260f69e3b3b93041226f409301a01
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
58a9c4b7d2aa3772f56fea32f82cf29d410dc499 05-Aug-2016 Hyunyoung Song <hyunyoungs@google.com> Pull down should work on search box, even if all apps scroll is not at top.
b/30295305

Change-Id: I38bbe47d6e33929c550930c9f157c58fbea203ef
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
98cbd62e1f6d57ccef1758fb82dd245f7354fb73 04-Aug-2016 Tony Wickham <twickham@google.com> Reset mActiveController to null in DragLayer.onInterceptTouchEvent().

Otherwise the previous active controller will continue to handle touch
events even if it doesn't re-intercept future touches. For instance,
All Apps was handling the swipe gesture after DragLayer intercepted to
close a shortcuts container, which led to the weird behavior described
in the bug.

Bug: 30590854
Change-Id: I247b39b03d336a04659f6ce644380bf3cef8de3f
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
7d552c8b18cfad9f32fb5028c53960a9f19dc0a8 03-Aug-2016 Sunny Goyal <sunnygoyal@google.com> Disabling accessibility focus on all children when shortcuts is open

Bug: 30611791
Change-Id: Ibb1dec13b62add3799c215fea98e87e3fa89638d
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
c001cf562017d08cd48b67de8f377ca08881e70e 22-Jul-2016 Hyunyoung Song <hyunyoungs@google.com> Animate discovery bounce for all apps pull up interaction
b/30221381

> Will not support landscape case. If the user knows how to enable
rotation, it's very unlikely they don't know how to bring up apps drawer
> If unlocked using finger unlock immediately after screen is turned
off, bounce is not shown due to delay in ACTION_SCREEN_OFF broadcast

Change-Id: Ia8b7e572eaa4aeab8b1add1e5660fee3a63ba21c
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
fcb81b978db08ab4c4a1f69eea6a76e57a50ff6f 14-Jul-2016 Sunny Goyal <sunnygoyal@google.com> Merge "Moving the QSB out of the cell layout to the Drag layer" into ub-launcher3-calgary
6178f13e2d1f0c1a89cea74538b51993ef3439e3 12-Jul-2016 Sunny Goyal <sunnygoyal@google.com> Moving the QSB out of the cell layout to the Drag layer

This allows better edge matching for the QSB. The QSB position
is kept synchronized with the page scroll and all-apps transition.
But its not visible in spring loaded and overview mode

Change-Id: I4e6723607ea966ee672273a9ca67c792fd6b5661
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
49c8d29fddd341aa04459371aa5e869da2f52768 01-Jul-2016 Tony Wickham <twickham@google.com> Close the shortcuts container in various places.

- Mostly everywhere folders are closed
- Implements DragListener so we can close the container when dragging
the original icon or shortcuts from the container. We actually just
hide the container in onDragStart() and really remove it in
onDragEnd(). This avoids interfering with touch events and thus
allows us to remove the hack of explicitly setting the DragLayer's
controller when dragging shortcuts (since it will do it on intercept).

Bug: 30080537

Change-Id: Iccc2afba2a990a613bc588d57c4d8c1b7c65224b
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
2f2104ccdfd0f47d20e959982c52d36dfc7760ff 30-Jun-2016 Tony Wickham <twickham@google.com> Fix some issues with shortcut containers opened inside folders.

- Dragging a shortcut from a container inside a folder was buggy
because the folder assumes that all drags are removing an item
(so it marks the cell as unoccupied, etc.). So we just close
the folder when dragging a shortcut.
- When the shortcuts container opened outside of a folder, touches
on it were incercepted by DragLayer to close the folder. So we
move the container intercept check first, and return false if the
touch is over the container so it can handle the touch.

Change-Id: I8c5814513e99910b2930e05d9a62dfe0a0a60f3e
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
1bce7fd342875be8f7c1f82c8cf21d0199c8d544 29-Apr-2016 Tony Wickham <twickham@google.com> Long-press on an app to reveal its shortcuts.

- Add ShortcutsContainerListener to icons on workspace, folders, and
all apps. This handles long-press and forwards following touches to
the DeepShortcutsContainer that is created.
- Drag over shortcut before lifting finger to launch it.
- Shortcuts are rendered in pill-shaped DeepShortcutViews,
which are inside DeepShortcutContainer on DragLayer.
- The shortcut container orients above or below the icon, and left or
right-aligns with it. Biases for above + left-align.
- Long press a DeepShortcutPill to drag and pin it to the workspace.

Bug: 28980830
Change-Id: I08658d13ae51fe53064644e8d8f7b42f150fdd7d
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
7744169812e0d35531e9de258785af1f2ec9bed3 28-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Extend all apps pull up activation area to page indicator view
b/29752599

Change-Id: I3ee5efefa98defbc8f386895753946efe79708b4
Background: page indicator's background is where the caret symbol is.
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
ae50284e0a838139c67caf0064a0977c871497fa 17-Jun-2016 Sunny Goyal <sunnygoyal@google.com> Moving LauncherAccessibilityDelegate to Launcher to associate it with
activity lifecycle.

Change-Id: Ib815505677fa7ed74bdcfe7141b1d9bea5d7143a
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
a9a8a4221709cc3fda48fd80d4213d25183b8bf7 16-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> UI fixes to All apps pull up work

b/28917826
- nav bar change to light when top of the all apps container
passes y mid point of the status bar
- apps search edit box change when top of the all apps passes
the bottom of nav bar
- Restrict pull up to work only if the ACTION_DOWN event started
from the hotseat.
- Landscape: reverted old padding and margin. Only the interaction
is different.
- Tuning of the motion spec
- Animation duration respects fling speed more agressively.
- and many more small bugs...

Change-Id: Icde4093c41eeab8c9c6d9dc8b7d57adc3b171349
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
e8b5d20d94cb03878137a7fdf65d7a88270b73f8 14-Jun-2016 Sunny Goyal <sunnygoyal@google.com> Fixing bug in getDescendantCoordRelativeToParent where it was
calculating the coordinates relative to the root's parent

The bug went unnoticed for so long, as its only used in DragLayer
which is positioned at 0,0 in its parent

Change-Id: I101cda1f1fa919c0faf9b23b1eeb05764bdf1a40
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
3333b0ced8e6743c41909f6f6b916f1f9ec5a004 10-May-2016 Sunny Goyal <sunnygoyal@google.com> Unifying focus indicator handling for workspace and all-apps

Adding an abstract FocusIndicatorHelper based on FocusIndicatorView
which draws the background instead of using a dummy view.

Change-Id: Id560195323d2ddad8fcd77ba675cf3f4fd4a94ab
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
2a5b356375e15602acab429642064c566a1a1f4d 07-Jun-2016 Sunny Goyal <sunnygoyal@google.com> Merge "Allowing the first screen to expand to the screen edge" into ub-launcher3-calgary
4c395f23673f9a42b51ce7b47be0940ce846e03d 07-Jun-2016 Sunny Goyal <sunnygoyal@google.com> Merge "Removing the SearchDropTarget bar as it no longer contains the QSB" into ub-launcher3-calgary
b11ae50fcb2bb07ee77645fdacdf90f67f58dae4 07-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Guard all apps pull up work behind the flag

b/28917826

Change-Id: Ic001d820bad777d90c6bdcd1a17b6961e38769be
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
7c786f75d131addf849551a8cbc084c7c4ed0730 01-Jun-2016 Sunny Goyal <sunnygoyal@google.com> Allowing the first screen to expand to the screen edge

This allows the QSB to extend all the way to the edge
Change-Id: I43c6e21e44fef7fffe6fb12b7afb95549b68679f
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
47328fd53f43fd0c2ed14ad925dd04483f9229a0 26-May-2016 Sunny Goyal <sunnygoyal@google.com> Removing the SearchDropTarget bar as it no longer contains the QSB

> Renaming it to simply DropTargetBar
> Moving AppInfo to the top bar as well
> The workspace pages will extend to the top edge (minus some padding).
Since the QSB is no longer displayed on top of every page, there is
no reason to reserve the space.
> In spring-loaded mode, the workspace cell layout will scale enough
to make room for the drop target bar at the top

Change-Id: I2baf607310335dd576c9d9fcbb75ab708f47ac03
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
645764e3e5fa34d9adcddfc722d726b76f048306 06-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Pull up all apps interaction
First phase implementation: dragging and animation interaction is implemented
namely in two classes. ScrollGestureDetector and AllAppsTransitionController.

FeatureFlag.LAUNCHER#_ALL_APPS_PULL_UP will be true for only AOSP and
not in the extending builds. This way, we can safely iterate without
turning it on the shipped ready version.
b/28917826

Change-Id: I0501309c0121880ffe0555f82d6ac5a145581bb1
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
e22172537b9235a5ba41b3054677dd7ed6d89f02 23-Mar-2016 Tony Wickham <twickham@google.com> Disable pinch gesture when accessibility is enabled.

Bug: 27676309
Change-Id: Iba0f04693c494f258ef21d740ee933f9c32a7674
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
9c43182ff1d095b1bbaacedefe6e0f4c2deb17e3 23-Mar-2016 Tony Wickham <twickham@google.com> Add FeatureFlags.LAUNCHER3_DISABLE_PINCH_TO_OVERVIEW

Bug: 27796974
Change-Id: Icda33fb62783cc3f7b510d627d1eeb9cf29bd2d3
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
c5b31965d9bcb4c9899e2d1c45b5c95c70bac9f2 16-Mar-2016 Tony Wickham <twickham@google.com> Don't listen for the pinch gesture if the workspace is locked.

Bug: 27639653
Change-Id: I1f3b324a4b95cc5deaa2513dcbf4ed5a158a4866
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
95cdb3a0211650e76adb451588ce89fd585b178f 18-Feb-2016 Tony Wickham <twickham@google.com> Remove scrim on highlighted spring-loaded panel.

Bug: 27135377
Change-Id: I470955ed082a45ae7dc5f8fdd1f3decb2b573dbc
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
dadb304b4682998c43b9c07bef45b9a9380f3287 24-Feb-2016 Tony Wickham <twickham@google.com> Pinch to zoom out into overview mode.

There are 3 classes coordinating the gesture: PinchToOverviewListener,
PinchThresholdManager, and PinchAnimationManager.
- PTOL listens for the pinch gesture on DragLayer.
- When a pinch is detected, the PTOL keeps track of the interpolated
progress and passes it along to both the PTM and PAM.
- The PTM uses the progress to determine whether a new threshold has
been passed, and tells the PAM to animate it if so.
- The PAM uses the progress to animate things like workspace scale
throughout the pinch.
- If the pinch ends early, the PTOL uses the last passed threshold to
determine whether to animate to workspace or overview, and tells
PAM to perform the animation at the same velocity as the pinch.

Bug: 24414635
Change-Id: I9e53706c705f8b2982409bf7c223d8d0e9618bf0
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
32554d1c6169df944f651846c64096f8bb57fb31 04-Dec-2015 Sunny Goyal <sunnygoyal@google.com> Cleaning up the overlay interface

Removing some unnecessary and unused methods

Bug: 25993953
Change-Id: I4d715cdee04eb7b0ebef673d885a4258c521ff1f
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
261194387beebaa7927ec4e310274218b651494d 18-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Revert "Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage"

This reverts commit fc956e5a2a818c06ed3424e15b0aa20a3f604658.

Change-Id: Ib3b5156b8fc3cad35c4634d61d5390c848ce1f93
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
fc956e5a2a818c06ed3424e15b0aa20a3f604658 17-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage

Change-Id: Ifd0d717d70aff4c83c9eb5cba397d04500b2c869
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
f9c184a619e4e4b82cf9e0bf318ca6d8deaaaee7 16-Jan-2016 Adam Cohen <adamcohen@google.com> Refactor FolderIcon to separate the preview effect into it's own class

-> Created com.android.launcher3.folder package to house most folder-related files
(aside from the FolderInfo) which is more related to the model than the UI.

Change-Id: I767063e1e4c775c01a799a3bede30cd94ac48ade
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
e0c332365604976d999eb25d4bdcc49ec75b7a1c 08-Feb-2016 Tony Wickham <twickham@google.com> Tweak spring-loaded workspace.

- No page indicators in spring-loaded mode
- Don’t move workspace up as high
- Scale workspace at 90% instead of 80% on phones
- Increase speed of workspace -> spring-loaded -> workspace
- Widgets were being scaled down twice when dragging from widget picker
- Don't scale up icons when dragging (scaling other stuff down is enough)
- Make scrim less dark and panels more transparent
- Thin white border around page instead of highlight when hovering

Change-Id: I963e91c20d4c0340480d165e0f3b8064783c0cb2
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
0f97b7874fe29f36e7a40d2fe4b45d1e0e24fe1b 03-Dec-2015 Tony Wickham <twickham@google.com> Added config_springLoadWorkspace to enable/disable spring-loaded workspace.

- Added side hints back
- Only scale down icons if spring-loaded
- Only show App Info drop target if spring-loaded

Change-Id: I4b0dddccbe0e80b7ceb6b7266fc527f757744148
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
11c45f114165330ea9c895ca6fdf83fdaa2e5fad 04-Dec-2015 Tony Wickham <twickham@google.com> Merge "Add appropriate (tiny) offset to widget drops so they land correctly." into ub-launcher3-burnaby-polish
am: 8db5d7ca60

* commit '8db5d7ca60e79f007bfce7952c15c74d0ee44bc0':
Add appropriate (tiny) offset to widget drops so they land correctly.
34d2c915c4762a073b60bb676a9e905392e9679c 11-Sep-2015 Tony Wickham <twickham@google.com> Added AppInfoDropTargetBar to spring loaded workspace.

Change-Id: Ieedc68eba9a5934ab30d6d546d8a837274491064
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
94e0d37f53e699364ebff732cf75ab81a577fb91 11-Sep-2015 Tony Wickham <twickham@google.com> Initial spring loaded workspace.

It is a bit clunky and doesn't have the App Info drag bar at the
bottom yet, but it is a start.

Also removed page hints because they are no longer used.

Change-Id: I1f8f82d33e6694cab1f1c762e78852ac0d40ab33
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java
fedca43d396d6fd7c46fbb2f37dfa7cfe3b31834 20-Aug-2015 Vadim Tryshev <vadimt@google.com> Moving drag-drop related code into a separate package.

This is per an earlier CR comment "we should probably move all this code to its own package (launcher3.dragndrop) in a separate cl".

I'm not moving DragSource because it's referred from gsa code.

Bug: 22609426
Change-Id: Ia7204dab99c0c395c66b77143a2d60411153f5f3
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/DragLayer.java