58433 Commits

Author SHA1 Message Date
satok
8d83c9c467 am bfe561c5: Merge "Add a comment for setAdditionalInputMethodSubtypes"
* commit 'bfe561c54a5addbc7c1fef75d87008ae2b9206eb':
  Add a comment for setAdditionalInputMethodSubtypes
2011-08-31 08:46:02 -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
a4a81714c6 am b59fcd51: Merge "Add a functionality to disable the spell checker"
* commit 'b59fcd516d998892fa0cc0b6ba60cce67e5a6779':
  Add a functionality to disable the spell checker
2011-08-31 05:59:45 -07:00
satok
04a68e59df am c593380d: Fix crash in setAdditionalInputMethodSubtypes
* commit 'c593380d1bccbfbd45c404954b2670b65acc287f':
  Fix crash in setAdditionalInputMethodSubtypes
2011-08-31 05:59:41 -07: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
068d0931d7 am 6b14b23a: Merge "Fix the display name in the input method panel on tablet"
* commit '6b14b23ad586b664aa09dfb46d627782ac00eb74':
  Fix the display name in the input method panel on tablet
2011-08-31 04:48:12 -07: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
3ee1420ae4 am 5b8f29d0: Merge "Change the heuristics for waiting for audiotracks to finish."
* commit '5b8f29d077577a94d480579b1d7673d037e4e3ae':
  Change the heuristics for waiting for audiotracks to finish.
2011-08-31 03:54:53 -07:00
Narayan Kamath
5b8f29d077 Merge "Change the heuristics for waiting for audiotracks to finish." 2011-08-31 03:53:03 -07:00
satok
e920070418 am 17b5635d: Merge "Improve the fallback of the locale of the spell checker"
* commit '17b5635d52b9a90b519307513dc7c5fe69c7aacb':
  Improve the fallback of the locale of the spell checker
2011-08-31 02:59:14 -07:00
satok
17b5635d52 Merge "Improve the fallback of the locale of the spell checker" 2011-08-31 02:57:23 -07:00
satok
a0315b91b6 am ed2b24ec: Fix set additional subtypes.
* commit 'ed2b24ecc7842b27178fc584a9e5bd5b1ab07635':
  Fix set additional subtypes.
2011-08-31 02:52:11 -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
77eb4f3ec5 am 8da2a004: Merge "Fix DeadObjectException of the spell checker"
* commit '8da2a004b883dc4526bddb3198476414b2f3819c':
  Fix DeadObjectException of the spell checker
2011-08-31 00:52:22 -07: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
92fbf93767 am 27c6837d: Merge "Disable clock in lockscreen; better flag logic."
* commit '27c6837d57be4e3a8de9b5d31ee5ee6da8675d1a':
  Disable clock in lockscreen; better flag logic.
2011-08-30 22:53:55 -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
68461961d3 am 4596eba7: Merge "Accessors for frame count and duration."
* commit '4596eba795898674186c800dcc0f5910467008a5':
  Accessors for frame count and duration.
2011-08-30 19:55:50 -07:00
Jeff Sharkey
4596eba795 Merge "Accessors for frame count and duration." 2011-08-30 19:54:34 -07:00
Mathias Agopian
4ca738b6f6 am c21843a8: Merge "fix Surface positions are not floats"
* commit 'c21843a8b5c395cbaae6db0f786bdee556075f5d':
  fix Surface positions are not floats
2011-08-30 19:25:50 -07:00
Mathias Agopian
c21843a8b5 Merge "fix Surface positions are not floats" 2011-08-30 19:24:04 -07:00
Mathias Agopian
2bfa4959dd am 66b665ab: Merge "fix display artifacts in preview screen in timelapse video mode"
* commit '66b665ab8b8b52450310b1a551bfa8f52dbb2c10':
  fix display artifacts in preview screen in timelapse video mode
2011-08-30 19:01:57 -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
d5415c3cac am 8ec83219: Merge "Properly handle PACKAGE_REPLACED in addition to _ADDED and _REMOVED"
* commit '8ec83219e8cbac105054fb60101e6d98a972bcc2':
  Properly handle PACKAGE_REPLACED in addition to _ADDED and _REMOVED
2011-08-30 18:36:50 -07:00
Christopher Tate
8ec83219e8 Merge "Properly handle PACKAGE_REPLACED in addition to _ADDED and _REMOVED" 2011-08-30 18:34:30 -07:00
Bart Sears
6457433839 am b394df92: Revert to version 2.51 of DroidSansFallback.ttf
* commit 'b394df9224c9f3c99bf4e808cd81d129c2dd1eb7':
  Revert to version 2.51 of DroidSansFallback.ttf
2011-08-30 18:30:12 -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
7c7a99f63d am 38e1c7a8: Merge "Ellipsize marquee TextViews that aren\'t currently animating"
* commit '38e1c7a8a614a491747d08f91aa6eceaee8123fb':
  Ellipsize marquee TextViews that aren't currently animating
2011-08-30 17:42:48 -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
99ab081212 am 25614758: Merge "Pick up device configuration "device.internal = 0". Before, only "device.internal = 1" had an effect."
* commit '256147581959868044bd92bad281c5c75a1068d7':
  Pick up device configuration "device.internal = 0". Before, only "device.internal = 1" had an effect.
2011-08-30 17:04:59 -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
Wink Saville
5508d81236 am 960ba913: Merge "CDMALTE: Start reading SIM record on SIM_READY"
* commit '960ba9132c02bfe2655268c2e5cb441c025c607f':
  CDMALTE: Start reading SIM record on SIM_READY
2011-08-30 16:06:58 -07:00