summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Check and fail early if requested wallpaper size exceeds maximum ↵Danny Baumann2013-06-181-2/+16
|\ | | | | | | texture size." into cm-10.1
| * Check and fail early if requested wallpaper size exceeds maximum texture size.Wim Vander Schelden2013-06-171-2/+16
| | | | | | | | | | | | | | | | | | This fixes an issue where OpenGL initialization succeeds but buffer allocation fails because the requested wallpaper size is too large (or otherwise unsupported) by the graphics hardware. This fixes an issue where SystemUI crashes constantly on the PandaBoard when connected to a full HD display. Tested only on PandaBoard, no access to alternative hardware. Signed-off-by: Wim Vander Schelden <wim.vander.schelden@philips.com> Change-Id: I8d2e1ae9fd9772977c4e365f23f2f58bbca3787c
* | Merge "Fix dock battery tile display." into cm-10.1Danny Baumann2013-06-182-8/+17
|\ \
| * | Fix dock battery tile display.Danny Baumann2013-06-182-8/+17
| | | | | | | | | | | | Change-Id: I624663149da1161c2cd4f4b20b388bd711d9883c
* | | Fix mobile data button in power widget.Danny Baumann2013-06-181-0/+14
|/ / | | | | | | | | Change-Id: Ide0417768350081250af24518b6831d70196ba73 JIRA:CYAN-1189
* | QuickSettings : Battery initial statusDanesh Mondegarian2013-06-172-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | Battery tile upon being added relies on a battery level changed call to update its status. Thus if upon adding, the battery level is not changing or till the period when it updates, the tile shows an unknown state. This patchset resolves this issue by making the controller store its last received value and distributing it to the tiles when they register for changes. https://jira.cyanogenmod.org/browse/CYAN-1374 Change-Id: Ia2e887e545430ed02c179a3c8f4b7e269a4817c8
* | SystemUI: Add missing Af Translationsisimobile2013-06-141-1/+4
|/ | | | Change-Id: I504dec8e14f9be07a227dd1629040402ed44cebc
* Merge "core: EL translations" into cm-10.1Danny Baumann2013-06-141-0/+2
|\
| * core: EL translationsMichael Bestas2013-06-061-0/+2
| | | | | | | | | | | | Signed-off-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: I002f18400ed300616739ea067dd051fdcc174c6b
* | Merge "Fix NPE in NavigationBarView during bugreport" into cm-10.1Danny Baumann2013-06-131-16/+12
|\ \
| * | Fix NPE in NavigationBarView during bugreportJens Doll2013-06-131-16/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit "Merge Navigation Bar and Pie Controls button config (1/2)" changed the tag field on the navigation bar buttons. This was not reflected in NavigationBarView#dump() method, which lead to a NPE. Also take into account that back and recents buttons may not be present in the navigation bar. Change-Id: Ie590608a4ad27753b673320132af7ec42d7a2ade
* | | frameworks_base: ES translationsdjMesias2013-06-131-17/+17
| | | | | | | | | | | | | | | | | | | | | - Move cm_ to default. Same as AOSP. - Reorganize some strings Change-Id: I51c87e80e59d03832631f19c09b48a3730aad474
* | | framework: Update German translationjackmu952013-06-111-0/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch Set 1-2: * revert all unnecessary changes in strings.xml * move strings from strings.xml to cm_strings.xml * add missing translations Patch Set 3-4: * use unicode for ellipsis * rename strings after comments Patch Set 3: * use 'UKW' instead of 'FM' Patch Set 4-5: * add all missing strings Change-Id: Ic19896d6d8fa0411d8a8119bccca367daa385c06
* | frameworks/base: Simplified Chinese TranslationsAndrew Jiang2013-06-091-1/+1
| | | | | | | | | | | | | | | | Copy of http://review.cyanogenmod.org/#/c/43192 Patch Set 2: Trigger Cid. Change-Id: I397ea5616f4474e8b1c5cd1d39bd7f96b210f443
* | Finally fix incorrect flipping to quick settings.Danny Baumann2013-06-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit f6685c5ca84a42f5a47bf40827d6229dd998dee4 fixed this for the two-finger pulldown. It reverted commit c5e8dca7f11d3c085dd1e98692fcc21f1bcc0f6f in the process, which was incorrect, but fixed another condition of this problem occuring nevertheless. The actual problem the latter fix tried to fix was that the flip decision was dependant on the timing of the view layout: getMeasuredHeight() returned whatever was set in the last layout, which might not have happened when hiding the view, so at the time of the next ACTION_DOWN getMeasuredHeight() returned the height from the time the panel was last visible. Fix that problem by using the height scheduled for the next layout, so we're always up-to-date. Change-Id: Ib97f34f9aa0a6f28d48b4ec3e16c82a814cda0d0
* | Fix the flipping animation sometimes being played when pulling the quickDanny Baumann2013-06-062-8/+3
|/ | | | | | | | | | | | | | | | | | | settings with two fingers. Commit c5e8dca7f11d3c085dd1e98692fcc21f1bcc0f6f already tried to fix this before, but was incomplete (and incorrect). The actual issue is that on the first pointer down event, a 'peek' animation runs and expands the notification panel by some pixels (on mako: 160). This amount of pixels is significantly larger than the handle height (on mako: 72). Depending on the timing between peek animation and the second pointer down event, the flip animation would play (if animation already revealed more than 72 pixels) or not. Fix that by not playing the flip animation if only peeking, as the actual panel content is not visible at that point anyway. Also remove the previous incomplete fix in the process. Change-Id: I8997dc7b70143940a519f41da29ffd4d738d8d0c
* Merge "Pie controls: Catching activation corner cases" into cm-10.1Danny Baumann2013-06-061-42/+58
|\
| * Pie controls: Catching activation corner casesJens Doll2013-06-051-42/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As stated before there are still corner cases that may deadlock pie controls. This commit makes PieInputFilter respect ACTION_CANCEL, simplifies monitoring mechanics in PieService and fixes some corner cases in PieController that allowed that activations got lost and thus pie controls got stuck. Test case for PieController: 1) Enable pie controls 2) Enable top/bottom snap position for pie 2) Enable expanded desktop and check if it works 3) Disable expanded desktop 4) Lock your phone 5) Swipe from the top down/bottom up, as if you want to activate the pie from that position 6) Dismiss the notification tray and unlock your phone again 7) Enable extpanded desktop 8) Pie controls will no longer show up and "dumpsys pieservice" will show a active record. Change-Id: Id9d2df6b2735a743eec2fd1ba809fd72be9474cc
* | Merge "Pie controls: Fix flickering nav bar in full screen" into cm-10.1Danny Baumann2013-06-061-0/+1
|\ \ | |/
| * Pie controls: Fix flickering nav bar in full screenJens Doll2013-06-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On rare occasions the pie service will deadlock. When this happens, full screen mode can no longer hide the navigation bar, since it is masked out internally. This commit switchs from a self cooked mask mechanism within the WindowManager to the private flag WindowManager.LayoutParams.PRIVATE_FLAG_FORCE_SHOW_NAV_BAR. Note that this will avoid flickering when pie service get stuck in the activation path, but it will not resolve the deadlock. Change-Id: I2b64867081b37d9d6070df8086975e4327d97f5d
* | NavRing : Fix FC on rotateDanesh Mondegarian2013-06-051-2/+2
|/ | | | | | | | | | | | | onAttachToWindow() is not guaranteed to be called prior to the framework invoking commands on the panel. This patchset moves over initialization over to onFinishInflate(); Reproduction steps : 1. Activate search panel view (long press home/swipe up from navbar) 2. Rotate device Change-Id: I37b5b0de180040bdf1b521bcb8fc014b23c238df
* SystemUI: NL translationEddy Witkamp2013-06-051-0/+1
| | | | | | to complete Dutch translation in TTools Change-Id: Ib71293dba79c1d3361251cfbc024d7d7b7a620b8
* Frameworks : FR translationDelPETER2013-06-041-0/+1
| | | | | | | - Add missing translation - Fix a bug => http://review.cyanogenmod.org/43459 Change-Id: I818dcf1f5da5ff232c8ae5f5e996c1819475821f
* SystemUI: TR translationsokrt2013-05-311-0/+72
| | | | Change-Id: I0542e56cce77f9369dfb3ef87b188a5250f3f140
* SystemUI: ES translationsdjMesias2013-05-281-2/+3
| | | | | | | - DCHSPAP connection - Fix quiethours name Change-Id: I6e5d97116753047e0bed78a6dd5f1a7d44731664
* Merge "profiles: Broadcast profile updates" into cm-10.1David van Tonder2013-05-281-0/+1
|\
| * profiles: Broadcast profile updatesThiago Vinícius Freire de Araújo Ribeiro2013-05-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add broadcast to indicate profile changes that does not cause a profile to be selected. Use the new broadcast to update the Profile Tile more reliably. Currently the tile update is triggered by a profile selection. However, the active profile may change without triggering a selection. This happens, for instance, on locale changes. The Profile Tile does handle locale changes, but is subject to a race condition. If it handles the locale change before the profile manager does, the name change will not be seen. Change-Id: I193454f5100f1ae04dd24d50f25e75ec961f4d68
* | Merge "Pie controls: Tweaking UX for pie service (1/2)" into cm-10.1David van Tonder2013-05-281-1/+13
|\ \
| * | Pie controls: Tweaking UX for pie service (1/2)Jens Doll2013-05-231-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the introduction of pie service there is the need to fine tune the parameters for activation again. Patch Set #2: * Base trigger thickness set to 10dp * User settable activation sensitivity Patch Set #4: * Reverted #setSensitivity() in PieGestureTracker * Added Sensitivity "Very High" Change-Id: Ief7c1786467195f2ad52dcdb0efd3ad03a48834c
* | | Merge "Reduce observers in SystemUI: StatusBarIconView" into cm-10.1David van Tonder2013-05-281-9/+41
|\ \ \ | |_|/ |/| |
| * | Reduce observers in SystemUI: StatusBarIconViewJens Doll2013-05-241-9/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, for each status bar icon view there is a observer that listens for changes of STATUS_BAR_NOTIF_COUNT. With one notification usually having one or more status bar icons you may end up easily with 10+ more observers for ~5 notifications. With this commit the internal observer class becomes a singleton. This means there is now only one observer for all status bar icons and additional binder calls on new notification are avoided. See "dumpsys content" Change-Id: I8c11b165b34b87e7363a8e96524ea70fe6b28342
* | | frameworks_base: SK Translationsprescott662013-05-251-0/+73
|/ / | | | | | | Change-Id: I16d9aebb6819ca3fbcda417343c8d2d895117f42
* | Frameworks & SystemUI - additional DC-HSPAP supportMatthias Bosc2013-05-229-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds some more informations about Dual-Carrier HSPAP It allows displaying a "DC" icon on status bar for compatible devices and add a "DCHSPAP" value in state phone patch 1: add TelephonyManager to fix build patch 2: modify ServiceState patch 3: switch to cm_strings patch 4: fix a mistake patch 5: upload a new set of icons, a bit prettier than previous patch 6: update icons (more opacity to match colors) patch 7: removed drawable-sw* here is a screenshot for example: http://imgur.com/mQ2du3l,PSyHoqC Change-Id: I77d05e23c8ad3efdfeb19cf06ed92e7c57105ebe
* | Merge "Frameworks : FR translation" into cm-10.1Marco Brohet2013-05-211-2/+6
|\ \ | |/ |/|
| * Frameworks : FR translationDelPETER2013-05-181-2/+6
| | | | | | | | | | | | | | | | Patch set 2 : correction Patch set 3 : correction => %% Patch set 4 : correction Change-Id: I9a5a3f38bc31c88ff71bb0ec62a4fea4a6fc1cbb
* | Merge "Pie Controls: Fix sound effects." into cm-10.1David van Tonder2013-05-201-2/+3
|\ \
| * | Pie Controls: Fix sound effects.Jens Doll2013-05-201-2/+3
| |/ | | | | | | | | | | | | | | | | | | After the pie service commits, sound effects were broken for HOME and BACK keys. This commit fixes this, by moving the play back of the sound effect from the injection directly to the onClick(). Change-Id: Id59848ccddac20cef80500f6e72d76afa97ae093
* | Merge "Pie Controls: Fix snap points position." into cm-10.1David van Tonder2013-05-201-1/+1
|\ \
| * | Pie Controls: Fix snap points position.Jens Doll2013-05-201-1/+1
| |/ | | | | | | | | | | | | | | This commit reverts an error, introduced by the second pie service commit, which causes the positions where the snap points gets displayed to be inverted. Change-Id: Iedaf6d4773c9ae45fb685d724fad6c35ecdeddf0
* | Merge "SystemUI: Clean up old H+ drawables causing issues on manta" into cm-10.1David van Tonder2013-05-196-0/+0
|\ \ | |/ |/|
| * SystemUI: Clean up old H+ drawables causing issues on mantablunden2013-05-166-0/+0
| | | | | | | | | | | | | | | | These drawables seem to be adapted to fit the old combined tablet status bar. They mistakenly gets used on manta with an oversized H+ drawable as a result. Change-Id: Iefc0e997e31508ea98f10e5b399ce6569a4a3a44
* | Merge "NavigationBar : Only inflate once" into cm-10.1David van Tonder2013-05-161-1/+1
|\ \
| * | NavigationBar : Only inflate onceDanesh Mondegarian2013-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | Since the navbar now has updateResources(), there is no need to reinflate it upon a theme change. Change-Id: Ie4753a767a1cb45eb459ee692d16067f83cc7d23
* | | Pie controls: A new way of activationJens Doll2013-05-159-539/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on "Pie controls: Introducing a pie delivery service" this commit binds the pie controls to the newly created pie service. Patch Set #2: * Fixed glitch when displaying the search panel at the lock screen. Patch Set #5: * Switch Position to com.android.internal.util.pie.Position * Removed legacy and unused code Patch Set #6: * Fixed lock screen glitch, finally! Patch Set #7: * Rebase Patch Set #9: * Moved almost all of the pie logic to PieController Patch Set #10: * Remove window completely from WindowManager when not shown Patch Set #13: * Fixed Taichi's bug * Removed observers in PieView Patch Set #14 & #15: * Rebase Change-Id: I352f198068807694d95699618597d0927da3f324
* | | Frameworks: Fix do not show snappoints if triggermask disables edgeLars Greiss2013-05-142-8/+12
|/ / | | | | | | | | | | | | | | | | | | | | as the title says do not show on lockscreen or notification drawer the snappoints on the disabled edges. Pass trigger slots and mask trough and take into account PatchSet 2: - some refactoring Change-Id: I0413ffe86169c5d1cb906598d6006bbf1463770b
* | Framworks: disable observer and receiver if PIE is disabledLars Greiss2013-05-143-64/+64
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on high end devices that is maybe not needed. But there is in general no need to enable the obeserver/receiver when PIE is disabled (or expanded mode is off) This change destroy and disables the PIE in most parts when it is disabled. + a small doubel register correction greetings SlimRoms PatchSet 2: - remove PieLayout observer completly - thanks Jens PatchSet 3: - remove unnecessary call to setupSnapPoints() - reuse already created snap points PatchSet 4: - small corrections on setupSnapPoints() and call - remove not needed second call of PieController attachTo() - disable TelephonyManager listener PatchSet 5: - fix up detach logic PatchSet 7: - cleanup PatchSet 8: - Effective Java rule #41 - fixed some pie controller leak Change-Id: I8ef8797e7d4f8ee73d31a8296f5747415567bbda
* Frameworks: take mPieScale into account to calculate estimated PIE widthLars Greiss2013-05-131-0/+1
| | | | | | | | | | | if scaled size of the PIE is over or under the default size the pie was either no using the whole screen space or it was cutted off. To solve this take scale value into account when calculating estimated width greetings SlimRoms Change-Id: Iccfc8362c0019e3b6ff4bd8066c313c67116c014
* Merge "SystemUI: Update brightness dialog, on updateResources()" into cm-10.1Danny Baumann2013-05-101-2/+10
|\
| * SystemUI: Update brightness dialog, on updateResources()Thiago Vinícius Freire de Araújo Ribeiro2013-05-061-2/+10
| | | | | | | | | | | | | | | | | | | | | | The small dialog also deserves the chance to get updated resources. Thank you Jiangyi, for finding that one. Patch Set 2: Unbreak things Change-Id: I6e9de7c35abff52c2fcc2952771bb42b406496ed
* | FrameworkBase: Add missing AF translationsisimobile2013-05-071-0/+6
| | | | | | | | Change-Id: Ifb927bb38d46e450321f9014f65719c561eb8b43