57431 Commits

Author SHA1 Message Date
Justin Ho
83c8ad6de5 Merge "Fixing formatting, removing tabs" 2011-08-31 09:36:03 -07:00
Russell Brenner
30f96511e8 Add DroidSansArmenian font file
This file is not yet added to any device configuration.
Its size is 25268 bytes.

Bug: 5240378
Change-Id: Ie4902e3b46742500c679bbfecb09fe19e1c2a290
2011-08-31 09:34:03 -07:00
Justin Ho
84ecfd2cb3 Fixing formatting, removing tabs
Change-Id: I3b3254ae96d8375f1b5029e96db94a551304420f
2011-08-31 09:33:04 -07:00
Russell Brenner
3187ab7bf4 Add DroidSansGeorgian font file
This file is not yet added to any device configuration.
Its size is 46788 bytes.

Bug: 5240378
Change-Id: If7b0f54de841e47e821526f7fcca91248bcf48be
2011-08-31 09:30:21 -07:00
Xia Wang
e124e94ee9 Merge "Integreate surfacetexture test into our continuous test framework." 2011-08-31 09:26:34 -07:00
Jean-Michel Trivi
2e2626f6c6 Merge "RemoteControlClient metadata: add method for metadata of long type" 2011-08-31 09:11:42 -07:00
satok
bfe561c54a Merge "Add a comment for setAdditionalInputMethodSubtypes" 2011-08-31 08:43:59 -07:00
satok
75917b603f Add a comment for setAdditionalInputMethodSubtypes
Change-Id: I3a19471b80a6f8a68473cba6f0fc934bd052af10
2011-09-01 00:33:40 +09:00
satok
b59fcd516d Merge "Add a functionality to disable the spell checker" 2011-08-31 05:57:19 -07:00
satok
c593380d1b Fix crash in setAdditionalInputMethodSubtypes
Bug: 5142455
Change-Id: I5eca4c1a3d9a964db04c819fc671670ef1b81817
2011-08-31 21:26:04 +09:00
satok
0158a1e9ff Add a functionality to disable the spell checker
Change-Id: I1c2292f457d1911c149d594c175e638c92ad3917
2011-08-31 21:15:17 +09:00
satok
6b14b23ad5 Merge "Fix the display name in the input method panel on tablet" 2011-08-31 04:43:36 -07:00
satok
209cf04353 Fix the display name in the input method panel on tablet
Bug: 5103300
Change-Id: I20cec2bb822be6f15abfe4a21053c8eb8d48b9cc
2011-08-31 20:16:17 +09:00
Narayan Kamath
5b8f29d077 Merge "Change the heuristics for waiting for audiotracks to finish." 2011-08-31 03:53:03 -07:00
satok
17b5635d52 Merge "Improve the fallback of the locale of the spell checker" 2011-08-31 02:57:23 -07:00
satok
b669d6d8d8 Improve the fallback of the locale of the spell checker
Change-Id: I79655dd13e60f221b07346596fb05cf7d3d5cf7d
2011-08-31 18:07:06 +09:00
satok
ed2b24ecc7 Fix set additional subtypes.
Bug: 5102787
Change-Id: Ic38db8c33b6496a083e8158cd79fb54c21187b04
2011-08-31 18:03:21 +09:00
satok
8da2a004b8 Merge "Fix DeadObjectException of the spell checker" 2011-08-31 00:49:39 -07:00
satok
c7b60f72dd Fix DeadObjectException of the spell checker
Bug: 5119646
Change-Id: I2938a2206b79645c13a54cc7200f64c2c0aa3836
2011-08-31 16:30:27 +09:00
Peter Ng
6cb074156e Switches now have checked state
Bug: 5238933
Change-Id: I1ceca648f57d239c9c0935d4c8d2b129063fec04
2011-08-30 23:08:03 -07:00
Jeff Sharkey
27c6837d57 Merge "Disable clock in lockscreen; better flag logic." 2011-08-30 22:51:00 -07:00
Pannag Sanketi
e753750a82 Update SurfaceMediaSource_test to not use pbuffer configs
SurfaceMediaSource_test now does not use pbuffer configs
to create a surface. Always uses a window config.
Also, cleaned up the test a bit.

Change-Id: Idda40dcb8474249eccaa8d2dad20ee840d2dd484
2011-08-30 22:36:41 -07:00
Jeff Sharkey
f52c70b2cc Disable clock in lockscreen; better flag logic.
When showing lockscreen, hide clock and navigation.  Clean up logic
to be easier to understand.

Bug: 5112812
Change-Id: I20e3563aa36644db678c7839d47f01f223fe8d37
2011-08-30 22:30:07 -07:00
Jeff Brown
cc4f7db698 Fix input channel leak.
Bug: 5156144

Input channels could leak or simply live longer than they should
in some cases.

1. Monitor channels (used by the pointer location overlay) are never
   unregistered, so they would leak.

   Added code to handle failures in the receive callback by closing
   the input channel.

2. The DragState held onto its input window and application handles
   even after the input channel was disposed.

   Added code to null these handles out when they are no longer needed.

3. Input channels previously used as input event targets would stick
   around until the targets were cleared (usually on the next
   event).

   Added code to detect when the input dispatcher is in
   an idle state and to proactively clear the targets then
   to ensure that resources are released promptly.

4. Native input window handles held onto the input channel even
   after the input window was removed from the input dispatcher.
   Consequently, the input channel would not be disposed until
   the input window handle itself was freed.  Since the input
   window handle is held from managed code, this meant that the
   window's input channel could stick around until the next GC.

   Refactored the input window handle to separate the properties
   (info) and identify (handle) state into different objects.
   Then modified the dispatcher to release the properties (info)
   when no longer needed, including the input channel.

7. The pointer location overlay does not actually use its
   standard input channel, only the monitor input channel.

   Added INPUT_FEATURE_NO_INPUT_CHANNEL to allow windows to
   request that they not be provided with an input channel
   at all.

Improved some of the error handling logic to emit the status
code as part of the exception message.

Change-Id: I01988d4391a70c6678c8b0e936ca051af680b1a5
2011-08-30 21:40:28 -07:00
Nick Pelly
82328bfd40 NFC API updates.
o NfcAdapter.set*(): enforce at least one activity is provided at compile time.
o Unhide and update javadoc for some API's scheduled for ICS release.

Change-Id: I2bf4ea101442dcdeb359be26d3869f82e6e3748b
2011-08-30 21:16:32 -07:00
Xia Wang
1d4274eb4c Integreate surfacetexture test into our continuous test framework.
Change-Id: Ic481f3a431166851947676d676749543c7afbbf7
2011-08-30 20:07:59 -07:00
Jeff Sharkey
4596eba795 Merge "Accessors for frame count and duration." 2011-08-30 19:54:34 -07:00
Mathias Agopian
c21843a8b5 Merge "fix Surface positions are not floats" 2011-08-30 19:24:04 -07:00
Mathias Agopian
66b665ab8b Merge "fix display artifacts in preview screen in timelapse video mode" 2011-08-30 19:00:15 -07:00
Mathias Agopian
34cb9f2a96 fix Surface positions are not floats
Added Surface.setPosition(float, float) which allows to set a surface's
position in float.

Bug: 5239859
Change-Id: I903aef4ad5b5999142202fb8ea30fe216d805711
2011-08-30 18:51:54 -07:00
Jean-Michel Trivi
5ad4b9fb96 RemoteControlClient metadata: add method for metadata of long type
Update to the RemoteControlClient.Editor API:
 - new method for setting metadata of type long
 - methods for setting metadata throw an exception if using
    the wrong key with the wrong method.

Note that this change will cause the Music2 application to
 throw an exception when it tries to set the duration as a string.

Change-Id: I17cff86467851a0aff313c07653e752ae6b6180f
2011-08-30 18:42:33 -07:00
Christopher Tate
8ec83219e8 Merge "Properly handle PACKAGE_REPLACED in addition to _ADDED and _REMOVED" 2011-08-30 18:34:30 -07:00
Christopher Tate
cc55f8136e Properly handle PACKAGE_REPLACED in addition to _ADDED and _REMOVED
Certain kinds of application update generate this broadcast regime rather
than the REMOVE / ADD sequence that results from e.g. using the -r option
when invoking 'adb install'.

We also push the agent classname lookup to the last moment before
actually running the backup, rather than caching it as part of the
record of what apps need a backup pass in the future.  This was causing
a bug in which a package reinstall that renamed the app's agent class
would wind up with a crash at backup time, trying to load the wrong
class.

Fixes bug 5156094 / bug 4308977

Change-Id: I4e3e12d86e6ee40809f14fd12ab762116dbee0b5
2011-08-30 18:23:13 -07:00
Bart Sears
b394df9224 Revert to version 2.51 of DroidSansFallback.ttf
Version 2.53 of DroidSansFallback.ttf included:
    1) Currency: \u060B\u09F2\u09F3\u09FB\u0AF1\u0BF9\u17DB\u20B6-\u20B9
       \uA838\uFDFC
    2) Geometric right arrow: \u25BA
    3) CJK Ext A (about 6000 Simplified Chinese Glyphs)

Item 3 (the ~6000 Simplified Chinese Glyphs) increased the file size by
about 1.6M.  To reduce ROM pressure, we are reverting back to version
2.51.  Version 2.53 has been renamed to DroidSansFallbackFull.ttf and is
available for builds that have enough ROM space.  We are generating a
new version of DroidSansFallback.ttf that has items 1 and 2 and not 3 and
will update DroidSansFallback.ttf once we have that version.

Bug: 5239728
Change-Id: I7467109a9ffec452446a636d35a3befffff09f10
2011-08-30 18:14:15 -07:00
Adam Powell
38e1c7a8a6 Merge "Ellipsize marquee TextViews that aren't currently animating" 2011-08-30 17:40:40 -07:00
Adam Powell
282e377d8b Ellipsize marquee TextViews that aren't currently animating
On some devices the fading edge effect can be expensive. Offer an
alternative for screens full of textviews.

Change-Id: I0382b4ea0f8b0c6948cb68611f3679dbf5e2898a
2011-08-30 17:35:15 -07:00
James Dong
58c524ec03 Fix a crash where the EOS was signalled but some output buffer were still pending.
Change-Id: Ide111264501441b51bb10629ae2021accf9e1fb5
related-to-bug: 5234126
2011-08-30 17:06:10 -07:00
Jeff Brown
2561475819 Merge "Pick up device configuration "device.internal = 0". Before, only "device.internal = 1" had an effect." 2011-08-30 17:03:37 -07:00
Jeff Sharkey
0d32b317c2 Accessors for frame count and duration.
Bug: 5233703
Change-Id: If6a758540248dc9bff56b64add04984ebd7b6833
2011-08-30 16:42:44 -07:00
Andreas Huber
ebd266c034 ATSParser now supports a mode in which PTS is considered to be absolute time
i.e. PTS 0 <=> media time 0

Change-Id: If10a0f98c129b95e8430dc419664b1def92e547e
2011-08-30 16:06:28 -07:00
Wink Saville
960ba9132c Merge "CDMALTE: Start reading SIM record on SIM_READY" 2011-08-30 16:05:04 -07:00
Gilles Debunne
b5305007a6 Merge "Add EditTextShortcutSpan to provide edit short cut in the text view." 2011-08-30 15:53:33 -07:00
Dianne Hackborn
9c93db60e6 Merge "Fix issues #5233826 and #5209847 -- live wallpapers." 2011-08-30 15:47:17 -07:00
Justin Ho
9b718682ed Merge "Updated action bar/CAB assets Bug: 5156319 5076695" 2011-08-30 15:42:26 -07:00
Mathias Agopian
ce8e0baeff fix display artifacts in preview screen in timelapse video mode
We were not updating the h/w composer state when the buffer size
changed.

We also didn't update the h/w composer state when the transformation
matrix changed (which is related to the above issue, since it would
probably change when the buffer size changes).

Also moved updating the crop to setGeometry(), since we decided
that the "crop" change requires the GEOMETRY_CHANGED flag (ie:
not need to do this every frame)

Bug: 5238473

Change-Id: Ia7b47e145b48581b568d89d9aa2c14ff778be862
2011-08-30 15:31:51 -07:00
Jean-Michel Trivi
2261c7d645 Merge "Bug 5045498 Force display update when display registers" 2011-08-30 15:14:12 -07:00
Christopher Tate
95901a1b8b Merge "Fix JNI for warning about failure to unlink DeathRecipients" 2011-08-30 15:09:54 -07:00
Chia-chi Yeh
1c75e966b2 Merge "SIP: add the check for expiry time in Contact header." 2011-08-30 15:02:59 -07:00
Fabrice Di Meglio
8fa6503feb Fix bug #5233207 android.graphics.cts.PaintTest#testBreakText fails on IRK56F trygon-userdebug
- Paint.breakText() API was regressing on the argument validation: a count < 0 is a valid one

Change-Id: I6d09294ee9f21901ba00017ce0d73f757fc7b147
2011-08-30 15:01:39 -07:00
Dianne Hackborn
9e4e727b4a Fix issues #5233826 and #5209847 -- live wallpapers.
5233826	when a live wallpaper starts, it does so regardless of its visibility

The WallpaperService is now very forceful about telling a wallpaper it is
not visible when it first starts.

5209847	Make launcher turn off the wallpaper in all apps.

Fix a bug in the window manager that would not correctly handle the wallpaper
flag changing.

Change-Id: Ie3314043a84664be72a1304a1705408efd789a15
2011-08-30 14:56:31 -07:00