Hyunyoung Song
0a4a4d920e
Revert "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853"
...
Revert "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853"
Revert "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853"
Revert submission 12190253-merge_ub-launcher3-rvc-qpr-dev_6690853
Reason for revert: Build ID picked from ub-launcher3-master and not ub-launcher3-rvc-qpr-dev
Reverted Changes:
I9e658ece0:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
I2a47fe180:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Ie86b0a2e0:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Id3ca76da6:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Ib6a63da0f:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Bug: 162366734
Change-Id: Ie81853a34c9a48d5b3fd922c65483a9ff639e0ce
Merged-In: Ibff46b3ef7ff89accb459db323f31179adb4ef21
2020-07-28 23:43:43 +00:00
Sunny Goyal
852537fd98
Using StatsLog for notifyingAppPredictor
...
> Adding a listener in StartsLogManager for listening to events.
This allows events to be directored to the predictor only if
it is already running, instead of creating it.
> Unifying the event format to be same as hotseat predictor
Bug: 160748731
Change-Id: Ib00e6249ff642c030f00bcad5b748255e704d16a
2020-07-16 14:12:15 -07:00
thiruram
c6a38ba5d8
Replaces StatsLogManager.log with StatsLogManager.logger()
...
Bug: 159170445
Change-Id: Ice6c8a9ae30d8e6b3843bfe42926053849bf9fe0
2020-06-17 17:32:54 +00:00
Hyunyoung Song
13c2bc7303
LAUNCHER_APP_LAUNCH_TAP should log correctly for icons inside folder
...
Bug: 137777105
Change-Id: I5c1552481fc1b788ba41c57bfe97f126f55e5b16
2020-06-11 23:51:17 -07:00
thiruram
a00bcf326c
Log tap on app info within task menu.
...
Override TaskShortcutFactory.dummyInfo to logs 'task -> app info' as TaskEvent and 'app icon -> app info' as AppEvent.
Bug: 157770913
Sample Log: https://docs.google.com/document/d/1FXi_jY1B63aMSjNyomAmoN1nSTtVbvculNGX7TKdRRw/edit#bookmark=id.j2cziephk9fy
Change-Id: I448a489fcc93324f6082eba2857644feb5d6bca3
2020-06-03 10:55:39 -07:00
thiruram
5f1274c863
Log tap on widget and appinfo system icons within ShortcutContainer.
...
Bug: 157765763
Change-Id: Id417728d27678cce073ff36d24b129c4435dcbe5
2020-06-01 21:56:12 +00:00
Sunny Goyal
e396abf502
Moving model data structures to a separate file
...
Change-Id: I77ad7a5219e72d2e0d6c1803de2ac3ed6a65a8f7
2020-04-09 13:20:39 -07:00
Samuel Fufa
5cf3e86f80
Move 'dismiss prediction' to droptarget
...
This is done to avoid shortcuts being crowded when a predicted app is
long pressed.
Bug: 148707493
Test: Manual
Change-Id: I356a2cebfcc329478d96ee815fd641179359a572
2020-02-04 12:24:16 -08:00
Samuel Fufa
3351fd60f6
Change Icon for app icon dismiss action
...
Bug: 145556909
Test: Manual
Change-Id: Icb55f813c76b4cc8e6052b1f6eb6586230727bb9
2020-01-31 16:35:47 -08:00
Samuel Fufa
a18eb686d0
Add dismiss option for hotseat items
...
Bug: 145556909
Test:Manual
Change-Id: Ia40d22226b5cf9482f19f82ef08e399d294be6da
2020-01-06 16:40:24 -08:00
Sunny Goyal
73b5a27b14
Updating some non-final static objects
...
Updating various static objects to use a standard pattern so that
it is easier to track and cleanup those objects
Bug: 141376165
Change-Id: Ia539cbfa338d544dddad771c5027b6748762768b
2019-12-11 13:22:58 -08:00
Sunny Goyal
7805d49764
Separating SystemShortcut and Factory
...
> This makes easier to extend the factory and callbacks separately
> Availability checks are only performed once when getting the shortcut
Change-Id: I413541eabfb2b9e987c852d5171c6696b1853958
2019-10-23 12:57:50 -07:00
Pinyao Ting
2f9019e56c
add null check when accessing target component from iteminfo
...
Bug: 139540363
Change-Id: I25d0100077de67b085c27b5ef91e22c6ac1ad959
2019-08-16 14:25:31 -07:00
Samuel Fufa
866ff00eb3
Add a "Dismiss" option for predicted apps in Launcher
...
Test: LongPress on a pridicted app to see dismiss options.
Bug:139020180
Change-Id: I877863c65def0d845c0ae2f0987fe7a4f6277565
2019-08-13 23:57:11 +00:00
Jon Miranda
cd17e6db95
Use ActivityOptions.makeBasic for App Info animation.
...
Bug: 130442915
Change-Id: I4ca416d7aa27fc8c52fe5fe36384fe5839e83e06
2019-04-18 10:40:31 -07:00
Sunny Goyal
9589916418
ShortcutInfo renamed to WorkspaceItemInfo
...
Will get rid of ShortcutInfoCompat in a follow up cl
Change-Id: I7d7d9c938635f59b216290ba28bea9d0e0721a7d
2019-04-16 00:08:24 -07:00
Sunny Goyal
369212aed9
Adding a utility class to listen for app launches
...
Change-Id: I62e82a6e04b7101773d98c6e7aec574facd053fe
2019-03-26 16:38:58 -07:00
Vadim Tryshev
fdfeb6dd3b
Moving Pause button to the left of the context menu header
...
See this mock:
https://www.google.com/url?q=https://docs.google.com/presentation/d/1AepsnLeKcRhjMW35SkB5yMKO3u6waigug8Tyfe0LO5o/edit%23slide%3Did.g455d187f2a_0_45&sa=D&ust=1542320415002000&usg=AFQjCNH-jsy5THG1WqxjeYbj628QFMJKvQ
Bug: 117888000
Test: Manual
Change-Id: I1edbc569347f09f0806ad6749735c3dec198277a
2018-11-26 14:30:52 -08:00
Vadim Tryshev
dc7d25d3e1
Adding SystemShortcut for RemoteAction
...
Bug: 117888000
Test: manual test with a prototype
Change-Id: I10ed0a8c0237a85af5ac32a7fc68e1f9d2ffc5ba
2018-10-19 14:34:00 -07:00
Vadim Tryshev
9acafc228b
Modifying SystemShortcut to enable support for RemoteAction
...
See the bug, comment #1 for details
Bug: 117888000
Test: manual test with a prototype
Change-Id: I0422df6006e2cfc7344fc3bee531341b11b1050e
2018-10-17 13:45:25 -07:00
Matthew Ng
00fec0d53b
App menu icon launching app info hides taskview menu
...
Change-Id: I0b493229d18027adbb7c1ee15b38d859e0b3a434
Fixes: 111405044
Test: go to overview, tap icon, tap app info
2018-07-13 17:00:24 -07:00
Jon Miranda
73c27ec176
Enable new open app transitions when in multiwindow mode.
...
Bug: 79118278
Change-Id: Iba79948256d70c913af0a9a584eb040f3a8b4151
2018-05-22 17:25:11 -07:00
Sunny Goyal
0b0847b272
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
2018-03-15 17:29:43 -07:00
Winson Chung
1054d4e8f2
Revert "Revert "Adding support for hiding widgets from the widget tray and reconfiguring widgets""
...
This reverts commit f502e5faec .
Reason for revert: Reverting post-build
Change-Id: I09eb292dbbbe37ffaf3abc477aa2ddb5700093b8
2018-03-05 19:39:21 +00:00
Winson Chung
f502e5faec
Revert "Adding support for hiding widgets from the widget tray and reconfiguring widgets"
...
This reverts commit b29a5fa55c .
Reason for revert: Temporary revert for build.
Change-Id: I58045ad1ce28d398a5216ba4fbbcdba1196942ec
2018-03-05 18:06:52 +00:00
Sunny Goyal
b29a5fa55c
Adding support for hiding widgets from the widget tray and reconfiguring widgets
...
> Removing AppInfo target
> Switching between uninstall and setup based on the drag view
Bug: 63931362
Change-Id: Iccd6f965fa3d61992244a365efc242122292c0ca
2018-03-02 13:20:09 -08:00
Tony Wickham
005df0ba69
Animate launcher when launching recent tasks
...
- Scale up adjacent recent tasks and translate away from center
- Workspace card instead recenters in the screen
- Translate hotseat offscreen
Clicking on one of the adjacent tasks will scale it up to the
center of the screen while the center and other adjacent task
parallax to the right beneath it.
Change-Id: If96eec987c100458b8444a6cd698ec7bf6e6ba6b
2018-02-26 14:05:59 -08:00
Sunny Goyal
56ff06a8e8
Merge "Adding referrer information when launching market intent" into ub-launcher3-master
2018-01-23 00:29:29 +00:00
Sunny Goyal
67e75e20cc
Adding referrer information when launching market intent
...
Bug: 72331091
Change-Id: I75ed764fd9964b58de97c287b8a26d24a0caa3fc
2018-01-22 15:14:23 -08:00
Jon Miranda
6586b54ded
Fix crash for apps launched through non-BubbleTextView views.
...
* Same transition/animation, except we don't create a visual copy of the View.
Bug: 72314029
Bug: 70220260
Change-Id: I79898be1cae7160b5dc35cc1ea8ba3dc5b2db05c
2018-01-22 13:55:58 -08:00
Jon Miranda
17940f053d
Fallback to old implementation for opening apps in MW mode.
...
Bug: 70220260
Change-Id: I20aa61357c67e11806823cdfcfbdb76ef773554b
2018-01-18 15:13:37 -08:00
Tony Wickham
2fae2a0e9c
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
2018-01-02 15:44:34 -08:00
Sunny Goyal
00ac920241
Simplifying app icon popup
...
> Using a single linearLayout instead of multiple nested views
> Using clipToOutline for rounded corners instead of using canvas.saveLayer
> Removing nested view elevations and overdraw
> Using LayoutTransition for animating layout changes, instead of manually creating animators
Change-Id: I8e57092f52ca5a032a2756594fdd39788acc5a0d
2017-11-15 16:43:20 -08:00
Sunny Goyal
f1fbc3fbe7
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
2017-10-13 18:47:54 -07:00
Sunny Goyal
3dce5f3f50
Merging duplicate logic for deferred drop handling in Worksace and Folder
...
> All the logic is contained in UninstallDropTarget
> Also fixing a bug were mWaitingForResume was not cleared
Bug: 34692289
Change-Id: I617475ce53062902d6817954fb608198e6e03d3c
2017-10-06 09:07:36 -07:00
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