summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Adds LTE toggle button to powerwidget. Toggles between NT_MODE_GLOBALgsarrica2012-02-182-0/+87
| | | | | | | | | | | | | | | | | | and NT_MODE_CDMA. Refactored to work with correct cyanogenmod settings. Change-Id: I04e8022535a225b2b5dc0a07d95dfd48d7ad513b
* | | Interface Settings: battery displayRobert Burns2012-02-183-6/+88
| | | | | | | | | | | | | | | | | | | | | Patch Set 4: Adjusted battery graphics as requested Patch Set 5: Decreased font size for tablets Change-Id: Icc27099206b0296f79d61fa0bcf33fc8d4e10060
* | | Interface settings: clock display on tabletRobert Burns2012-02-101-2/+118
| | | | | | | | | | | | Change-Id: If2cab2a3ee6e971dedda669397d7a79ff9d55ed8
* | | Port WimaxHelper and (the toggle) WimaxButton from CM7.Mike Kasick2012-02-073-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both WimaxHelper and WimaxButton are updated to support Samsung's (crespo4g, epicmtd) Wimax4GManager proprietary class, whose API has been somewhat-significantly changed in ICS. Support for HTC's (supersonic, speedy) WimaxController is retained in WimaxHelper, although untested. Note that WimaxManagerConstants was previously misdocumented, confabulating the lookup key EXTRA_4G_STATE ("4g_state") with EXTRA_WIMAX_STATUS ("wimax_status"), which no longer exists. This is also fixed. Change-Id: If6fc4a0a290ad9689a40ee06f9f6a2f3092cfaf9
* | | Merge "Set the data type icon to 0 when connected to wifi" into icsSteve Kondik2012-02-071-0/+1
|\ \ \
| * | | Set the data type icon to 0 when connected to wifiScott Brady2012-02-031-0/+1
| | | | | | | | | | | | | | | | Fix issue of mobile data type being shown when connected to wifi.
* | | | Merge "Statusbar slide brightness control" into icsSteve Kondik2012-02-071-3/+43
|\ \ \ \
| * | | | Statusbar slide brightness controlDanesh M2012-02-021-3/+43
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows the ability to control brightness by sliding across the statusbar. Patchset 2 : Cleanup as per suggestions. Removed duplicate key from Settings, after settings merge Reduce mLinger threshold (Need feedback on whether its too sensitive for some) Patchset 3,4 : Minor cleanup Patchset 5 : Cleanup as per comments Patchset 6 : Remove unused import Avoid unecessary gc of unchanging variables (make them instance variables) Patchset 7 : Cleanup Change-Id: I19ee7de07be7bfeabde3fb2ae3c60ebdbb4afd72
* | | | add USB mass storage notification to tablet status barjt11342012-01-311-0/+8
|/ / / | | | | | | | | | | | | | | | | | | | | | some tablets (specifically Samsung 7" Galaxy Tab) ship with a removable sdcard, and run quite well using the native tablet interface (@160dpi instead of stock 240dpi). This change allows the USB mass storage notification when running @160 dpi in these situations
* | | Added Wifi/Bluetooth toggle on SystemUIFlemmard2012-01-283-14/+263
| | | | | | | | | | | | | | | | | | | | | | | | This patch regroups my two precedent that doesn't merge. It creates the Wifi toggle And the Bluetooth item with toggle on Statusbar settings. Change-Id: If7f558225e67f760bfe979d6e61ed55cdecefc67
* | | framework: fix screenshot and rotation aimation for devices with abnormal hw ↵Tom Giordano2012-01-281-1/+4
| | | | | | | | | | | | | | | | | | rotation Change-Id: I42694931cb1a754aa6c7652c0a96304ef1f88492
* | | Interface settings: clock displayRobert Burns2012-01-253-3/+75
| | | | | | | | | | | | Change-Id: I99abcd92320a083a2e3be79fec5cfc3e0bb80b47
* | | PowerWidget : Indicator observer / Hide onLongClickDanesh Mondegarian2012-01-062-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | Register an observer for indicator visibility. Collapse statusbar on longClick of buttons Remove highlight Change-Id: I334446ca3328aeb25c50fe25f65be5a341c7318b
* | | Merge "Notification Power Widget: Fix silent mode detection" into icsSteve Kondik2012-01-021-0/+7
|\ \ \
| * | | Notification Power Widget: Fix silent mode detectionJonas Larsson2011-12-301-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent upstream changes have broken detection of silent mode, so when for example using the device vol keys to set silent mode the wrong icon is displayed. This is caused by a faulty assumption about vibration modes. When ringer mode is set to silent, vibration mode is ignored by Android. Thus, when comparing Ringers we can not compare vibration modes when ringer mode is silent. This has been true since API level 1 but since Google never can seem to decide how to handle silent/vibrate/ring consistently it's understandable that bugs like this happen. Change-Id: Ie3daddd51a7bba0dea86f3f58f6963d22e34cc6d
* | | | Notification Power Widget: Real rotation lock using ICS API:sJonas Larsson2011-12-301-16/+31
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Old implementation of auto rotate button just toggles auto rotation. New implementation use the new rotation freeze/thaw API:s. Accelerometer is toggled like before, but current rotation is kept ("frozen"). This means that AutoRotateButton now works like the rotation lock button on iOS devices and the native rotation lock button in ICS on tablets. Change-Id: I8e32bafe46f316194fdf77c375e1adbb7edcf50f
* | | Notification Power WidgetMadison Koenig2011-12-2024-0/+2954
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ported over from CM 7.1 into CM9 Rewrite by cvpcs Requires configuration settings from CMParts. Will be done when settings app available. Disabled WiMax button until WiMax support is added back in. ToDo: Change default color to Cyan to match ICS default color Scheme. Make indicator bar smaller? Requires: http://review.cyanogenmod.com/#change,10578 - Light Sensor Information. Also requires CMSettings for Configuration: https://github.com/Pedlar/android_packages_apps_CMSettings Change-Id: I657f459969c784164730e6b0660db40822d8c491
* | | Merge branch 'ics-mr1' of ↵Steve Kondik2011-12-1619-360/+758
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into aosp Conflicts: core/res/res/values/strings.xml policy/src/com/android/internal/policy/impl/GlobalActions.java services/java/com/android/server/WifiService.java services/sensorservice/SensorDevice.cpp telephony/java/com/android/internal/telephony/RIL.java Change-Id: I89ec56d5ff282a2eb879ca40fb6d74ebcf752837
| * | Merge "Improve handling of small largeIcons in tablet ticker." into ics-mr1Daniel Sandler2011-12-071-3/+16
| |\ \
| | * | Improve handling of small largeIcons in tablet ticker.Daniel Sandler2011-12-071-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tablet system bar is too short for a full notification row, but it will show the largeIcon of a new notification in its full frame, intruding into the main application content rectangle a bit. This is a good thing---the notifications really pop out at you---but it looks a little odd if the largeIcon is actually *small*: the icon is vertically centered in the larger (invisible) rectangle, making it look poorly centered on the system bar. This change will detect short largeIcons and center them in the system bar's height instead. Additionally, it applies the same ticker background all the way to the left underneath largeIcons that are not full-frame (and therefore have transparent regions). Bug: 5708907 Bug: 5560485 Change-Id: I32af45632df164c58fb960110063dbaa08b5536c
| * | | Invalidate the whole status bar after layout transitions.Daniel Sandler2011-12-071-0/+10
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | This should ensure that the menu icon doesn't persist on-screen even after it's been removed from its parent. (Related to the KeyButtonView animation glow and the tricks it plays with invalidation.) Bug: 5647480 Change-Id: I8ca503ef647aed99335d3dbecedce38fa0b70c65
| * | Merge "Fix 5705837: Dismiss keyguard when launching Settings from Statusbar" ↵Jim Miller2011-12-051-15/+20
| |\ \ | | | | | | | | | | | | into ics-mr1
| | * | Fix 5705837: Dismiss keyguard when launching Settings from StatusbarJim Miller2011-12-021-15/+20
| | | | | | | | | | | | | | | | Change-Id: I81377d9208b05bb4a3c6c0b8fa751f972b9345e7
| * | | Merge "Fix statusbar crash on devices with no Bluetooth" into ics-mr1Jesse Hall2011-12-051-3/+5
| |\ \ \
| | * | | Fix statusbar crash on devices with no BluetoothJesse Hall2011-12-051-3/+5
| | |/ / | | | | | | | | | | | | Change-Id: Ib2290f9cde54d0d52c2692b11b0232848bbbc8b0
| * | | Merge "Fix sticky menu icon on tablet status bar." into ics-mr1Daniel Sandler2011-12-051-15/+7
| |\ \ \
| | * | | Fix sticky menu icon on tablet status bar.Daniel Sandler2011-12-051-15/+7
| | |/ / | | | | | | | | | | | | | | | | Bug: 5647480 Change-Id: Iec4b04e414e8753e6b677b9168ad16b8c3e712be
| * | | Drop API level for notification compatibility BG to 8 (from 10)Adam Powell2011-12-052-2/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Bug 5713262 As we had concrete styles for achieving the right text styling as of Gingerbread, don't punsh apps that used them correctly. Change-Id: I1e373a0238edd6bdab2d0f96588d9cb92a20b31f
| * | Merge "Adding a sound when you take a screenshot. (Bug 5617734)" into ics-mr1Winson Chung2011-12-011-0/+10
| |\ \
| | * | Adding a sound when you take a screenshot. (Bug 5617734)Winson Chung2011-12-011-0/+10
| | | | | | | | | | | | | | | | Change-Id: I7f253adddd09da65481081a4ca22f043d3325d65
| * | | Add copious navigation bar info to SystemUI dumps.Daniel Sandler2011-12-012-3/+90
| |/ / | | | | | | | | | | | | Bug: 5549288 Change-Id: I8556584e6abd22912d55dccc27ccebb6602b1bcb
| * | Merge "Put screensavers back in the icebox for now. DO NOT MERGE." into ics-mr1Daniel Sandler2011-12-011-78/+0
| |\ \
| | * | Put screensavers back in the icebox for now. DO NOT MERGE.Daniel Sandler2011-11-301-78/+0
| | | | | | | | | | | | | | | | | | | | Bug: 5689684 Change-Id: I3a5291c3520bb43e35d55714f1522e4ae7f6e63c
| * | | Merge "Fix issue #5433192 and maybe #5433192" into ics-mr1Dianne Hackborn2011-11-302-0/+5
| |\ \ \
| | * | | Fix issue #5433192 and maybe #5433192Dianne Hackborn2011-11-302-0/+5
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5433192: Factory reset device: compatibility screen is the first... ...screen before setup wizard Don't show compat mode dialog if compat mode is unknown (which happens early in boot before an activity is shown for example). Also make sure to update status any time the current focus app token changes, so we correctly update every time switching apps. 5651152 [Stingray] change zoom/strech setting icon won't go away This is probably also fixed by updating when the app token changes. Change-Id: Ibe9bd6277166230d5d96689741b78325ea099d57
| * | | Avoid airplane mode labels when Wi-Fi enabled.Jeff Sharkey2011-11-301-7/+11
| |/ / | | | | | | | | | | | | | | | | | | | | | When refreshing network views, avoid setting airplane mode icon and labels when connected to Wi-Fi network. Bug: 5262367 Change-Id: Ib831ce06bab67fffcc14a8c3b1ba9e437a74761d
| * | Improve screenshot animation performanceRomain Guy2011-11-291-75/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #5525888 Uses only 25% of the original amount of OpenGL API calls Fillrate usage is now 1x the screen size instead of 5x Change-Id: Icc7d2793f276fb7ce23c7f652079e54e3d4779d5
| * | Dismiss system windows when screen savers start.Daniel Sandler2011-11-181-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Also add a couple more flags to the intent: - NO_HISTORY (finish activity on suspend) - FLAG_FROM_BACKGROUND Bug: 5578434 Change-Id: I97b965175a27760b819dc29ddb57865c5f4754d6
| * | Dreams (now Screen Candy) development.Daniel Sandler2011-11-181-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | - support for global "disable" setting - renamed settings provider keys to remove "DREAM" Bug: 5591015 Change-Id: I31f31b3ca6001fec1e0032a49cdf0d10df7b0ec7
| * | Merge "Fix bug 5614962 - Constant spinning wheel in USB Mass Storage screen ↵Adam Powell2011-11-171-5/+0
| |\ \ | | | | | | | | | | | | (UX)" into ics-mr1
| | * | Fix bug 5614962 - Constant spinning wheel in USB Mass Storage screen (UX)Adam Powell2011-11-171-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable the window-level progress spinner; another is already shown while connecting. Use the correct Settings icon for SystemUI. Specify the activity title for the USB mass storage screen in the manifest to avoid title flashing during startup. Change-Id: Ic57af56bf1661a5eaa91fff77471dc8447340d16
| * | | Merge "Activate Dreams (screen saver) when desk-docked." into ics-mr1Daniel Sandler2011-11-161-4/+29
| |\ \ \
| | * | | Activate Dreams (screen saver) when desk-docked.Daniel Sandler2011-11-161-4/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SystemUI's DreamsDockLauncher now responds to low-level dock events (Intent.ACTION_DOCK_EVENT) by immediately invoking the user's selected screen saver. (The high-level DESK_DOCK behavior is no longer enabled; see change I7884f65.) Bug: 5591015 Change-Id: I01a9bc6b181d55493f891ccc220631ddc461808a
| * | | | Merge "Add a default Dreams component." into ics-mr1Daniel Sandler2011-11-161-0/+3
| |\ \ \ \ | | |/ / / | | | / / | | |/ / | |/| |
| | * | Add a default Dreams component.Daniel Sandler2011-11-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently set to DeskClock's screensaver, but since it's a (private) string in f/b/c/r/r/values/config.xml any product could overlay this. Bug: 5611008 Change-Id: I7a4623c9c667a6cff8ed80ad600a8a4460bfafb7
| * | | Merge "Fix bug 5623642 - Status bar background incompatible with some legacy ↵Adam Powell2011-11-152-2/+53
| |\ \ \ | | | | | | | | | | | | | | | apps" into ics-mr1
| | * | | Fix bug 5623642 - Status bar background incompatible with some legacy appsAdam Powell2011-11-152-2/+53
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Give some background protection to custom layouts in legacy notifications. Pre-HC it was extremely common for apps to hardcode text colors in layouts. Since this can lead to black text on a dark background in HC/ICS, give these older apps that target SDK < 11 a light gray background. Change-Id: Iab3dea4beb9172b2f9a5cae53991cf952d0c8cde
| * | | Merge "Defer adding large icon until when we compose the final notification. ↵Winson Chung2011-11-151-5/+6
| |\ \ \ | | |/ / | |/| | | | | | (Bug 5566846)" into ics-mr1
| | * | Defer adding large icon until when we compose the final notification. (Bug ↵Winson Chung2011-11-141-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | 5566846) Change-Id: I9f156d7b597112ce14e274f05df421100c9481e6
| * | | Merge "Bring back the 'more notifications' icon." into ics-mr1Daniel Sandler2011-11-153-86/+48
| |\ \ \