75875 Commits

Author SHA1 Message Date
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
Romain Guy
fdd6fc1beb Work-around for a Skia rasterization bug
Bug #6411457

Skia does not generates the bottom right pixel of a rect when
drawing a rect as an SkPath into an alpha8 bitmap.

Change-Id: Ifb5286ae67745c9e44ee387b6d6ad607a9a2e6ce
2012-04-27 11:47:13 -07:00
Yoshihiko Ikenaga
0f8f1e544e am bfb27bbe: Allow override of p2p dialogs
* commit 'bfb27bbefb013220af699881d486cc04be5ec1f5':
  Allow override of p2p dialogs
2012-04-27 11:36:38 -07:00
Yoshihiko Ikenaga
bfb27bbefb Allow override of p2p dialogs
By default, we show dialogs for connection requests and for
user interaction for pin input from the framework.

For applications, that want to make the experience more seamless
we should allow automatic discovery and connection as long
as one app can control it. We allow this for a foreground
app alone right now.

This will be a hidden API for now.

Bug: 6411069
Change-Id: Id342e933073d30eb58bf5a03a47ca26a64df8ddb
Signed-off-by: isheriff@google.com
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
2012-04-27 11:18:14 -07:00
Omari Stephens
4b286aad96 am ca7086f5: Merge "Create a catch-all testcase to handle asynchronous crashes and ANRs" into jb-dev
* commit 'ca7086f5bdbc404b01863770b6023d069f4ab720':
  Create a catch-all testcase to handle asynchronous crashes and ANRs
2012-04-27 11:11:46 -07:00
Steve Block
254db4a45e am 886f138d: Merge "Fix build warning due to WebSettings now being abstract" into jb-dev
* commit '886f138dfe38c222fc955f64d0bff5e21ce54057':
  Fix build warning due to WebSettings now being abstract
2012-04-27 11:11:44 -07:00
Omari Stephens
ca7086f5bd Merge "Create a catch-all testcase to handle asynchronous crashes and ANRs" into jb-dev 2012-04-27 11:10:02 -07:00
Steve Block
886f138dfe Merge "Fix build warning due to WebSettings now being abstract" into jb-dev 2012-04-27 11:09:41 -07:00
Adam Powell
75e8637f44 am f2d75bc0: Merge "Use finishAffinity for automatic up navigation" into jb-dev
* commit 'f2d75bc09af45167915959b9b94c6958c3671e27':
  Use finishAffinity for automatic up navigation
2012-04-27 11:04:45 -07:00
Adam Powell
f2d75bc09a Merge "Use finishAffinity for automatic up navigation" into jb-dev 2012-04-27 11:02:31 -07:00
Daniel Sandler
ba7dc388de am 11dea294: Merge "Propagate change Id1393cef to tablet UI." into jb-dev
* commit '11dea2945124b166f167d4b5a23a059f33c04fa1':
  Propagate change Id1393cef to tablet UI.
2012-04-27 10:26:42 -07:00