History log of /packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
17839d5f62dd05c19da727d072caa22f31a76ba7 23-May-2018 Vadim Tryshev <vadimt@google.com> Removing discovery bouncer from accessibility

It was obstructing views under it.

Solves both Talkback and Switch Access issues.

Bug: 80192025
Test: Manual
Change-Id: Ia7fad91e1fcb857afbf68f879550c670279cee68
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
52cb0a73a4d15e60974f784cedca48e0438d6b16 22-May-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Go back to previous state when hitting back from discovery bounce" into ub-launcher3-edmonton
52c1b66f46eb4764825f87d4be07c62cd650935c 21-May-2018 Tony Wickham <twickham@google.com> Go back to previous state when hitting back from discovery bounce

Normally when you hit back, we just close the floating view if there
is one. This makes less sense for DiscoveryBounce, since it doesn't
feel like a different state even though it's technically a floating
view. So in that case, don't consume the back press; let launcher
handle it to go to the previous state.

Bug: 80075741
Change-Id: I7270b61be70509cb2101400a12929478a5d082aa
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
bd6fba9f589d02550c7542afa1906e2e3dd82a1b 17-May-2018 Hyunyoung Song <hyunyoungs@google.com> onResume event should be logged (not twice but once)
Bug: 79541772

Change-Id: I5fe1271007e4579e1ec95d51c215ef48d0c6eedd
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
8155fa2aa50a4c2ae3d4d1c599d249b6e20ec47d 19-May-2018 Tony Wickham <twickham@google.com> Don't prevent animations in power save mode

Now that batter saver mode doesn't get rid of animations in P, we
shouldn't use custom logic to prevent them either.

Also updated ATLEAST_P to use version code.

Bug: 79990054
Change-Id: If17cf369035c976f3d9d81f35432a045f1956ce5
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
de7532154259ed79d7ed6d2fcc9e82ff2860a5a3 15-May-2018 Sunny Goyal <sunnygoyal@google.com> Fixing wrong accessibility focus when opening a floating view

> Using common logic for announcing a floating view for widgets and folders

Bug: 79091095
Bug: 79748886
Change-Id: Ibb3fe48e68e724f50d69f51a03d3b35ad0baf625
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
83337f9e8e6ff91fe3bf64eddab3d72cc2d8369c 24-Apr-2018 Jon Miranda <jonmiranda@google.com> Call close for AbstractFloatingViews that were removed while still open.

I'm not sure how/when this case occurs (perhaps during some transition/state
change), but manually removing the floating view matches the symptoms in the
bug.

Bug: 72996404
Change-Id: I1e7c1a338fcd16c8e07b3c49fb9c9b2097eb2708
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
df1eb8bb86cbf3eddba54f9f78718ab6e5734185 13-Apr-2018 Tony Wickham <twickham@google.com> Don't show back button when discovery bounce is playing

Bug: 74766552
Change-Id: Ib3b514f4a2bfaa8593b82cd5acb16f02dd09dcc7
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
fcb7e19f67deaadbb535c074a445568ebb4ec898 05-Apr-2018 Jon Miranda <jonmiranda@google.com> Close options popup when rebinding launcher.

Bug: 77582012
Change-Id: I6707ca526c8c934f56b227288d2cbea7139ac41d
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
0b0847b272a37ed115504956be5ce44a96b5784c 14-Mar-2018 Sunny Goyal <sunnygoyal@google.com> Fixing taskMenu and taskView clicks in fallback activity

> Extracting common methods from Launcher & DragLauncher to base classes
> Remoting some dependencies on Launcher and using the base class instead

Change-Id: I121cacf8a14190b4703cda60bdeb4f79eee69ded
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
b3fbc0ba8f94a6a0f60822dc7fc209c45d7501d9 14-Feb-2018 Hyunyoung Song <hyunyoungs@google.com> Quick step/scrub/switch logging
- state transition happening due to Home and back is handled by
specifying src target as 'from' container and dst target as the 'to'
container
- Source and Destination container shows FROM and TO state for SWIPE/FLING
- event.isStateChange = true indicates that an action resulted in
state transition
- Elapsed container millis is the screen time on the source container

Bug: 70181187

- logcat printout with setprop log.tag.UserEvent VERBOSE
1) State: WORKSPACE -> ALLAPPS
action:FLING direction=UP
Source child:HOTSEAT id=0 parent:WORKSPACE id=0
Destination child:ALLAPPS
Elapsed container 1225 ms, session 1225 ms, action 0 ms

2) ALLAPPS -> HOMESCREEN
action:FLING direction=DOWN
Source child:ALLAPPS parent:ALLAPPS
Destination child:WORKSPACE id=0
Elapsed container 971 ms, session 2197 ms, action 0 ms

3) HOMESCREEN -> OVERVIEW
action:FLING direction=UP
Source child:NAVBAR parent:WORKSPACE id=0
Destination child:TASKSWITCHER
Elapsed container 4834 ms, session 4834 ms, action 0 ms

4) OVERVIEW-> ALLAPPS
action:FLING direction=UP
Source child:TASK parent:TASKSWITCHER
Destination child:ALLAPPS
Elapsed container 2176 ms, session 7010 ms, action 0 ms

5) ALLAPPS->OVERVIEW
action:FLING direction=DOWN
Source child:ALLAPPS parent:ALLAPPS
Destination child:TASKSWITCHER
Elapsed container 3683 ms, session 10693 ms, action 0 ms

6) OVERVIEW-> HOMESCREEN
action:FLING direction=DOWN
Source child:TASK parent:TASKSWITCHER
Destination child:WORKSPACE id=0
Elapsed container 2108 ms, session 12801 ms, action 0 ms

7) APPS-> OVERVIEW
action:FLING direction=UP
Source child:NAVBAR parent:APP
Destination child:TASKSWITCHER
Elapsed container 104 ms, session 104 ms, action 0 ms

8) Quickscrub: action:DRAGANDDROP Source child: QUICK

9) Quickswitch: action:FLING Source child: QUICK

Change-Id: I5898230859ff600f48a2a873a40b670fe4d39a0d
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
02424b20f3718e8b52b9e586b491eb3accfdafb6 19-Jan-2018 Sunny Goyal <sunnygoyal@google.com> Adding a horizontal popup when when workspace is longPressed

Change-Id: I5b3c48262c246bfe53e0010ca89c820f42503eef
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
6c870f29428ee54a5410d71e92410bcd1247ac99 04-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Adding support for auto-cancelling an action mode when interacting with launcher" into ub-launcher3-master
2fae2a0e9c337d217a63980f19eaae198720f86a 15-Dec-2017 Tony Wickham <twickham@google.com> Add system shortcuts when long pressing recent icon

We add a floating view for the menu that aligns with the task icon.

If available, the following shortcuts are present:
- Widgets
- App info
- Install (for instant apps)

It is designed to be straightforward to add to this list.

Bug: 70294936

Change-Id: I56c1098353d09fc564e0e92e59e4fcf692e486ba
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
7c8a65e740a118969e8de1e9a4e73b6768e725c1 22-Dec-2017 Sunny Goyal <sunnygoyal@google.com> Adding support for auto-cancelling an action mode when interacting with launcher

Change-Id: Iba0207e36e9e5bd94bd9016318a4e00c6e1f6393
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
7ede6118b774d288849e3e637bbd9f1c149034e4 06-Dec-2017 Sunny Goyal <sunnygoyal@google.com> Moving discovery bounce logic to a separate class.

Removing special transition handling around discovery bound to avoid
inconsistant UI state

Change-Id: Ia40bcb0719076021a6c96f1bd16d44da0286a209
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
191b688cc82a7997cd0c166c251aa2da3eec975f 29-Nov-2017 Tony Mak <tonymak@google.com> Bottom user education view shown in work tab

Introduced a BottomUserEducationView for similar use case.

Screenshot: https://hsv.googleplex.com/4856820942241792

BUG=69963630

Change-Id: Ia818ee44fa5ce97ad1778f33e6a9a3a36cea5017
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
f8088eecf1939ef6ada4161f7c22c89a852fe4fd 10-Nov-2017 Sunny Goyal <sunnygoyal@google.com> Initial changes for handling touch events.

When the touch passes a threashold, we take a snapshot and start the launcher
activity. The launcher displays the snapshot on top of its UI.
As we get further touch events, we move this snapshot and the hotseat in reponse.

Change-Id: I4623676227000afd52805a414a4de499081feced
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
f1fbc3fbe78997f141e2770221fe5ab1b1e68014 11-Oct-2017 Sunny Goyal <sunnygoyal@google.com> Converting widget panel into a floating view

> The widget panel is only inflated when needed
> Using the swipe up/down interaction for widgets tray
> Removing additional view wrappers from all-apps
> Widget tray is preserved across activity recreation
> Launcher no longer has WIDGET state, the actual code around
the states will be removed in a follow-up cl

Bug: 67678570
Bug: 67585158
Change-Id: Ia29a7c33ec81e6c53cc24e2906b7022b6f41755b
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
10a1bd0e652ec7ea3e3ee861fc0d72261a33a3fd 09-Oct-2017 Sunny Goyal <sunnygoyal@google.com> Converting PopupContainerWithArrow into a base class so that it is easier
to create other types of popup

Bug: 67585158
Change-Id: I966ae7bb90f941951b26feaf71b3ea30c3f3c0cc
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
37920966888587900885c88a63785cb16567684c 28-Sep-2017 Sunny Goyal <sunnygoyal@google.com> Allowing the widgetBottomSheet to be dragged
even when the touch is started from outside the panel

Removing various instanceOf checks in onNewIntent and onBackPress
and moving all the corresponding logging in the FloatingView
This simplifies handling of panel specific log and avoids
missing a particular panel type in the if-else statement.

Bug: 64751884
Bug: 64751923
Change-Id: I98f5aae18560a64be73c9efcf495479740d49a00
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.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/AbstractFloatingView.java
26b1746593851e239bfff65ae7a69b809ad87b99 21-Mar-2017 Tony Wickham <twickham@google.com> Add support for system shortcuts in popup container

- Currently the system shortcuts are just widgets and app info
- As shortcuts, they live in ShortcutsItemView
- They are populated either as icons only (if there are deep
shortcuts) or as icons + text
- Widgets are disabled until binding them is complete (we request for
them to be bound on long-press now). We should revisit this.

Bug: 34940468
Change-Id: Ia51d002c3b3ede87658bdab57abfc3eeca1ed242
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.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/AbstractFloatingView.java
51889b0be83dc34c9752fc066d0d6e75ab4f5e26 28-Feb-2017 Tony Wickham <twickham@google.com> Merge deep shortcuts in rounded rect

- DeepShortcutViews are added to ShortcutsItemView, which
is in PopupContainerWithArrow
- Moved some shortcut-specific logic to ShortcutsItemView
(namely, touch/long-click handling for draggin shortcuts)
- Moved round-rect clipping to PopupItemView
- Removed collapseToIcon() logic, including
PillWidthRevealOutlineProvider, which was only used for
that purpose. It isn't necessary now that the deep
shortcuts have no background themselves.
- Replaced focus pill drawable with ripple effect on
shortcuts and notification view.

Bug: 35766387
Change-Id: I6bc09f1851cfbb806df4bf75a6e435b0f1900c9c
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.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/AbstractFloatingView.java
540913eadf39f1e8632d2b6f0bc33aa635214198 23-Jan-2017 Tony Wickham <twickham@google.com> Refactor DeepShortcutsContainer to PopupContainerWithArrow

- Also added PopupItemView, which takes animation logic from
DeepShortcutView, and which DeepShortcutView now extends.
- Renamed ShortcutFilter to PopupPopulator, which has support
for new item types (not yet used). Also moved populating
logic (e.g. UpdateShortcutChild Runnable) to PopupPopulator.

Bug: 32410600
Change-Id: Ib6e444ac7ca99c80ba438801c26e62d9542e0ad9
/packages/apps/Launcher3/src/com/android/launcher3/AbstractFloatingView.java
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/AbstractFloatingView.java