summaryrefslogtreecommitdiffstats
path: root/res/layout
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Settings: Add screen color settings"Steve Kondik2016-08-053-429/+0
| | | | | | | | | | * We now have support for HSIC controls in LiveDisplay and this can be deprecated. A new UI to bring the same kind of functionality is underway as well. This reverts commit 853513841512a0fbf15dc22c7164a98d0a2de80b. Change-Id: I4fa3af25f64b05338a78ba7832e75333cf15e448
* livedisplay: Add picture adjustment settingsSteve Kondik2016-08-051-0/+125
| | | | | | | * Allow user setting of hue, saturation, intensity, and contrast * These controls are associated by the current display mode Change-Id: I5de24a0b5c2972f115920167fa97afa3a136b80d
* Settings: Improve vibrator intensity dialog layoutZhao Wei Liew2016-07-271-39/+30
| | | | | | | | | | | | - Remove redundant 'Vibrator intensity' text - Align the text and seekbars - Get rid of the ScrollView - Clean up Visual: http://imgur.com/YB7Ez3m Change-Id: I4d80f7df2f18b580eaef1ca44ce0560e044ee065
* fingerpint: Allow devices to configure sensor locationd34d2016-06-302-0/+10
| | | | | | | | | | | | | | | | The text for enrolling a fingerprint always assumes the sensor is located on the back. This patch adds a config integer that defines where the sensor is located on the device. 0 = back 1 = front 2 = left side 3 = right side This patch also adds a new drawable that shows the front of the device when applicable. Change-Id: Ia8f5f8ff4ba4d13d35aed3052f60ff665dd4f294 TICKET: CYNGNOS-3089
* settings: wifi: Default to numeric keyboard for static IP itemsTom Marshall2016-06-291-4/+4
| | | | | | CYAN-7646 Change-Id: Ibc02cdcc863d2ae373b24bcfd5b97bf63de99222
* Settings : Add country code to blacklist entry dialogDanesh M2016-06-271-0/+14
| | | | | | | | | | | | | | | | Enforce country code when adding an entry. If the user has regex enabled, * is added to the list as a choice. This avoids the confusion users are currently facing where blocking only the number + regex doesn't work, since country code is expected. Eg : 206* won't work +1206* works CYNGNOS-3049 BACON-4953 Change-Id: I9236898f17fcef425e561aaa10e56c5e8c2171a7
* UI: Ensure "use for" options displayed when in landscape orientationlijun.xie2016-06-241-4/+8
| | | | | | | | | | | | | | | | | Items under the "use for" section of the "Paired devices" dialog for bluetooth connected headsets can be cut off on some devices when in landscape mode. This patch encloses those items in a ScrollView so the user can scroll the off screen items into view and enable/disable them. [Procedures] 1.Go to Settings -> bluetooth 2.Paired with a bluetooth headset 3.Click on the setting of bluetooth headset 4.check the menu list and rotate the phone 5.and can not sliding the list Change-Id: I52f4d494ca3c71a9ed88b2679868e77b092b4710
* Radio info to control QC dbg prop'sDeepak Kundra2016-06-031-0/+72
| | | | | | Issue-id:FEIJ-679 Change-Id: Ia1c9e5d5899ae173d4fd7fa9b2339013b42f115b
* Add option to select temperature unitLuis Vidal2016-05-062-5/+12
| | | | | | | | | | | | | Added a menu in the weather settings to select the temperature unit. This setting will be visible only if the user has at least one weather service provider installed. The weather settings layout was refactored to make room for this new preference Change-Id: I5e9f206573e0ff95fcee31a010b52530a907acc6 TICKET: CYNGNOS-2605
* Simplify and improve dream, LLS and weather provider layouts.Danny Baumann2016-04-273-203/+130
| | | | | | | In particular, make sure the selection ripple extends to the edges of the screen. Change-Id: Ie5694dfea8fd14810895581e4e7daef15c8890c3
* livedisplay: Update Settings for new LiveDisplay APISteve Kondik2016-04-121-32/+0
| | | | | | | | | * LiveDisplay is getting a proper API. This patch refactors the settings to use it. * Also kill off the deprecated "gamma calibration" tunable which nobody should be using at this point. Change-Id: I948b8845cd06c8c634a201cb5d5b93b5766cc51d
* Add Weather Content Provider [2/5]Luis Vidal2016-03-312-0/+151
| | | | | | | | | | Introduce a new entry in the settings menu to select the available weather provider services. This entry will be parked in the System category between Date&Time and Accessibility Change-Id: Ida230f3be72eb575a2b09504c99eaa16851c99f8
* Settings: add marquee to Device administrators screenRoman Birg2016-03-311-0/+2
| | | | | | | | | Noticed while doing CTS testing that it was really hard to pick the correct receivers to enable when you cannot see their full names. Change-Id: I8f14d04f1037158c94d5501c115b5100456d7619 Signed-off-by: Roman Birg <roman@cyngn.com> (cherry picked from commit 83b4a9951b8aadfba35d8f12d075231e7cb36385)
* Settings : Add per app internet/data controlDanesh M2016-03-212-46/+62
| | | | | | | CYAN-3976 CRACKLING-834 Change-Id: I13192df837c057b5cadde8f31532e12daaf3c1b0
* Re-expose hardcoded white text colorsDave Kover2016-03-178-17/+17
| | | | | | | | | | | | | | In the original expose pass, all of the hardcoded white text colors were given a generic color that they all pointed to. This is great, but very inflexible for themes that might need to tweak just one of those instances. With this patch, we will create new text colors (and allow some textviews to share it when it makes sense) and point all of those back to the text_color_white so that existing themes are not broken. Change-Id: Iae850b7f75d319bd308f001058918e4466c70dca
* Better expose text color for single button panel buttonDave Kover2016-03-031-1/+1
| | | | | | | | | | When we did the original expose pass for 13.0, we lumped too many values into the same custom color. Let's give this button text color its own value so that it can be themed individually from other instances of text_color_white. Change-Id: I4b76633eee6ebcb0f560ff527f081fa80c16850a Ticket: CYNGNOS-2179
* Expose values for themes.Dave Kover2016-02-291-1/+2
| | | | | | | | | Move category margin dimension to exposed value. Add background to category title textview and make value accessible via cm_colors. Clean up formatting in cm_colors. Ticket: CYNGNOS-2154 Change-Id: Ie9241cae3ea067fccbedd43231b52e3c80f8bd97
* Break out text color value from commonly used color.Dave Kover2016-02-242-2/+2
| | | | | | | | | | Too many locations are using text_color_white and this will affect theme options when it comes to the switch_bar_background color. We can point to a new value, which points to the current value and all will be right with the world. Change-Id: I9b1e67b7ce4f31d1e1203cdb11c630682ceb7ba8 Ticket: CYNGNOS-2124
* Settings: regulatory: Wrap the layout in a ScrollViewDiogo Ferreira2016-02-171-26/+31
| | | | | | | | | | | | | | | | | This screen allows an optional image to be provided via overlay, this image might be bigger than the screen height, and usually is when the phone is in landscape. This cuts the image and only shows what the screen allows. This patch wraps it in a ScrollView to ensure that the user can read the whole image. Additionally, it changes the ImageView width to take the full width of the parent, making centerCrop work as expected and centering the image. Change-Id: Ie8433767fe333cb4b019608208a45cd0a653641b CYNGNOS-2050
* Update textview styles for better theme compatability.Dave Kover2016-02-081-2/+4
| | | | | | | | | | | | | | In the battery & notification lights preferences, the textview attached to the custom color is locked to a color which is only visible against light backgrounds. If a theme changes to a dark theme, they are unreadable without modifying a core material style. Let's create a new style that points to a better material style but also allows a themer to change it independently if needed. Change-Id: I039f154282035c5123fddf8c20c18bdb3be90060 Ticket: CYNGNOS-1790
* Settings : Add radio button / selection states for default SIMsDanesh M2016-02-031-24/+36
| | | | | | CRACKLING-928 Change-Id: I786d4d921987d483cd0a5fa77976a0b8047d06db
* LiveLockScreen: Add live lock screen settingsd34d2016-02-021-0/+106
| | | | | | | | This will allow the user to enable and configure their installed live lock screens. Change-Id: Id4a6963cc49d1c361c99c95b17a961aaa980ed48 TICKET: CYNGNOS-1686
* Bluetooth/Wifi: center empty view and set textAppearance to mediumAlexander Martinz2016-01-311-1/+2
| | | | | | | * does not look weird anymore when toggling bluetooth or wifi Change-Id: Ibbf375e241f091bc27b76c273598da9fc0d67ed9 Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
* Settings : Improve app info screenDanesh M2016-01-281-7/+4
| | | | | | | | Move packagename label to newline to avoid jank marquee. CYNGNOS-1649 Change-Id: I060290510e819096dd1496356d592dcfc81f57f4
* MasterClear: update UIRoman Birg2016-01-271-0/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also squashed the following related commits from 12.1: MasterClear: fix FRP wipe crash Requesting setRequestedOrientation() right after showing a custom dialog in a DialogFragment does not play nice. It forces the activity to be recreated instantly, so when the task finishes, there original activity the AsyncTask is tied to is no longer valid. However, if we let fragment manager keep track of all the dialogs, it doesn't break the expected behavior. REF: CYNGNOS-427 Change-Id: I0609816182a6b5319d2a88ff0075d53e3c2fed16 Signed-off-by: Roman Birg <roman@cyngn.com> Settings: make FRP wipe dialog not cancelable User should not be able to interact with the screen after the process has started. Otherwise we can get in a bad state and never perform the factory reset. Ref: CYNGNOS-427 Change-Id: I197a6ca70487a33b0ce402fda7a2d58828e8e1bb Signed-off-by: Roman Birg <roman@cyngn.com> Settings: don't crash when dismissing FRP If the user has pressed home while the dailog is up, there may be nothing to dismiss by the time the task finishes. Ref: CYNGNOS-427 Change-Id: Ic4fdec1ecb32f88181feba4bfd3eb337b1b61efd Signed-off-by: Roman Birg <roman@cyngn.com> Settings: continue factory reset if user leaves activity If the FRP dialog is up, and the user presses the home button, the FRP task will finish, and then try to use the activity context to initiate the wipe, and the fragment to retreive args, both of which is no longer valid. Cache all variables before the task begins, and use the application context to complete the calls. Ref: CYNGNOS-427 Change-Id: I5c8b286195a0b57fd879a1022d64ea548363b925 Signed-off-by: Roman Birg <roman@cyngn.com> Ref: Settings-86 Change-Id: I759de586bf5cb8558d42575d08df63aaf84fffa6 Signed-off-by: Roman Birg <roman@cyngn.com>
* Fix alignment on dashboard.Dave Kover2016-01-261-13/+10
| | | | | | | | | When the switch is present, the text is aligning to the top instead of centering to the iconography on the left. Shuffle the layout to make it center where it belongs. Change-Id: I5f2b497385c9370473df441c79e8fc7ddf3b740f Ticket: CYNGNOS-1669
* Settings : Improve usage stats screenDanesh M2016-01-222-49/+44
| | | | | | CYNGNOS-1317 Change-Id: I9df05539c46ea27f8e4e975c8d3bc4aee9823704
* Settings: Add fingerprint authentication for protected apps.Adnan Begovic2016-01-221-0/+15
| | | | | | | | Protected apps users can now authenticate via fingerprint if they have at least 1 fingerprint enrolled. Change-Id: I47504d9183d42ff974b0e1b0f271a424fd747608 TICKET: CYNGNOS-84
* Break out status bar icon from extdesk icon.Dave Kover2016-01-211-1/+1
| | | | | | | | | | | | | Create a separate resource for the dashboard category icon for Status Bar. Rename the extended desktop icons so they are further distinguished from the dashboard iconography. The goal is makea sure only dashboard icons are using the ic_settings_ prefix and rename iconography that is not part of that view. Ticket: CYNGNOS-1681 Change-Id: I54165bd4338bb1d73f1d453f75ee1c06cfd62a8f
* Squash commit of SAR and IC Code.Adnan Begovic2016-01-121-4/+22
| | | | | | | | | | | | | | | | | | | | | TICKET: CYNGNOS-1586 Settings: Show SAR on Regulatory Info (from CM11) This brings these three commits from CM11: Settings: Create SAR level preference, allow overlay. Change-Id: I1af616696702f72b8a6276b3b01e940d61735137 Change Regulatory Info Activity to prefer string over image Change-Id: I9ea5c2bf469af8f654ec4e4bb4f2a8a5738e6a95 Settings: Allow Regulator Information Dialog Title to be overlaid. Change-Id: I5aead313589f5d5291d20a0388d2d8bc7242b711 Settings: Refactory regulatory dialog. Display IC Code. Change-Id: Id268830404d09eed318e38474fe1a9062fc4e962
* Some text are missing in eject sdcard warningHenrik Baard2016-01-111-5/+0
| | | | | | | | | | | | | | | | | The eject sdcard warning page shows incomplete texts in some languages (german) and it is not apparant that that you can scroll to see the text. The layout is divided into three parts, the button and one blank line, and the text. The text and the blanke space will have equal parts of the screen since they have the same weight. Because of this the (complete) text is not shown in som languages. Remove the blank part and let the text use the whole screen. Change-Id: Id8fd88fc6c0aa6105d64c100e3365cd9b00bf851
* Remove a few MSIM tab hosts.Danny Baumann2016-01-061-60/+0
| | | | Change-Id: Idd0b7738685ba05fc7c6a85306fcf5e5b08203ff
* regulatory: Make the image fill the whole parentDiogo Ferreira2016-01-051-1/+1
| | | | | | | | Since the scale type is centerCrop, the container must fill the parent so that the image is properly centered in the screen in both landscape and portrait. Change-Id: Ieb664271eb37903ee0e043c6bfdf8f65c95025b9
* Themes: Add main dashboard background back from lollipopBryan Owens2016-01-031-0/+1
| | | | | | | | | | -This will make themes look the same as lollipop wihtout changing styles -Also needed for subsettings to have it's own bg color from main settings -All other work arounds have caused fc so this was the best solution to other issues -Make note if using Day/Night mode option this commit needs to be reverted Change-Id: I509258806ac92c699693672ee172776035c6866d Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
* [1/2] Settings AppOps: show/hide app type and allow/deny countersSam Mortimer2016-01-031-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | Squash of: Author: Sam Mortimer <sam@mortimer.me.uk> Date: Thu Oct 3 13:51:31 2013 -0700 AppOps: menu options to show/hide user and system apps Change-Id: Ia55364c361db949a891e4b53a757ee4dff519eb6 Author: Sam Mortimer <sam@mortimer.me.uk> Author: Danny Baumann <dannybaumann@web.de> Date: Wed Oct 2 22:24:14 2013 -0700 [1/2] AppOps: Show allowed/ignored counts Change-Id: Ia27737155c33e934df9a2a1fcff88379240fd096 Author: Sam Mortimer <sam@mortimer.me.uk> Date: Sun Dec 1 21:39:07 2013 -0800 AppOps: only apply app type filters to summary screen *) If buildState() is called for a single package, do not apply hide user/system app filters. *) Fixes show detail display when called via long press in privacyguard and an AppOp hide filter is ticked. Change-Id: If31d094fb989836ab6829daeefe820695032c0ed Change-Id: I4d6f37b3923eb9bc98d67101d6f0ef481a427682
* AppOps: Use switch widget for non-strict ops.Shashank Mittal2016-01-031-0/+13
| | | | | | | There are few Ops for which 'Always Ask' mode is not allwoed. So use switch widget to control such Ops. Change-Id: Ic7464a207c00e4cb9efff57c1f060e04379c1ee7
* AppOps: Add 'Always ask' option under appOps setting.Shashank Mittal2016-01-031-4/+5
| | | | | | Add always ask option for each operation. Change-Id: Ia4f331a5b7d0b1c8ae6946c55a4f78818fe0454f
* Settings: Expose backgroundTint from Single Button PanelNicholas Chum2015-12-291-1/+1
| | | | | | | | | | This exposes the hardcoded backgroundTint call to ?android:attr/colorAccent, and allow the themer to completely replace the color. Credits go to @Morningstar for locating the file! Change-Id: I7d76177fad123173131aecf0d19554825af303a0
* Settings: Expose Fingerprint Enrollment Checkmark Tint to an XMLNicholas Chum2015-12-291-2/+2
| | | | | | | | | | | This patch is a different approach to getting the tint changed. Changed from being a value into colors.xml to an XML file in res/colors instead to combat XML inflation issues. Tested on latest nightly, decompiled and recompiled. Stock theme and Dark Material runs fine with the new values themed. Change-Id: I1373d3d36555b44ad63515b4385d5f935a5a882f
* settings: Animation scale seekbarsSteve Kondik2015-12-281-0/+48
| | | | | | * Use a seekbar preference to allow setting arbitrary animation scale values Change-Id: I4ceaf0dc74e6e044e36cf3652bfc1efb33890380
* Settings: improve empty Profile trigger iconsRoman Birg2015-12-283-3/+3
| | | | | | | | | The icons that were used were being scaled up and looked choppy and ugly. Use some vector drawables instead. Signed-off-by: Roman Birg <roman@cyngn.com> Change-Id: Ia66d79f706f5de5b835fdcc503f1e92944e8b7dd
* Improve profile setting layouts.Danny Baumann2015-12-285-41/+34
| | | | | | Make their look consistent to the stock preferences look. Change-Id: I4fca6ab57eb549c0d8f28e5d4f1462fcead47bef
* profiles: Make the actions wizard buttons show upDiogo Ferreira2015-12-281-4/+3
| | | | | | | The "back" and "finish" buttons weren't being shown at all in this layout, which made it impossible to add profiles. Change-Id: Ib6b52430c25ed7445ca8e3c1249b7fccd21c3c69
* Settings: make empty profile trigger screens more usefulRoman Birg2015-12-273-2/+71
| | | | | Change-Id: I7e4061615f2bb1c1fabd37c8f5b792b04a99a2c8 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: merge ProfilesList into ProfilesSettingsRoman Birg2015-12-271-22/+3
| | | | | | | | | | | | | | | | ProfilesSettings previously had a viewpager with the profiles list, and an app group list. Then we removed app groups, but the viewpager was left over. The main reason for getting rid of it now is to make sure that refreshList() always works. Previously there was a small chance that because it was in a viewpager, the preference may not have been attached (at the time of the resetAll() dialog being shown and user pressing yes), which caused the refresh method call to fail, since it needs access to the preference screen, which is null at that time. Change-Id: Ib9c3a27e3062660bd8a91998c20c15b4ffb4390b Signed-off-by: Roman Birg <roman@cyngn.com>
* setings: Fix livedisplay settingsSteve Kondik2015-12-171-3/+3
| | | | | | | | | | | | | | | | | | | | | * Since moving this to internal settings vs. kernel settings, the parameters were wrong and changes set via settings weren't being applied. Fixit. Change-Id: I0676f6069729878b644914abe0ad0bca8a053c9e livedisplay: Add an "off" state * Don't force "day" to be the default state. * Change minimum value for color calibration to 20% so blackout doesn't happen when all sliders are at minimum. * Also improve a few strings to describe what day and night means. Change-Id: Ib2a617488fffb128c8e3e9e52d64fac6b261e53d livedisplay: Fix for multiuser Change-Id: If0ef1da91cf5310308abf08806f7902e25080d2c
* Settings: add switches for dashboard itemsRoman Birg2015-12-151-2/+15
| | | | | Change-Id: Ibff81510270745807a4b133457d60d47dd629df6 Signed-off-by: Roman Birg <roman@cyngn.com>
* CryptKeeper improvementsRoman Birg2015-12-111-4/+0
| | | | | | | | | | | | | | - Status text was used enough to warrant it being a field variable instead of looking for the view every time - Display proper text after changing pattern sizes (to input a pattern, not a password) - Disable changing pattern sizes while validaing pattern REFS: LETTUCE-557, LETTUCE-352 Change-Id: Ib4ecf04a58da8d1648d514d9650d69c33d9587a7 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: handle decrypting larger pattern sizesRoman Birg2015-12-112-0/+85
| | | | | Change-Id: Id24d46829063171fa87cabb23a7da378726d7548 Signed-off-by: Roman Birg <roman@cyngn.com>
* Revert "Themes: Expose forced tint on fingerprint enrollment checkmark"Danesh M2015-12-071-2/+2
| | | | | | This reverts commit fd00d2d93b9889e57a937f0b5631b82d83770621. Change-Id: I1d1d6688c817a4964c2d97980d4d70275bf8715f