Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Nearby Share feature tile for the CrOS revamped Quick Settings which toggles Nearby Share high visibility, which means the device is visible to everyone. - Updated button icon, title label and sub-label text. - Excluded `OnLabelPressed` action which opens Nearby Share settings on its own without enabling the "Visible to everyone" feature. - Tile is shown only if Nearby Share is enabled from the settings app. screenshots: Off - https://screenshot.googleplex.com/ARLeZzdJmvZpkuu.png On - https://screenshot.googleplex.com/7o4MK3Rn264N7tQ.png b: 262925705 Change-Id: I86f5c8ebf443806fe9dbc7f98520ca827ecb6597 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4153330 Reviewed-by: Jiaming Cheng <jiamingc@chromium.org> Reviewed-by: Ryan Hansberry <hansberry@chromium.org> Commit-Queue: Kevin Radtke <kradtke@chromium.org> Cr-Commit-Position: refs/heads/main@{#1096454}
- Loading branch information
Kevin Radtke
authored and
Chromium LUCI CQ
committed
Jan 24, 2023
1 parent
4815f3f
commit 2c83630
Showing
16 changed files
with
315 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_STATUS_TRAY_NEARBY_SHARE_TILE_LABEL.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7b5be464228da5f62bcf2df39c75a3261521bfaa |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_STATUS_TRAY_NEARBY_SHARE_TILE_OFF_STATE.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
f4c5b8e433cb87bda458420db9c978d6c876f283 |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_STATUS_TRAY_NEARBY_SHARE_TILE_ON_STATE.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1a468f62ed719c2ca269fb136f12ce44026e9f56 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
ash/resources/vector_icons/quick_settings_nearby_share_off.icon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
// Copyright 2023 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
CANVAS_DIMENSIONS, 20, | ||
MOVE_TO, 1, 3.5f, | ||
LINE_TO, 2.24f, 2.26f, | ||
LINE_TO, 17.09f, 17.11f, | ||
LINE_TO, 15.85f, 18.35f, | ||
LINE_TO, 1, 3.5f, | ||
CLOSE, | ||
NEW_PATH, | ||
MOVE_TO, 7, 7.03f, | ||
CUBIC_TO, 6.82f, 7.17f, 6.65f, 7.33f, 6.48f, 7.5f, | ||
LINE_TO, 2.24f, 11.84f, | ||
CUBIC_TO, 1.87f, 12.23f, 1.87f, 12.86f, 2.26f, 13.24f, | ||
CUBIC_TO, 2.65f, 13.61f, 3.28f, 13.61f, 3.66f, 13.22f, | ||
LINE_TO, 5.65f, 11.17f, | ||
LINE_TO, 7.89f, 8.88f, | ||
CUBIC_TO, 8.05f, 8.71f, 8.23f, 8.57f, 8.42f, 8.45f, | ||
LINE_TO, 7, 7.03f, | ||
CLOSE, | ||
NEW_PATH, | ||
MOVE_TO, 11.25f, 11.27f, | ||
CUBIC_TO, 10.87f, 11.45f, 10.45f, 11.54f, 10.02f, 11.54f, | ||
CUBIC_TO, 9.29f, 11.54f, 8.62f, 11.28f, 8.09f, 10.81f, | ||
LINE_TO, 6.72f, 12.22f, | ||
CUBIC_TO, 7.63f, 13.05f, 8.78f, 13.51f, 10.02f, 13.51f, | ||
CUBIC_TO, 10.98f, 13.51f, 11.91f, 13.24f, 12.7f, 12.72f, | ||
LINE_TO, 11.25f, 11.27f, | ||
CLOSE, | ||
NEW_PATH, | ||
MOVE_TO, 14, 11.56f, | ||
LINE_TO, 12.61f, 10.16f, | ||
LINE_TO, 14.38f, 8.35f, | ||
LINE_TO, 16.38f, 6.3f, | ||
CUBIC_TO, 16.75f, 5.91f, 17.38f, 5.91f, 17.77f, 6.28f, | ||
CUBIC_TO, 17.97f, 6.48f, 18.06f, 6.74f, 18.06f, 6.99f, | ||
CUBIC_TO, 18.06f, 7.24f, 17.97f, 7.49f, 17.79f, 7.68f, | ||
LINE_TO, 15.76f, 9.76f, | ||
LINE_TO, 14.38f, 11.17f, | ||
LINE_TO, 14, 11.56f, | ||
CLOSE, | ||
NEW_PATH, | ||
MOVE_TO, 10.47f, 8.02f, | ||
LINE_TO, 8.65f, 6.2f, | ||
CUBIC_TO, 9.08f, 6.07f, 9.54f, 6.01f, 10.02f, 6.01f, | ||
CUBIC_TO, 11.25f, 6.01f, 12.41f, 6.47f, 13.31f, 7.3f, | ||
LINE_TO, 11.94f, 8.71f, | ||
CUBIC_TO, 11.51f, 8.34f, 11.01f, 8.1f, 10.47f, 8.02f, | ||
CLOSE, | ||
NEW_PATH, | ||
MOVE_TO, 2.26f, 6.28f, | ||
CUBIC_TO, 1.87f, 6.66f, 1.86f, 7.28f, 2.24f, 7.68f, | ||
LINE_TO, 3.24f, 8.71f, | ||
LINE_TO, 4.61f, 7.29f, | ||
LINE_TO, 3.66f, 6.3f, | ||
CUBIC_TO, 3.28f, 5.91f, 2.66f, 5.9f, 2.26f, 6.28f, | ||
CLOSE, | ||
NEW_PATH, | ||
MOVE_TO, 18.06f, 12.53f, | ||
CUBIC_TO, 18.06f, 12.29f, 17.97f, 12.03f, 17.79f, 11.84f, | ||
LINE_TO, 16.8f, 10.83f, | ||
LINE_TO, 15.43f, 12.25f, | ||
LINE_TO, 16.38f, 13.23f, | ||
CUBIC_TO, 16.75f, 13.62f, 17.37f, 13.63f, 17.77f, 13.24f, | ||
CUBIC_TO, 17.97f, 13.05f, 18.06f, 12.79f, 18.06f, 12.53f, | ||
CLOSE |
50 changes: 50 additions & 0 deletions
50
ash/resources/vector_icons/quick_settings_nearby_share_on.icon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// Copyright 2023 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
CANVAS_DIMENSIONS, 20, | ||
MOVE_TO, 2.24f, 7.68f, | ||
CUBIC_TO, 1.86f, 7.28f, 1.87f, 6.66f, 2.26f, 6.28f, | ||
CUBIC_TO, 2.66f, 5.9f, 3.28f, 5.91f, 3.66f, 6.3f, | ||
LINE_TO, 4.61f, 7.29f, | ||
LINE_TO, 3.24f, 8.71f, | ||
LINE_TO, 2.24f, 7.68f, | ||
CLOSE, | ||
NEW_PATH, | ||
MOVE_TO, 14.38f, 11.17f, | ||
LINE_TO, 13.55f, 12.02f, | ||
CUBIC_TO, 12.61f, 12.99f, 11.36f, 13.51f, 10.02f, 13.51f, | ||
CUBIC_TO, 8.78f, 13.51f, 7.63f, 13.05f, 6.72f, 12.22f, | ||
LINE_TO, 8.09f, 10.81f, | ||
CUBIC_TO, 8.62f, 11.28f, 9.29f, 11.54f, 10.02f, 11.54f, | ||
CUBIC_TO, 10.83f, 11.54f, 11.58f, 11.22f, 12.14f, 10.64f, | ||
LINE_TO, 14.38f, 8.35f, | ||
LINE_TO, 16.38f, 6.3f, | ||
CUBIC_TO, 16.75f, 5.91f, 17.38f, 5.91f, 17.77f, 6.28f, | ||
CUBIC_TO, 17.97f, 6.48f, 18.06f, 6.74f, 18.06f, 6.99f, | ||
CUBIC_TO, 18.06f, 7.24f, 17.97f, 7.49f, 17.79f, 7.68f, | ||
LINE_TO, 15.76f, 9.76f, | ||
LINE_TO, 14.38f, 11.17f, | ||
CLOSE, | ||
NEW_PATH, | ||
MOVE_TO, 6.48f, 7.5f, | ||
CUBIC_TO, 7.42f, 6.53f, 8.67f, 6.01f, 10.02f, 6.01f, | ||
CUBIC_TO, 11.25f, 6.01f, 12.41f, 6.47f, 13.31f, 7.3f, | ||
LINE_TO, 11.94f, 8.71f, | ||
CUBIC_TO, 11.4f, 8.24f, 10.74f, 7.98f, 10.02f, 7.98f, | ||
CUBIC_TO, 9.21f, 7.98f, 8.46f, 8.3f, 7.89f, 8.88f, | ||
LINE_TO, 5.65f, 11.17f, | ||
LINE_TO, 3.66f, 13.22f, | ||
CUBIC_TO, 3.28f, 13.61f, 2.65f, 13.61f, 2.26f, 13.24f, | ||
CUBIC_TO, 1.87f, 12.86f, 1.87f, 12.23f, 2.24f, 11.84f, | ||
LINE_TO, 6.48f, 7.5f, | ||
CLOSE, | ||
NEW_PATH, | ||
MOVE_TO, 17.79f, 11.84f, | ||
CUBIC_TO, 17.97f, 12.03f, 18.06f, 12.29f, 18.06f, 12.53f, | ||
CUBIC_TO, 18.06f, 12.79f, 17.97f, 13.05f, 17.77f, 13.24f, | ||
CUBIC_TO, 17.37f, 13.63f, 16.75f, 13.62f, 16.38f, 13.23f, | ||
LINE_TO, 15.43f, 12.25f, | ||
LINE_TO, 16.8f, 10.83f, | ||
LINE_TO, 17.79f, 11.84f, | ||
CLOSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.