Commit Graph

15997 Commits

Author SHA1 Message Date
TreeHugger Robot
3704899fc9 Merge changes from topic "settings-action-button"
* changes:
  Remove setButtonPositive method
  Apply new action button visual design
  Create a new visual design for action buttons
2018-11-16 10:45:29 +00:00
Yanting Yang
5b5d4c6d33 Merge "Add Low Storage slice to Contextual Settings Homepage" 2018-11-16 07:36:02 +00:00
tmfang
3adb74ea60 Apply new action button visual design
- Add some icon resources.
- Add icon for each button in action button preference.
- Update "Enable" and "Disable" string to "Install" and "uninstall".
- Remove unused string.
- Add divider between entity header and action buttons.

Test: visual, robotest
Fixes: 119203074
Bug: 116346008
Change-Id: Ib8d7aeb2943d39d257e977b84f165f002bf47559
2018-11-16 14:33:03 +08:00
Beverly Tai
4fa2b88556 Merge "Add new settings page for apps overriding dnd" 2018-11-15 18:06:06 +00:00
Yanting Yang
04eb082bce Add Low Storage slice to Contextual Settings Homepage
Bug: 114808204
Test: robotests, visual
Change-Id: I0c1a02dc40a0a72b7a2ad8f46505325e52bee942
2018-11-15 16:32:12 +08:00
Leon Liao
d6f13c1c49 Merge "Implement a11y UI for Accessibility timeout feature." 2018-11-15 07:17:40 +00:00
Stanley Wang
83680c7c98 Merge "Layout updated for file size text wrapping with largest display" 2018-11-15 07:10:49 +00:00
Leon Liao
fc29b1c331 Implement a11y UI for Accessibility timeout feature.
This UI control the Accessibility Timeout API in Settings App.
Add a user control to set timeout length to suit their need.

Bug: 119283926
Test: atest AccessibilityTimeoutControllerTest
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=CodeInspectionTest
Test: atest UniquePreferenceTest
Change-Id: Ic8f7337e6bd7739c1189382cc87d45465b64c6ed
2018-11-15 10:24:43 +08:00
tmfang
8f65efa8f9 Create a new visual design for action buttons
- Create a new style for two action buttons.
- Change the layout of two_action_buttons.
  Since we use same style for positive/nagative
  buttons now, we only remain button1/button2 for
  this layout.
- Create a setButtonIcon interface in ActionButtonPreference.
  So, user can set icon for each button in this preferece.

Test: visual, robotest
Bug: 116346008
Change-Id: I511272cba5fd961349b85cae6d30004ddabe2c8e
2018-11-15 10:15:58 +08:00
Beverly
7973c635c9 Add new settings page for apps overriding dnd
Close starred contacts cursor

Test: atest ZenModeAllBypassingAppsPreferenceControllerTest
Test: atest ZenModeBypassingAppsPreferenceControllerTest
Bug: 111475013
Change-Id: I84d259aaef1bc5cc907ec5bef08beade91a8b904
2018-11-14 15:56:29 -05:00
TreeHugger Robot
2167b7deab Merge "Update delete user strings in multiple users page" 2018-11-14 18:12:24 +00:00
TreeHugger Robot
c052bcb8be Merge "Update strings" 2018-11-14 13:18:38 +00:00
Edgar Wang
22e29a28ee Update delete user strings in multiple users page
Change-Id: I3ab25e491af3894f8163d9ef9a88c446575ebbc3
Fixes: 111723127
Test: visual
2018-11-14 20:32:59 +08:00
Edgar Wang
913790b4cb Update strings
Bug: 118399687
Test: visual
Change-Id: I0b5f86235b7fd7530ba8eeed9649f0c3dc3b94bf
2018-11-14 18:17:32 +08:00
Stanley Wang
1ed36d8b23 Layout updated for file size text wrapping with largest display
This solution will change the portrait layout for
large, larger, and largest of Display size.

Change-Id: Ib00b23553c34c1e69cb84e446f409c38ea7544ef
Fixes: 69074097
Test: manual
2018-11-14 16:31:53 +08:00
Yanting Yang
0bfbdf1b1f Add description into strings.xml for missing comment
The comment of string "show_connected_devices" was missing from
ag/5336877.

Fixes: 119534057
Test: robotests
Change-Id: I445413cdcbb647e068a51312fa16f8c93abee36f
2018-11-14 15:24:06 +08:00
TreeHugger Robot
d6cdafc0d7 Merge "Enabled the floating search bar feature" 2018-11-14 04:50:13 +00:00
Cosmo Hsieh
e57e432160 Merge "Implement NetworkRequestDialog architecture(cont.)" 2018-11-14 01:43:47 +00:00
TreeHugger Robot
9ed341b9f0 Merge "Import translations. DO NOT MERGE" 2018-11-14 00:26:00 +00:00
Bill Yi
2efeec49e7 Import translations. DO NOT MERGE
Change-Id: I4a3e3210380b6f4404c6b5a478eb64638431dd8e
Auto-generated-cl: translation import
2018-11-13 13:33:26 -08:00
John Reck
f68130c7c7 Merge "Add force SmartDark dev setting" 2018-11-13 20:33:37 +00:00
TreeHugger Robot
034e218d3a Merge "Read SettingsIntelligence package name from resource" 2018-11-13 10:58:23 +00:00
TreeHugger Robot
523418a456 Merge "Add dismissal mechanism for contextual cards." 2018-11-13 09:13:46 +00:00
Sunny Shao
2c93ec8ae3 Enabled the floating search bar feature
Added the CoordinatorLayout as the top level layout
Added the AppBarLayout to enclose the search bar
Added the app:layout_behavior="@string/appbar_scrolling_view_behavior" to NestedScrollView

Bug: 118886724
Test: manual test
Change-Id: I4a8ef14637dc1dc7cf9618eca00e4b7d7a77c725
2018-11-13 17:04:21 +08:00
Emily Chuang
6cf3591645 Add dismissal mechanism for contextual cards.
In the homepage, we should allow cards to be dismissed.

- Implement card flipping upon card long pressing.

Bug: 113783548
Test: robotests, visual
Change-Id: I2ddb498321ba5c5078d6944aa2ef32f1386bdb10
2018-11-13 14:46:44 +08:00
Raff Tsai
35ae9bbaac Read SettingsIntelligence package name from resource
Test: make RunSettingsRoboTests
Change-Id: I2143e1f7657cc0e01e91978e8c212ff079cec7d7
2018-11-13 14:45:01 +08:00
Hai Shalom
4864624c3d Fix Wi-Fi setup in setup wizard
Fix Wi-Fi setup in setup wizard; New WPA3/OWE networks added to
arrays.xml in an order of security caused a mismatch in the network type
index in SUW. Workaround to append the new string instead. Will require
additional work.

Bug: 119385642
Test: Setup wizard and settings app functional test
Change-Id: I6d95213a24de274f686ab372bb5fc69128a07e56
2018-11-12 12:01:47 -08:00
John Reck
3c2fdd091e Add force SmartDark dev setting
Bug: 118348733
Test: toggled it
Change-Id: I43b8ddaada9f8fc0a2a1fb4144fd4a53141bdb2e
2018-11-12 08:48:24 -08:00
Stanley Wang
192c6a1461 Merge "Fix condition text is out of button highlighting." 2018-11-12 10:27:11 +00:00
TreeHugger Robot
a2dd7034b0 Merge "Restrict the number of contextual cards shown in suggestion area." 2018-11-12 08:50:06 +00:00
Emily Chuang
0b6a3000e0 Restrict the number of contextual cards shown in suggestion area.
In order to make static IA visible in the homepage, we have to limit the
number of cards.

Bug: 118691898
Test: robotest
Change-Id: Iefb8b7e874ec1334e93be2d196b7cb72624b17b0
2018-11-12 14:17:47 +08:00
Stanley Wang
1cc88be504 Fix condition text is out of button highlighting.
Change-Id: I1b70ee198f3aa14622e24ab11558e6301723cb36
Fixes: 112294276
Test: manual
2018-11-12 14:16:19 +08:00
cosmohsieh
cf57eb7558 Implement NetworkRequestDialog architecture(cont.)
For NetworkRequestTimeoutDialogFragment, the dialog show after WiFi
scanning timeout or get no WiFi ap to list. Dialog will ask if user
want to continue scanning or cancel.

Bug: 117399926
Test: RunSettingsRoboTests
Change-Id: I0551a753c10265e69a7830833813852a95eab5ef
2018-11-12 11:20:31 +08:00
tmfang
7b235e3cfe Remove "Show password" in Security page
"Show password" will be moved in Settings > Privacy.
Since each of things should only exist in one place,
we remove it in Security page.

Test: visual
Bug: 116628158
Change-Id: I9f9083b88d7a20faa9bd28ded2cf8c3b9a5622fd
2018-11-12 11:08:43 +08:00
tmfang
80d03d1d20 Create a new top level Privacy entry
This CL focuses on building up Privacy entry in
Settings homepage.

And also reuse some preferences in here.
-App permission
-Show password

Test: robotest, visual
Change-Id: I724ba4b4845fac933df0fca23a4e1c6afeb73362
Fixes: 116628158
2018-11-12 10:49:10 +08:00
Andrii Kulian
3b5f04d4ab Merge "Remove char limit for force display dev options" 2018-11-11 06:29:05 +00:00
TreeHugger Robot
98aa47b1fc Merge "Add developer option to opt-in updatable graphics driver." 2018-11-10 04:26:23 +00:00
Peiyong Lin
4a48086728 Add developer option to opt-in updatable graphics driver.
To facilitate developers to develop their applications against the updated
graphics driver, we provide a developer option to select one application to
opt-in. The selected application will always use updated graphics driver by
default.

BUG: 119221883
Test: Build, flash, boot, select a game and verify with prototype.
Change-Id: I8c3905fd5c1cbfb3ce12e589b48f57396c7776e3
2018-11-09 17:25:28 -08:00
Lei Yu
2aa06ecdc7 Merge "Polish on mobile network settings" 2018-11-09 20:40:24 +00:00
Andrii Kulian
dce72bdf07 Remove char limit for force display dev options
Bug: 112451761
Test: Build and flash
Change-Id: I9c837ff01a7bbd0ee8c45925644f1e149e502b77
2018-11-09 11:46:58 -08:00
Andrii Kulian
367f122d28 Merge "Add dev option to force desktop mode" 2018-11-09 19:25:19 +00:00
Fan Zhang
1bf7df8fdd Merge "Use preference for about phone page instead of injection." 2018-11-09 18:47:22 +00:00
TreeHugger Robot
74f3077729 Merge "Update new UI layout of Conditional cards" 2018-11-09 17:49:25 +00:00
Stanley Wang
6daa13b4aa Merge "Modified the PrintJobSettingsFragment" 2018-11-09 09:40:08 +00:00
TreeHugger Robot
c32de1a2d9 Merge changes from topic "entity_ui"
* changes:
  Do not show installation status on Q
  New UI design for entity header on Q
2018-11-09 05:51:21 +00:00
Mill Chen
c89c4ceabb Update new UI layout of Conditional cards
Bug: 113451905
Test: visual
Change-Id: I20ec526bd2b5b2679cd7e0e4388a2a897fe6a24d
2018-11-09 11:21:58 +08:00
TreeHugger Robot
a9f2443fa3 Merge "Add a config flag so OEMs can disable avatar mixin" 2018-11-09 02:28:22 +00:00
tmfang
3ea0143ae5 New UI design for entity header on Q
- Implement a new entity header on Q.
- The new layout can be used for small screen,
  so delete useless layout.

Test: visual
Change-Id: I08eee26daef7ba707d6479eec501ddbe3e211370
Fixes: 116340579
2018-11-09 10:05:00 +08:00
TreeHugger Robot
4b83f9099b Merge "Do not tint app-icon of admin" 2018-11-09 00:11:27 +00:00
jackqdyulei
0ca0f6b3cc Polish on mobile network settings
Update some strings:
In settings it has the same resId for this title so I skipped migration
for it. Actually it should be "Access Point Names" instead of "APNs".
Also since "roaming" is used nowhere so we can update the string
directly.

Also remove unused files

Bug: 114749736
Test: Manual
Change-Id: Ia2f8a352865b9577e0385045f1ad2604ab2bb6af
2018-11-08 15:04:35 -08:00