| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Add a padding to the brightness control on both sides to make it easier
to reach the min/max brightness.
Change-Id: Ia42444321f82aaac97c0c442796dec551b1bcd65
|
|/
|
|
| |
Change-Id: Ibc2ea21b136aa390a371fa997c07c7dae7d83676
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Settings: http://review.cyanogenmod.com/#/c/16842/
Adds basic powerwidget management for tablet devices
Allows to setup up to 6 different toggles, or remove all of them
patchset 2: remove whitespaces and tabs
patchset 3: remove some other tabs left
patchset 4: some other tabs were hidden
patchset 5: *changed strings for consistency with phone powerwidget
*added license header on some files
patchset 6: remove WIP tag
Change-Id: I2e643401aaac0146857abe8c2d2dbc652d28e666
|
|\
| |
| |
| | |
support" into ics
|
| |
| |
| |
| | |
Change-Id: Ib715a4703af6d91e1496bbfa2fe1aa31c1a1cbba
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When touching the status bar, screen brightness can be changed after a counter
reaches a threshold. Previously any y-axis movement above a certain velocity
would reset the counter, making it very difficult for the user to smoothly
adjust brightness. With this patch such movements will simply cause the counter
not to increment.
Will need testing to determine whether this makes it too easy to adjust
brightness by mistake.
Change-Id: I3dc9185f0240b58b59dd0b641f96f8cf8e97ed9f
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: I984f3a161198ab5936520b4a6efc29f11baca25e
|
|/
|
|
|
|
| |
* The code is already there, this adds a runtime toggle for it.
Change-Id: I093fae9b0e2e263c11a41f07c9669c18afda978d
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Displays the dock battery percentage while docked, according to the users system settings.
Change-Id: I68b3739e2ccbaf0f4a1b64ec4aca27466ed4c11a
|
|\ \ |
|
| |/
| |
| |
| |
| |
| | |
Dismiss the keyguard on longpress of toggle similar to settings button
Change-Id: I45b64f3f3ac822f5137a2db263bf2e9c3e8a1a45
|
|/
|
|
|
|
|
| |
Recent button stops working after theme change since the listeners
are not set in time for them to be invoked. This patchset addresses that.
Change-Id: If69328c859a86bd3068a48994918c5d9f990d154
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allows user to customize navigation bar.
Features :
- Choose from 1-6 # of buttons
- Re-arrange / assign buttons
Patchset 1 : Initial commit
Patchset 2 : Resize side drawables to avoid requestRelayout() [HACK]
Patchset 3 : Added extras to intent to explicity change state
Patchset 4 : New drawables (David Tonder)
Fix button animation
Patchset 5 : Switch button layout to stock dimensions
Adjust padding according to new layout
Patchset 6 : Change "Blank" to "Empty" where applicable
Patchset 7 : Lowercase key names (Will require a wipe of the database entry)
Fix issue where during edit mode if screen turns off, layout gets distorted on restore
Add "save" extra to intent to clarify whether to save the layout or not
Patchset 8 : Rebase for 4.0.4
Patchset 9 : Fix padding / lowLights
Patchset 10 : Minor fixes
Patchset 11 : Fix issue with losing edit mode after theme changes
: Fix whitespace issue
: Fix low light gravity in landscape
: Add regular menu button option (icons by DvTonder)
: Localize resources
: Fix padding issue
Patchset 12 : Hide searchbutton like others on lockscreen
Patchset 13 : Fix lowLight padding
Patchset 14 : Code cleanup
Patchset 15 : Minor edit
Change-Id: If24a4413f99b8b4661ffd7ad9565c005fa22d7ba
|
|
|
|
|
|
|
|
|
|
| |
Use the minimum height required for no scrolling. If that height
will exceed the device's display height, reduce it accordingly.
This removes the need for hardcoded height in resource file and
the use of overlays to adjust it.
Change-Id: I0a85f19c2619dedd70a3e686982e0c483f9e3d32
|
|
|
|
|
|
|
|
| |
Ensure that all listeners (such as orientation change...) get properly
linked in the newly generated view, to avoid errors due to non-attached
views after applying a theme
Change-Id: I46992694844944564739ac12a8da43b6348658c9
|
|
|
|
|
|
|
| |
Replace direct usage of the color hex by the corresponding named
Holo resource, to ease redirection/overload by themes.
Change-Id: I3ac2018f54e5dd6c238e2e25bcf96caa1017cc7c
|
|\
| |
| |
| | |
Change-Id: Idc363f8140be2d252bee2aeba46c944032fb0ae9
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Adapt to ICS API changes
* Remove part of idmap due to conflicts
* Restructure statusbar code
* Fix issues with PowerWidget on phones to avoid the CM7 hackish
restart of SystemUI
* Add reinflation to properly redo status icons on tablets
Conflicts:
core/java/android/app/ActivityManager.java
core/java/android/app/ActivityThread.java
core/java/android/app/ContextImpl.java
core/java/android/content/pm/ApplicationInfo.java
core/java/android/content/pm/IPackageManager.aidl
core/java/android/content/pm/PackageParser.java
core/java/android/content/res/AssetManager.java
core/java/android/content/res/CompatibilityInfo.java
core/java/android/content/res/Configuration.java
core/java/android/content/res/Resources.java
core/java/com/android/internal/os/ZygoteInit.java
core/jni/AndroidRuntime.cpp
core/jni/android_util_AssetManager.cpp
core/res/AndroidManifest.xml
data/etc/platform.xml
include/utils/AssetManager.h
include/utils/ResourceTypes.h
libs/utils/Android.mk
libs/utils/AssetManager.cpp
libs/utils/ResourceTypes.cpp
media/java/android/media/RingtoneManager.java
packages/SystemUI/res/layout/status_bar.xml
packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java
packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java
packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java
packages/SystemUI/src/com/android/systemui/statusbar/StatusBarView.java
packages/SystemUI/src/com/android/systemui/statusbar/TrackingView.java
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
services/java/com/android/server/PackageManagerService.java
services/java/com/android/server/SystemServer.java
services/java/com/android/server/am/ActivityManagerService.java
test-runner/src/android/test/mock/MockPackageManager.java
Change-Id: Icabcd2c7b07dcbf174789b34f960360b87d7f27a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Now, when the theme changes we reinflate all status bar views and
reattach them. This is an approximate simulation of the normal Activity
onDestroy/onCreate cycle that the system goes through when a config
change (in our case, a theme change) occurs.
Also reverts "Hack to update status bar service drawables on theme
change.", a478f39ef58713a8c64823988b952f1d596123f1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The status bar UI is running in a service which doesn't have the typical
activity lifecycle to trigger a View reinflation that is normally used
to apply a theme. Manual reinflation is tricky for the status bar
because of hacks in the PhoneWindowManager which attach to the initial
status bar view added to it (it apparently cannot be removed in a stable
fashion). More research is needed to solve this issue properly.
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
The current color of the indicator when active doesn't match
the blue line below it due to the resulting alpha value. This
also makes the on/off status more noticeable.
Change-Id: I45923e0cadf60950f8c7566178b97bb8f0e99fc5
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Same functionality as the existing getLteOnCdmaMode, but for GSM
LTE devices.
Enable with the telephony.lteOnGsmDevice system property
Additionally, support GSM LTE in the SystemUI LTE power widget
Change-Id: Ibfb47ca608e51393b99d3308e0a6c66050b3f32e
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Hide the expanded dialog while screen is off. Otherwise it
causes continuous buffer updates to SurfaceTexture
even when SCREEN is turned off and while In-Call causing a
spike in power consumtion. This fix ensures that the
power consumption is kept to a minimum in such a scenario.
CRs-Fixed: 339815
Change-Id: Ib9154528d4f88ba12ca234be7f929a61ed098be7
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
patchset 1: Initial commit without icons
patchset 2: Add icons
patchset 3: Remove nested layout
Change-Id: Ie853087999d929579ececf3f6b3b01ced32dff85
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently devices which use UMS will display the UMS toggle screen
over the lockscreen. This would allow unauthorised users to access
the contents of the SD card, when plugged into USB, without first
unlocking the device.
Disable the UMS splash if the phone is in a locked state.
Change-Id: Ic18462758344c327e70e6a70d674f08d8ad51cb0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If mobile data connection is disabled while there is active data
activity, the data activity overlay will not be removed and will
be stuck there. This patch fixes that.
(Previously merged 5c39b1ce3897d166d9c4578106e10a17037b0213 but it was
accidentally removed in 874c5d8cf02054037d137fc38b32b3924e312e8b due to
merge error.)
Change-Id: I0eda652a7533fed8db58d7dca2ba60b0b28a4b81
|
| | |
| | |
| | |
| | |
| | |
| | | |
Remove dangling else statement.
Change-Id: I40e9facc6d81e70abb7d179c71765520437b89bf
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
https://android.googlesource.com/platform/frameworks/base into aosp
Conflicts:
core/res/res/values-de/strings.xml
core/res/res/values-el/strings.xml
core/res/res/values-nl/strings.xml
core/res/res/values-pt/strings.xml
core/res/res/values-ru/strings.xml
core/res/res/values-tr/strings.xml
core/res/res/values-zh-rCN/strings.xml
core/res/res/values/config.xml
data/fonts/Roboto-Bold.ttf
data/fonts/Roboto-BoldItalic.ttf
data/fonts/Roboto-Italic.ttf
data/fonts/Roboto-Regular.ttf
packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Change-Id: I376757e52555fe45860f404da5fd2293ea45ddce
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If config_alwaysUseCdmaRssi is true, the RSSI signal bar only
shows the CDMA value, no matter it connects to EVDO or WiMax .
bug:5941743
Change-Id: I4187571898a9fb47162e1ccf0cc4c59c3136ae0b
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Carrier name is shown if
- in service and connected to mobile data
- in service and connected to wifi
Carrier name is blanked if out of service and connected to
wifi.
"No internet connection" is shown if out of service without
any other route.
Bug: 5903914
Change-Id: I59d4d0c90e4153d73c38f7f0e150becf7e021a5b
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In particular, even though the mobile data network isn't
routing packets (and therefore is not an internet
connection), we want to show the PLMN anyway:
[MOBILE RSSI] Carrier [WIFI RSSI] WiFi SSID
This change also improves the following cases:
- Combines "No internet connection" from wifi and mobile
into one single string in airplane mode:
[AIRPLANE] No internet connection.
- Removes "No internet connection" from the mobile string
when wifi is on in airplane mode, making a nice compact
display in this case:
[AIRPLANE] [WIFI RSSI] WiFi SSID
Bug: 5903914
Change-Id: I477821d2c5e9922252dd6bcb3ed494c8c57d99b0
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It seems that something (probably layout transitions)
occasionally leaves the navigation bar layout in a weird
state such that most of the buttons are offscreen. For
example, the portrait nav bar might have buttons with widths
matching the nav bar's old width from landscape; the
clickable regions will therefore be far off the right edge
of the display.
The navigation bar now looks for this situation when the
size of the view changes and corrects for it.
Bug: 5549288
Change-Id: I8464ac9fd64cb64ec18baf51478dd0f6564a2284
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also fixes some minor layout glitches along that row of
icons (Bluetooth vertical alignment & spacing, battery text
width, inter-icon padding).
Bug: 5895226
Change-Id: I303c2899bf21ddb7e28914d8fb36efd7090ac5e2
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This creates (well, restores, since we had this until
Honeycomb) a user-visible state for "no service" that is
distinguishable from "very very weak service" (less than one
bar).
Bug: 5775939
Change-Id: Idd08b1a9411d5d94e4d7a97fa7f3ffd92b8113a6
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix for Carrier Verification case failure for not showing
"no internet connection" text on expanded status bar while
mobile data connection is not CONNECTED state.
Bug:5884774
Change-Id: I433d5de626b9b0cff20d192cb6aae214f3e014b3
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We now have two separate RSSI icons, one for wifi and one
for mobile data, as originally proposed in bug 5544770.
Each has an accompanying label showing the appropriate
network description string (PLMN or SSID or "No internet
connection"); these will be truncated as necessary to avoid
clobbering other UI elements in the panel.
Bug: 5543495
Bug: 5621224
Change-Id: I8fc322f8471fc94000e7230de359d3f1fe561b1e
|
| | |
| | |
| | |
| | | |
Change-Id: If3d4e458030e37aae3310b23dcad2ff5fe29fa73
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
renamed everywhere, on request...
require http://review.cyanogenmod.com/13776
Change-Id: I87eff5c453a4150c4f21e1facac2244e68829ce3
|
|/ / /
| | |
| | |
| | | |
Change-Id: I0dfeb255297fbc4b8ae55450db4cb81d00f8da5a
|
| | |
| | |
| | |
| | | |
Change-Id: Iab1694cd4d98b4d33bbfb08c91ed0d48f421503b
|
| | |
| | |
| | |
| | |
| | |
| | | |
Ported from CM7 change I4984b06c70acd49862b5afc502cb4875abba64b7
Change-Id: Iebce598e278e8429444db862dd71547f57ea86ba
|