Mario Bertschler
f41edbe875
Install long-click action for apps that are not installed.
...
Bug: 65059282
Change-Id: Ifec3ac15c9cf52c456e695846eb91024b07fe333
2017-08-31 12:09:13 -07:00
Tony Wickham
1d0b0e25dc
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
2017-05-25 21:37:58 +00:00
Tony Wickham
a2d1540c0e
resolve merge conflicts of 82eb1f0ea to ub-launcher3-dorval-polish
...
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ic1f6ace04ec2c11206276df76ef7a20df545d604
2017-05-03 12:59:09 -07:00
Tony Wickham
82eb1f0ea6
Merge "Use source bounds/activity options for App Info System Shortcut" into ub-launcher3-dorval
2017-05-03 18:20:41 +00:00
Tony
e3c5925679
Use source bounds/activity options for App Info System Shortcut
...
Bug: 37923215
Change-Id: I6c3e64b7a98223ab26fde80c0a86dd169200065f
2017-05-02 21:32:27 -07:00
Tony Wickham
0228b32ce0
Merge "Close Folder when opening WidgetsBottomSheet" into ub-launcher3-dorval
...
am: 2bb1e74ccf
Change-Id: I6442f823d6c276add4ddb2275c5ed20aad8b29e4
2017-05-02 21:11:22 +00:00
Tony Wickham
8897b4167e
Close Folder when opening WidgetsBottomSheet
...
Dragging a shortcut from the bottom sheet to the open folder crashes.
Bug: 37810233
Change-Id: I82c953dd67528f9f1bc5a678650e87215af347a2
2017-05-02 13:48:30 -07:00
Tony Wickham
623daea93b
resolve merge conflicts of 6f725f283 to ub-launcher3-master
...
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I3559969b62a9a4b1ec04697109636e8cb0fd9fc8
2017-04-20 16:24:09 -07:00
Tony Wickham
6f725f2831
Merge "Only add widgets system shortcut if widgets exist" into ub-launcher3-dorval
2017-04-20 23:08:47 +00:00
Tony Wickham
a7e1c1c088
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
2017-04-20 15:10:38 -07:00
Tony Wickham
1788442dd1
Mutate system shortcut icons in popup before tinting
...
Bug: 36865701
Change-Id: Ib5b45fe796b03a9a4a21f1eff90a2c75479ac62e
2017-04-20 14:19:24 -07:00
Tony Wickham
1c2291de86
Rename WidgetsAndMore to WidgetsBottomSheet
...
am: 343a77e609
Change-Id: I3d0c3e3a4ec1225781421567cfd9f2ea1d676bc0
2017-04-17 18:59:05 +00:00
Tony Wickham
343a77e609
Rename WidgetsAndMore to WidgetsBottomSheet
...
(It only contains widgets now.)
Bug: 35766387
Change-Id: I5864791a9741d1c56ac6df30125fe7a4a677b4bd
2017-04-17 11:44:41 -07:00
Tony Wickham
14780f60c5
Merge "Update widgets bottom sheet to match redlines" into ub-launcher3-dorval
...
am: 3741f8d9da
Change-Id: If6fbb0dcd5ea8a947c586bddc624b98436863f92
2017-04-13 23:07:57 +00:00
Tony Wickham
c66c3e2ba4
Fix build - move system shortcut icon colors to theme
...
Change-Id: Iae248e5fdd57310adeb898305deee4c0eaee5318
2017-04-13 12:24:42 -07:00
Tony Wickham
b5ac4ed5ec
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
2017-04-13 12:12:52 -07:00
Tony Wickham
d690d68f97
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
2017-04-12 14:38:37 -07:00
Tony Wickham
26b1746593
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
2017-03-30 16:35:56 -07:00