37047 Commits

Author SHA1 Message Date
Bjorn Bringert
212799338d Only decrement mRemaining once in read().
In the old code AssetFileDescriptor.AutoCloseInputStream.read()
called super.read(), which calls read(byte[] buffer, int offset, int count),
which decrements mRemaining. Then read() decremented mRemaining again
after super.read() returned.

I'm extending the CTS tests for AssetFileDescriptor.AutoCloseInputStream
to cover this.

Bug: 3240844
Change-Id: I70b945abc773d3ce5c1317dad23a0d797b31f111
2010-12-02 11:36:47 +00:00
Cary Clark
e41bb535a3 pass the x and y to retrieve anchor data
During a long press, the original pointer to the
node and frame may change. Pass the location instead
to attempt to find the anchor.

companion change is in external/webkit

bug:3240869
Change-Id: Id86107c1f8ce8680786163c1030421dbec062036
2010-12-01 07:40:54 -05:00
Andreas Huber
4449e4b6e2 am b460779c: (-s ours) am 30c81844: Merge "DO NOT MERGE Support for "chunked" HTTP transfer encoding." into gingerbread
* commit 'b460779cff97f2619e22911264350f5dbb7e76bc':
  DO NOT MERGE Support for "chunked" HTTP transfer encoding.
2010-12-01 03:38:06 -08:00
Mathias Agopian
56b6e17a31 am 4b7de2c8: am 66cff624: Merge "Uses 4-th order low-pass for extracting gravity." into gingerbread
* commit '4b7de2c8de1427f27fc4b362c0c5997932826c16':
  Uses 4-th order low-pass for extracting gravity.
2010-12-01 03:38:00 -08:00
Andreas Huber
20c2c4b2bc am 9157478d: (-s ours) am a41c1e1d: Merge "DO NOT MERGE Upgrade to the latest version of libwebm to fix YouTube webm playback." into gingerbread
* commit '9157478dcfb624a57e2ee83fb3cffd0bb2f72685':
  DO NOT MERGE Upgrade to the latest version of libwebm to fix YouTube webm playback.
2010-12-01 03:37:55 -08:00
Mathias Agopian
fb49440b99 am e3895b6f: am 24754c9f: Merge "don\'t attempt to normalize the rotation vector" into gingerbread
* commit 'e3895b6ff2eca41c7a1e764e88af0591cbffa560':
  don't attempt to normalize the rotation vector
2010-12-01 03:37:40 -08:00
Robert Ly
dacf543dfe am 7fac762d: am d06010c3: Merge "Doc change: updating ndk download and overview page" into gingerbread
* commit '7fac762d1b53e5b8fb30a60f4d043c13d334d4f3':
  Doc change: updating ndk download and overview page
2010-12-01 03:37:34 -08:00
Scott Main
aa74b319e6 am 2eaa846e: am 54d21dad: docs: updates to the backup dev guide add sample code for performing restore and fix typos bug: 3180881,3125550,3125563
* commit '2eaa846ed34bded6889df5bce96cc17abc296cee':
  docs: updates to the backup dev guide add sample code for performing restore and fix typos bug: 3180881,3125550,3125563
2010-12-01 03:37:26 -08:00
Andreas Huber
aec980ecbd am aeaa3b3c: am 567b2bd1: Merge "After seeking display the first new video frame right away without concern for A/V sync. This looks much more responsive to the user." into gingerbread
* commit 'aeaa3b3c6ad004b9a13fc9d48c924c77042e8c22':
  After seeking display the first new video frame right away without concern for A/V sync. This looks much more responsive to the user.
2010-12-01 03:37:19 -08:00
Eric Laurent
938f2577e6 am 371ed722: am 688f4c58: Merge "Update java doc for visualizer FFT capture." into gingerbread
* commit '371ed72216789505acadfac3f2e905dafb04f6e0':
  Update java doc for visualizer FFT capture.
2010-12-01 03:37:07 -08:00
Andreas Huber
aa168f04c9 am 3a2dc0d5: (-s ours) am b690e55d: Merge "DO NOT MERGE - Instead of asserting that ISurface successfully registered buffers, report an error and propagate it up to the java client." into gingerbread
* commit '3a2dc0d573bcfdebc1464ee9316767c2fca91a55':
  DO NOT MERGE - Instead of asserting that ISurface successfully registered buffers, report an error and propagate it up to the java client.
2010-12-01 03:37:00 -08:00
Dirk Dougherty
32d5984d31 am fb9612ba: (-s ours) am 04d2cc05: Merge "Do not merge: Doc change: API diff report for gingerbread." into gingerbread
* commit 'fb9612ba98f29b794244323cab6f56204d072eeb':
  Do not merge: Doc change: API diff report for gingerbread.
2010-12-01 03:35:02 -08:00
Dirk Dougherty
be7afaff38 am ba5d11bd: (-s ours) am 50f8445e: Do not merge: Doc change: highlights and SDK version notes for Android 2.3 platform.
* commit 'ba5d11bdba42ea1e38eb66a347c932ce6d0b8633':
  Do not merge: Doc change: highlights and SDK version notes for Android 2.3 platform.
2010-12-01 03:34:55 -08:00
Eric Fischer
50ae639c25 am 30a0e0db: (-s ours) am 3e6fb5d6: Merge "Import revised translations. DO NOT MERGE" into gingerbread
* commit '30a0e0db71525948682eda574786fff3e77343b6':
  Import revised translations.  DO NOT MERGE
2010-12-01 03:34:48 -08:00
Wink Saville
83245f576c am 2ebb3a2d: (-s ours) am f3166799: Merge "Fix GSM permanent failure handling, DO NOT MERGE." into gingerbread
* commit '2ebb3a2d9b31213ced141c1807f60e13983f40dd':
  Fix GSM permanent failure handling, DO NOT MERGE.
2010-12-01 03:34:39 -08:00
Ben Murdoch
45991bc13f resolved conflicts for merge of d2607118 to master
Change-Id: Id6092a762af775e9b5db390feaba3e10bd98ef7c
2010-12-01 10:55:18 +00:00
Brian Carlstrom
3f89edc832 Updating api.xml for merge of dalvik-dev to master
Change-Id: I347030bd577c4675b22849d7a0d12544bbed11ce
2010-11-30 23:10:28 -08:00
Brian Carlstrom
f3c532632b Merge "Tracking merge of dalvik-dev to master" 2010-11-30 22:26:17 -08:00
Brad Fitzpatrick
80234f7644 Merge "StrictMode: more accurate timings" 2010-11-30 21:41:12 -08:00
Jeff Brown
0ff18f7cd7 Merge "Fix documentation bug." 2010-11-30 19:53:42 -08:00
Jeff Brown
46a5ae6dd7 Fix documentation bug.
Change-Id: Idd8857087a61e357466c8db60d56075637240c5d
2010-11-30 19:52:29 -08:00
Chia-chi Yeh
4c7cc83827 Merge "RTP: Prepare to unhide the APIs." 2010-11-30 19:45:47 -08:00
Chia-chi Yeh
53aa6ef70d RTP: Prepare to unhide the APIs.
Polish things a little bit.

Change-Id: I2c3cea8b34b9c858879bc722ea1f38082ba22b8d
2010-12-01 11:35:51 +08:00
Jeff Brown
1f2451007c Ensure the ShortcutManager uses the correct key character map.
The ShortcutManager used to only receive the key code of the key event
that triggered the shortcut.  This change now provides the shortcut
manager with the whole key event so it can look up the associated
character using the correct key character map.

To make this more efficient, added a mechanism for recycling
key events.  At the moment it is only used by key events owned by the
system process, since clients of the existing API (such as Views)
might continue to hold on to key events after dispatch has finished so
they would break if the key event were recycled by the framework.

Deprecated KeyCharacterMap.BUILT_IN_KEYBOARD.

Change-Id: I4313725dd63f2be01c350c005a41c7fde9bc67e8
2010-11-30 18:50:17 -08:00
Brian Carlstrom
7495cfadd2 Tracking merge of dalvik-dev to master
Change-Id: I2f847003761d1300aca65c9471ed168bad82ffe0
2010-11-30 18:06:00 -08:00
Jeff Brown
47e6b1b5ee Support non-orientation aware keyboards and other devices.
Fixed a bug with dpad keys on external keyboards being rotated
according to the display orientation by adding a new input device
configuration property called "keyboard.orientationAware".

Added a mechanism for overriding the key layout and key character
map in the input device configuration file using the new
"keyboard.layout" and "keyboard.characterMap" properties.

Also added "trackball.orientationAware", "touch.orientationAware" and
"touch.deviceType" configuration properties.

Rewrote the configuration property reading code in native code
so that it can be used by EventHub and other components.

Added basic support for installable idc, kl, and kcm files
in /data/system/devices.  However, there is no provision for
copying files there yet.

Disabled long-press character pickers on full keyboards so that
key repeating works as expected.

Change-Id: I1bd9f0c3d344421db444e7d271eb09bc8bab4791
2010-11-30 17:15:49 -08:00
Mike Lockwood
735206f121 Merge "NotificationManagerService: minor cleanup" 2010-11-30 17:03:32 -08:00
Mike Lockwood
35e16bfa9b NotificationManagerService: minor cleanup
Change-Id: I998727662eb3c0bae20e5af3f8c5e702bf5d4f38
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-30 19:53:36 -05:00
Hung-ying Tyan
1c8c173666 am c41b27e2: am 349f3509: Merge "Correct SipService.isOpened() implementation." into gingerbread
* commit 'c41b27e2748ee19620636a14721a1dc14c3b418c':
  Correct SipService.isOpened() implementation.
2010-11-30 16:24:15 -08:00
Hung-ying Tyan
121006789e am 5c85338d: am d9e12303: Merge "Notify SipSessions before closing SIP stack." into gingerbread
* commit '5c85338dcf85462534d85440ded100a8012ff9dd':
  Notify SipSessions before closing SIP stack.
2010-11-30 16:24:05 -08:00
Hung-ying Tyan
ebf28fa3f0 am 0e58a952: am 0bba9535: Merge "Throw proper exceptions in SipManager" into gingerbread
* commit '0e58a9529895e270dae90e69486a59e41de714b8':
  Throw proper exceptions in SipManager
2010-11-30 16:23:54 -08:00
Chia-chi Yeh
1981674771 am 4f93f08d: am 683a7ff9: Merge "Visualizer: Fix the conversion from 8-bit sample to 16-bit sample." into gingerbread
* commit '4f93f08d8c8b8067ff2176d9ec15c76c0e4cc0c2':
  Visualizer: Fix the conversion from 8-bit sample to 16-bit sample.
2010-11-30 16:23:40 -08:00
Irfan Sheriff
cc20f3c384 am ea6bb1b4: (-s ours) am ee93169e: Merge "DO NOT MERGE fix runstate race condition" into gingerbread
* commit 'ea6bb1b4d7111dfd084f772f83094bda662fdb23':
  DO NOT MERGE fix runstate race condition
2010-11-30 16:23:29 -08:00
Chia-chi Yeh
342a9be009 am e843dfa8: am bd399b0b: Merge "RTP: Pause echo suppressor when far-end volume is low." into gingerbread
* commit 'e843dfa8dcd0a7bfa956b75424bb5db834975a64':
  RTP: Pause echo suppressor when far-end volume is low.
2010-11-30 16:23:17 -08:00
Andreas Huber
b460779cff am 30c81844: Merge "DO NOT MERGE Support for "chunked" HTTP transfer encoding." into gingerbread
* commit '30c818444d876dd868b84adec2416308c90f32e3':
  DO NOT MERGE Support for "chunked" HTTP transfer encoding.
2010-11-30 14:32:09 -08:00
Andreas Huber
30c818444d Merge "DO NOT MERGE Support for "chunked" HTTP transfer encoding." into gingerbread 2010-11-30 14:30:00 -08:00
Mindy Pereira
a5e22df10a Merge "Preference changes to layouts." 2010-11-30 14:19:19 -08:00
Mathias Agopian
4b7de2c8de am 66cff624: Merge "Uses 4-th order low-pass for extracting gravity." into gingerbread
* commit '66cff624e9abd23da05ddc20698eb3e7d0fb5a17':
  Uses 4-th order low-pass for extracting gravity.
2010-11-30 14:18:05 -08:00
Mathias Agopian
66cff624e9 Merge "Uses 4-th order low-pass for extracting gravity." into gingerbread 2010-11-30 14:15:23 -08:00
Andreas Huber
9157478dcf am a41c1e1d: Merge "DO NOT MERGE Upgrade to the latest version of libwebm to fix YouTube webm playback." into gingerbread
* commit 'a41c1e1de0d5fac57842ffe73e0a4f575fcc73fb':
  DO NOT MERGE Upgrade to the latest version of libwebm to fix YouTube webm playback.
2010-11-30 14:08:56 -08:00
Mathias Agopian
6038db3dda Uses 4-th order low-pass for extracting gravity.
Most accelerometers have 8-bits accuracy so we beed to
reject 48dB in thestop-band, which requires a 4-th order
filter at the cut-off frequency we're using.

Change-Id: Ic00421d38d751641f86b1f3ad7663e6b44a91198
2010-11-30 14:07:28 -08:00
Andreas Huber
a41c1e1de0 Merge "DO NOT MERGE Upgrade to the latest version of libwebm to fix YouTube webm playback." into gingerbread 2010-11-30 14:06:26 -08:00
Mathias Agopian
e3895b6ff2 am 24754c9f: Merge "don\'t attempt to normalize the rotation vector" into gingerbread
* commit '24754c9f94b1bd8b176456da82a6059b2e8ded0f':
  don't attempt to normalize the rotation vector
2010-11-30 14:05:44 -08:00
Mathias Agopian
24754c9f94 Merge "don't attempt to normalize the rotation vector" into gingerbread 2010-11-30 14:03:43 -08:00
Michael Kolb
f7f07e5762 Fix page scroll during text selection
Bug: 3190609
    Leave embedded title bar in place during text selection CAB mode

Change-Id: I7140241ac7eeb442cfe7665580525d8cdfce220f
2010-11-30 13:59:02 -08:00
Mindy Pereira
8b2fb60cd4 Preference changes to layouts.
Change-Id: I37366c3465aa1d8d2bd30fb6ae4b821f5f2d5e2d
Additional changes to make the left and right padding
behave the same way as the top and bottom padding.
That is, our default pref screens will automatically
apply the padding and clipToPadding tags. Custom preference
screens will appear as before.
Uses LayoutParams now instead of a specific id.
2010-11-30 13:57:58 -08:00
Robert Ly
7fac762d1b am d06010c3: Merge "Doc change: updating ndk download and overview page" into gingerbread
* commit 'd06010c3735332e4e4a090a82fd70695625bc875':
  Doc change: updating ndk download and overview page
2010-11-30 13:53:41 -08:00
Robert Ly
d06010c373 Merge "Doc change: updating ndk download and overview page" into gingerbread 2010-11-30 13:51:05 -08:00
Michael Jurka
62490bd358 Re-add performance optimization in View
- undoing change 79897

Change-Id: I52eb1247c4fead5e4203d7e7200129aa815e7c9b
2010-11-30 13:49:24 -08:00
Andreas Huber
d208a2c7b0 DO NOT MERGE Upgrade to the latest version of libwebm to fix YouTube webm playback.
DO NOT MERGE
related-to-bug: 3141937

Change-Id: Iaf1b0c5d45a6b5bb7624a59747041c27b4dde83b
2010-11-30 13:42:50 -08:00