History log of /packages/apps/Launcher3/src/com/android/launcher3/popup/SystemShortcut.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1d0b0e25dcde8ff3abf3484871c72116581f70d8 20-May-2017 Tony Wickham <twickham@google.com> Log when App info or Widgets system shortcuts are tapped

Sample output:
D/UserEvent: action:LONGPRESS
Source child:APP_ICON, grid(1,3), span(1,1), pageIdx=0 parent:WORKSPACE id=0
Elapsed container 135 ms session 7984 ms action 0 ms
isInLandscapeMode false
isInMultiWindowMode false
D/UserEvent: action:TAP
Source child:WIDGETS_BUTTON parent:DEEPSHORTCUTS
Elapsed container 41 ms session 8906 ms action 0 ms
isInLandscapeMode false
isInMultiWindowMode false
D/UserEvent: action:LONGPRESS
Source child:APP_ICON, grid(1,3), span(1,1), pageIdx=0 parent:WORKSPACE id=0
Elapsed container 184 ms session 11297 ms action 0 ms
isInLandscapeMode false
isInMultiWindowMode false
D/UserEvent: action:TAP
Source child:APPINFO_TARGET parent:DEEPSHORTCUTS
Elapsed container 678 ms session 11976 ms action 0 ms
isInLandscapeMode false
isInMultiWindowMode false


Bug: 37430954
Change-Id: I526edbf1eea551eb8eaddbb27e52058804fee874
/packages/apps/Launcher3/src/com/android/launcher3/popup/SystemShortcut.java
a2d1540c0e6051e670cabdb48976ee6da53f2c2f 03-May-2017 Tony Wickham <twickham@google.com> resolve merge conflicts of 82eb1f0ea to ub-launcher3-dorval-polish

Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ic1f6ace04ec2c11206276df76ef7a20df545d604
82eb1f0ea682b896ab35d2f25ebaaae29a37b45c 03-May-2017 Tony Wickham <twickham@google.com> Merge "Use source bounds/activity options for App Info System Shortcut" into ub-launcher3-dorval
e3c59256794448c67e01333a9f5036559b1bd502 03-May-2017 Tony <twickham@google.com> Use source bounds/activity options for App Info System Shortcut

Bug: 37923215
Change-Id: I6c3e64b7a98223ab26fde80c0a86dd169200065f
/packages/apps/Launcher3/src/com/android/launcher3/popup/SystemShortcut.java
0228b32ce0ad3a1d98d74e55c6b9615b8d19a6ac 02-May-2017 Tony Wickham <twickham@google.com> Merge "Close Folder when opening WidgetsBottomSheet" into ub-launcher3-dorval
am: 2bb1e74ccf

Change-Id: I6442f823d6c276add4ddb2275c5ed20aad8b29e4
8897b4167e7f3761ce477cac7699093dcd0782da 01-May-2017 Tony Wickham <twickham@google.com> Close Folder when opening WidgetsBottomSheet

Dragging a shortcut from the bottom sheet to the open folder crashes.

Bug: 37810233
Change-Id: I82c953dd67528f9f1bc5a678650e87215af347a2
/packages/apps/Launcher3/src/com/android/launcher3/popup/SystemShortcut.java
623daea93b8ca55b9cc99516df2284bde4322a0c 21-Apr-2017 Tony Wickham <twickham@google.com> resolve merge conflicts of 6f725f283 to ub-launcher3-master

Test: I solemnly swear I tested this conflict resolution.
Change-Id: I3559969b62a9a4b1ec04697109636e8cb0fd9fc8
6f725f2831e90f1df11f1315906c7554c87c5722 21-Apr-2017 Tony Wickham <twickham@google.com> Merge "Only add widgets system shortcut if widgets exist" into ub-launcher3-dorval
a7e1c1c08854930ddb4366698d5bf079ae0536f3 14-Apr-2017 Tony Wickham <twickham@google.com> Only add widgets system shortcut if widgets exist

Before we were adding it in a disabled state, and then enabling it once
widgets were bound (if widgets existed for that app). Now we load all
widgets when launcher starts so that we can use the values for the
purpose of animating the popup container. Then, as the container opens,
we reload widgets/shortcuts for that particular app and add/remove the
widgets shortcut if necessary.

Bug: 34940468
Change-Id: I64bd009442d10d3d1f9a977bdedfdb639a7dd193
/packages/apps/Launcher3/src/com/android/launcher3/popup/SystemShortcut.java
1788442dd1292b573093cf377bc5c18f331d2cde 20-Apr-2017 Tony Wickham <twickham@google.com> Mutate system shortcut icons in popup before tinting

Bug: 36865701
Change-Id: Ib5b45fe796b03a9a4a21f1eff90a2c75479ac62e
/packages/apps/Launcher3/src/com/android/launcher3/popup/SystemShortcut.java
1c2291de8682918e1556503f59b65c93f2542a1d 17-Apr-2017 Tony Wickham <twickham@google.com> Rename WidgetsAndMore to WidgetsBottomSheet
am: 343a77e609

Change-Id: I3d0c3e3a4ec1225781421567cfd9f2ea1d676bc0
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/popup/SystemShortcut.java
14780f60c5ef7981c6d7e5c6bee10eef0f67bced 14-Apr-2017 Tony Wickham <twickham@google.com> Merge "Update widgets bottom sheet to match redlines" into ub-launcher3-dorval
am: 3741f8d9da

Change-Id: If6fbb0dcd5ea8a947c586bddc624b98436863f92
c66c3e2ba4876c9d383c1d7deddeee474f1c4859 13-Apr-2017 Tony Wickham <twickham@google.com> Fix build - move system shortcut icon colors to theme

Change-Id: Iae248e5fdd57310adeb898305deee4c0eaee5318
/packages/apps/Launcher3/src/com/android/launcher3/popup/SystemShortcut.java
b5ac4ed5ec47cd6018bb6575852e2ec69c3592e8 12-Apr-2017 Tony Wickham <twickham@google.com> Update widgets bottom sheet to match redlines

- Remove "Configurable shortcuts" row, and put all widgets in one row
- Update some sizes and colors and text
- Center widget row if only one widget

Bug: 35766387
Change-Id: Ic3850feadee1cbbbdd68a772f597741d54949703
/packages/apps/Launcher3/src/com/android/launcher3/popup/SystemShortcut.java
d690d68f976ce0394d28f83352f922f3cccab16b 12-Apr-2017 Tony Wickham <twickham@google.com> Add app info icon with no shadow for popup

- Also changed opacities of the system shortcut icons to match spec
(38% black in header, 54% when expanded view is shown)

Bug: 35766387
Change-Id: I73881bf1c72c98d78a38d82c632c4954b02eff4e
/packages/apps/Launcher3/src/com/android/launcher3/popup/SystemShortcut.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/popup/SystemShortcut.java