75723 Commits

Author SHA1 Message Date
Adrian Ludwig
2c85f5119e Merge "Update the short strings associatd with permissions to improve readability." into jb-dev 2012-04-27 16:22:21 -07:00
Jeff Sharkey
4478de3c02 Clear IMM references when window dismissed.
Match behavior of removeViewLocked(), where InputMethodManager clears
any strong references to Views, and also clear mCurRootView. Without
this, IMM can leak a DecorView instance after the user has left the
application.

Bug: 6413553
Change-Id: Iad09cf5dbb7f6f156fd39ed243431432e00f8945
2012-04-27 16:17:43 -07:00
Romain Guy
f0fac51e5f am 5084e69b: Merge "Make debug.layout usable with hw acceleration on" into jb-dev
* commit '5084e69b2ce2880f9ac9346618a5ab35c030cf62':
  Make debug.layout usable with hw acceleration on
2012-04-27 16:17:09 -07:00
Fabrice Di Meglio
c54da1cef9 Add TextView textSize as a ViewDebug for hierarchyviewer
Change-Id: I6459d0d9cdb9fe6a81b3e30c56b64159fc729d52
2012-04-27 16:16:35 -07:00
Romain Guy
5084e69b2c Merge "Make debug.layout usable with hw acceleration on" into jb-dev 2012-04-27 16:15:28 -07:00
Romain Guy
cbc6774ef0 Make debug.layout usable with hw acceleration on
Change-Id: I35e41f83fc5049f5ede6b8a6731800bd6da50391
2012-04-27 16:14:23 -07:00
Jeff Brown
771526c88f Resample touch events on frame boundaries.
Bug: 6375101
Change-Id: I8774e366306bb2b6b4e42b913525bf25b0380ec3
2012-04-27 15:58:42 -07:00
Romain Guy
10c86ab3f8 am c887843b: Merge "New constant used by dev settings" into jb-dev
* commit 'c887843b19c5a31bcd14e0b29b035d2a6e1e6149':
  New constant used by dev settings
2012-04-27 15:52:19 -07:00
Chris Craik
67a1c8e3d5 add null check on ViewRootImpl
bug:6412902
Change-Id: I688a54731ed34283bc039a7967f472af131f458d
2012-04-27 15:50:17 -07:00
Romain Guy
c887843b19 Merge "New constant used by dev settings" into jb-dev 2012-04-27 15:49:59 -07:00
James Dong
7a9734d769 Unhide APIs for timed text and multiple audio track switch APIs
o made all the member variables in helper classes for TimedText to be public and final
  since they are read-only
o removed Text and TextPos helper classes
o added two public methods in TimedText class: getText() and getBounds()
o cleaned up the javadoc of related methods in MediaPlayer.java and TimedText.java classes
o make the inner classes of TimedText static and final
o change invoke and let it throw RuntimeException on failure (thus a test class needs to be
  modified also).

o related-to-bug: 6110705,5542712

Change-Id: Ia1dd1fd5eb8e9fd1b61c6c0d67405edb627a3002
2012-04-27 15:48:46 -07:00
Romain Guy
4b8c4f886b New constant used by dev settings
Change-Id: I42f103ae8a9b9f051367c72131f0b216e200f6e0
2012-04-27 15:48:35 -07:00
Craig Mautner
7d1ad33576 am de7ff082: Merge "Call deferred windowFocusChange when draw complete" into jb-dev
* commit 'de7ff082c403682d6091888617111dcc1494088d':
  Call deferred windowFocusChange when draw complete
2012-04-27 15:40:20 -07:00
Craig Mautner
de7ff082c4 Merge "Call deferred windowFocusChange when draw complete" into jb-dev 2012-04-27 15:37:59 -07:00
Irfan Sheriff
ba5d8db257 am 80f84a15: Merge "Fetch WifiManager instance at the time of use" into jb-dev
* commit '80f84a15aaf7c42301fd677b4d21e19ec604a4e5':
  Fetch WifiManager instance at the time of use
2012-04-27 15:34:22 -07:00
Irfan Sheriff
80f84a15aa Merge "Fetch WifiManager instance at the time of use" into jb-dev 2012-04-27 15:30:55 -07:00
Romain Guy
674c6ef19b am 665a376d: Merge "Work-around for a Skia rasterization bug Bug #6411457" into jb-dev
* commit '665a376d245d7bbfc43e3cfa651afc7448604afa':
  Work-around for a Skia rasterization bug Bug #6411457
2012-04-27 15:22:13 -07:00
Dianne Hackborn
12d3a94397 When a window is first shown only draw once while animating.
On some hardware allocating a new graphics buffer is quite
expensive, which blocks updates to the UI.  This can cause
glitches when performing window animations.

To reduce these glitches, the view hierarchy will now only
allow itself to be drawn once if its window is being shown
while the window manager is animating, not resuming draws
until it is told that the animation is done.

Change-Id: Ie15192f6fddbd0931b022a72c76ddd55ca266d84
2012-04-27 15:21:44 -07:00
Romain Guy
665a376d24 Merge "Work-around for a Skia rasterization bug Bug #6411457" into jb-dev 2012-04-27 15:20:04 -07:00
Jeff Brown
29879a3111 am d51f90ff: Merge "Remove unused pipelining optimization." into jb-dev
* commit 'd51f90ff7e9c5afa3feb4e2c2a3956861c2fd95e':
  Remove unused pipelining optimization.
2012-04-27 14:58:45 -07:00
Jeff Brown
d51f90ff7e Merge "Remove unused pipelining optimization." into jb-dev 2012-04-27 14:56:33 -07:00
Craig Mautner
2b4eb42034 am c8e37203: Merge "Don\'t resize WindowStates without a Surface." into jb-dev
* commit 'c8e372031cccfbd5cc7ae626255442423240338f':
  Don't resize WindowStates without a Surface.
2012-04-27 14:49:07 -07:00
Irfan Sheriff
75be9f3666 am d8e0831b: Merge "Recover immediately from driver hang" into jb-dev
* commit 'd8e0831b508bec52a2ad6de2659ce8a4f73b9154':
  Recover immediately from driver hang
2012-04-27 14:46:34 -07:00
Irfan Sheriff
13a19d1b63 am a5ab6082: Merge "Switch to standard commands for pno & power save" into jb-dev
* commit 'a5ab608295db0afaa903151fcc9a2fce30620999':
  Switch to standard commands for pno & power save
2012-04-27 14:46:33 -07:00
Craig Mautner
c8e372031c Merge "Don't resize WindowStates without a Surface." into jb-dev 2012-04-27 14:46:30 -07:00
Irfan Sheriff
d8e0831b50 Merge "Recover immediately from driver hang" into jb-dev 2012-04-27 14:44:35 -07:00
Irfan Sheriff
a5ab608295 Merge "Switch to standard commands for pno & power save" into jb-dev 2012-04-27 14:44:26 -07:00
Michael Jurka
235013f551 am f0fb68d8: Merge "Make APIs to get global search provider public" into jb-dev
* commit 'f0fb68d8c99286e0db6d04ffa7a2bb7671d121a3':
  Make APIs to get global search provider public
2012-04-27 14:43:59 -07:00
Irfan Sheriff
4f4f5166c9 Fetch WifiManager instance at the time of use
Bug: 5340393
Change-Id: Idb0a6dbe969bc3c7955134df43b86f28208c73c3
2012-04-27 14:42:42 -07:00
Michael Jurka
f0fb68d8c9 Merge "Make APIs to get global search provider public" into jb-dev 2012-04-27 14:41:27 -07:00
Craig Mautner
51bb12b3e5 Call deferred windowFocusChange when draw complete
Move the test for deferred window change notification after the drawing
update. Previously there was never a second check after the drawing
completed so we never sent the notification to the departing window.

Fixes bug 6335849.

Change-Id: I8a7eafdb184567a47ae04f1e597bae4cccf6cf62
2012-04-27 14:39:53 -07:00
Michael Jurka
3f5cfcf2d9 Make APIs to get global search provider public 2012-04-27 14:23:48 -07:00
Jeff Sharkey
098d580cc2 Migrate ringtone playback to SystemUI.
Introduce IRingtonePlayer, which handles playback for both Ringtone
objects and Notifications. SystemUI now hosts this player, which it
registers with AudioService. It also keeps MediaPlayer instances
warm, and cleans them up after stop() or Binder death.

Move both Ringtone and NotificationManagerService to play back audio
through this new interface.

Bug: 6376128, 6350773
Change-Id: I1dcb86d16ee3c4f07cdb2248d33dcff4ead3609a
2012-04-27 14:15:05 -07:00
Sascha Prueter
df4fbef33a am e060fadb: Merge "The tiny-back-button bug found its way back in!" into jb-dev
* commit 'e060fadbef6b7d405785ec2db39ce7ca7a2d0be2':
  The tiny-back-button bug found its way back in!
2012-04-27 13:52:59 -07:00
Sascha Prueter
e060fadbef Merge "The tiny-back-button bug found its way back in!" into jb-dev 2012-04-27 13:50:39 -07:00
Daniel Sandler
e03bc95f06 The tiny-back-button bug found its way back in!
(Horizontal nav bars in landscape are not "vertical"; look
at the view bounds to determine verticality instead of
merely considering the device rotation.)

Bug: 5993561
Change-Id: I70a691f68db1c6417ea2af6f3bb018f99bcabda0
2012-04-27 16:46:28 -04:00
Irfan Sheriff
b678320cfa Recover immediately from driver hang
A firmware crash can now put the interface down without notifiying the framework.
We detect this and recover immediately.

Bug: 6263857
Change-Id: Ib2dc0412fcdf9ce7b90a7fc0fab778f7af9c0513
2012-04-27 13:35:07 -07:00
Irfan Sheriff
e2639d782e Switch to standard commands for pno & power save
Remove DRIVER commands and switch to cfg based commands

Bug: 6318223
Change-Id: I5e21c4bb554c2992a52fd3c1741629645b22ae43
2012-04-27 13:01:04 -07:00
Carlos Valdivia
70ad56f1fe am d0702938: Merge "Add Account button now follow UX guidlines." into jb-dev
* commit 'd070293895cad025ff14b5237c3b07b685396202':
  Add Account button now follow UX guidlines.
2012-04-27 12:59:19 -07:00
Craig Mautner
1efacf7fca Don't resize WindowStates without a Surface.
Check to make sure that a WindowState has a Surface before adding it to
mResizingWindows.

Fixes bug 6300793.

Change-Id: Ieb39422523360dcdd5f5bf8109f061ae1ced62b2
2012-04-27 12:58:21 -07:00
Carlos Valdivia
d070293895 Merge "Add Account button now follow UX guidlines." into jb-dev 2012-04-27 12:57:06 -07:00
Eric Fischer
f168504e12 am 3815860f: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit '3815860f3eee8ac6331a481a03b2a5526ab6a72d':
  Import translations. DO NOT MERGE
2012-04-27 12:47:47 -07:00
Eric Fischer
3815860f3e Merge "Import translations. DO NOT MERGE" into jb-dev 2012-04-27 12:45:10 -07:00
Eric Fischer
023e0534c3 Import translations. DO NOT MERGE
Change-Id: I8196154b165235340eb698ceb86d694e2986bbe5
2012-04-27 12:41:40 -07:00
Eric Fischer
8a3a4d927b am e167c9fc: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit 'e167c9fcb3c3dafd08d85746265a3f7d5bc4a6b3':
  Import translations. DO NOT MERGE
2012-04-27 12:34:08 -07:00
Eric Fischer
e167c9fcb3 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-04-27 12:32:40 -07:00
Eric Fischer
83f2a1e903 Import translations. DO NOT MERGE
Change-Id: Idd0d5aa4657025a03423e155237f820da534ce87
2012-04-27 12:24:55 -07:00
Carlos Valdivia
adb85a4e48 Add Account button now follow UX guidlines.
Bug: 6387717
Change-Id: I4846c346fdbbe1ca34502a96e0277e9b305342b6
2012-04-27 12:01:27 -07:00
Robert Greenwalt
27dc331a27 am aa1346c5: Merge "Add Usb control to svc." into jb-dev
* commit 'aa1346c5cbdfd694fcee13acf99059a1aafa97fe':
  Add Usb control to svc.
2012-04-27 11:57:26 -07:00
Robert Greenwalt
aa1346c5cb Merge "Add Usb control to svc." into jb-dev 2012-04-27 11:55:16 -07:00