3173 Commits

Author SHA1 Message Date
Baligh Uddin
96bab3ee26 Import translations. DO NOT MERGE
Change-Id: Id6d49e71d91347df267d43230558dc62ac7aa644
Auto-generated-cl: translation import
2013-05-17 10:32:11 -07:00
Baligh Uddin
0e1fe11e28 Import translations. DO NOT MERGE
Change-Id: I6ca9fe333df62cd61004cefef44cf0a9a48a9624
Auto-generated-cl: translation import
2013-05-13 07:44:02 -07:00
John Spurlock
1a41a44e2f am ae925f62: am 11184922: Merge "Fix battery level quick settings tile bug." into jb-mr2-dev
* commit 'ae925f62b9bb582384408c269427215e4cbeb531':
  Fix battery level quick settings tile bug.
2013-05-10 16:16:34 -07:00
John Spurlock
d3fc956a11 Fix battery level quick settings tile bug.
Bug: 8726138
Change-Id: I068a78f99ab30ffe24e620be7744cf7835142f56
2013-05-10 15:58:55 -04:00
Amith Yamasani
ecd5afe1ef resolved conflicts for merge of 069d7e9b to master
Change-Id: Ia8fd5de3d4cc275fd358132bcb2c198d1e7b6877
2013-05-09 17:07:08 -07:00
Amith Yamasani
153919ed2f Merge "Cache the scaled avatar drawables in the keyguard user switcher" into jb-mr2-dev 2013-05-09 22:17:51 +00:00
Amith Yamasani
6fc1d4e8e6 Cache the scaled avatar drawables in the keyguard user switcher
Loading the avatar icons and drawing them into the sized bitmap
turns out to be quite expensive and the cost increases with number
of users. Caching them shaves off several hundred milliseconds from
Keyguard inflation time during user switching on the lockscreen.

For instance, 15ms vs. 750ms with 3 avatars on a certain 7" tablet.

Bug: 7986933
Change-Id: I3e2065bfa25aa263133ba204ca364c3b04d7c0ff
2013-05-09 14:44:38 -07:00
Daniel Sandler
203a91a6ca am abd37bcf: am ffe3b5b8: Merge "Exempt the notification panel from animation lockout." into jb-mr2-dev
* commit 'abd37bcfac84ff85dbcd719d27b014a6eb01d5e0':
  Exempt the notification panel from animation lockout.
2013-05-09 14:19:48 -07:00
Daniel Sandler
ffe3b5b89f Merge "Exempt the notification panel from animation lockout." into jb-mr2-dev 2013-05-09 18:28:42 +00:00
John Spurlock
68fcaa2c0b Merge "Navigation hideybar via new system ui opt-in flag." 2013-05-09 13:39:24 +00:00
Michael Jurka
82f92ee5bd am 7741b63c: am 6dee0a0f: Merge "Fix bug where thumbnails flashed more often in Recents" into jb-mr2-dev
* commit '7741b63c5a8e14b5123c4b735dc768cf55fa2ed5':
  Fix bug where thumbnails flashed more often in Recents
2013-05-08 15:05:18 -07:00
Fabrice Di Meglio
0ce3c46034 am 13f693d5: am d7bf6d46: Merge "Fix bug #8846648 Reduce unnecessary drawing & GC in NetworkController/SignalClusterView" into jb-mr2-dev
* commit '13f693d5b2f75c76a2fe4351860310b1ded6ea12':
  Fix bug #8846648 Reduce unnecessary drawing & GC in NetworkController/SignalClusterView
2013-05-08 15:04:31 -07:00
Craig Mautner
c20054a166 Eliminate flash when going from home to recents
When the wallpaper animation is coupled to the recents animation it
will go from fully transparent to visible along with it. In master
this is causing noticable jank if we are going from the home screen
where it was previously visible. Detaching the wallpaper animation
from the recents animation fixes it.

Change-Id: If1d1a1478530610017d954983b00ca6101cbaa8b
2013-05-08 14:27:02 -07:00
Daniel Sandler
b10d885c3b Exempt the notification panel from animation lockout.
We do a lot of launch-app-then-collapse, and it's a game to
see whether the app's window activity animation starts
before the panel has a chance to finish collapsing.

The winning move here is not to play.

Requires change I2773601d in f/b.
Bug: 8666124

Change-Id: I3e3f1c5a4a505ad7d487c804139445ffd499d8d4
2013-05-08 15:57:06 -04:00
Michael Jurka
f42d9010f1 Fix bug where thumbnails flashed more often in Recents
Bug: 8867698

Change-Id: I2773601d83507dbb55c3a1d0b723e3853e22d352
2013-05-08 20:48:36 +02:00
John Spurlock
ad3e6cb4db Navigation hideybar via new system ui opt-in flag.
Apps using SYSTEM_UI_FLAG_HIDE_NAVIGATION to hide the nav bar
or SYSTEM_UI_FLAG_FULLSCREEN to hide the status bar can now
opt into hideybars by also using a new public sysui flag:
  View.SYSTEM_UI_FLAG_ALLOW_OVERLAY

When opting in, apps accept the fact that bars can be overlayed
over their content, but gain the ability to use the entire gesture
space - something that was not possible before, particularly when
hiding the nav bar.

Swiping from the nav bar edge of the screen will reveal the new hidey
version of the nav bar, if applicable.

Bug: 8682181
Change-Id: I6405bee50e6516667ba6b9a62d4f1e43490b5562
2013-05-08 12:22:16 -04:00
Fabrice Di Meglio
4662611f37 Fix bug #8846648 Reduce unnecessary drawing & GC in NetworkController/SignalClusterView
- use onRtlPropertiesChanged(int) callback for resetting drawables

Change-Id: I53eaa1fe6a211d89e2f2a9581631fb39c7c243c3
2013-05-07 13:30:58 -07:00
Michael Jurka
f3ff4d6d80 am 664f785e: am 72f2a7af: Merge "Fix bug where thumbnails in Recents disappear" into jb-mr2-dev
* commit '664f785e2c8697aa31fa69b9a109c09a99a2d50b':
  Fix bug where thumbnails in Recents disappear
2013-05-06 16:20:27 -07:00
Baligh Uddin
4c76214fe7 Import translations. DO NOT MERGE
Change-Id: Ib1038b7f235b8f7388d2472fd1cab81a611b04c2
Auto-generated-cl: translation import
2013-05-06 09:55:32 -07:00
Mike Lockwoood
47611240bf Fix date fields in media database for screenshot files
Bug: 8770827
Change-Id: Ib0e8695ab00c58dc77505387a1e31ea693d416e2
2013-05-02 09:24:37 -07:00
Michael Jurka
45eed3c69b Fix bug where thumbnails in Recents disappear
Bug: 7900353
Bug: 8752242
Bug: 7382208
2013-05-02 14:54:30 +02:00
Casey Burkhardt
96c5416472 am 4c8fc9f0: am e8569117: Merge "Properly populates AccessibilityEvents for notification and quick settings shades" into jb-mr2-dev
* commit '4c8fc9f067dec773f6030a291477e396030e55b7':
  Properly populates AccessibilityEvents for notification and quick settings shades
2013-05-01 12:37:10 -07:00
Casey Burkhardt
e856911762 Merge "Properly populates AccessibilityEvents for notification and quick settings shades" into jb-mr2-dev 2013-05-01 19:33:08 +00:00
Baligh Uddin
918200edf7 Import translations. DO NOT MERGE
Change-Id: Ia6b724bc2426c4248b3b83569f21dd0ffe91bb3a
Auto-generated-cl: translation import
2013-05-01 08:45:23 -07:00
Chet Haase
70631fa464 am a111ceab: am a934ad11: Merge "Speed up user-switching wallpaper changes" into jb-mr2-dev
* commit 'a111ceab03410100a4b67328a99feb6299bd7bc5':
  Speed up user-switching wallpaper changes
2013-04-30 17:18:07 -07:00
Casey Burkhardt
23b0a4e905 Properly populates AccessibilityEvents for notification and quick settings shades
Previously, our method of announcing the expansion of the notification shade
and quick notification shade relied on populating a contentDescription
attribute on the highest-level container.  This behavior is incorrect as it
causes accessibility services to infer importance and assign the view
accessibility focus.  This change adds descriptive text to the
AccessibilityEvent fired when the shade opens without modifying the
container's description.

Bug: 8699624
Change-Id: Id909b60d63cdec96c307dea2624b0651ab4f1f36
2013-04-30 15:18:03 -07:00
Chet Haase
b432ef98f0 Speed up user-switching wallpaper changes
Previous work in ImageWallpaper cached the bitmap for a user
to avoid reloading it (an expensive operation on large-display devices)
when we could simply re-use it. User switching still caused a reload, however,
since the place where we cache the bitmap (ImageWallpaper) is in an instance
that is re-created on user-switch.

A simple fix is to have the ImageWallpaper stop telling the WallpaperManager
to erase its own cache of the bitmap prior to re-loading it. That step is
unnecessary, since a bitmap that is cached can be assumed to be valid. A wallpaper
change will correctly null out that cached version, so if the cached bitmap
is non-null, then we can simply use it as-is.

The fix is to remove the call to forgetLoadedWallpaper() and allow the caching
mechanism to do its job.

Issue #7986933 user switching on lock screen is slow (sometimes like molasses)

Change-Id: I447754ab85337bc8ae59b4ad6c3e6c2b30e13735
2013-04-30 15:10:51 -07:00
Baligh Uddin
d976fe792e Import translations. DO NOT MERGE
Change-Id: I1c5619a53271ddb3289ef2b6527274ef252e35e0
Auto-generated-cl: translation import
2013-04-29 22:48:39 -07:00
Baligh Uddin
7497dee4be Import translations. DO NOT MERGE
Change-Id: Ia8b07132b35a3e227344420446a09d1c587dab38
Auto-generated-cl: translation import
2013-04-26 09:13:04 -07:00
Daniel Sandler
914dcfd093 am ca12d755: am 027f84c3: Merge "API: getPkg() -> getPackageName()" into jb-mr2-dev
* commit 'ca12d75577afb7063af4cae1e6b989eec905cd58':
  API: getPkg() -> getPackageName()
2013-04-25 17:01:13 -07:00
Daniel Sandler
06cacff626 am 4064af9b: am a7b6cbf1: Merge "API cleanup: NotificationListener" into jb-mr2-dev
* commit '4064af9b096dfdf317d158c8aafd396c86f3fd0a':
  API cleanup: NotificationListener
2013-04-25 17:01:10 -07:00
Daniel Sandler
4f91efdf42 API: getPkg() -> getPackageName()
Bug: 8656860
Change-Id: If3062b9fc00270e5f0ecfe67e593b9a28c6bccdd
2013-04-25 16:39:02 -04:00
Daniel Sandler
e6f7f2e3a0 API cleanup: NotificationListener
- Wrap all public member variables in getters and make
    slots private
  - Rename clear* methods to cancel* to be more consistent
    with existing public Notification API

Bug: 8656860
Change-Id: I84f7e71fbb627f859352a93089c6a531b44dac95
2013-04-25 15:51:08 -04:00
Baligh Uddin
578bf77c1f Import translations. DO NOT MERGE
Change-Id: I9b9d05b9e3e05827d75db4e5ae843e7fd2149d30
Auto-generated-cl: translation import
2013-04-24 08:37:25 -07:00
Amith Yamasani
027587b486 am b2daf811: am d52f2b14: Merge "Listen for brightness dialog broadcasts from all users" into jb-mr2-dev
* commit 'b2daf811cb39e8e38a31065c7ffb11d0926ffcef':
  Listen for brightness dialog broadcasts from all users
2013-04-23 11:16:16 -07:00
Michael Jurka
d93776f3b9 Merge "Update animation helper class to most recent version" 2013-04-23 10:05:25 +00:00
Amith Yamasani
b078b2bc8a Listen for brightness dialog broadcasts from all users
Fixes the problem where Settings->Display->Brightness for secondary users stopped
working after the reorganization of brightness dialog.

Bug: 8666220
Change-Id: I893954810f80383090733fc677266bfcad490703
2013-04-22 09:27:08 -07:00
Baligh Uddin
7b75ad49b4 Import translations. DO NOT MERGE
Change-Id: Ie2c873a6a5a8ea2f505412cdf2ce603741758608
Auto-generated-cl: translation import
2013-04-22 09:06:52 -07:00
Michael Jurka
98a7174d0a Update animation helper class to most recent version
Most updated version is currently in Launcher2
2013-04-22 15:11:58 +02:00
Baligh Uddin
88fc557664 Merge "Import translations. DO NOT MERGE" 2013-04-18 16:45:27 +00:00
Benoit Goby
95be338f9b am aa313948: am d02b00dd: Merge "Fix UsbDebuggingActivity not shown in adb tcpip mode" into jb-mr2-dev
* commit 'aa313948752a427281aa8d22066fc2d71e369cb7':
  Fix UsbDebuggingActivity not shown in adb tcpip mode
2013-04-17 18:59:02 -07:00
Benoit Goby
29a4b7277e Fix UsbDebuggingActivity not shown in adb tcpip mode
Bug: 8646772
Change-Id: If34c756bece903a0a452070bbc94ebc71d325bf6
2013-04-17 17:34:30 -07:00
Baligh Uddin
1f53f5bb4e Import translations. DO NOT MERGE
Change-Id: Ifab4d7366d3359eee3f5e4adad7ec05c00d9b0d6
Auto-generated-cl: translation import
2013-04-17 09:15:39 -07:00
Daniel Sandler
1aec006be7 am 21f492b7: am cfd48d77: Merge "Rebuild quick settings tile layouts." into jb-mr2-dev
* commit '21f492b76a019828a3ff9785641c92dd548fed98':
  Rebuild quick settings tile layouts.
2013-04-16 11:38:01 -07:00
John Spurlock
32beb2c6b1 Hideybars part I - Overlay status bar via an intent.
Implement new mode for status bar, allowing it to overlay
windows that use WM.LP.FLAG_FULLSCREEN, and introduce
transparency.

No gesture is implemented yet, for now the auto-hiding
status bar can be shown using a debugging intent.
  android.intent.action.HIDEYBARS

The auto-hiding status bar hides 3 seconds after shown,
or 3 seconds after last user-interaction with the shade.

Change-Id: Ie4bd625b9cbcddea8f818154719c7a6075972f2a
2013-04-16 11:03:40 -04:00
Daniel Sandler
b5538e6421 Rebuild quick settings tile layouts.
The chief motivation here is to allow two lines of text when
necessary. So much refactoring over so small a thing, but
the result is satisfying: most quick settings tiles do not
need their own layouts. Additionally, tiles with odd-shaped
icons (I'm looking at you, alien potato mode) no longer fall
off the grid.

It should be possible to further reduce the complexity of
quick settings, but for now this will suffice.

Bug: 7216734 // vertical alignment issues
Bug: 7216868 // wrap text in QS tiles
Bug: 7365911 // NPE in some tiles
Change-Id: I0c6ef275e44f745dfac52c2a7303072ae48e3873
2013-04-15 22:09:55 -04:00
Baligh Uddin
7ced495670 Merge "Import translations. DO NOT MERGE" 2013-04-15 19:27:22 +00:00
Daniel Sandler
f3e6e184b1 am 492c67a8: am bd573049: Merge "Putting the gesture debugging back in the box." into jb-mr2-dev
* commit '492c67a8b12ce154e41dc48102ae99e0c0e5210d':
  Putting the gesture debugging back in the box.
2013-04-15 11:10:32 -07:00
Baligh Uddin
a1a67eb23d Import translations. DO NOT MERGE
Change-Id: Ifb0c975361e9e00feb3957139cf2c15a463a5319
Auto-generated-cl: translation import
2013-04-15 09:19:05 -07:00
Daniel Sandler
fa027f5d91 Putting the gesture debugging back in the box.
Bug: 7164602
Change-Id: I93f716cd7cc9f1462fbfefb485250729411ede35
2013-04-11 22:01:47 -04:00