4800 Commits

Author SHA1 Message Date
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
ecda882c13 Merge "Eliminate flash when going from home to recents" 2013-05-08 21:51:23 +00: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
Michael Jurka
7741b63c5a am 6dee0a0f: Merge "Fix bug where thumbnails flashed more often in Recents" into jb-mr2-dev
* commit '6dee0a0fe68096a6714b7d570241f61e4d6ea20a':
  Fix bug where thumbnails flashed more often in Recents
2013-05-08 14:10:44 -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
Fabrice Di Meglio
13f693d5b2 am d7bf6d46: Merge "Fix bug #8846648 Reduce unnecessary drawing & GC in NetworkController/SignalClusterView" into jb-mr2-dev
* commit 'd7bf6d46bd636991885662da5e710b1cf08a44d8':
  Fix bug #8846648 Reduce unnecessary drawing & GC in NetworkController/SignalClusterView
2013-05-08 11:17:23 -07: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
Baligh Uddin
1218e847f5 Import translations. DO NOT MERGE
Change-Id: Iecabdf3bc156108d88dd0bc76a48c50b608678dc
Auto-generated-cl: translation import
2013-05-08 08:18:13 -07: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
Michael Jurka
664f785e2c am 72f2a7af: Merge "Fix bug where thumbnails in Recents disappear" into jb-mr2-dev
* commit '72f2a7af828056fc426d936c1d40cb6bbdbdf7c7':
  Fix bug where thumbnails in Recents disappear
2013-05-06 11:11:54 -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
Baligh Uddin
2c5f67e042 Import translations. DO NOT MERGE
Change-Id: Ie69dada1f0b5efd2ba1abc62b17757b3d142dd3f
Auto-generated-cl: translation import
2013-05-03 10:56:06 -07:00
Mike Lockwoood
dd424cf079 Merge "Fix date fields in media database for screenshot files" 2013-05-02 17:28:28 +00: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
Jeff Sharkey
9e0036ed7d External storage provider, document picker UI.
Continuing to flesh out storage backends by adding an external
storage document backend.  Still rough, but it can traverse files
and directories.

Early pass at OPEN/CREATE_DOC picker UI, which offers to traverse
any known storage backends.  Supports opening subdirectories and
returning a picked file.

Change-Id: Idc3554036b3816a93d9b465ee8a620746859d2ae
2013-05-01 17:44:42 -07: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
4c8fc9f067 am e8569117: Merge "Properly populates AccessibilityEvents for notification and quick settings shades" into jb-mr2-dev
* commit 'e85691176261baca50aff1284c01880dc2188a81':
  Properly populates AccessibilityEvents for notification and quick settings shades
2013-05-01 12:35:17 -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
2e29cdae53 Merge "Import translations. DO NOT MERGE" 2013-05-01 16:21:45 +00:00
Baligh Uddin
01ad25eb8e Merge "Import translations. DO NOT MERGE" 2013-05-01 16:20:16 +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
Baligh Uddin
4946128d64 Import translations. DO NOT MERGE
Change-Id: I247665db04a208df5ea3681001855b1321341a55
Auto-generated-cl: translation import
2013-05-01 08:18:40 -07:00
Baligh Uddin
4431de13bb Import translations. DO NOT MERGE
Change-Id: I5f6ba8997fc6d041d18e6c2103cc3c0fc7d83ee8
Auto-generated-cl: translation import
2013-05-01 08:17:11 -07:00
Svetoslav
79578b29bf Remove Auto-rotate screen setting if a required feature is missing.
It is possible that a device running Android does not support rotation,
for example a Google TV box. The change adds a check to the rotation
policy to take this into account.

The SystemUI was not respecting the fact that the user has turned off
screen rotation, i.e. locked the rotation, from the accessibility
settings. In this case we should not show the affordance to toggle
screen rotation in the quick settings to minimize the risk of a blind
user accidentally turning screen rotation on. For a blind person
screen rotation adds 2X complexity since he/she should learn two
different layouts for the app.

bug:8051556

Change-Id: If1b3c092476932f91b0345fb9bfbbf6ed33d0df9
2013-04-30 18:03:42 -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
Chet Haase
a111ceab03 am a934ad11: Merge "Speed up user-switching wallpaper changes" into jb-mr2-dev
* commit 'a934ad112c9da1c7a342a990fcb06bae2ea7485e':
  Speed up user-switching wallpaper changes
2013-04-30 17:04:58 -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
Mike Lockwood
853ad6fbe3 Remove obsolete OMA-DRM support
Change-Id: Ic6008d4c9f8b9cd9fd4efec070260227af70559c
2013-04-29 16:48:13 -07:00
Jim Miller
c0b676dcc2 Add keyguard background scrim and protection around keyguard APIs
With this change, the system process will put up a scrim in the
event keyguard crashes to protect underlying content.

It also adds permission checks to prevent unathorized access
through the binder APIs.

Cleaned up KeyguardTestActivity to build separately.

Removed unused resources.

Change-Id: I9e370c6bfb7dca68eae9eae304c815fb84a753d2
2013-04-26 14:34:21 -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
Svetoslav
afab4fd00b am c6eeacd9: am c38bc5ab: Merge "Lockscreen widgets not always announced." into jb-mr2-dev
* commit 'c6eeacd9341c0348c2eb29d1808eb17ea08464f4':
  Lockscreen widgets not always announced.
2013-04-25 17:14:33 -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
ca12d75577 am 027f84c3: Merge "API: getPkg() -> getPackageName()" into jb-mr2-dev
* commit '027f84c310158edfc94d94ab0ef0480843d49d3b':
  API: getPkg() -> getPackageName()
2013-04-25 16:57:45 -07:00
Daniel Sandler
4064af9b09 am a7b6cbf1: Merge "API cleanup: NotificationListener" into jb-mr2-dev
* commit 'a7b6cbf1a3fe91bdbb01edd9a656a62c40c302fd':
  API cleanup: NotificationListener
2013-04-25 16:57:43 -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
Jeff Sharkey
5adb34f022 Always close incoming PFD to avoid leaking.
Change-Id: I9559bb1e83c9bf2f9fd2af9c7b0d8b9e3aadc4ae
2013-04-25 11:35:12 -07:00
Baligh Uddin
0054b3222d Merge "Import translations. DO NOT MERGE" 2013-04-24 17:49:40 +00: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
Baligh Uddin
d5070c395d Import translations. DO NOT MERGE
Change-Id: Id5f09e8ba9f64db6c57687316f02dfa6ac94390a
Auto-generated-cl: translation import
2013-04-24 08:16:57 -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
Amith Yamasani
b2daf811cb am d52f2b14: Merge "Listen for brightness dialog broadcasts from all users" into jb-mr2-dev
* commit 'd52f2b14852c057fd8d94cebb7ddf8900ba1d232':
  Listen for brightness dialog broadcasts from all users
2013-04-23 03:52:04 -07:00
Michael Jurka
d93776f3b9 Merge "Update animation helper class to most recent version" 2013-04-23 10:05:25 +00:00
Baligh Uddin
08372b4237 Merge "Import translations. DO NOT MERGE" 2013-04-22 20:07:25 +00:00