summaryrefslogtreecommitdiff
path: root/res/layout-watch
AgeCommit message (Collapse)Author
2018-08-01Stop generating new IDs into the android namespace from PackageInstaller.Wen ZHANG
Bug: 77270106 Change-Id: If5ec658dd482962339f54fd277d99d81764f9494 (cherry picked from commit 3285e50bfd86416c00b7b6f76e39bc2700ac4fbe)
2018-07-16Revert "Remove copy-pasted support lib in PackageInstaller."Andrew Zeng
This reverts commit 6af6b6bb21d0b6ebbee901fe07db0490fca40454. Reason for revert: prebuilt-com.google.android.wearable is defined vendor subtree Change-Id: I9b2caf8f0b0b1dcf39b48650c0212878552f2c46
2018-07-13Remove copy-pasted support lib in PackageInstaller.Andrew Zeng
Bug: 111396762 Test: manual + compiles Change-Id: Iaaa90e016132efe452f02a73dd2552787126a21c
2017-03-02Add wear customization for permission review activity.Shijian Li
There will be two follow-up changes to refactor the logic bit to a controller and then add test in master branch. See the effect image in b/3422016. Bug: 34322016 Test: Manual test on a local build Change-Id: I873edb7e21cb8928e038847b4261f0b0bca12975
2016-10-26Fix crash on small square watches.Michael Kwan
Bug: 32420957 Change-Id: I8566b6ba786267ba374113565709a8e794a962c5
2016-10-24Fix icon positioning for AcceptDenyDialog.Michael Kwan
Update the layout used in AcceptDenyDialog to match the layout in AlertDialogs. Test: manual inspection Bug: 32315229 Change-Id: I4250f785bc2fbcb3f951e3f066ca71597e565973
2016-10-11Update permissions UI to match new watch UI.Michael Kwan
Bug: 29250733 Bug: 31779188 Change-Id: I814db5f94bdb840b04c5e8d9e12b565cfcd5fbc1
2016-07-28Add basic accessibility to Wear permissions dialogErik Wolsheimer
BUG: 30067232 Change-Id: I98ff09ce150d8c597ec7f4b1f1b86ec0997e7c02
2016-03-18Show No permissions, if there are no permissionsVinod Krishnan
Change-Id: I285e326994268fc5b561e4a445ac2af326a64397
2015-10-20Reduce the top padding when message isn't at top.Danny Epstein
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
2015-10-19Add top padding to grant permission content.Danny Epstein
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
2015-10-13Modifies wear Permission title height to avoid clippingAlex Hills
We were explicitly setting the height of the permission screen title, which wasn't 100% guaranteed to work in all languages. This change sets minHeight (to maintain UI consistency) instead, and changes the height to wrap_content to enable it to expand further if necessary. Bug:24774285 Bug:24391658 Change-Id: Icf25ad6a176537b0f34a30f53220c73fccec2d24
2015-10-05Permissions redline fixesAnthony Hugh
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
2015-09-25Merge "Add enabled/disabled icons for permissions on Wear" into cw-e-devAnthony Hugh
2015-09-24Fix CTS test by renaming button ids to matchAnthony Hugh
BUG: 24264373 Change-Id: I9f04ff68dcd11f48df9331abf2f1775c95f31f99
2015-09-23Add enabled/disabled icons for permissions on WearAnthony Hugh
Adds proper enabled/disabled icons for permissions on Wear and adds the logic to flip between the two states when the permissions are toggled. BUG: 24132450 BUG: 24131441 BUG: 24277624 BUG: 24131983 Change-Id: Ie654c84fe3d648e47a76142a6f82c4348bb7fc0c
2015-09-23Add new dialog for warning confirmationsAnthony Hugh
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
2015-09-22Update Grant Permissions dialog to redlinesAnthony Hugh
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
2015-09-17Permissions Settings UI updatesAnthony Hugh
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
2015-09-15Build initial Permissions Settings UI page for WearAnthony Hugh
This is a first pass to build a functional settings UI page for Permissions on Android Wear. The user flow is a little different than the phone version, so there are some nuances that need to be adjusted from the normal flow. I have forked off of the AppPermissionsFragment and created a Wear version for us to use. Rather than try to link the Wearable-Support lib into AOSP code, I have made a duplicate of the few files I needed. This change adds a Wear layout version of the Settings UI page. The UI is fully functional for most cases, but there are some tweaks still needed for full parity. The tweaks are primarily around UI and special edge case functions. BUG: 23080561 Change-Id: I8477f6b966cacaae9e77aa0fb61b4b1e621a9ead
2015-09-16Merge "Permissions Watch settings UI port" into cw-e-devAnthony Hugh
2015-09-15Permissions Watch settings UI portAnthony Hugh
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
2015-09-14Changing layout to make button animations workVinod Krishnan
- 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
2015-08-21Implement base version of GrantPermissions dialogAnthony Hugh
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
2015-08-21Revert "Implement base version of GrantPermissions dialog"Anthony Hugh
This reverts commit b7da1f5f9886ff8a4ad81b0d617d442c461ca1e5. We can't reference vendor from this package. Need to add the references manually. Change-Id: I3ee31de110f24014100ce804b0659055b26f963b
2015-08-21Implement base version of GrantPermissions dialogAnthony Hugh
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