Commit Graph

224 Commits

Author SHA1 Message Date
Hyunyoung Song e751d90c44 Implement 3 shades of folder icon/container fill color
Bug: 130451254

Change-Id: I36d885a2b0247f1bb84cb98073459853ae723331
2019-05-14 10:15:11 -07:00
Hyunyoung Song a19584d820 Change default icons for launcher [3/3]
Bug: 126738409
Bug: 129955150
Change-Id: I9daf5bd253dc72c99ab3a466766a4d30a95d0952
2019-04-13 00:51:33 -07:00
Hyunyoung Song 7924a3c97a Change default icons for launcher [2/3]
Bug: 126738409
Bug: 129955150
Change-Id: Ia140c5d16b74e4719131aa5035313b7b27028ad1
2019-04-12 16:19:53 -07:00
Hyunyoung Song fa058473d2 Change default icons for launcher [1/3]
Bug: 126738409
Bug: 129955150
Change-Id: Id6ecf50b83a6b4dfea6615fba37698468cafc0d2
2019-04-12 22:20:32 +00:00
Tobias Dubois fb0544e512 Lint fix: Invalid vector path in horizontal_ellipsis
Use 0.9 instead of .9 in the vector drawable path to
avoid crashes on some devices.

Test: Manual
Change-Id: I9d5889fdf48fbb2f09995b75d4f20c47454ef591
2019-03-05 10:31:56 -08:00
Hyunyoung Song 719eee2be2 Create iconloader library
Bug: 115891474
Test: Builds everything

Change-Id: I1d75702d4e5a10d694eeb839784a629de2f74dd2
2018-11-02 14:18:45 -07:00
Zak Cohen cc4c61472e DeepShortcut - show loading placeholder before content is available.
Sometimes the deep shortcuts can take time to load, show an initial loading
state before any text is set.

Note: changed singleLine to lines=1 as the former causes issues with RTL
layout and is deprecated.

Bug: 78620208
Tested: manual test on pixel 3

Change-Id: I782addb8d64425a1a95cee4f104fc0bd44809815
2018-10-26 11:25:58 -07:00
Sunny Goyal c604a10551 Adding keyboard handling to QsbHostView similar to a normal appwidget view
Bug: 116842846
Change-Id: Ibab2dc1793561998f81710301d9ce0ca3d77e7b4
2018-10-15 11:00:28 -07:00
Sunny Goyal 36b54228fc Retiring some feature flags
Change-Id: I80a00ecaec0785ce2ba6a5f14a54c8a76f555d43
2018-07-10 13:52:17 -07:00
Matthew Ng 1b9c3d6fe3 Changed the Task Menu to overlay on top of the task view
When tapping the icon for each card in overview, the options will
overlay on top of the task view below the icon instead of popping up
above the task view.

Change-Id: I42746022432385d976134988262514a238a5066e
Fixes: 109676098
Test: go to overview, tap the icon for the task
2018-06-08 14:24:22 -07:00
Sunny Goyal ef39540dde Adding a carent in the scrim
> Caret is only visible when the accessibility is enabled
> It is visible in NOTMAL and OVERVIEW state and moves out of the
  scrim along with the scrim.
> Acts as an accessible target for various options

Bug: 78172350
Bug: 79215734
Change-Id: I8a968b67e36901859649546295f6491d49cc9ce9
2018-05-09 12:39:30 -07:00
Jon Miranda c9fa640cee Update delete/uninstall/close icons.
Bug: 77641054
Change-Id: I8fb7cc4ffe835de57d8104373816deffe77870d9
2018-04-05 13:17:53 -07:00
Sunny Goyal ab7ddec88e Updating some icons
Bug: 76435058
Change-Id: If2df50a738cd0bad5d0343cdd1a0542df1bee9d5
2018-03-30 11:46:34 -07:00
Tony Wickham a97f0f20cd Support multiple Views of extra hotseat content
Also adjust workspace page indicator:
- Center vertically
- Rounded corners

Change-Id: I96c2f3da3522d70726f544126b516c33c8fb7bc8
2018-03-21 15:53:11 -07:00
Sunny Goyal d912e3f82a Merge "Simplifying all-apps search box" into ub-launcher3-master 2018-03-06 00:12:59 +00: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
Sunny Goyal dbd6bb348c Simplifying all-apps search box
> Giving the search box a solid background so that it work fine with scrolling
> bottom shadow logic for search box

Bug: 73085356
Change-Id: Ie4dc4922be39ffd8e2d562becedbd4c6f820e6c9
2018-03-01 15:58:11 -08:00
Jon Miranda 84e2436220 Update widget full sheet / bottom sheet to have top rounded corners.
Bug: 71775241

Change-Id: I11b5adc555f48f44cf8167e8699cae1dfe164736
2018-02-13 16:18:19 -08:00
Tony Mak a5e7040219 Add a close button at the top right hand corner of the blue card
FIX: 72804302

Change-Id: Iac7c369ead27c211c046f318c3b9588d73a594d4
2018-02-06 17:25:01 +00:00
Sunny Goyal 01ce755753 Removing unused app discovery support
Change-Id: I670be29851b232caa5c05624ae37ae5e92a8b65f
2018-01-23 13:53:03 -08:00
Sunny Goyal cd77ba0cdd Merge "Adding a horizontal popup when when workspace is longPressed" into ub-launcher3-master 2018-01-19 23:22:21 +00:00
Sunny Goyal 02424b20f3 Adding a horizontal popup when when workspace is longPressed
Change-Id: I5b3c48262c246bfe53e0010ca89c820f42503eef
2018-01-19 15:11:10 -08:00
Sunny Goyal d8a3f3c251 Merge "Using same layout for drop-target bar in landscape and portrait" into ub-launcher3-master 2018-01-19 20:39:46 +00:00
Sunny Goyal d1b3f5cb38 Using same layout for drop-target bar in landscape and portrait
> Adding a tooltip on drag over when the text is not visible

Bug: 71709920
Change-Id: I1897a8dacd191fb1aeaec37f5d5c73c49517192a
2018-01-19 12:16:54 -08:00
Jon Miranda c385e3a2d0 Change all rounded corners to 8dp.
Bug: 71775241
Change-Id: I15b499a1f75d530c874b8616cbb330eae7e3ab07
2018-01-19 11:01:00 -08:00
Sunny Goyal 29947f0b53 No more waiting around for resume
Apply model updates as son as they arrive instead of waiting for onResume.
Various workspace items do not use any configuration dependent resources.
For Widgets, we wait until the host starts lietening before inflating the actual view.

Change-Id: Icb2f5e5940c1ce6c27062ccd34eff87e80af5ab1
2017-12-19 12:50:17 -08:00
Sunny Goyal e969c68c7e Removing horizontal bar from page indicator
> Removing the clickable bar from pageIndicator in portrait view
> Moving onClick logic to respective classes

Change-Id: I83a8df90d8c5442890bc09fdda17a82b9d134b8a
2017-12-05 16:57:48 -08:00
Tony Mak 6ffe4e0eee Add work profile footer in work tab
Screenshot(work mode is on): https://hsv.googleplex.com/6279751685636096
Screenshot (work mode is off): https://hsv.googleplex.com/6279751685636096

TODO:
It is just the UX bit, once the platform change is in, we should then
consume the new API to
1. Turn on / off work mode
2. Get the organization name and set the textview accordingly.

BUG=69905244

Change-Id: Id94ae57625d6b629dac89c1c28f8d65f395fff6c
2017-11-29 20:37:11 +00: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 4d49f9a8ac Removing animated caret drawable
> Both landscape and portrait UI will show a static drag handle
> In landscape the handle is drawn below the all-apps scrim,
  while in portrait it moves with the hotseat

Change-Id: Ia6964c6f98feb8ba90517e23667d8c68bc2f6d35
2017-10-27 02:44:49 +00: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
Sunny Goyal f5523921c3 Adding support for badging instant app icons.
Change-Id: Idc43a1a83e0a93f70879730a0acefbc124f9c0e2
2017-08-28 15:35:25 -07:00
Sunny Goyal ea36114e4b Updating the warning icon
Bug: 63418030
Change-Id: I89bfc538e430239b4f793649ff6598e4f0da3bfb
2017-07-11 10:01:45 -07:00
Sunny Goyal 848cad56ce Adding a warning button when notification access is not available
Bug: 63418030
Change-Id: I4c2c497d989902ac002314a3b8fb97083757958b
2017-07-10 11:10:35 -07:00
TreeHugger Robot fa283822d6 Merge "All apps alpha mask asset for all densities." into ub-launcher3-dorval-polish 2017-06-28 21:17:05 +00:00
Tony Wickham aa2272f81c Popup visual changes
- Don't remove elevation during animation (b/62905720)
- Other adjustments (b/35766387)
  - Add "gutter" between notification and shortcuts
  - Change shortcuts to always be primary color (e.g. white)
  - Scale down shortcut icons when notifications present
  - Apply icon extracted color to "Notifications" header

Change-Id: Idf791dc76d15d05d246000ad73810916d7cd1750
2017-06-27 19:43:18 -07:00
Mario Bertschler 60c1456472 All apps alpha mask asset for all densities.
Bug: 63008339
Change-Id: I4f0ccb9caea703901a2407d4e4eb6795515bfda9
2017-06-27 15:18:56 -07:00
Hyunyoung Song 53f5f172a3 Bitmap resource should not be scaled on lower density devices
Bug: 63008339

Change-Id: I51163169adbc279c3229b3abef167702f75d0f1b
2017-06-26 16:04:37 -07:00
Tony Wickham f763f61e96 Merge "Round some more icons" into ub-launcher3-dorval-polish 2017-06-20 21:13:32 +00:00
TreeHugger Robot 7e2e2aa80b Merge "Fixing dark tint for ShadowDrawable. Updating the dark theme for empty all-apps search drawable." into ub-launcher3-dorval-polish 2017-06-20 16:11:18 +00:00
Sunny Goyal 5931ca0415 Fixing dark tint for ShadowDrawable.
Updating the dark theme for empty all-apps search drawable.

Change-Id: Ieb2018924da337bdd97eaf3adf2d32c3e3bebc73
2017-06-20 09:03:30 -07:00
Tony Wickham 0e43826c66 Round some more icons
- Wallpapers
- Home settings
- Remove
- Uninstall

Change-Id: I50990fdcf0f8bf2b3c9e9e7cedaa6fc1f06ff9a4
2017-06-19 17:35:18 -07:00
Tony Wickham 13fc445b07 Merge "Update icons to be rounded" into ub-launcher3-dorval-polish 2017-06-20 00:34:01 +00:00
Tony Wickham 446cd728d1 Update icons to be rounded
- App info
- Widgets
- Shortcuts drag handles

Change-Id: I247d154fc1ec8ccfc5527ed50cc4d133f4c03c58
2017-06-19 15:59:00 -07:00
Sunny Goyal 1a8f6fb736 Updating the fast scroll bar UI
Bug: 37015359
Change-Id: Iec0748f04ebe9a3eef13ff759da3cab6ff28c3a1
2017-06-16 14:57:34 -07:00
Sunny Goyal a93d09fe63 Replacing png asset with vector drawable
Change-Id: Id3aa5f7a1782052cd646b8935cff5f62e2ee2cdf
2017-06-11 01:14:29 -07:00
Tony acaf5b3a37 Remove gap between popup items
- Unround interior corners
- Update colors (shortcuts are gray when next to
  notifications, notifications always white)
- Clean up animation to animate entire popup with
  simple reveal instead of individual items
  animating with reveal and icon scale

Bug: 35766387
Bug: 36110804
Change-Id: I33685d53e2db3904731676123dc230be4dabb5d4
2017-05-31 15:11:43 -07:00
Tony Wickham 30e55d0f7c Don't set system shortcut text to white
Bug: 38201638
Change-Id: Icacd63810306848ec1fb54e5dcc6021660ac5099
2017-05-18 15:31:19 -07:00