summaryrefslogtreecommitdiffstats
path: root/res/values-watch
Commit message (Collapse)AuthorAgeFilesLines
* Update permissions UI to match new watch UI.Michael Kwan2016-10-115-149/+10
| | | | | | Bug: 29250733 Bug: 31779188 Change-Id: I814db5f94bdb840b04c5e8d9e12b565cfcd5fbc1
* Make GrantPermissions dialog not swipable on WatchAnthony Hugh2015-10-271-0/+1
| | | | | BUG: 24672088 Change-Id: I872b41684c741868dfb9eeed68d40cb983dcf139
* Reduce the top padding when message isn't at top.Danny Epstein2015-10-201-0/+2
| | | | | | | | If either the page number or an icon is shown above the message, reduce the top padding on round screens. Bug: 24961379 Change-Id: Iec9193e3bbdd8ac607743cd0010f2331edbebc81
* Add top padding to grant permission content.Danny Epstein2015-10-191-0/+1
| | | | | | | | | Add top padding to the content inside the scroll view for the grant permission dialog so that you can read the beginning of the text on round watches. Bug: 24961379 Change-Id: I9311fbaabd72bd8f8aee4f71845c1ae11bfeab8c
* Permissions redline fixesAnthony Hugh2015-10-052-4/+4
| | | | | | | | | | | | This fixes the button bar animation to work on round devices and also fixes the max height animation to make sure the vertical button layout animates to max height when there are only two buttons. Also adjust some redlines like margins on the buttons and updated some files that were missing our licensing header. Change-Id: Ifad4d0f92605be04db2d3c991b4e8a26eadb4b14
* Merge "Block Install Intent for Wear devices" into cw-e-devVinod Krishnan2015-10-011-0/+2
|\
| * Block Install Intent for Wear devicesVinod Krishnan2015-09-281-0/+2
| | | | | | | | | | | | | | | | | | | | - We did not support this feature on Android Wear before - The impact is unknown. For example, the Setting for UNKNOWN_SOURCES is not implemented in Android Wear Settings App. Bug: 24336381 Change-Id: I0fb4006d4769291c872e8f21407383a7c4a77b93
* | Merge "Add new dialog for warning confirmations" into cw-e-devAnthony Hugh2015-09-231-1/+1
|\ \ | |/ |/|
| * Add new dialog for warning confirmationsAnthony Hugh2015-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change updates the Wear warning dialog for when users try to change permissions for system apps and apps that are targeting old SDKs. Because Wear does not have a common dialog yet, I needed to create a new activity to hold our confirmation view. Changes: - Update logic to show Wear confirmation screen instead of using AlertDialog - Added WarningConfirmationActivity - Change font size for confirmation dialog - Make ConfirmationViewHandler support hiding one of the 3 vertical buttons - rename grant_permissions.xml to more generic confirmation_dialog BUG: 24132857 Change-Id: Id225e663f0a2cd7b99fb177f780a6a3d0da15214
* | MNC Perms: Button bar animate to max half window heightVinod Krishnan2015-09-221-1/+1
|/ | | | | | | | | | - Make sure that the button bar only animates to half way (max). - Also make the buttons scrollable Bug: 24265941 Bug: 24208967 Change-Id: I68d01c72658c0e7aff35b899b638da123c44d62e
* Update Grant Permissions dialog to redlinesAnthony Hugh2015-09-222-6/+9
| | | | | | | | | | | | Changes: - Refactor the ViewHandler a bit to be more generic. This should help with another upcoming Wear dialog. - Update assets for buttons - Add deny asset - Fix margins and other UI number tweaks BUG: 24133550 Change-Id: I330bdf3217fa5c554f71d9105a0475106b6f3e12
* Permissions Settings UI updatesAnthony Hugh2015-09-171-0/+2
| | | | | | | | | | | | | Changes: - Moved non-system permission groups to the end of the list - Updated "disabled" look to match non-center looked - Fixed state string alpha to match other alphas when not centered - Minor code clean ups BUG: 24132393 BUG: 24132470 BUG: 24131983 Change-Id: I65a64d59e6fff8e0cbdaaa3da4e4a79987d6e624
* Add string for Wear version of permission "enforced by policy"Anthony Hugh2015-09-161-0/+3
| | | | Change-Id: I8dce2d15903107fd7649068415bfa9bec8beae1c
* Merge "Permissions Watch settings UI port" into cw-e-devAnthony Hugh2015-09-166-0/+129
|\
| * Permissions Watch settings UI portAnthony Hugh2015-09-156-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL contains all the UI elements needed to build the Wear version of the Settings UI for permissions. The actual implementation for the Wear version of SettingsUI will be done in a follow up bug. This is basically a straight port from our Settings app and wearable-support lib. I tweaked two strings and changed the package paths to make it easier to group the files together. BUG: 23080561 Change-Id: I6d72d29dd1926ad07d63f85b52ccf9f72ff70df1
* | Changing layout to make button animations workVinod Krishnan2015-09-143-9/+13
|/ | | | | | | | | | | - Fix the Permissions Dialogs for round layout - Show animation for the buttons - Also fixed the names ellipsis issue. - Fixed the theming of the dialogs. Bug: 23118402 Change-Id: I385c827ac41b06222334c36bfda2c70b346232a2
* Implement base version of GrantPermissions dialogAnthony Hugh2015-08-214-0/+153
| | | | | | | | | | | | | | | | | | | | | | | | With the Emerald release, we need to support the new permission APIs. This changelist adds a dialog for the Activity.requestPermissions() API so that users can request permissions. This check in is a functional version, but not polished. will need to be a follow up CL to add the correct animations and update the UI to the appropriate redlines. The implementation for the confirmation dialog is modeled after the one in the clockwork libs/Views folder. There are some tweaks to match the designed behavior of the permission dialog. When there's more time in the future, we should try to condense this to one implementation. This is a resubmit without the wearable-support lib. I will figure out how to get that referenced in the next UI pass. BUG: 23118402 Change-Id: Ib2fb94b356aa965b999b3e12726fda86928a963e
* Revert "Implement base version of GrantPermissions dialog"Anthony Hugh2015-08-214-129/+0
| | | | | | | | This reverts commit b7da1f5f9886ff8a4ad81b0d617d442c461ca1e5. We can't reference vendor from this package. Need to add the references manually. Change-Id: I3ee31de110f24014100ce804b0659055b26f963b
* Implement base version of GrantPermissions dialogAnthony Hugh2015-08-214-0/+129
With the Emerald release, we need to support the new permission APIs. This changelist adds a dialog for the Activity.requestPermissions() API so that users can request permissions. This check in is a functional version, but not polished. will need to be a follow up CL to add the correct animations and update the UI to the appropriate redlines. The implementation for the confirmation dialog is modeled after the one in the clockwork libs/Views folder. There are some tweaks to match the designed behavior of the permission dialog. When there's more time in the future, we should try to condense this to one implementation. BUG: 23118402 Change-Id: Ic90d37a2ce8a7adacb7c4e004b0a5260b624f5c8