OSDN Git Service
Tony Wickham [Wed, 3 May 2017 18:20:39 +0000 (18:20 +0000)]
Merge "Use source bounds/activity options for App Info System Shortcut" into ub-launcher3-dorval
Tony [Wed, 3 May 2017 04:32:27 +0000 (21:32 -0700)]
Use source bounds/activity options for App Info System Shortcut
Bug:
37923215
Change-Id: I6c3e64b7a98223ab26fde80c0a86dd169200065f
Hyunyoung Song [Wed, 3 May 2017 00:04:08 +0000 (00:04 +0000)]
Merge "Uninstalling app from recent apps shelf should not leave a hole." into ub-launcher3-dorval
Hyunyoung Song [Tue, 2 May 2017 23:06:28 +0000 (16:06 -0700)]
Uninstalling app from recent apps shelf should not leave a hole.
Bug:
37751234
Change-Id: Ie36d2ab1a24523e5061582dbc0ee347444da8a78
Tony Wickham [Tue, 2 May 2017 21:19:12 +0000 (21:19 +0000)]
Merge "Relax notification filter for badges" into ub-launcher3-dorval
Tony Wickham [Tue, 2 May 2017 21:09:25 +0000 (21:09 +0000)]
Merge "Handle back-to-back height reduction animations" into ub-launcher3-dorval
Tony Wickham [Tue, 2 May 2017 21:05:05 +0000 (21:05 +0000)]
Merge "Close Folder when opening WidgetsBottomSheet" into ub-launcher3-dorval
Tony Wickham [Tue, 2 May 2017 18:16:26 +0000 (11:16 -0700)]
Relax notification filter for badges
- Allow notifications with only title or text, not both (centered in popup)
- Allow notifications without an intent (don't add onClickListener)
Change-Id: I33d9bdbe0d27347d703b6fb81eda64ebdc7429d5
Tony Wickham [Mon, 1 May 2017 15:44:35 +0000 (08:44 -0700)]
Close Folder when opening WidgetsBottomSheet
Dragging a shortcut from the bottom sheet to the open folder crashes.
Bug:
37810233
Change-Id: I82c953dd67528f9f1bc5a678650e87215af347a2
Jon Miranda [Tue, 2 May 2017 19:49:33 +0000 (12:49 -0700)]
Fix bug where system shortcuts text size is set to 0 in MW mode.
By default, the BubbleTextView sets the display to Workspace
mode, which sets the text size to be 0 in MW mode.
Bug:
37898830
Change-Id: I665611b9986f1025d54b7ddb80746d4016003313
TreeHugger Robot [Tue, 2 May 2017 13:45:06 +0000 (13:45 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval
The Android Open Source Project [Tue, 2 May 2017 10:36:29 +0000 (03:36 -0700)]
Import translations. DO NOT MERGE
Change-Id: I06d773eb648c315dd683fdc353be5a3f34e91f2e
Auto-generated-cl: translation import
TreeHugger Robot [Mon, 1 May 2017 22:33:13 +0000 (22:33 +0000)]
Merge "Remove background scrim when there are no top insets." into ub-launcher3-dorval
Jon Miranda [Wed, 26 Apr 2017 17:47:37 +0000 (10:47 -0700)]
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
TreeHugger Robot [Fri, 28 Apr 2017 07:28:13 +0000 (07:28 +0000)]
Merge "When creating bitmap, do not apply width/height ratio if AdaptiveIconDrawable b/
37670867" into ub-launcher3-dorval
Tony Wickham [Tue, 18 Apr 2017 18:05:37 +0000 (11:05 -0700)]
Handle back-to-back height reduction animations
We reduce the height of the notification item when the second to last
notification is dismissed (to remove the unused footer) and when the
last notification is removed (to remove the unused notification item).
If the former is runninng when the latter starts, the end result is
janky because we weren't properly cleaning up the first animation when
the second began. We now cancel the existing animation before starting
the second.
Bug:
36172954
Change-Id: I742c15b6f59874bc675b4c20a83e9578ac5e5387
Hyunyoung Song [Tue, 25 Apr 2017 18:20:05 +0000 (11:20 -0700)]
When creating bitmap, do not apply width/height ratio if AdaptiveIconDrawable
b/
37670867
Change-Id: I60884c52e7eb4b2d6f0ae2a5dc8e7c730f1f2454
Tony Wickham [Thu, 27 Apr 2017 19:07:34 +0000 (12:07 -0700)]
Re-enable badges, with all dots
Also updated folder badge (dot) color to light gray,
added notification header back (with same number as
before, where each notification counts as >= 1),
and increased shadow opacity for the dots.
Change-Id: I53a3e0d94f23f482b55b3c10a922939ebb381314
Tony Wickham [Thu, 27 Apr 2017 19:55:27 +0000 (12:55 -0700)]
Remove notification listener to disable badging
Bug:
37748653
Change-Id: I80d9f7c5274604f552113c7be0319d5cd454b29c
Hyunyoung Song [Thu, 27 Apr 2017 04:03:40 +0000 (04:03 +0000)]
Merge "Only apply legacy treatment on app icons that is targeting O" into ub-launcher3-dorval
Tony Wickham [Thu, 27 Apr 2017 01:13:56 +0000 (18:13 -0700)]
Support notifications with 0 count (show as dots)
- Show number if number > 0
- Show icon if number == 0 and a notification specified an icon to show
- Show a dot otherwise
- In cases of multiple notifications, stack a second badge behind the
first (visuals will be updated in future CL, as well as support
stacked dots)
- Folders always show dot if any app within has a badge.
Change-Id: I0a89059b0e0a0d174fe739c9da4f75fa18c0edfa
Hyunyoung Song [Wed, 26 Apr 2017 20:42:12 +0000 (13:42 -0700)]
Only apply legacy treatment on app icons that is targeting O
For shortcuts, always apply legacy treatment.
b/
37357483
Change-Id: I45f373ee0bb9436bc5029c88855ecb80b93fe277
Jonathan Miranda [Wed, 26 Apr 2017 17:53:25 +0000 (17:53 +0000)]
Merge "Set the alpha to 1 when overview button is focused." into ub-launcher3-dorval
TreeHugger Robot [Wed, 26 Apr 2017 15:56:18 +0000 (15:56 +0000)]
Merge "Move update popup header out of BubbleTextView" into ub-launcher3-dorval
Tony Wickham [Tue, 25 Apr 2017 19:46:04 +0000 (12:46 -0700)]
Move update popup header out of BubbleTextView
Now we update from Launcher, which is both more efficient (only run it
when badges update, not whenever BubbleTextView applies an ItemInfo) and
more logical/cleaner.
Change-Id: Ib77433d9489c29e9781b3a48de37de0e07b5ba07
TreeHugger Robot [Wed, 26 Apr 2017 15:46:21 +0000 (15:46 +0000)]
Merge "Fix updateIconBadges() in All Apps" into ub-launcher3-dorval
Jon Miranda [Tue, 25 Apr 2017 21:31:39 +0000 (14:31 -0700)]
Set the alpha to 1 when overview button is focused.
Bug:
37569953
Change-Id: I5c2acde3b5b443fe21e869d52bb9d2f8d98a914d
Tony Wickham [Tue, 25 Apr 2017 21:13:20 +0000 (14:13 -0700)]
Fix updateIconBadges() in All Apps
Instead of notifyItemChanged(), we iterate over children of the
RecyclerView itself and call applyBadgeState() on affected icons.
This is the same logic we do for the workspace.
Issues this fixes:
- Icons flash when dismissing notifications
- Badge reappears on the icon while popup is open
Change-Id: I5c69d5c6bd47630c0241666b5f7f6f7ca97118f9
Bill Yi [Wed, 26 Apr 2017 12:48:55 +0000 (05:48 -0700)]
Import translations. DO NOT MERGE
Change-Id: I9c3d417862f2ae0c30ed1ee9245d00b04a2624ad
Auto-generated-cl: translation import
TreeHugger Robot [Tue, 25 Apr 2017 20:02:37 +0000 (20:02 +0000)]
Merge "Update icon badges to match spec" into ub-launcher3-dorval
Tony Wickham [Fri, 24 Feb 2017 16:59:36 +0000 (08:59 -0800)]
Update icon badges to match spec
- Size defined as percentage of app icon size
- Width changes when there are 2 or 3 digits (round rect)
- Offset slightly away from the app icon
- Had to move drawing to BubbleTextView instead of
FastBitmapDrawable
- Hide badge when dragging and while popup is open
- Tweaks for some color/text parameters
Bug:
35744066
Change-Id: Ibb15ca634abaa0729aea637c904c4c6889a58c7c
Hyunyoung Song [Tue, 25 Apr 2017 03:48:53 +0000 (03:48 +0000)]
Merge "make sure all type of Item in DumpTarget contains component and package name b/
36904684" into ub-launcher3-dorval
Hyunyoung Song [Mon, 24 Apr 2017 20:01:47 +0000 (13:01 -0700)]
make sure all type of Item in DumpTarget contains component and package name
b/
36904684
Change-Id: I3c71726a376fd1923e193cafe3b5a9b85a48c895
Bill Yi [Fri, 21 Apr 2017 03:41:42 +0000 (20:41 -0700)]
Import translations. DO NOT MERGE
Change-Id: I2ae8231a21881c4546bf042778f6e29940ca91d8
Auto-generated-cl: translation import
Tony Wickham [Thu, 20 Apr 2017 23:08:47 +0000 (23:08 +0000)]
Merge "Only add widgets system shortcut if widgets exist" into ub-launcher3-dorval
Tony Wickham [Thu, 20 Apr 2017 22:13:20 +0000 (22:13 +0000)]
Merge "Mutate system shortcut icons in popup before tinting" into ub-launcher3-dorval
Tony Wickham [Thu, 13 Apr 2017 23:24:38 +0000 (16:24 -0700)]
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
Tony Wickham [Thu, 20 Apr 2017 21:19:24 +0000 (14:19 -0700)]
Mutate system shortcut icons in popup before tinting
Bug:
36865701
Change-Id: Ib5b45fe796b03a9a4a21f1eff90a2c75479ac62e
TreeHugger Robot [Tue, 18 Apr 2017 22:11:09 +0000 (22:11 +0000)]
Merge "Deleting any ghost widget from system service:" into ub-launcher3-dorval
Sunny Goyal [Mon, 17 Apr 2017 23:43:05 +0000 (16:43 -0700)]
Fixing adaptive icon bounds caching
Change-Id: Ifa0ed4d600fcd2c50558ea9ae6e95f3364d4949a
TreeHugger Robot [Mon, 17 Apr 2017 23:35:38 +0000 (23:35 +0000)]
Merge "[DO NOT MERGE] legacy icon treatment / circle detection Bug:
37357483" into ub-launcher3-dorval
Sunny Goyal [Thu, 6 Apr 2017 22:02:52 +0000 (15:02 -0700)]
Deleting any ghost widget from system service:
> A one-time DB update for removing any existing ghost widgets
> Handling widget cleanup when we bulk delete workspace items during loader
> Simplifying external delete
Bug:
35634653
Change-Id: Id0c520f57aee6d75d9c0e7bcd5786a464bf9f39f
Sunny Goyal [Mon, 17 Apr 2017 21:18:55 +0000 (14:18 -0700)]
Fixing icon left on the workspace when drag operation fails
Bug:
37294517
Change-Id: I1982b71cdeacff9e15bfa00c03620888c2a225c8
Tony Wickham [Thu, 13 Apr 2017 01:31:09 +0000 (18:31 -0700)]
Rename WidgetsAndMore to WidgetsBottomSheet
(It only contains widgets now.)
Bug:
35766387
Change-Id: I5864791a9741d1c56ac6df30125fe7a4a677b4bd
TreeHugger Robot [Mon, 17 Apr 2017 18:43:42 +0000 (18:43 +0000)]
Merge "Fix popup item animation pivot" into ub-launcher3-dorval
Tony Wickham [Mon, 17 Apr 2017 18:30:12 +0000 (18:30 +0000)]
Merge "Slightly round corners of popup arrow" into ub-launcher3-dorval
Tony [Fri, 14 Apr 2017 18:03:10 +0000 (11:03 -0700)]
Slightly round corners of popup arrow
Bug:
35766387
Change-Id: I8d2be54c977074dbcf0d5884f44347edd0217bb5
TreeHugger Robot [Mon, 17 Apr 2017 17:21:34 +0000 (17:21 +0000)]
Merge "Updating getApplicationInfo to handle NameNotFoundException" into ub-launcher3-dorval
Sunny Goyal [Mon, 17 Apr 2017 17:03:01 +0000 (10:03 -0700)]
Updating getApplicationInfo to handle NameNotFoundException
Bug:
37324177
Change-Id: If4caf7c61667fc874e7dbaff9f8c48b2c2cc107f
TreeHugger Robot [Mon, 17 Apr 2017 16:42:34 +0000 (16:42 +0000)]
Merge "Separating the DB upgrade into two paths: > schema update: changes in the table schema > data update: backward compatible changes to the data" into ub-launcher3-dorval
Sunny Goyal [Thu, 13 Apr 2017 19:01:47 +0000 (12:01 -0700)]
Separating the DB upgrade into two paths:
> schema update: changes in the table schema
> data update: backward compatible changes to the data
Bug:
37257575
Change-Id: I856854ff2bffa2701f903a24fdc3baf6641175fd
Hyunyoung Song [Mon, 17 Apr 2017 04:32:20 +0000 (21:32 -0700)]
[DO NOT MERGE] legacy icon treatment / circle detection
Bug:
37357483
Change-Id: I63049ad61ad259f546fcf5077ded0a5f444e4395
Tony Wickham [Tue, 11 Apr 2017 21:42:17 +0000 (14:42 -0700)]
Fix popup item animation pivot
Now it is based on the arrow center instead of height / 2
(this used to be the same when all items were separate)
Change-Id: I76c04344400c6d306e8404c1e93765adfbd0fe23
Tony Wickham [Fri, 14 Apr 2017 18:01:33 +0000 (18:01 +0000)]
Merge "Ensure system shortcut icons always appear in correct order" into ub-launcher3-dorval
Tony Wickham [Thu, 13 Apr 2017 22:55:57 +0000 (22:55 +0000)]
Merge "Update widgets bottom sheet to match redlines" into ub-launcher3-dorval
Tony Wickham [Thu, 13 Apr 2017 22:31:37 +0000 (15:31 -0700)]
Ensure system shortcut icons always appear in correct order
- Remove "|| true" that I accidentally left in from testing on a
different CL
- Always reverse system shortcut icons that appear in the header of the
ShortcutsItemView, so they are in priority order from right to left
Bug:
35766387
Change-Id: Ia7ac5a72eb2f6d3795e35bd044c426ef46fc0ccc
Tony Wickham [Wed, 12 Apr 2017 00:21:12 +0000 (17:21 -0700)]
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
TreeHugger Robot [Thu, 13 Apr 2017 18:46:17 +0000 (18:46 +0000)]
Merge "Updating gradle and build tools version" into ub-launcher3-dorval
Sunny Goyal [Thu, 13 Apr 2017 18:24:54 +0000 (11:24 -0700)]
Updating gradle and build tools version
Change-Id: I269788d6d7798a5324a9170935c31a7c565cc214
TreeHugger Robot [Thu, 13 Apr 2017 13:52:06 +0000 (13:52 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval
Bill Yi [Thu, 13 Apr 2017 10:57:49 +0000 (03:57 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ic0fcaa61a226e5123cc22713911a4d5113d39400
Auto-generated-cl: translation import
Tony Wickham [Wed, 12 Apr 2017 22:35:51 +0000 (22:35 +0000)]
Merge "Add app info icon with no shadow for popup" into ub-launcher3-dorval
Tony Wickham [Tue, 11 Apr 2017 23:21:41 +0000 (16:21 -0700)]
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
TreeHugger Robot [Wed, 12 Apr 2017 00:35:01 +0000 (00:35 +0000)]
Merge "Remove reflection for a couple of methods" into ub-launcher3-dorval
Tony Wickham [Mon, 10 Apr 2017 21:05:34 +0000 (14:05 -0700)]
Update popup to match redlines
- Update specs in dimens.xml and colors.xml
- Move notification count to top right, and keep "Notifications" in left
- Also removed NotificationHeaderView and instead use FrameLayout
- Limit to 2 shortcuts instead of 3 if there are notifications
- Use SP instead of DP for text (b/
35869307)
Bug:
35766387
Change-Id: I892640933ad6351946af3df6c805b98bb4e7cb50
Tony Wickham [Tue, 11 Apr 2017 23:39:58 +0000 (16:39 -0700)]
Remove reflection for a couple of methods
Bug:
36855196
Change-Id: I3e6b2901d1c12fffd0172e85df98e2e17e737168
Tony Wickham [Mon, 10 Apr 2017 23:19:51 +0000 (23:19 +0000)]
Merge "Disable notification listener on pre-26" into ub-launcher3-dorval
Tony Wickham [Mon, 10 Apr 2017 22:18:48 +0000 (15:18 -0700)]
Disable notification listener on pre-26
Also remove isAtLeastO() checks in NotificationListener
Bug:
35443111
Bug:
37207407
Change-Id: If3eef406328f73d114d826e6c8a158bdc3788cac
TreeHugger Robot [Mon, 10 Apr 2017 18:36:47 +0000 (18:36 +0000)]
Merge "Marking icon paths as non-translatable" into ub-launcher3-dorval
Tony Wickham [Mon, 10 Apr 2017 16:33:35 +0000 (16:33 +0000)]
Merge "Only create one bitmap to clip popup item corners" into ub-launcher3-dorval
Sunny Goyal [Mon, 10 Apr 2017 15:27:28 +0000 (08:27 -0700)]
Marking icon paths as non-translatable
Change-Id: Ifbe6c5a7edbc3ea361ae4a8ee38f9cde681813dc
Bill Yi [Sat, 8 Apr 2017 05:20:58 +0000 (22:20 -0700)]
Import translations. DO NOT MERGE
Change-Id: I8caf65bc71dd6114dc08746f69f693a8da9799f6
Auto-generated-cl: translation import
Tony Wickham [Fri, 7 Apr 2017 16:21:25 +0000 (09:21 -0700)]
Only create one bitmap to clip popup item corners
Previously we created a bitmap the size of the entire popup item and
drew a rounded rect in it to clip the corners. Now we create a bitmap
that is only the size of the rounded corner radius, and rotate and
translate it to all four corners to achieve the same clipping.
Besides the reduced memory of this approach, it also simplifies things
when we reduce the item's height (e.g. when the second to last
notification is dismissed), because we no longer have to recreate the
background bitmap to match the new size; the translation calculations
in dispatchDraw() automatically take the current size into account.
Bug:
35869307
Change-Id: I938bbc4bd87479580287426b4197516caf1a64d4
Hyunyoung Song [Thu, 6 Apr 2017 22:42:10 +0000 (22:42 +0000)]
Merge "Launcher dump proto that will be used for:" into ub-launcher3-dorval
Hyunyoung Song [Wed, 5 Apr 2017 22:01:06 +0000 (15:01 -0700)]
[cleanup] Shadows should not be clipped on AdaptiveIconDrawable
b/
36702964
Change-Id: I28d460eee6de84cd74866223b92d43274d64d334
Hyunyoung Song [Wed, 5 Apr 2017 20:15:13 +0000 (13:15 -0700)]
Shadows should not be clipped on AdaptiveIconDrawable
b/
36702964
Change-Id: Ic7363196aa493b4aa6a2dffa9c3e8f3399b1b3f3
Tony Wickham [Wed, 5 Apr 2017 19:54:40 +0000 (19:54 +0000)]
Merge "Add support for getting widgets/shortucts for a particular package/user" into ub-launcher3-dorval
Hyunyoung Song [Mon, 6 Feb 2017 18:46:24 +0000 (10:46 -0800)]
Launcher dump proto that will be used for:
$ adb shell dumpsys activity provider com.android.launcher3/com.android.launcher3.LauncherProvider
To see how the proto is filled: go/launcher-proto-dump
b/
31772480
Change-Id: I8e0f1e5e38148a3dfeabd2fc057392193b2625dd
(cherry picked from commit
6aa3729e98502d4cffc40a7e602628b85d558edd)
Tony Wickham [Wed, 29 Mar 2017 22:30:43 +0000 (15:30 -0700)]
Add support for getting widgets/shortucts for a particular package/user
Bug:
34940468
Bug:
33553066
Change-Id: I5d0131df206c6a13d4227ad28c5b094bbf1343df
Sunny Goyal [Sat, 1 Apr 2017 03:09:34 +0000 (20:09 -0700)]
Adding support for dynamically change icon shape for AdaptiveIcons
> This would allow developers to verify their icon designs on different
device configurations
> This settings is only visible when developer settings is enabled
Change-Id: I7e32abfede001c134f23390734dcd39c93b68b9a
Tony Wickham [Mon, 3 Apr 2017 21:27:04 +0000 (14:27 -0700)]
Small UI fix for widgets/app info shortcuts
- Switch order of widgets & more and app info.
- Start binding widgets after starting to update these shortcuts on the
UI thread, so that they will show up without waiting for the bind
logic, which can take a while. We already have a callback mechanism
for enabling widgets & more after widgets are bound, so this was how
it was supposed to work already.
Change-Id: I5f702f9c0814d30acf6298be309c6dc30727316e
Sunny Goyal [Mon, 3 Apr 2017 21:12:15 +0000 (14:12 -0700)]
Clearing icon cache due to system app icon changes (without any SDK change)
Bug:
36366450
Change-Id: I23b77bd2bff292dee0e9ec576ba49f03e34628a6
TreeHugger Robot [Mon, 3 Apr 2017 17:44:13 +0000 (17:44 +0000)]
Merge "Temporarily use reflection to get notification badge icon type" into ub-launcher3-dorval
Tony Wickham [Mon, 3 Apr 2017 17:18:42 +0000 (10:18 -0700)]
Temporarily use reflection to get notification badge icon type
Bug:
36855196
Change-Id: I408a98140c68f38327a6cd8ce4cc46c5f2fe34e6
TreeHugger Robot [Fri, 31 Mar 2017 21:25:37 +0000 (21:25 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval
Bill Yi [Fri, 31 Mar 2017 01:26:20 +0000 (18:26 -0700)]
Import translations. DO NOT MERGE
Change-Id: I6e43f5ea27bb929b545923d7da58f56d57b2e57f
Auto-generated-cl: translation import
Tony Wickham [Tue, 21 Mar 2017 00:12:24 +0000 (17:12 -0700)]
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
TreeHugger Robot [Thu, 30 Mar 2017 23:32:57 +0000 (23:32 +0000)]
Merge "Delay the PinItemRequest#accept() call until the drop animation is finished." into ub-launcher3-dorval
Tony Wickham [Thu, 30 Mar 2017 23:21:39 +0000 (23:21 +0000)]
Merge "Add WidgetsAndMore bottom sheet" into ub-launcher3-dorval
Tony Wickham [Tue, 21 Mar 2017 00:12:24 +0000 (17:12 -0700)]
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
Sunny Goyal [Thu, 30 Mar 2017 22:30:47 +0000 (15:30 -0700)]
Delay the PinItemRequest#accept() call until the drop animation is finished.
This prevents the caller app from taking over the focus while animation
it running.
Change-Id: I51b6673c59e848c263727502dee90504ed3a2162
Sunny Goyal [Thu, 30 Mar 2017 19:30:41 +0000 (12:30 -0700)]
Updating some strings in add widget/shortcut flow
Bug:
36725328
Change-Id: I1006a48201fc5abb5c1f70c244c79a63f3195565
TreeHugger Robot [Thu, 30 Mar 2017 19:18:00 +0000 (19:18 +0000)]
Merge "Fixing multiwindow drag operation during with rotation." into ub-launcher3-dorval
TreeHugger Robot [Thu, 30 Mar 2017 18:58:17 +0000 (18:58 +0000)]
Merge "Adding logging for various interaction in PinItemRequest UI" into ub-launcher3-dorval
TreeHugger Robot [Tue, 28 Mar 2017 19:02:14 +0000 (19:02 +0000)]
Merge "Add isInMultiWindowMode bool to all logs." into ub-launcher3-dorval
TreeHugger Robot [Tue, 28 Mar 2017 19:00:58 +0000 (19:00 +0000)]
Merge "Log when users exit Overview mode by tapping on the Workspace." into ub-launcher3-dorval
Sunny Goyal [Mon, 20 Mar 2017 22:08:06 +0000 (15:08 -0700)]
Fixing multiwindow drag operation during with rotation.
> Finishing activity when rotation preference change. This ensures that
any prefenrece change is immediately applied instead of waiting for resume
as the new activity is always started with proper setting.
> Clearing task when starting drag in landscape mode. This ensures that a new
activity instance is started in this case, which overrides previous locked
rotation by launcher activity.
> Handling drag request in onCreate and enabling rotation based on it.
> Clearing any request from the launcher intent once the drag operation
is complete
Bug:
36226746
Change-Id: I69f56c13827c25f3e1bc84935cb2acc59b6bd349
TreeHugger Robot [Mon, 27 Mar 2017 18:33:52 +0000 (18:33 +0000)]
Merge "Removing some unnecessary stacktraces from the log" into ub-launcher3-dorval
Sunny Goyal [Mon, 27 Mar 2017 18:22:36 +0000 (11:22 -0700)]
Removing some unnecessary stacktraces from the log
Bug:
36604650
Change-Id: If754aacf37fed5fdc9ff419812c0924ad136eb45
Tony Wickham [Mon, 27 Mar 2017 17:53:40 +0000 (17:53 +0000)]
Merge "Use notification counts (instead of assuming all 1)" into ub-launcher3-dorval