Commit Graph

2838 Commits

Author SHA1 Message Date
Jon Miranda 2ed276eb13 New calculation for page indicator size on tall devices.
For a display with a large aspect ratio, the icons can get too far
spread out in portrait mode. We remedy this by adjusting the page
indicator height to utilize that extra space.

Bug: 62801588
Change-Id: Ib717dd32a20918248b59e1b46b4e881d6d6a7cb5
2017-07-06 08:05:26 -07:00
Tony Wickham 4f16c9ccf5 Merge "Polish popup" into ub-launcher3-dorval-polish
am: df5e2c1a74

Change-Id: Id2c843327c1764edbb2bc22c0b0278ecc6ac4188
2017-07-05 22:25:13 +00:00
Tony Wickham df5e2c1a74 Merge "Polish popup" into ub-launcher3-dorval-polish 2017-07-05 22:18:04 +00:00
Tony 45cdfa78d4 Polish popup
- Remove divider between system shortcut header and shortcuts
- Slightly reduce padding between popup and icon
- Fix gravity to center in drag layer using x and y calculations since
  we use the y value to position the popup when removing notifications

Change-Id: I1cb10ed953d11cc0924d8ee70881a434cb748317
2017-07-05 12:32:16 -07:00
Sunny Goyal c3c9ee7615 Merge "Sanitizing various search container ids and layout names" into ub-launcher3-dorval-polish
am: efbfcb838d

Change-Id: Id66c371061d3cca6f9c0c09684e12ff7b5f33c32
2017-07-04 09:11:37 +00:00
TreeHugger Robot efbfcb838d Merge "Sanitizing various search container ids and layout names" into ub-launcher3-dorval-polish 2017-07-04 09:06:53 +00:00
Bill Yi 7bb7d6c0dc Import translations. DO NOT MERGE
Change-Id: I2a64d8024850c87b55bcbc48199db7f0413537af
Auto-generated-cl: translation import
2017-07-01 02:59:13 -07:00
Bill Yi 43c03312cb Import translations. DO NOT MERGE
Change-Id: Idd738d2228f85b4b4cca61a1fba7b293e2a34816
Auto-generated-cl: translation import
2017-07-01 02:58:11 -07:00
Jon Miranda 644665c282 Merge "Folder animation polish." into ub-launcher3-dorval-polish
am: 20c55b0e87

Change-Id: Ie8fa1a018c004635a99aaf9b7fae6360fb034a04
2017-06-29 22:42:03 +00:00
TreeHugger Robot 20c55b0e87 Merge "Folder animation polish." into ub-launcher3-dorval-polish 2017-06-29 22:35:35 +00:00
Tony 7504cd7f79 Tweak popup animation
am: d6573ed128

Change-Id: I55aaf8792be262c6adece953829e32e395ba668b
2017-06-29 21:12:02 +00:00
Tony d6573ed128 Tweak popup animation
- Decrease duration
- Add alpha fade in and out
- Remove arrow scale when closing, so that
  the reversal happens immediately

These changes help the popup feel snappier while also reducing
visual jank when moving icons (as the animation accelerates in
later and the alpha stays close to 0).

Bug: 62738635
Change-Id: Ic8af4e0e5bc00913ea713853997069e8b9c8f953
2017-06-29 13:43:35 -07:00
Jon Miranda de0ea81442 Folder animation polish.
* Use different interpolators so that the prevew items in large folders
  appear aligned with the rest of the folder contents longer (the
  preview item movements are less jumpy).
* Fixed animation elevation on close.

Bug: 63131666
Bug: 35064148
Change-Id: Iecb1a8d3105e630ee00b3ea4b692979efb928d7d
2017-06-29 09:34:17 -07:00
Mario Bertschler 0c69c01e1a Merge "All apps alpha mask asset for all densities." into ub-launcher3-dorval-polish
am: fa283822d6

Change-Id: Ia2d4e267270d7f5598bbb982aea3af2e489fd609
2017-06-28 21:27:57 +00: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 b258e1ab3d Popup visual changes
am: aa2272f81c

Change-Id: Iea60ed8675d7e71189f0536a85c506f524c97d73
2017-06-28 02:55:47 +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
Jon Miranda 72b85a3103 Merge "Grid change polish bugs." into ub-launcher3-dorval-polish
am: 184f018ea1

Change-Id: If4ccbbb74307d594882793c8c7eeb6a17b66f914
2017-06-27 22:20:34 +00: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
TreeHugger Robot 184f018ea1 Merge "Grid change polish bugs." into ub-launcher3-dorval-polish 2017-06-27 22:14:45 +00:00
Sunny Goyal c7b8df8329 Sanitizing various search container ids and layout names
Bug: 63014381
Change-Id: Ia75a8a048c7a85c6324f8861abd2bcf1721032fa
2017-06-27 11:11:32 -07:00
Hyunyoung Song 2bdce730e6 Merge "Bitmap resource should not be scaled on lower density devices Bug: 63008339" into ub-launcher3-dorval-polish
am: 71d94efcfb

Change-Id: I8d10acfa8b95599e1f77cd308f67dd162ae2bb73
2017-06-27 00:25:37 +00:00
TreeHugger Robot 71d94efcfb Merge "Bitmap resource should not be scaled on lower density devices Bug: 63008339" into ub-launcher3-dorval-polish 2017-06-27 00:19:33 +00: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
Sunny Goyal 607a8ff8d4 Merge "Updating fast scrollbar UI in Landscape" into ub-launcher3-dorval-polish
am: b647302a90

Change-Id: Ia1fdc21126375cb7c95fb57126990e0921ed3083
2017-06-26 22:14:04 +00:00
Sunny Goyal 89d5c5a31b Updating fast scrollbar UI in Landscape
Creating a separate view for FastScrollBar and moving all the relavant logic in
the view.
For protrait, the touch handling is delegated by the recycler view just like before.
For landscape, the dcrollbar does not overlay with recyclerView and handles the touch
itself

Bug: 37015359
Change-Id: Ie1981326457ba739bdf0ac8063db1065f395f133
2017-06-26 14:56:36 -07:00
Tony Wickham eeefd2cf33 Merge "Add dark widgets theme" into ub-launcher3-dorval-polish
am: 7a0ec3f28c

Change-Id: If06b993fd3c4ff96c73def8d9ae3378c622e20cc
2017-06-26 21:56:08 +00:00
Tony Wickham 7a0ec3f28c Merge "Add dark widgets theme" into ub-launcher3-dorval-polish 2017-06-26 21:34:59 +00:00
Hyunyoung Song e6c002adfb Merge "Reorder home settings Bug: 62957388" into ub-launcher3-dorval-polish
am: 32a1e2cd48

Change-Id: I57dfd01b4b1d50d2e71fc66148c5b6daed00b471
2017-06-26 20:51:40 +00:00
Hyunyoung Song 2c1814378c Reorder home settings
Bug: 62957388

Change-Id: I8fdc6448033d3c7f49396e506ef7f1fee45a7914
2017-06-26 12:17:25 -07:00
Tony Wickham 093c3ac7c3 Add dark widgets theme
Bug: 62907264
Change-Id: I9831e071eab9a746d1aacab7d023371cc4a631ef
2017-06-26 17:50:29 +00:00
Jon Miranda 72b5fd186e Grid change polish bugs.
- Folder icons were too small in landscape.
- Folders can now be 16dp away from the edge
  (used to be 64dp which resulted in super small folders)
- Decrease page spacing back to 8dp
- Decrease PreviewBackground accept scale factor since
  hotseat is now generally smaller.

Bug: 37014334
Bug: 37015359
Change-Id: Icbb53d34136bfdb93796d48f7379da6b9e214345
2017-06-25 18:15:29 -07:00
Jon Miranda e2468d8483 Merge "Landscape grid changes for Workspace/All Apps." into ub-launcher3-dorval-polish
am: 6828cbb751

Change-Id: I3892b4c6d7b0635e7edb7340de0c4f19730c388d
2017-06-23 19:04:01 +00:00
TreeHugger Robot 6828cbb751 Merge "Landscape grid changes for Workspace/All Apps." into ub-launcher3-dorval-polish 2017-06-23 18:59:12 +00:00
Jon Miranda b28c4fcf35 Landscape grid changes for Workspace/All Apps.
This is the just first CL to get eyes on the changes.
Next CL will update the All Apps to be full width.

Bug: 37015359
Change-Id: I2d7ec6851fdc13b8fa654e7e2be3152330243ccc
2017-06-23 11:47:48 -07:00
Sunny Goyal d3cc914fcd Separating double shadow logic for BubbleTextView in a separate subclass
am: 9314b7c01d

Change-Id: I8074c790267e1c88cabe0bf43f6c67051fb6a7a4
2017-06-23 17:59:43 +00:00
Sunny Goyal 9314b7c01d Separating double shadow logic for BubbleTextView in a separate subclass
This allows better customization and reuse of the double shadow logic and simplified
various attribute management

Change-Id: I5e277d8399756385452d8bb8c0a0107234a76d34
2017-06-23 10:37:25 -07:00
Jon Miranda 194ae33e77 Merge "Set clipToPadding false for FolderPagedView." into ub-launcher3-dorval-polish
am: 051f469acc

Change-Id: I8901b4cb1b313ef15a1cd8b380f21ce54790b604
2017-06-21 23:43:43 +00:00
Jon Miranda 7efd29ad85 Set clipToPadding false for FolderPagedView.
Bug: 62867021
Change-Id: I2d897f4c0e4d844f6dd3c2aab97450637796ad02
2017-06-21 12:12:27 -07:00
Tony Wickham e7f3667c08 Merge "Round some more icons" into ub-launcher3-dorval-polish
am: f763f61e96

Change-Id: I8b4f7676bbfc7f657a6ae2250e91b50f2e6bc6b8
2017-06-20 21:23:32 +00:00
Tony Wickham f763f61e96 Merge "Round some more icons" into ub-launcher3-dorval-polish 2017-06-20 21:13:32 +00:00
Sunny Goyal 9cd21a258a Merge "Fixing dark tint for ShadowDrawable. Updating the dark theme for empty all-apps search drawable." into ub-launcher3-dorval-polish
am: 7e2e2aa80b

Change-Id: I07dbf3f8ba76920d6284f90dae74739a16c9c16d
2017-06-20 16:17:38 +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 ea1c781752 Adjust some sizes in popup
am: 5a1ca5756e

Change-Id: Ib9f6e237c6e0bce2d3cc3f289ce4326101543839
2017-06-20 01:58:38 +00:00
Tony Wickham 5a1ca5756e Adjust some sizes in popup
- Increase main notification height and pad text/icon bottom
- Reduce shortcuts height when there are notifications to 48dp
  - When the last notification is dismissed, animate back to 56dp

Bug: 35766387
Change-Id: I84f843c042137fdf93fa720802eb2f19337197b4
2017-06-19 18:42:46 -07:00
Tony Wickham a1d334e130 Merge "Show more shortcuts when last notification is dimissed" into ub-launcher3-dorval-polish
am: 034d74da19

Change-Id: I363236f3400ae234b3482739ab989d36e385efc4
2017-06-20 01:40:38 +00:00
Tony Wickham 034d74da19 Merge "Show more shortcuts when last notification is dimissed" into ub-launcher3-dorval-polish 2017-06-20 01:36:55 +00:00
Tony Wickham dd74150287 Merge "Update icons to be rounded" into ub-launcher3-dorval-polish
am: 13fc445b07

Change-Id: I83e16b4753eb2d5de4e016f884d1662bbffd9a79
2017-06-20 00:43:03 +00: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
Jon Miranda 1fd8ff0c83 Merge "Portrait grid changes for Workspace/All Apps." into ub-launcher3-dorval-polish
am: bacc582817

Change-Id: Id332cf749a7dd46993786668437409da886c4258
2017-06-20 00:27:32 +00:00
Jon Miranda 0966072c91 Portrait grid changes for Workspace/All Apps.
Bug: 37015359
Change-Id: Ifbdd0e71c36e532b189e02283e3eeb562ebe2654
2017-06-19 17:02:45 -07: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 c00744144a Merge "Updating the fast scroll bar UI" into ub-launcher3-dorval-polish
am: a2341af20f

Change-Id: I64abf31edd7798184098c27390ef18b91863ef77
2017-06-16 22:16:58 +00:00
Sunny Goyal 1a8f6fb736 Updating the fast scroll bar UI
Bug: 37015359
Change-Id: Iec0748f04ebe9a3eef13ff759da3cab6ff28c3a1
2017-06-16 14:57:34 -07:00
Bill Yi af9eb6997a Import translations. DO NOT MERGE
Change-Id: I852864cb1bb98c2677a04a1c3ca46fdae677f1a3
Auto-generated-cl: translation import
2017-06-15 22:39:51 -07:00
Bill Yi d4274a6fa4 Import translations. DO NOT MERGE
Change-Id: I35349dcb69ae712340d4f189b9e26cdb59d15622
Auto-generated-cl: translation import
2017-06-15 22:38:59 -07:00
Sunny Goyal e8f2f7b34c Merge "Updating the UI for Add-to-homescreen dialog" into ub-launcher3-dorval-polish
am: 35a4ae02d1

Change-Id: Ie9d0739910a251604dd65d35436f011739e33d6b
2017-06-15 23:34:12 +00:00
Tony 887bd1fe1a Show more shortcuts when last notification is dimissed
We currently only show 2 shortcuts when notifications are
present, but support up to 4 otherwise. With this change,
the hidden shortcuts are added back after dismissing the
notifications, instead of only after closing and reopening
the container.

To ensure the transition is as elegant as possible, we also
separated the shortcuts header from the rest of the shortcuts.
That way we can reveal the new shortcuts without removing the
header (the shortcuts come out from behind the header).

Bug: 38036250
Change-Id: Ie9ab35f9be57cec1d5345e9e70e84e09ea52c9fc
2017-06-15 16:21:34 -07:00
Sunny Goyal 8b4342c943 Updating the UI for Add-to-homescreen dialog
> Adding scrollView so that the contents are accessible in multi-window
  mode as well
> Updating the padding to be same as an alert-dialog

Bug: 36725328
Change-Id: I83d32156aa9cb751daf6589bc226d7cde69e9b53
2017-06-15 14:51:28 -07:00
Tony Wickham 539ddc1b46 Merge "Align widgets labels to view start for RTL" into ub-launcher3-dorval-polish
am: 922f84acf2

Change-Id: I2e060336df906997a3ecab11f8e19b5da0743557
2017-06-15 19:26:53 +00:00
Tony Wickham 7fd4bb625d Align widgets labels to view start for RTL
Bug: 62593142
Change-Id: I058be62904d0c3a04837331e2da884aca21a598c
2017-06-15 11:30:37 -07:00
Bill Yi 54cfee2668 Import translations. DO NOT MERGE
Change-Id: I43d215bdcab111a02a894b7b9d8baae037506ef6
Auto-generated-cl: translation import
2017-06-12 18:45:36 -07:00
Bill Yi 5212c88bcd Import translations. DO NOT MERGE
Change-Id: I40904a0c4db2c9d625aab269988ac34a472487b4
Auto-generated-cl: translation import
2017-06-12 18:44:42 -07:00
Tony Wickham 37a256dfed Merge "Fix typo in preferences" into ub-launcher3-dorval-polish
am: a1840c6e29

Change-Id: Iec1d99618864335438a902be4435c720c783b183
2017-06-12 21:35:01 +00:00
Tony Wickham a1840c6e29 Merge "Fix typo in preferences" into ub-launcher3-dorval-polish 2017-06-12 21:32:26 +00:00
Tony 4eb823a4ce Fix typo in preferences
Bug: 62299923
Change-Id: I6e76a46f9e1fa7acf4b746840c33c914de364417
2017-06-12 12:44:43 -07:00
Sunny Goyal 12d88b1178 Merge "Replacing png asset with vector drawable" into ub-launcher3-dorval-polish
am: 9c1e80cfe1

Change-Id: Ic9b2f258950aa5977d7ff55d5052a594e078b400
2017-06-12 17:05:11 +00:00
TreeHugger Robot 9c1e80cfe1 Merge "Replacing png asset with vector drawable" into ub-launcher3-dorval-polish 2017-06-12 17:01:06 +00:00
Sunny Goyal a17eb3ace6 Some theme fixes
am: 325b5c7a66

Change-Id: I922c2483680dce3fd4df708141359ab39e3507aa
2017-06-12 16:59:40 +00:00
Sunny Goyal 325b5c7a66 Some theme fixes
> workspaceTextColor was not clearly defined to white and relied on HomeScreenElementTheme
> Not all attributes were defined in sw720dp. Created a interm style to avoid such errors
> Applying proper tint to resize frame
> Fixing shadow colors for homescreen icon

Change-Id: If8441011c968291de50b2fd8d7612ce3d5353b95
2017-06-11 20:24:02 -07:00
Sunny Goyal a93d09fe63 Replacing png asset with vector drawable
Change-Id: Id3aa5f7a1782052cd646b8935cff5f62e2ee2cdf
2017-06-11 01:14:29 -07:00
Mario Bertschler 5188599a0f Title style for text setting font family.
am: 93e39ecdeb

Change-Id: If2fc91aef3a47524fe9fc1aff1d17f3d515383d5
2017-06-09 18:48:23 +00:00
Mario Bertschler 93e39ecdeb Title style for text setting font family.
b/62389480

Change-Id: I93135d99487a18e2a74d0e197955898cec40072b
2017-06-09 11:23:47 -07:00
Tony Wickham 0ecf5bcfcb resolve merge conflicts of 7092db024 to ub-launcher3-dorval-polish
Test: I solemnly swear I tested this conflict resolution.x
Change-Id: I0f9ed3d42fcb04299c3c23d06629f855614c0538
2017-06-08 15:49:07 -07:00
Tony Wickham 33eafc6328 Merge commit 'refs/changes/42/2374342/1' of sso://googleplex-android/platform/packages/apps/Launcher3
Change-Id: I85dc9f76f21ebbe156ef68bcb5a11c28c8d871ba
2017-06-08 22:12:46 +00:00
Tony Wickham 6f1118a919 Revert "Merge commit 'refs/changes/42/2374342/1' of sso://googleplex-android/platform/packages/apps/Launcher3 into dots-color"
This reverts commit 0316c12062.

Change-Id: I166af3bd287b0c9c0aad6430c0f9ec50961c8f3c
2017-06-08 22:04:23 +00:00
Tony Wickham 7092db0241 Add support for color extracted notification dots
Changing the badge_color in colors.xml to transparent
will cause them to be color extracted.

When an extracted color is used in the IconPalette, we
desaturate the background. Otherwise we respect the
exact color specified in colors.xml.

Change-Id: Ie82d0c5335fa5f24d4cc47766e4c1719c4916f8b
2017-06-08 21:08:47 +00:00
Tony Wickham 0316c12062 Merge commit 'refs/changes/42/2374342/1' of sso://googleplex-android/platform/packages/apps/Launcher3 into dots-color
Change-Id: I85d3d443fcdc4f738da7040178eaab01dd881856
2017-06-08 21:00:37 +00:00
Tony Wickham 16c3e91949 Updating icon badging string to "Notification dots"
am: 85b64c7da0

Change-Id: Ibbdb9576502673ea1229c78a4d0027c4a50a18a8
2017-06-08 20:05:10 +00:00
Tony Wickham 58c174692f Updating icon badging string to "Notification dots" am: 85b64c7da0
Change-Id: Ied60704fb927cd03201d362283d6a1e9264aa58d
2017-06-08 19:18:40 +00:00
Tony Wickham 85b64c7da0 Updating icon badging string to "Notification dots"
Change-Id: Ie3193c8aae8fee5860274ba6823b0cdfe25b1083
2017-06-08 19:18:31 +00:00
Mario Bertschler ca20dc56b7 Dark text support for caret, drop target text and cell layout drop outline
am: 54ba601a99

Change-Id: Ie3169f9bbbeaae3d9d8c3826d93666ac1857a35b
2017-06-08 18:17:36 +00:00
Mario Bertschler 54ba601a99 Dark text support for caret, drop target text and cell layout drop outline
Change-Id: I1bcad657b6e49be6fa93cafe9d8ae304604be34d
2017-06-08 10:54:09 -07:00
Mario Bertschler 245a575be9 Merge "Dark color on super light wallpaper support" into ub-launcher3-dorval-polish
am: 9483c6f4ed

Change-Id: I2592bc5811c8dcb0742c4fcc888c117cb2bee83c
2017-06-08 17:51:30 +00:00
Mario Bertschler 9483c6f4ed Merge "Dark color on super light wallpaper support" into ub-launcher3-dorval-polish 2017-06-08 17:45:56 +00:00
Jon Miranda 8dd654c9dd Refactor and generalize SpringAnimationHandler.
am: 5c83e7cdc5

Change-Id: I3fa69b3ab59badf589657a1dfc539481710e34b8
2017-06-07 23:00:03 +00:00
Jon Miranda 5c83e7cdc5 Refactor and generalize SpringAnimationHandler.
SpringAnimationHandler is only responsible for motion tracking and
updating the list of springs it is handling.

Spring initialization and updates are handled by the AnimationFactory
interface.

This is done in preparation for future CLs where SpringAnimationHandler
will be used in more cases.

Bug: 38349031
Change-Id: I5ebce710cc05e4e88b708ceea5d2cfefbd0eb3d0
2017-06-07 15:45:45 -07:00
Mario Bertschler a693694502 Dark color on super light wallpaper support
Change-Id: I0fdfa9abefb72e06c45b1f635ac97e2acfa97f05
2017-06-07 15:25:07 -07:00
Sunny Goyal fd62e7eb20 Adding tint support for shadow drawable.
am: d9a2187621

Change-Id: If2db63380a409e932fb023d2c56070ebc6574299
2017-06-07 20:20:49 +00:00
Sunny Goyal d9a2187621 Adding tint support for shadow drawable.
Bug: 37616877
Change-Id: I2ce8d82143238422bccabfa5191ef95e936a713d
2017-06-07 10:41:55 -07:00
Sunny Goyal a56bc452c4 Merge "Removing QsbBlockerView" into ub-launcher3-dorval-polish
am: da84e97947

Change-Id: Ia5c93304e1da31992d6bb1288a1e389e72972787
2017-06-07 00:55:11 +00:00
TreeHugger Robot da84e97947 Merge "Removing QsbBlockerView" into ub-launcher3-dorval-polish 2017-06-07 00:47:56 +00:00
Tony Wickham 052355006e Merge "Add support for popup dark theme" into ub-launcher3-dorval-polish
am: 15fcdbed07

Change-Id: I3fb6540ef98c5d00a438d3095d54e876af92bf17
2017-06-07 00:03:35 +00:00
Sunny Goyal 966d901af0 Removing QsbBlockerView
> Removing workspace state change listener. State change happens with hardware layer,
  so children should not be calling invalidatge() during the animation
> Moving QSB inside the QSB and removing a floating layout

Bug: 37616877
Change-Id: I9af3522a05dafa5796586bb64f512d98688caf79
2017-06-06 16:48:25 -07:00
Tony Wickham 90038ebab2 Add support for popup dark theme
Bug: 62380473
Change-Id: Ib22e9b82841bf10b7f139638f268f0a878e3c6b9
2017-06-06 16:34:20 -07:00
Tony Wickham 695e4705dd Merge "Fix visibility of notification footer divider" into ub-launcher3-dorval-polish
am: 0540c0606b

Change-Id: If9cf7e955eddea70d96e2996f42cb77973e81629
2017-06-06 17:39:59 +00:00
Tony Wickham 0540c0606b Merge "Fix visibility of notification footer divider" into ub-launcher3-dorval-polish 2017-06-06 17:29:16 +00:00
Tony Wickham 79b176e42c Fix visibility of notification footer divider
Now it is only visible when the notification footer is present,
instead of always being visible.

Change-Id: Ie85ff31918901115cdfe55b36e75aa80b43e7b13
2017-06-05 17:54:45 -07:00
Bill Yi 26d7528bc2 Import translations. DO NOT MERGE
Change-Id: I62ae15df954f8a27f87bc27b7217360fb0925079
Auto-generated-cl: translation import
2017-06-02 18:17:40 -07:00
Bill Yi 6c74114660 Import translations. DO NOT MERGE
Change-Id: I01fa29ac699eaac1d7eed9f345c3b65a9f480508
Auto-generated-cl: translation import
2017-06-02 18:16:58 -07:00
Bill Yi 303b81010a Import translations. DO NOT MERGE
Change-Id: Iaccfb365895d66930405f7114613bcbadbca1c25
Auto-generated-cl: translation import
2017-06-02 18:15:04 -07:00
Tony 5101a68b27 Remove gap between popup items
am: acaf5b3a37

Change-Id: Ib1644ec746562a61c2533c61c8b220c558f61e06
2017-06-01 19:12:15 +00: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
Bill Yi 07309691c8 Import translations. DO NOT MERGE
Change-Id: I0a45159b7ef25640e7dfdbb7a465245033d031e9
Auto-generated-cl: translation import
2017-05-30 15:47:17 -07:00
Bill Yi 47559fb858 Import translations. DO NOT MERGE
Change-Id: I64d7acaae108b79025a5a82514fbeac9eee785cf
Auto-generated-cl: translation import
2017-05-30 15:46:25 -07:00
Bill Yi 8b6ea60fac Import translations. DO NOT MERGE
Change-Id: I2b9ae2bbd37711412de29f0c0f48d7317398f853
Auto-generated-cl: translation import
2017-05-30 15:43:56 -07:00
Mario Bertschler fc173c0ed5 Merge "Providing a default color extraction implementation. Enabling FeatureFlag LAUNCHER3_GRADIENT_ALL_APPS" into ub-launcher3-dorval-polish
am: 0e695fe41f

Change-Id: Ifecd239fe6b4a47ef264a31b42b932964d64ba42
2017-05-26 18:52:48 +00:00
Mario Bertschler c6e07299c2 Providing a default color extraction implementation.
Enabling FeatureFlag LAUNCHER3_GRADIENT_ALL_APPS

Change-Id: I86d982344a4a04a79bde6dce714b1f0bff90f992
2017-05-26 11:36:51 -07:00
Sunny Goyal b7484f9381 resolve merge conflicts of 9d9dbcb1b to ub-launcher3-master
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I9978124fb3c24bb497cac0d199c0b5dcdc670715
2017-05-25 10:05:45 -07:00
Sunny Goyal 1f5a264fac [DO NOT MERGE] Making various icon shape options as non-translatable
Change-Id: I2abe2c84a7c6a2b9cad8b3238ba6ee8a5761f70e
2017-05-25 09:46:17 -07:00
Sunny Goyal 9d9dbcb1b8 Revert "Revert "Fixing string not correctly marked as non-translatable""
This reverts commit 0ec2da54f8.

Change-Id: Id685c338ab5474e41cfd3792ef98b9cf4b0c4fba
2017-05-25 16:44:33 +00:00
Sunny Goyal 0ec2da54f8 Revert "Fixing string not correctly marked as non-translatable"
This reverts commit 477b8cc1b4.

Change-Id: I114f89c20d735d0e17cc93e8f78876bf8a388a6a
2017-05-25 16:42:18 +00:00
Sunny Goyal 477b8cc1b4 Fixing string not correctly marked as non-translatable
Bug: 38371442
Change-Id: I79a679d461e422dbb4e4832192ac40e6c2d509de
2017-05-25 09:08:49 -07:00
Sunny Goyal e55b05329b Defining a dark theme for launcher
am: 368ae77201

Change-Id: I7aa0033716eb9c07798b87669347179715e3a712
2017-05-24 21:57:45 +00:00
Sunny Goyal 368ae77201 Defining a dark theme for launcher
> Removing the code for LIGHT_STATUS_BAR as that will be controlled by the theme
> Updating icon cache to always use transparent background for low-res, as the
theme can change the bg color

Change-Id: Iab64ec29cab629ee515af22ec15b95d3f40a9df5
2017-05-24 14:34:04 -07:00
Jon Miranda e6d0b2783f Merge "Update FolderIcon preview to be 1dp bigger (stroke) than other shortcuts." into ub-launcher3-dorval-polish
am: dcc0cc7220

Change-Id: I66d408c8d9a7e6ff645cf3d845ae2dd4a5af4564
2017-05-24 20:35:11 +00:00
Jon Miranda 896e71a859 Update FolderIcon preview to be 1dp bigger (stroke) than other
shortcuts.

Bug: 38338424
Change-Id: I2e9cdb2285e97e9d899eda13947bedb40d6fbcb2
2017-05-24 12:15:24 -07:00
Mario Bertschler 06cdfb21d7 Merge "Revert "Allapps motion changes for landscape"" into ub-launcher3-dorval-polish
am: 2aab7dc0af

Change-Id: Iedb47256c3847f27c3a702c7da69fb366139c210
2017-05-24 18:18:00 +00:00
Mario Bertschler 57dbde0c21 Allapps motion changes for landscape
am: d15dccf10e

Change-Id: I0e5a5051251d3878781eeb9aa86b305ba4d8ece8
2017-05-24 17:57:58 +00:00
Mario Bertschler 418d443d2f Revert "Allapps motion changes for landscape"
This reverts commit d15dccf10e.

Change-Id: I04c06d419bc636929259bc5f4fdce982d97ef33f
2017-05-24 17:56:56 +00:00
Mario Bertschler d15dccf10e Allapps motion changes for landscape
Bug: 38230696
Change-Id: I82e36c240c934ff6b86b55e0a0f07391fd11ec82
2017-05-24 10:30:13 -07:00
Bill Yi 91ee8fe94e Import translations. DO NOT MERGE
Change-Id: I4e178f81de257e11834dd3ac141eded81d16bf0d
Auto-generated-cl: translation import
2017-05-23 13:15:18 -07:00
Bill Yi c152748e46 Import translations. DO NOT MERGE
Change-Id: I94345589894b7d404865e34abaf6fb6c37b85f70
Auto-generated-cl: translation import
2017-05-23 13:14:33 -07:00
Bill Yi b64355fe05 Import translations. DO NOT MERGE
Change-Id: I7f53533487bce703a8fa6e45c1a8650057e108f2
Auto-generated-cl: translation import
2017-05-23 13:12:13 -07:00
Jonathan Miranda 50e6d12fb5 Merge "Add physics motion to items in all apps." into ub-launcher3-dorval-polish
am: db894b9bba

Change-Id: I7a30a1039122e3e70ceb5d30f958de57ace57879
2017-05-23 17:40:43 +00:00
Jonathan Miranda db894b9bba Merge "Add physics motion to items in all apps." into ub-launcher3-dorval-polish 2017-05-23 17:35:36 +00:00
Jon Miranda 4e11c2738a Add physics motion to items in all apps.
Motion applied to:
- Icons
- Prediction icons
- Prediction divider

Bug: 38349031
Change-Id: I376e6e39080c8c80463a0ce8b104b05e4d576f17
2017-05-23 10:02:51 -07:00
Bill Yi a139810632 Import translations. DO NOT MERGE
Change-Id: Ia08a537f6ef1e555cd381b69224124fbcad34d68
Auto-generated-cl: translation import
2017-05-22 19:13:37 -07:00
Bill Yi f6f526d7ec Import translations. DO NOT MERGE
Change-Id: Ic054fdce631204ca6f134343d8bd40237024845b
Auto-generated-cl: translation import
2017-05-22 19:12:44 -07:00
Tony Wickham 5a439dc611 Merge "Rename "Settings" to "Home settings"" into ub-launcher3-dorval-polish
am: 998dbecf53

Change-Id: I5fc6cc32851ed6b2d135e8a12c9d1fee478dedab
2017-05-22 20:19:47 +00:00
Tony Wickham 998dbecf53 Merge "Rename "Settings" to "Home settings"" into ub-launcher3-dorval-polish 2017-05-22 20:14:15 +00:00
Mario Bertschler e5c411e626 Minor accessibility change for app discovery item
am: fc2b3d2b8a

Change-Id: I8ebb397d368f83e7602f7f6fa6658ac89493d498
2017-05-22 17:58:38 +00:00
Mario Bertschler df346d9b59 Minor accessibility change for app discovery item am: fc2b3d2b8a
Change-Id: Id6794c68e3b222152d3d7a6413bb123109bc2a36
2017-05-22 16:22:14 +00:00
Mario Bertschler fc2b3d2b8a Minor accessibility change for app discovery item
Bug: 38345854

Change-Id: Ib200b5a6295eb26650c7f28d0b7823b489c70cda
2017-05-22 09:21:01 -07:00
Tony Wickham cbe6c2849e Rename "Settings" to "Home settings"
Bug: 37903251
Change-Id: Ia6a8b329135100af9b54900e275c5362695bfd74
2017-05-19 19:33:26 -07:00
Tony Wickham fda3107c8b Merge "Make expanded system shortcuts clickable" into ub-launcher3-dorval
am: 440052ce5d

Change-Id: I5d53a468bb4aa3060e3e7e618bfdbdb537a5aadc
2017-05-19 19:36:38 +00:00
Tony Wickham 3720c69322 resolve merge conflicts of 8af16760d to ub-launcher3-dorval-polish
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I4cdfeebd09be58270c249429104d91dc9a31b49c
2017-05-19 12:17:02 -07:00
Tony Wickham 8aea3b185a resolve merge conflicts of d5dbf6175 to ub-launcher3-master
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I2aefe84331c3236993bf23bd982d639b2ba2499e
2017-05-19 12:03:45 -07:00
Tony Wickham d5dbf61757 resolve merge conflicts of 02aced978 to ub-launcher3-dorval-polish
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ib44ce0130b9eb01c354f18326d7d3a1eeb2c5eb8
2017-05-19 10:52:19 -07:00
Tony Wickham 95cb4e098d Don't set system shortcut text to white
am: 30e55d0f7c

Change-Id: Iab1977c0d2599cb1131ea3a9fa62dd6c15e56e69
2017-05-18 22:50:53 +00: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
TreeHugger Robot 45febfec54 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval 2017-05-18 18:40:39 +00:00
TreeHugger Robot abd32f986d Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2017-05-18 18:38:41 +00:00
TreeHugger Robot 440052ce5d Merge "Make expanded system shortcuts clickable" into ub-launcher3-dorval 2017-05-18 18:34:04 +00:00
Tony Wickham 79222e9c3f Make expanded system shortcuts clickable am: cd58d0d4e5
Change-Id: If8148c3dc536a7c098f0d81a61afb006248e5baf
2017-05-18 18:17:15 +00:00
Tony Wickham cd58d0d4e5 Make expanded system shortcuts clickable
The textview on top was consuming the clicks, so we set it to
not be focusable (clicks are handled by the parent).

This regression was caused by a TextView bug introduced in
ag/2247666, which set clickable=true if focusable=true.

Bug: 38385679
Change-Id: I0a946073919dabcd19b47cd7df2a1fcac6946cd5
2017-05-18 11:16:58 -07:00
Tony Wickham 8af16760dc Merge "Update accessibility for popup" into ub-launcher3-dorval 2017-05-18 01:06:46 +00:00
Tony Wickham d1c496e5fe Merge changes from topic 'am-103e12ab-e4f5-4f1e-a8f6-6b164b13e8de' into ub-launcher3-master
* changes:
  Merge commit '18c4aa458ea5c9ee5513fa756da4f5492bb7c5b8' into am-103e12ab-e4f5-4f1e-a8f6-6b164b13e8de
  Update accessibility for popup
  Update accessibility for popup
2017-05-18 01:06:46 +00:00
Bill Yi 0c098dc5a0 Import translations. DO NOT MERGE
Change-Id: I5b6795f9483c54daf9d0484bc370f056263979ac
Auto-generated-cl: translation import
2017-05-17 17:10:05 -07:00
Bill Yi 4915614962 Import translations. DO NOT MERGE
Change-Id: I14925e787ac1adbf5aa2e89cebc6c5b3548c7fe4
Auto-generated-cl: translation import
2017-05-17 17:08:22 -07:00
Bill Yi 2a7c820dac Import translations. DO NOT MERGE
Change-Id: I0e20d48d0f6eaedfa6d93fc7ed0b355c34e92a98
Auto-generated-cl: translation import
2017-05-17 17:05:55 -07:00
Sunny Goyal 233fbd7059 Adding an option to change the shadow size
am: 8b6ac00a1b

Change-Id: I6ebafb3b81f486adeb510bc021638dd266ca1234
2017-05-17 21:10:34 +00:00
Sunny Goyal 8b6ac00a1b Adding an option to change the shadow size
Change-Id: I8ec810c5cf06852771247af5f1d717f41079c4f5
2017-05-17 13:43:45 -07:00
Tony Wickham 9863ea5dc7 Merge "Add setting to turn off icon badging" into ub-launcher3-dorval
am: d315d07aee

Change-Id: Id23914cbee040f3916257e02a9eb6b3f5a821b83
2017-05-16 23:38:22 +00:00
Tony Wickham 02aced9782 Merge "Use a single color for all icon badges." into ub-launcher3-dorval 2017-05-16 23:34:52 +00:00
Tony Wickham 1cf5357c9b Merge changes from topic 'badge-color' into ub-launcher3-master
* changes:
  Fix merge conflicts
  Use a single color for all icon badges.
2017-05-16 23:34:52 +00:00
Tony Wickham d315d07aee Merge "Add setting to turn off icon badging" into ub-launcher3-dorval 2017-05-16 23:33:59 +00:00
Tony Wickham 7cee9e3bba Merge changes from topic 'badge-setting' into ub-launcher3-master
* changes:
  Add setting to turn off icon badging am: 2ab8482809
  Add setting to turn off icon badging
2017-05-16 23:33:59 +00:00
Mario Bertschler 3c3e6cb58f Design adjustments for transition from workspace to All apps.
am: 8acf8b506d

Change-Id: I68c0eaac758ac66548ac38a60bfb07642cfec34b
2017-05-16 23:29:48 +00:00
Mario Bertschler 8acf8b506d Design adjustments for transition from workspace to
All apps.

Change-Id: I0aeb8da7f0eebdf677ca7bda06fb538f08a6ee51
2017-05-16 16:13:11 -07:00
Tony 03ab95721f Fix merge conflicts
Change-Id: If2cabd5558421b8d325faf4f6d7d21b0beccaace
2017-05-16 15:28:56 -07:00
Tony Wickham 4d03da2325 Add setting to turn off icon badging am: 2ab8482809
Change-Id: I50da31d1a44d85a7d5cb91621186fb62c645cfd0
2017-05-16 21:09:03 +00:00
Tony Wickham 2ab8482809 Add setting to turn off icon badging
Redirects to system Notifications setting page.

Bug: 36815147
Change-Id: I5ee542f94ed51a73a57df3a726384944ff3ee71d
2017-05-16 14:08:42 -07:00
Mario Bertschler 7f91393c55 Merge "Minor polishment on app discovery UI." into ub-launcher3-dorval
am: 8ffddbb7c2

Change-Id: I611a4707882a0fb5c78c223ebd9f5c8e0e67d411
2017-05-16 20:13:42 +00:00
Tony Wickham e6a790e5ae Use a single color for all icon badges.
Bug: 38346375
Change-Id: I26b7ad3dcfea6a18e169d656e19605c9794eadd3
2017-05-16 13:04:23 -07:00
Mario Bertschler f81322b355 Minor polishment on app discovery UI. am: 0287a44c81
Change-Id: I9750202921873b3956146a5a8e80e260e1368afd
2017-05-16 18:49:08 +00:00
Mario Bertschler 0287a44c81 Minor polishment on app discovery UI.
b/38341964
b/38342208
b/38341681

Change-Id: I8dfe4f5431cbfa96573c0461fddd410367c9ad13
2017-05-16 11:48:23 -07:00
Sunny Goyal 054090ae2a Updating the icon shape override options
am: e7539e9be6

Change-Id: I5fa0da129b8173db1537562bdca67e1508ee2861
2017-05-16 16:45:59 +00:00
Sunny Goyal 47172cf55c Updating the icon shape override options am: e7539e9be6
Change-Id: I1fe4eb21811a0c01ca1608a7d2e60e05ff4d40be
2017-05-16 16:26:53 +00:00
Sunny Goyal e7539e9be6 Updating the icon shape override options
> Removing rounded rect and cylinder
> Adding tear drop shape
> Updating the label for default setting

Bug: 38216026
Change-Id: Ie31baef1171a78e2d95c617ef8fa8c669dd7c817
2017-05-16 16:26:39 +00:00
Sunny Goyal a485df1275 Adding support for top padding in BaseRecyclerView. The scrollbar is drawn below the top padding. Also adding callback for getting the all-apps vertical pull range so that it can be controlled by SearchUiManager
am: dc19a07aba

Change-Id: I8fda544ee42fcb330611519b1546e574fbd83c81
2017-05-16 00:25:56 +00:00
Sunny Goyal dc19a07aba Adding support for top padding in BaseRecyclerView. The scrollbar is
drawn below the top padding.
Also adding callback for getting the all-apps vertical pull range
so that it can be controlled by SearchUiManager

Bug: 37616877
Change-Id: Ib4642073f3e92f6676caede3bddd652fda89c86f
2017-05-15 14:14:04 -07:00
Tony 29676acfe2 Update accessibility for popup
- Content description includes count of notifications.
- Notifications have a dismiss action.
- All icons that support shortcuts will have action to show
  shortcut menu, since there will be system shortcuts even if
  there are no deep shortcuts.

Bug: 36564782
Change-Id: I51b085fa26754f2dcd93c7db6548f2edf054f494
2017-05-11 17:36:53 -07:00
Tony 18c4aa458e Update accessibility for popup
- Content description includes count of notifications.
- Notifications have a dismiss action.
- All icons that support shortcuts will have action to show
  shortcut menu, since there will be system shortcuts even if
  there are no deep shortcuts.

Bug: 36564782
Change-Id: I51b085fa26754f2dcd93c7db6548f2edf054f494
2017-05-11 13:59:52 -07:00
Sunny Goyal b53e96fa6a Merge "Adding listener support for color extraction changes Changing the apps-search layout to use theme attribute instead of hard coded layout id" into ub-launcher3-dorval-polish
am: 9968ed0932

Change-Id: I0794cf989605e875e46c688641c8e5ca1114e705
2017-05-11 19:51:51 +00:00
TreeHugger Robot 9968ed0932 Merge "Adding listener support for color extraction changes Changing the apps-search layout to use theme attribute instead of hard coded layout id" into ub-launcher3-dorval-polish 2017-05-11 19:46:28 +00:00
Tony e37d2b9f32 Merge "Visual updates for popup" into ub-launcher3-dorval
am: 5cfde85cb6

Change-Id: I4e97cb52054b5c5ff467f3481b92730f6f9a3e8e
2017-05-10 01:19:41 +00:00
TreeHugger Robot 5cfde85cb6 Merge "Visual updates for popup" into ub-launcher3-dorval 2017-05-10 01:10:55 +00:00
Tony Wickham 580256aed7 Visual updates for popup am: 0b8a6fe532
Change-Id: I56bb105e398632286540a82af003ac0095b1eaeb
2017-05-10 01:03:10 +00:00
Tony 0b8a6fe532 Visual updates for popup
- Update some dimens
  - Increase left padding for shortcuts
  - Adjust arrow and notification ellipsis offset accordingly
  - Align shortcut dividers to be same width as text
  - Notification text 14sp instead of 15sp
  - Increase width of popup by 12dp
- Shortcuts text 87% black instead of 54%
- Arrow has same color as attached side, so takes on header
  gray instead of white when appropriate

Bug: 37753827
Change-Id: I0844b85995f22218a3b7e605e1653cceaed6cda1
2017-05-09 20:02:23 -05:00
Sunny Goyal 4249540ec5 Merge "Adding support for DB downgrade" into ub-launcher3-dorval-polish
am: 7588a8c391

Change-Id: I934f2b5f1f351c2ced78cbc647f4f744228ef57f
2017-05-09 23:08:03 +00:00
Sunny Goyal 05f30889d6 Adding support for DB downgrade
Adding a schema file for handling DB downgrade. This schema file is part of
the backup/restore set, and hence is available on a device with lower app version.

Bug: 37257575
Change-Id: I69c8ef5f28d5209be6e6679412c7459d4eeda5d0
2017-05-09 12:59:04 -07:00
Sunny Goyal 60820d796f Adding listener support for color extraction changes
Changing the apps-search layout to use theme attribute instead of hard
coded layout id

Bug: 37616877
Change-Id: Iae601758303f83a2774635f0d88f74d99fc643c3
2017-05-09 12:41:50 -07:00
TreeHugger Robot f8b7e0831e Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval-polish 2017-05-09 16:40:59 +00:00
TreeHugger Robot 8ab60c0399 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2017-05-09 16:40:56 +00:00
Bill Yi de21c36072 Import translations. DO NOT MERGE
Change-Id: I056d1b600137703e07d9c44c8a2ed98772eb0b1a
Auto-generated-cl: translation import
2017-05-09 02:37:05 -07:00
Bill Yi 2a891370af Import translations. DO NOT MERGE
Change-Id: Ie4f4f94bcf426096fd54a2d5b3c5d8d8c05b2049
Auto-generated-cl: translation import
2017-05-09 02:36:31 -07:00
Bill Yi 38d2add77b Import translations. DO NOT MERGE
Change-Id: I08a7f35261493f7a1591ab1207ae7758816e13e3
Auto-generated-cl: translation import
2017-05-09 02:34:17 -07:00
Sunny Goyal 78e8ab8992 Moving apps search related logic into a custom layout file
am: 161f96bc77

Change-Id: I241eccb4d07ecb4057184ae2861c9e748186323f
2017-05-08 22:41:21 +00:00
Sunny Goyal 161f96bc77 Moving apps search related logic into a custom layout file
This will allow derivative projects to easily change the search behavior
by simply overriding the xml file

Bug: 37616877
Change-Id: Ib8d6a2dab06819a52611e9a3d97c70c5a49bbf97
2017-05-08 14:43:32 -07:00
Tony e5931a552a Merge "Fix center-align issue in widgets bottom sheet" into ub-launcher3-dorval
am: b77aa69eee

Change-Id: Ie206f8f66b45ad9dfe2c085b5087a4600c0d41b0
2017-05-04 23:09:13 +00:00
Tony Wickham d88e6bd7f8 Fix center-align issue in widgets bottom sheet am: 9d3743c3a8
Change-Id: I84b995b8e991a50c0aec4f36836fbea7668971cc
2017-05-04 22:53:29 +00:00
Tony 9d3743c3a8 Fix center-align issue in widgets bottom sheet
- Remove paddingStart
- To add padding for multiple widgets, add empty view to scrollview

Bug: 37918677
Change-Id: I5ec1208765874dda1c4439f60aaeb989c06ccd63
2017-05-04 15:53:15 -07:00
Mario Bertschler c9c955a9fd Merge "All Apps transition with gradient and scrim." into ub-launcher3-dorval-polish
am: db67e7c7a3

Change-Id: I2d418d73b3957938ab6072e92fdd69ac45d385e7
2017-05-03 18:06:51 +00:00
Mario Bertschler 48198d004a All Apps transition with gradient and scrim.
The transition is behind a feature flag and
turned off by default.

Change-Id: I155840ba82b5a573d874376797db5f739a52d706
2017-05-03 10:32:57 -07:00
Jon Miranda 45cc90f0be Fix bug where system shortcuts text size is set to 0 in MW mode.
am: da8261cce3

Change-Id: I1dfb3d6b655ebba8b8a9637a8e3a61fe7e0355e5
2017-05-02 20:49:49 +00:00
Jonathan Miranda 01233dd02e Fix bug where system shortcuts text size is set to 0 in MW mode. am: da8261cce3
Change-Id: I8a58db7202d4dc8ab50829bfd1c79a0d3e95dbe6
2017-05-02 19:51:11 +00:00
Jon Miranda da8261cce3 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
2017-05-02 12:49:33 -07:00
Sunny Goyal cbdfe0d0ea Merge "Creating a custom drawable to customize shadow." into ub-launcher3-dorval-polish
am: 41fae0a1a2

Change-Id: Ifad58277d67aad491ad37c0244fa0c98ee1c3608
2017-05-02 17:33:41 +00:00
TreeHugger Robot 41fae0a1a2 Merge "Creating a custom drawable to customize shadow." into ub-launcher3-dorval-polish 2017-05-02 17:29:21 +00:00
The Android Open Source Project 448bf2e182 Import translations. DO NOT MERGE
Change-Id: I06403631d61d5852455e12297cfbfdf1dc3a455a
Auto-generated-cl: translation import
2017-05-02 03:40:19 -07:00
The Android Open Source Project 2023510fea Import translations. DO NOT MERGE
Change-Id: I7384c07c2925bf394171475f74443649f2f7d853
Auto-generated-cl: translation import
2017-05-02 03:39:04 -07:00
The Android Open Source Project 3fb17b1ca6 Import translations. DO NOT MERGE
Change-Id: I06d773eb648c315dd683fdc353be5a3f34e91f2e
Auto-generated-cl: translation import
2017-05-02 03:36:29 -07:00
Tony Wickham e794f1033d Re-enable badges, with all dots am: f77a6f7fd7
am: 19d2e7fc55

Change-Id: Idd130cb89d097dd76eb0a695fe1bdf4adeb1f20d
2017-04-27 21:58:29 +00:00
Tony Wickham 19d2e7fc55 Re-enable badges, with all dots
am: f77a6f7fd7

Change-Id: I139ea47c73ee01a2777132f63b1d8add687579b0
2017-04-27 21:49:08 +00:00
Tony Wickham f77a6f7fd7 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
2017-04-27 14:04:56 -07:00
Tony Wickham df62796cd8 Remove notification listener to disable badging am: ead1680e96
am: 22f8f9fc4b

Change-Id: I9519a6c8132213a4ff133a6ad79cd14d31f526bd
2017-04-27 20:38:13 +00:00
Tony Wickham 22f8f9fc4b Remove notification listener to disable badging
am: ead1680e96

Change-Id: Ie83df1b0dc9dba350ff65d8cc96d324ca79e0ae0
2017-04-27 20:36:43 +00:00
Tony Wickham ead1680e96 Remove notification listener to disable badging
Bug: 37748653
Change-Id: I80d9f7c5274604f552113c7be0319d5cd454b29c
2017-04-27 12:57:05 -07:00
Sunny Goyal da1dfa32d0 Creating a custom drawable to customize shadow.
> Fixing DrapTargetBar set to visible (with alpha = 0) in the start
causing unnecessary draw

Bug: 37616877
Change-Id: Iaaff96099910f504f6e2f81c9376ddacde50ff6a
2017-04-27 05:35:28 -07:00
Jonathan Miranda e30a4d1734 Merge "Set the alpha to 1 when overview button is focused." into ub-launcher3-dorval am: b85f5dfcba
am: b0086a8945

Change-Id: I59e0cc1f7683143886884de3bcf4c250a4df9cb1
2017-04-26 18:01:06 +00:00
Jonathan Miranda b0086a8945 Merge "Set the alpha to 1 when overview button is focused." into ub-launcher3-dorval
am: b85f5dfcba

Change-Id: I14d1b89986502047eb36b2c64d0656f9f9616e0b
2017-04-26 17:59:06 +00:00
Jonathan Miranda b85f5dfcba Merge "Set the alpha to 1 when overview button is focused." into ub-launcher3-dorval 2017-04-26 17:53:25 +00:00
Jon Miranda 4e08b5b8ba Set the alpha to 1 when overview button is focused.
Bug: 37569953
Change-Id: I5c2acde3b5b443fe21e869d52bb9d2f8d98a914d
2017-04-26 08:39:12 -07:00
TreeHugger Robot 55739a4226 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval-polish 2017-04-26 15:10:50 +00:00
Bill Yi 4ec7505e57 Import translations. DO NOT MERGE
Change-Id: Ie8a4b0c51ad52d1e38c7b9f0b31c9b849fc7b860
Auto-generated-cl: translation import
2017-04-26 05:51:11 -07:00
Bill Yi d0e4b7a192 Import translations. DO NOT MERGE
Change-Id: Ief71f0fdcb1680de34a4927fd8d63736cfb9282b
Auto-generated-cl: translation import
2017-04-26 05:50:27 -07:00
Bill Yi 7e07755349 Import translations. DO NOT MERGE
Change-Id: I9c3d417862f2ae0c30ed1ee9245d00b04a2624ad
Auto-generated-cl: translation import
2017-04-26 05:48:55 -07:00
Sunny Goyal d519052281 Separating top and bottom paddings for the hotseat
Bug: 37616877
Change-Id: I2f187576c28d62f9bb8257c9b9295edb7a8e44c0
(cherry picked from commit 751e41eb66)
2017-04-26 06:00:21 +00:00
Tony Wickham 0e96f3fea9 Merge "Update icon badges to match spec" into ub-launcher3-dorval
am: 0fa96ea2f6

Change-Id: I5f8e6bdbca13435d54e3b636564f7d3eef58ca5c
2017-04-25 23:59:41 +00:00
Tony Wickham b842e06245 Merge "Update icon badges to match spec" into ub-launcher3-dorval
am: 0fa96ea2f6

Change-Id: Ib81cc7eb79d265a82eedaeaec4630772c8c17ecf
2017-04-25 20:12:06 +00:00
TreeHugger Robot 0fa96ea2f6 Merge "Update icon badges to match spec" into ub-launcher3-dorval 2017-04-25 20:02:37 +00:00
Tony Wickham 1237df0a7c 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
2017-04-25 12:55:02 -07:00
Sunny Goyal 751e41eb66 Separating top and bottom paddings for the hotseat
Bug: 37616877
Change-Id: I2f187576c28d62f9bb8257c9b9295edb7a8e44c0
2017-04-24 03:07:34 -07:00
Bill Yi 3e8273be69 Import translations. DO NOT MERGE
Change-Id: I956ea69f07f57aaa24942968219d18178fb2c1d2
Auto-generated-cl: translation import
2017-04-20 20:43:14 -07:00
Bill Yi 8c5f2f561a Import translations. DO NOT MERGE
Change-Id: I2ae8231a21881c4546bf042778f6e29940ca91d8
Auto-generated-cl: translation import
2017-04-20 20:41:42 -07:00
TreeHugger Robot 8c6a2b2244 Merge "[DO NOT MERGE] legacy icon treatment / circle detection Bug: 37357483" into ub-launcher3-dorval 2017-04-17 23:35:38 +00: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 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
Hyunyoung Song c1cf75716b [DO NOT MERGE] legacy icon treatment / circle detection
Bug: 37357483

Change-Id: I63049ad61ad259f546fcf5077ded0a5f444e4395
2017-04-16 21:57:58 -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