Commit Graph

2408 Commits

Author SHA1 Message Date
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 65a585946b Merge "Slightly round corners of popup arrow" into ub-launcher3-dorval
am: 8ae09bc376

Change-Id: I9052e1e0c85d2e2c76ed47c4c34ea9fb92e8825a
2017-04-17 18:36:05 +00:00
Tony Wickham 8ae09bc376 Merge "Slightly round corners of popup arrow" into ub-launcher3-dorval 2017-04-17 18:30:13 +00:00
Tony 58292674e5 Slightly round corners of popup arrow
Bug: 35766387
Change-Id: I8d2be54c977074dbcf0d5884f44347edd0217bb5
2017-04-17 10:25:49 -07:00
TreeHugger Robot 95e3c0815c Merge "Rename language+country resources to just language" into ub-launcher3-master 2017-04-14 01:13:07 +00: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 3741f8d9da Merge "Update widgets bottom sheet to match redlines" into ub-launcher3-dorval 2017-04-13 22:55:58 +00:00
Roozbeh Pournader 07fc44efeb Rename language+country resources to just language
Bug: 26496609
Test: none
Change-Id: I2f002b4c35834dcde303ce700cc47c885750e56f
2017-04-13 13:57:53 -07: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
TreeHugger Robot 14a499aff7 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval 2017-04-13 13:52:06 +00:00
Bill Yi 2af7e1e574 Import translations. DO NOT MERGE
Change-Id: Ic0fcaa61a226e5123cc22713911a4d5113d39400
Auto-generated-cl: translation import
2017-04-13 03:57:49 -07:00
Tony Wickham 5a2a655475 Merge "Add app info icon with no shadow for popup" into ub-launcher3-dorval
am: 25e8f6d83e

Change-Id: I8ea2798c98033d395e4afbbb5d86957518f33c22
2017-04-12 22:47:13 +00:00
Tony Wickham 25e8f6d83e Merge "Add app info icon with no shadow for popup" into ub-launcher3-dorval 2017-04-12 22:35:51 +00: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 bb3c1f8f7c resolve merge conflicts of ce44516dd to ub-launcher3-master
Change-Id: I6f4455c1d4bedf778850acbb1e1c7372d532e13a
2017-04-11 17:26:50 -07:00
Tony Wickham ce44516dd8 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
2017-04-11 16:44:38 -07:00
Tony Wickham 7fc94d7aac Merge "Disable notification listener on pre-26" into ub-launcher3-dorval
am: cd4cc97f6f

Change-Id: I6e1a2de2ece9308f057e6cdea1a3a50b2dd32962
2017-04-10 23:31:42 +00:00
Tony Wickham cd4cc97f6f Merge "Disable notification listener on pre-26" into ub-launcher3-dorval 2017-04-10 23:19:52 +00:00
Tony Wickham 5632e183f3 Disable notification listener on pre-26
Also remove isAtLeastO() checks in NotificationListener

Bug: 35443111
Bug: 37207407
Change-Id: If3eef406328f73d114d826e6c8a158bdc3788cac
2017-04-10 15:31:43 -07:00
Sunny Goyal 7019716620 Merge "Marking icon paths as non-translatable" into ub-launcher3-dorval
am: 3b31df70ea

Change-Id: I1130bc6e1a55f92ded5e44fd2c571e8d47013099
2017-04-10 18:41:54 +00:00
Sunny Goyal c3c4447fa6 Marking icon paths as non-translatable
Change-Id: Ifbe6c5a7edbc3ea361ae4a8ee38f9cde681813dc
2017-04-10 08:27:56 -07:00
Bill Yi c974115e06 Import translations. DO NOT MERGE
Change-Id: I5d54346e6ef1cc6b38229156698bf870035d2884
Auto-generated-cl: translation import
2017-04-07 22:22:41 -07:00
Bill Yi 51c4369af1 Import translations. DO NOT MERGE
Change-Id: I8caf65bc71dd6114dc08746f69f693a8da9799f6
Auto-generated-cl: translation import
2017-04-07 22:20:58 -07:00
Sunny Goyal 740e90144a Adding support for dynamically change icon shape for AdaptiveIcons
am: ca18746163

Change-Id: Ic4c14ad1760930735a881926aac8b45efe0cdba0
2017-04-04 19:52:22 +00:00
Sunny Goyal ca18746163 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
2017-04-04 12:33:59 -07:00
TreeHugger Robot 07372b5333 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2017-03-31 21:50:30 +00:00
TreeHugger Robot aa57e97dc8 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval 2017-03-31 21:25:37 +00:00
Bill Yi 1877176ddb Import translations. DO NOT MERGE
Change-Id: I7567ca77e4f54c06f40362e85a398c131e51f84b
Auto-generated-cl: translation import
2017-03-30 18:27:10 -07:00
Bill Yi d97b2b176c Import translations. DO NOT MERGE
Change-Id: I6e43f5ea27bb929b545923d7da58f56d57b2e57f
Auto-generated-cl: translation import
2017-03-30 18:26:20 -07:00
Tony ca4e6b4b59 resolve merge conflicts of 26b174659 to ub-launcher3-master
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ifb24f291b096b979044e5c87ec58c24e9c479728
2017-03-30 18:10:05 -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
Tony Wickham 52f0130a76 Merge "Add WidgetsAndMore bottom sheet" into ub-launcher3-dorval
am: d73fbb5f97

Change-Id: I5d1bad3ea83e672076dbd3b6f2d80d5149f3921c
2017-03-30 23:26:12 +00:00
Tony Wickham d73fbb5f97 Merge "Add WidgetsAndMore bottom sheet" into ub-launcher3-dorval 2017-03-30 23:21:39 +00:00
Tony Wickham 50e5165b78 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
2017-03-30 15:48:53 -07:00
Sunny Goyal 65caaf60ce Updating some strings in add widget/shortcut flow
am: 6634869bad

Change-Id: I6b528ade9676254ed050d4e2c373227ce0b903b2
2017-03-30 19:49:58 +00:00
Sunny Goyal 6634869bad Updating some strings in add widget/shortcut flow
Bug: 36725328
Change-Id: I1006a48201fc5abb5c1f70c244c79a63f3195565
2017-03-30 12:31:06 -07:00
Jon Miranda 733abf02d1 Fix folder animations in spring loaded mode + polish.
* Changed interpolators.

Bug: 36653850
Bug: 35064148
Change-Id: I44a732be969582f718d7dc2f82a9f976331821cb
2017-03-29 16:42:02 -07:00
Mario Bertschler d6756af623 Show recently used instant apps provided by the app discovery service in the same section as installed apps.
am: 853c13d427

Change-Id: I852e85f5b715d7f9ecc903bb0b9020e87c19cd99
2017-03-23 23:30:09 +00:00
Mario Bertschler 853c13d427 Show recently used instant apps provided by the app discovery service
in the same section as installed apps.

Change-Id: I2efd41c69960c4982523c58893aacfc7a5d0bb2e
2017-03-23 15:41:17 -07:00
Jon Miranda ce74d2a813 Smoother folder animation tweaks.
1. Start preview item animations later opening
2. Finish item animations sooner when closing
3. 1 & 2 allow the preview items to move as part of
   the Folder and allows for a smoother animation
4. Remove setCurrentPlayTime as it is O API.

Bug: 36522198
Bug: 35064148
Change-Id: If63d4d032078ff4e28b72a09e35da3a71f1d0e27
2017-03-23 14:04:55 -07:00
Jonathan Miranda dea487502d Merge "Add padding to pending widget background." into ub-launcher3-dorval
am: e04aa92de3

Change-Id: Ia93d71c3f7ae43fe6bbaef17a098b2e4d84df5de
2017-03-20 23:38:52 +00:00
Jon Miranda 5150d59603 Add padding to pending widget background.
Bug: 36450202
Change-Id: I12c754d0ff1ac2f9a63d2e475bff5524fe51cb57
2017-03-20 14:51:43 -07:00
Hyunyoung Song 7a5a355ab8 Make LEGACY_ICON_TREATMENT flag work
- targetSdk needs to be 26
- android:color attribute has been deleted

Change-Id: I6b1fc5402233fb8844b475d562984cf6924e33ac
2017-03-20 14:26:46 -07:00
Bill Yi b52d61db7e Import translations. DO NOT MERGE
Change-Id: Ibf2574d0c79c4dd1e0f44bcdc1b89caab9fabc01
Auto-generated-cl: translation import
2017-03-18 04:30:10 -07:00
Bill Yi 1bc2305d4c Import translations. DO NOT MERGE
Change-Id: I6bd0e70df3bba61196c3eb6a9c33a8800d236648
Auto-generated-cl: translation import
2017-03-18 04:29:18 -07:00
Sunny Goyal afc3f09240 Adding support for showing the widget preview based on the provided RemoteViews
am: c65a0085d7

Change-Id: Iabea96bb74294e2775a08427c17e154020d9bc40
2017-03-17 18:41:31 +00:00
Sunny Goyal c65a0085d7 Adding support for showing the widget preview based on the provided RemoteViews
Bug: 35811129
Change-Id: I336e48cd00cfec2e617ac73bd8a81419b0944aa7
2017-03-17 11:25:29 -07:00
Jon Miranda 477d2cbfd8 Allow TalkBack to read sectional headings on Widgets screen.
am: efd5cbf55c

Change-Id: Ib0bd61b94739ff4fd3b9ce866e33f4b7088a6846
2017-03-16 22:39:07 +00:00