summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/qs/tiles
Commit message (Collapse)AuthorAgeFilesLines
* SystemUI: don't automatically disable compass tileRoman Birg2016-07-251-5/+6
| | | | | | | | | Persist the user state until they disable it. Ticket: CYNGNOS-3135 Change-Id: I9956f78419e94cc63b6a6ecabd28075a32192c2a Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: fix NFC tile sometimes hidingRoman Birg2016-06-101-28/+63
| | | | | | | | | | | | | - Check whether NFC is supported based on device features - Don't hold a reference to the NFC adapter - query it when we need it (not using getDefault, but the internal method, if we use the default, querying for the adapter before the service was spun up would lead to systemui never having a valid refernce to an adpater). Ticket: CYNGNOS-1943, CYNGNOS-2866 Change-Id: Iba8b668406ca96183aafcf9a55d60c6d89d70061 Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: Filter out unsupported values off perf profile tileLuK13372016-05-231-7/+28
| | | | Change-Id: I4409d1e9e7310530b47ac7d48db8c4796f0ae49e
* QSTiles: set disconnect callback in bluetooth details list adapterRandall Rushing2016-05-171-0/+1
| | | | | | | | Adapter callback to disconnect device was not being set after scrollable tiles bringup. This resulted in a broken disconnect button in the details item list. Change-Id: Ibbc96d9d379b95b04b4376f4767fd877226c0c95
* QS: fix performance profile tile observerScott Mertz2016-05-131-1/+1
| | | | | | CYNGNOS-2837 Change-Id: I9a0f9febe22e046a1fb3297e6a4b3ab1f8fafa87
* SystemUI: implement properly saving tile locationsRoman Birg2016-05-041-6/+24
| | | | | | | | | | | | Use new persisted key which does not use the tiles' ID (which changes usually across reboots with every tile). When the Custom tile service comes up, it will update the placeholder tiles created with their real values and the order is preserved properly. Ticket: CYNGNOS-2530 Change-Id: I5e75c739553969f1d92c249f521a476259fe0cd6 Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: remember deleted custom tilesRoman Birg2016-05-031-1/+31
| | | | | | | | | | | | | | | We previously had no mechanism of knowing which tiles the user had manually removed, leading to the tiles returning when the publishing application decided it was time to update. Now, when the user removes a custom tile; set a flag and hide it in the tile list. The removed tiles will be enumerated in the Add tile detail view if the user decides they want it back. Ticket: CYNGNOS-2530 Change-Id: Ia4fe74ef580af7139279a2fb78e240e872f8dbb0 Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: Move ADB_ENABLED to "Global"Michael W2016-04-181-2/+2
| | | | | | | ADB_ENABLED is in Global since a while, correct occurences -> Reduces logspam Change-Id: I6fed6d63827179fe134e3ba150a20a3ba0a5202b
* systemui: Remove LiveDisplay tileSteve Kondik2016-04-141-213/+0
| | | | | | * Moving to dynamic. Change-Id: I7c886139f11f18f2227ad0e7dd7e0f2d949fbda5
* livedisplay: Moving LiveDisplay to CMSDKSteve Kondik2016-04-131-36/+26
| | | | | | | * Remove all LiveDisplay-related code from the framework, and update the QS tile for the new API. Change-Id: I41c04a254afa91c0ed26c050362b63049d489fba
* SystemUI: stop hiding hotspot & color inversion tilesRoman Birg2016-03-282-75/+8
| | | | | | | | | | | | | | | | These were hidden based on usage patterns to not clutter up the initial dropdown with a bunch of tiles the user may not user. Since we allow configuration of the tiles, the tile pages are limited in height, and it doesn't really fit in with our edit tile scheme, let's always show these tiles. The user can hide them if they need. This provides for a more consistent experience when hitting "edit tiles." Change-Id: If4c1254d2200f260a1263658eab6761755420816 Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: improve battery saver tileRoman Birg2016-03-211-11/+31
| | | | | | | | | | | | | | - Fix the tile not showing, the javadoc states that it will return 0 if profiles are not supported, but it was actually returning -1. - Now disables itself when the device is plugged in to reflect to the user that they cannot toggle it on right now. - Don't wait for power manager to update its internal state before updating the visual tile state. Change-Id: I8ab6adb2bfa728a242368294c1f066d468a86f09 Signed-off-by: Roman Birg <roman@cyngn.com>
* Cast Tile: only scan while in detail viewRoman Birg2016-03-161-1/+2
| | | | | | | | Small optimization, otherwise we'd scan until the user closed the status bar. Change-Id: I8d9d933287e0225a8557a7aec06eb60392464fa7 Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: Improve string in data capable, not selected scenario.Adnan Begovic2016-03-091-4/+10
| | | | | | | | | | If a user hotswaps out their SIMs on a multisim device, the default data sim can be in an "unset" state. Since this is a possible scenario, its better to show that no data sim is selected vs no sims being available. Change-Id: I1e077883472a5037f38f97e6d15afe504f787e6a TICKET: CYNGNOS-2211
* HotSpot: Store # of connected clients in receiverd34d2016-02-291-3/+5
| | | | | | | Get the number of connected clients in onReceive and cache the value to be used in handleUpdateState Change-Id: I011a13e186c1fa9976df58a4ad1603e6c0cd6bbb
* QS: Show # of clients connected to hotspotd34d2016-02-221-1/+28
| | | | | | | | Since we no longer post a notification showing that the wifi hotspot is on and the # of connected clients, we now show the # of clients connected in the label of the hotspot QS tile. Change-Id: I9ed37b96db9b5b4320a7260524f69733ea70d030
* Show SIM card settings in MSIM devicesLuis Vidal2016-02-191-6/+13
| | | | | | | | | | | Fix to show the SIM card settings when QS network tile is long pressed. This patch also ports commit d427e02 from cm-12 to prevent showing mobile network options for seconday users Change-Id: I6c94fda5d2de0aa26285bd7d14b7dceac044bf41 TICKET: CYNGNOS-2052
* SystemUI: fix screentimeout tile icon disappearingRoman Birg2016-02-191-10/+0
| | | | | | | | | | | While going away from the detail view, sometimes it wasn't able to refresh it's state, resulting in the icon not showing and then appearing suddenly. Ref: CYNGNOS-2056 Change-Id: I9a634cc4c774c78dc7316619db446f4ea6c2c79f Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: add caffeine qs tile (1/2)Keith Mok2016-02-111-0/+202
| | | | Change-Id: I5d4aa97ae63fc0bcc40f0fa7d9305efbba091029
* update secure keyguard checkRoman Birg2016-02-111-4/+7
| | | | | | | | | | | | | We use this method to determine wither to allow profiles and the lock screen tile whether to allow messing with the lockscreen. Don't check whether the keystore is empty. Check whether we allow trust agents by DPM. And also make keyguard use this method to respect it. Ref: CYNGNOS-1930 Change-Id: I1a2b26419d43bd2bbc1d4a5027f1ed78d2744466 Signed-off-by: Roman Birg <roman@cyngn.com>
* Revert "DndTile: Always open the detailed view"Roman Birg2016-02-111-1/+1
| | | | | | | | | | | There is a CTS Verifier test which explicitly says "Please disable 'Do not disturb' by tapping the Quick Settings tile." This commit breaks this expectation. This reverts commit d77070c2c3c6bfc72f61fd0d48d15ba6f84cc49f. Change-Id: I55af2c8194307590f70b2114d6fe5273f5a74528 Ref: CYNGNOS-1979
* SystemUI: improve lockscreen tile behavior with profilesRoman Birg2016-02-081-27/+40
| | | | | | | | | | | | | Disable (grey out) the lock screen tile when a profile is already disabling it. Profiles takes precedence over the internal setting. Also simplify lockscreen disable logic - using a null'd Boolean without synchonization will lead to things falling out of place. Ref: CYNGNOS-1930 Change-Id: Ia4cb7926e418a4d72426be65e5bfb11dc44bee5e Signed-off-by: Roman Birg <roman@cyngn.com>
* LiveDisplayTile : Update entries on locale changesDanesh M2016-02-081-10/+14
| | | | | | YAM-21 Change-Id: I3abd262239fedf771b0b2ff38dadb42490f42432
* SystemUI: visually disable EditTile in lock screenRoman Birg2016-02-031-1/+1
| | | | | | | | | | It's unclear that the edit tile toggle will not be functional in the lock screen - reflect this by disabling the tile when on the keyguard. Ref: OPO-426 Change-Id: I9ec46402b8d63e012ca806bafa4c050fc0729ab8 Signed-off-by: Roman Birg <roman@cyngn.com>
* Wifi tile: don't set items visible from non-ui threadRoman Birg2016-01-271-3/+16
| | | | | | | | | This can lead to the items disappearing sometimes. Ref: CYNGNOS-1241 CYNGNOS-1644 Change-Id: Iea3e0467b56ae17f266c99b02866f8981b5007d7 Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: Do not turn on Wifi hotspot in APM ModeShufeng Hou2016-01-231-0/+13
| | | | | | | Do not turn on hotspot in APM Mode and show clear alert message Change-Id: I3afcc92a93707e15cd436ebc1cffb74567443483 CRs-Fixed: 926474
* SystemUI: fix lock screen tile state refreshRoman Birg2016-01-181-12/+7
| | | | | | | | | | Now should instantly reflect the proper state after clicking. In certain situations it would not update immediately. Ref: CYNGNOS-1607 Change-Id: I97a5e3417f91315ca5d06a832fa799938981e284 Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: handle custom tile long press PendingIntentsRoman Birg2016-01-181-1/+12
| | | | | | Ref: CYNGNOS-1602 Change-Id: I30dc09a48f7fcf7bcac85f173129c8bc04a10d37 Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: add a disabled state for Quick TilesRoman Birg2016-01-183-5/+40
| | | | | | | | | | | | | | Some tiles may want to be visible, but not allow any user interaction due to security reasons. Add a visual disabled state for tiles which are not enabled. With this patch, the Profiles tile and the Lockscreen toggle tile disable themselves on a secure lock screen. Ref: CYNGNOS-1597 Change-Id: I65ec7837661483d238d8dc3fa18419f76c8029dd Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: Add battery saver tile (1/2)Michael Bestas2016-01-171-0/+116
| | | | | | * To be displayed on devices without perf profiles Change-Id: Iff6920a0bb78e36e44590c1db880afcdcc6f78b3
* SystemUI: Add heads up tile (1/2)Michael Bestas2016-01-171-0/+107
| | | | Change-Id: I0e3cff73752c59d804dcec43b86524c2e8df4f57
* AdbOverNetworkTile: only de/reregister the observer when setListening ↵nuclearmistake2016-01-141-10/+14
| | | | | | changes whether we should be listening Change-Id: Ie8d4109f0069dc64a1ab15299f497f0ff6217878
* SystemUI: write keyguard enabled setting to CMSettingsRoman Birg2016-01-131-53/+32
| | | | | | | | | | | | | | Instead of saving this to a shared preference in SystemUI, let's leverage the CM SDK Settings Provider so we can query this state and let the user know why the keyguard is disabled. Also move the logic into KeyguardViewMediator to monitor the state change and apply it locally. Ref: CYNGNOS-1513 Change-Id: I08a984797921178082e1e7bda881b7b8a7965ddf Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUi: Reintroduce always_show_roaming config.Adnan Begovic2016-01-121-1/+1
| | | | | | | | | Set ro.config.always_show_roaming to true to always show both the current data RAT and roaming when in a roaming scenario. Change-Id: I59416f172f24094547b2594347e6accab0bd7fed TICKET: CYNGNOS-1578
* SystemUi: Nuke DONT_TRACK label, and introduce CMMetricsLogger constants.Adnan Begovic2016-01-1114-31/+32
| | | | Change-Id: I650f1be28f2cf75f0ac15056aa216b5b5ed33a86
* SystemUI: add tiles detail viewRoman Birg2016-01-041-1/+5
| | | | | Change-Id: I5da6b6ac4045992faab8dee87e11398c7807b241 Signed-off-by: Roman Birg <roman@cyngn.com>
* DndTile: Always open the detailed viewThecrazyskull2016-01-021-1/+1
| | | | | | * Be consistent with the rest of the tiles that have detailed view Change-Id: I7cafeab7211fa080a5f49e6c3f335e672111a746
* SystemUI: More stings cleanup on QS tilesMichael Bestas2015-12-193-7/+6
| | | | | | | | * Make strings & states more consistent to AOSP tiles * Remove unused/duplicate strings * Fix copyright headers Change-Id: Ib97f216c31c96e23d72ce7bf7e63b16b65f1bee0
* SystemUI : Add location tile from 12.1Danesh M2015-12-151-22/+188
| | | | Change-Id: I93fd420550d21161e14a817c29103cbdb358f63b
* SystemUI : Fix perf profile tile index calculationDanesh M2015-12-151-4/+15
| | | | Change-Id: I958f5781a98a1ebb05910ac8ecb0eb3d11408f72
* SystemUI : Port LiveDisplay tile from 12.1Danesh M2015-12-141-0/+219
| | | | Change-Id: I2d37b2023dc1a5474cd47cc36709433a5b4fefe5
* SystemUI: Readd AmbientDisplayTile.Adnan Begovic2015-12-141-0/+107
| | | | Change-Id: Ie7b93ba0f87d505206b5d60f193c2234d83d7eac
* SystemUI: Revert CAF UI modificationsMichael Bestas2015-12-121-3/+2
| | | | | | | | | | | | | | | | Revert "SystemUI: Support display for radio tech" This reverts commit 598421095aacb599d4bc8e8fcea20734d7847d0c. Revert "SystemUI: Customize StatusBar for Chinese carrier" This reverts commit d473d0b22ac8704c39d5eedd0d7b12f60a2fa215. Revert "Statusbar: Add customized icons for Chinese carrier" This reverts commit a6324c7293bebeff4c6ccee8c2a8af38b7a150a8. Change-Id: Ib03c7455a04bd7d63a8c0a7d238040099e94e89c
* SystemUi: Readd LockscreenToggleTile.Adnan Begovic2015-12-111-0/+170
| | | | Change-Id: Ib1e627bf5432ce54a9f81a5ba65da7c687c232d6
* base: dynamic tilesJorge Ruesga2015-12-101-4/+20
| | | | | | | | | | | | Add support for dynamic tiles Video: https://cloud.ruesga.com/f/71a12e4801/ Required: topic:customtiles_respkg topic:readd_customtiles JIRA: CML-22 Change-Id: Ie17ebf09ee88bc0c53561decc27430e174814543 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* SystemUI : port performance profile toggleDanesh M2015-12-101-0/+226
| | | | Change-Id: Ife1e7c62d36cddf1dcd17d5538d0e6c8ea27bee3
* SystemUI : Add screen timeout tileDanesh M2015-12-101-0/+354
| | | | Change-Id: If4f9e86ea25f92f435fd1d443cbe0b23ef4c1fb4
* SystemUI: add USB Tether tileBestPig2015-12-101-0/+119
| | | | | | Drawables by blunden Change-Id: Ic44f2b596fe32152f3f722347a855325c52113c6
* SystemUI: add Profiles tileRoman Birg2015-12-101-0/+269
| | | | Change-Id: I1fe49d44d17060c47fb7d6cf3356ec06c8d9d690
* Added show volume panel tile to QSstofstik2015-12-091-0/+68
| | | | | Change-Id: Ic583c24e304d1edc903127237fc9eb5c7eeb7e4d JIRA: CYAN-6721