11000 Commits

Author SHA1 Message Date
Cary Clark
fcafa46069 fix multiple text areas, and text areas without focus rings
If the typed key doesn't go with the current text area, clear
the focus so the key won't return to that text area. However,
don't clear the focus if it is already off the old text area.

fixes http://b/issue?id=2201049
2009-10-21 13:55:48 -04:00
Eric Fischer
c4bf942cef Import revised translations. DO NOT MERGE
Approver: jerryw
2009-10-21 10:41:17 -07:00
Leon Scroggins
f1e1fb3976 Draw dividers between <optgroup> and <option> elements.
Fix http://b/issue?id=2198355
2009-10-21 13:39:33 -04:00
Jack Palevich
d443ba4534 Prevent transparent region from getting out of sync with Surface Flinger
The ViewRoot is responsible for calculating the current view's surface's
transparent region and reporting this to the window server, which in
turn notifies Surface Flinger.

To minimize cross-process traffic, ViewRoot keeps track of the
most recent transparent region that it has reported to the window
server, and only sends updates when the region shape changes.

ViewRoot is effectively shadowing the internal state of the window
server, and usually this works fine, because ViewRoot is usually the
only thing that changes this value.

But when the surface is recreated, the window server resets the
transparent region to empty. So in order to properly update the window
server we need to reset our copy of its state to empty too.

Fixes issue #2133090: GL Gears runs at half speed in some cases
2009-10-21 09:33:34 -07:00
Leon Scroggins
b078a7f780 am a8da1735: Do not show radio/checkboxes for <optgroup> labels.
Merge commit 'a8da17356f9a385e097e3eef205358462d214538' into eclair-mr2-plus-aosp

* commit 'a8da17356f9a385e097e3eef205358462d214538':
  Do not show radio/checkboxes for <optgroup> labels.
2009-10-21 07:21:57 -07:00
Leon Scroggins
a8da17356f Do not show radio/checkboxes for <optgroup> labels.
Fix for http://b/issue?id=2186188.  Keep track of <optgroup> labels
separately from disabled <option> labels.  Requires a change to
external/webkit.

In CheckedTextView, if the CheckMarkDrawable is set to null,
remove it.
2009-10-21 10:01:49 -04:00
Tammo Spalink
60be848554 am 8785c064: Merge change Ie5df08ef into eclair-mr2
Merge commit '8785c064fab3429c792ac160aeeb19e9926382f0' into eclair-mr2-plus-aosp

* commit '8785c064fab3429c792ac160aeeb19e9926382f0':
  Let PLUS occur once anywhere in dial-str network portion.
2009-10-21 00:37:00 -07:00
Android (Google) Code Review
8785c064fa Merge change Ie5df08ef into eclair-mr2
* changes:
  Let PLUS occur once anywhere in dial-str network portion.
2009-10-21 03:27:14 -04:00
Android (Google) Code Review
6270d52c0d Merge change Ica1d7b90 into eclair
* changes:
  Disable known failure math tanhd tests  (DO NOT MERGE)
2009-10-21 00:48:41 -04:00
Tammo Spalink
9e53415326 Let PLUS occur once anywhere in dial-str network portion.
Create a new extractNetworkPortion() function, since the old one is
public, that does effectively the same thing but is more flexible as
just mentioned.

Addresses issue:
http://buganizer/issue?id=2013998

Change-Id: Ie5df08ef9c871881e8728a44abf0385908000823
2009-10-21 10:30:58 +08:00
Jeff Sharkey
9aa7e4e729 am d7bc6546: Fix spacing to escape "false" correctly.
Merge commit 'd7bc6546268ccc21954427a3ef56f6365bacef5a' into eclair

* commit 'd7bc6546268ccc21954427a3ef56f6365bacef5a':
  Fix spacing to escape "false" correctly.
2009-10-20 16:20:36 -07:00
Android (Google) Code Review
8d9ddbe2aa Merge change I1f30f3f1 into eclair
* changes:
  Fix #2201615: getCallingPackage returns calling process instead of calling package
2009-10-20 19:14:20 -04:00
Jeff Sharkey
d7bc654626 Fix spacing to escape "false" correctly. 2009-10-20 16:02:01 -07:00
Android (Google) Code Review
5b48223d0e Merge change I14e833fa into eclair
* changes:
  If we fail to persist the current settings and fall back to the back settings file when reading settings in PackageManager, we might rename the corrupted settings to backup(in case of power failure between the earlier write failure and file deletion) and end up loosing both files. So just clear up the corrupted current settings file if we have backup. The backup wouldn't exist if everything went well with persisting the earlier settings.
2009-10-20 18:51:06 -04:00
Dianne Hackborn
9bbcb916c5 Fix #2201615: getCallingPackage returns calling process instead of calling package
Change-Id: I1f30f3f1ce8928796c1ab502d0c2dc02de86e8e7
2009-10-20 15:42:38 -07:00
Brett Chabot
efc6bef141 Disable known failure math tanhd tests (DO NOT MERGE)
BUG 2139334
2009-10-20 14:12:59 -07:00
Dan Egnor
484a065ce3 am 2a2805b7: Merge change Ib3b06fc3 into eclair-mr2
Merge commit '2a2805b7fbd25ee11ad554e33bf34dbb2e8b71c5' into eclair-mr2-plus-aosp

* commit '2a2805b7fbd25ee11ad554e33bf34dbb2e8b71c5':
  It turns out to be useful to allow enumeration on a per-tag basis,
2009-10-20 13:29:31 -07:00
Android (Google) Code Review
617262d8f5 Merge change I37c4157d into eclair
* changes:
  add "junk path" -k option to aapt (DO NOT MERGE)
2009-10-20 16:28:05 -04:00
Suchi Amalapurapu
14e833faa0 If we fail to persist the current settings and fall back to the back settings file
when reading settings in PackageManager, we might rename the corrupted settings to
backup(in case of power failure between the earlier write failure and file deletion)
and end up loosing both files.
So just clear up the corrupted current settings file if we have backup.
The backup wouldn't exist if everything went well with persisting the earlier settings.

We do this in both read and write just in case.
2009-10-20 13:26:37 -07:00
Android (Google) Code Review
2a2805b7fb Merge change Ib3b06fc3 into eclair-mr2
* changes:
  It turns out to be useful to allow enumeration on a per-tag basis, and it's easy to support based on the data structures we have, so add a tag parameter to getNextEvent().
2009-10-20 16:23:01 -04:00
Dan Egnor
b3b06fc39b It turns out to be useful to allow enumeration on a per-tag basis,
and it's easy to support based on the data structures we have, so
add a tag parameter to getNextEvent().
2009-10-20 13:05:17 -07:00
Android (Google) Code Review
ca404dfb92 Merge change Ie3ffb526 into eclair
* changes:
  do not merge: The qcom video decoders always output yuv data after adjusting dimensions to be a multiple of 16.
2009-10-20 15:52:29 -04:00
Cary Clark
536d7f037d am ac492e18: tweak snap scroll
Merge commit 'ac492e181a21749858ebf30dc1f5bcb0ded4383c' into eclair-mr2-plus-aosp

* commit 'ac492e181a21749858ebf30dc1f5bcb0ded4383c':
  tweak snap scroll
2009-10-20 12:28:56 -07:00
Cary Clark
ef7671dbee am 5af4cf47: Merge change I4958d608 into eclair-mr2
Merge commit '5af4cf47b94383deb47648240036c7090f46fd41' into eclair-mr2-plus-aosp

* commit '5af4cf47b94383deb47648240036c7090f46fd41':
  add dpad control of text selection for sholes
2009-10-20 12:18:56 -07:00
Dianne Hackborn
44bb53c923 am a8f1a805: am 61462b43: Merge change I1864d098 into eclair
Merge commit 'a8f1a805c8b6dff5becbd95122462d91c1d1b254' into eclair-mr2-plus-aosp

* commit 'a8f1a805c8b6dff5becbd95122462d91c1d1b254':
  Improve wallpaper offset handling.
2009-10-20 12:18:46 -07:00
Dianne Hackborn
2b4abebd95 am cc62ee77: am 359f0b09: Merge change Ib5736616 into eclair
Merge commit 'cc62ee77d3253c7b4e454a849a771826bc35f57f' into eclair-mr2-plus-aosp

* commit 'cc62ee77d3253c7b4e454a849a771826bc35f57f':
  Fix issue #2191572: Difficulties drawing window shade
2009-10-20 12:18:35 -07:00
Marco Nelissen
7e509fd267 am 32de9130: am cdc8b326: Merge change I61741f5a into eclair
Merge commit '32de91306233b08604ce7a158a37235c7042ae13' into eclair-mr2-plus-aosp

* commit '32de91306233b08604ce7a158a37235c7042ae13':
  Fix high density bug 2179543: use 'dip' instead of 'px'
2009-10-20 12:18:24 -07:00
Cary Clark
ac492e181a tweak snap scroll
WebView.mHeldMotionless should only be set to MOTIONLESS_FALSE
if some scrolling occurs, even in the case where motion is discarded
by snap-scroll mode.

Refactoring the code allows the code to be smaller, and provides
a single point where scrollBy() is called while dragging.

This doesn't change the snap-scroll logic in any way.

related to http://b/issue?id=2092446
2009-10-20 15:17:55 -04:00
Android (Google) Code Review
76bb9a3636 Merge change I1932e8f8 into eclair
* changes:
  Disable com.android.unit_tests.HeapTest:testExternalOomeLarge.
2009-10-20 15:13:05 -04:00
Android (Google) Code Review
5af4cf47b9 Merge change I4958d608 into eclair-mr2
* changes:
  add dpad control of text selection for sholes
2009-10-20 15:09:51 -04:00
Andreas Huber
f16a0b7399 do not merge: The qcom video decoders always output yuv data after adjusting dimensions to be a multiple of 16.
Add a quirk mode to OMXCodec that makes it aware of this fact for proper display. Also integrate back a change from eclair-mr2 that delays releasing an output buffer briefly after posting it to surface flinger, as we don't know how long it'll take it to actually display the buffer's content.
2009-10-20 11:49:01 -07:00
Dianne Hackborn
a8f1a805c8 am 61462b43: Merge change I1864d098 into eclair
Merge commit '61462b437067a591bfc52c498ad964e566aaffac' into eclair-mr2

* commit '61462b437067a591bfc52c498ad964e566aaffac':
  Improve wallpaper offset handling.
2009-10-20 11:34:47 -07:00
Dianne Hackborn
cc62ee77d3 am 359f0b09: Merge change Ib5736616 into eclair
Merge commit '359f0b0998c26d2501346334d8850a2248920f0f' into eclair-mr2

* commit '359f0b0998c26d2501346334d8850a2248920f0f':
  Fix issue #2191572: Difficulties drawing window shade
2009-10-20 11:29:39 -07:00
Marco Nelissen
32de913062 am cdc8b326: Merge change I61741f5a into eclair
Merge commit 'cdc8b326dd0989003e2fdd7d5a605b5755acf221' into eclair-mr2

* commit 'cdc8b326dd0989003e2fdd7d5a605b5755acf221':
  Fix high density bug 2179543: use 'dip' instead of 'px'
2009-10-20 11:29:26 -07:00
Android (Google) Code Review
61462b4370 Merge change I1864d098 into eclair
* changes:
  Improve wallpaper offset handling.
2009-10-20 14:27:55 -04:00
Cary Clark
c05af372b8 add dpad control of text selection for sholes
Make movement of text selection arrow and I-beam respond to
both trackball and d-pad. Make the 'click' action work for
both trackball-up and d-pad center.

fixes http://b/issue?id=2186069
2009-10-20 14:27:36 -04:00
Android (Google) Code Review
359f0b0998 Merge change Ib5736616 into eclair
* changes:
  Fix issue #2191572: Difficulties drawing window shade
2009-10-20 14:22:37 -04:00
Grace Kloba
1bee613196 am 12a19551: Merge change I58def690 into eclair-mr2
Merge commit '12a19551dd106b04898d262807213ce4c6d1e5f7' into eclair-mr2-plus-aosp

* commit '12a19551dd106b04898d262807213ce4c6d1e5f7':
  If openOrCreateDatabase() throws an exception, delete
2009-10-20 10:13:59 -07:00
Android (Google) Code Review
cdc8b326dd Merge change I61741f5a into eclair
* changes:
  Fix high density bug 2179543: use 'dip' instead of 'px'
2009-10-20 13:10:42 -04:00
Android (Google) Code Review
12a19551dd Merge change I58def690 into eclair-mr2
* changes:
  If openOrCreateDatabase() throws an exception, delete the old db and re-do it. If it still fails, something bad happens, like the directory may have the different permission. Let it throw as WebView needs the db.
2009-10-20 13:03:02 -04:00
Mike Lockwood
4d7c4b0bab am cf2a595f: am fa68ab4f: PowerManagerService: Add missing synchronization in mAutoBrightnessTask.
Merge commit 'cf2a595f582fe72af19f979fd2026026f7a5de65' into eclair-mr2-plus-aosp

* commit 'cf2a595f582fe72af19f979fd2026026f7a5de65':
  PowerManagerService: Add missing synchronization in mAutoBrightnessTask.
2009-10-20 09:35:31 -07:00
Mike Lockwood
f18a659e09 am bca5bb8a: am 6c97fcab: Power Manager light sensor fixes:
Merge commit 'bca5bb8a25c93df18f8a903e233bd266dece47c3' into eclair-mr2-plus-aosp

* commit 'bca5bb8a25c93df18f8a903e233bd266dece47c3':
  Power Manager light sensor fixes:
2009-10-20 09:35:19 -07:00
Mike Lockwood
b0219b5aad am aa033b79: am d7786b41: Power Manager support for light sensor backlight management.
Merge commit 'aa033b79714f458b47d7c3fbc45e9fe51194f533' into eclair-mr2-plus-aosp

* commit 'aa033b79714f458b47d7c3fbc45e9fe51194f533':
  Power Manager support for light sensor backlight management.
2009-10-20 09:35:10 -07:00
jsh
2312b65ddf am 6ef38fb4: am cea8f8e4: Merge change I4219797a into eclair
Merge commit '6ef38fb4262356c15cad8a1957ce58d2bb5b3de6' into eclair-mr2-plus-aosp

* commit '6ef38fb4262356c15cad8a1957ce58d2bb5b3de6':
  Log exception if we hit an error parsing an incoming SMS message.
2009-10-20 09:34:59 -07:00
Mike Lockwood
cf2a595f58 am fa68ab4f: PowerManagerService: Add missing synchronization in mAutoBrightnessTask.
Merge commit 'fa68ab4fb0750b429c43af1d0c20539462ba6746' into eclair-mr2

* commit 'fa68ab4fb0750b429c43af1d0c20539462ba6746':
  PowerManagerService: Add missing synchronization in mAutoBrightnessTask.
2009-10-20 09:22:49 -07:00
Mike Lockwood
bca5bb8a25 am 6c97fcab: Power Manager light sensor fixes:
Merge commit '6c97fcabbc4592a115afa5f3357b3172c4791855' into eclair-mr2

* commit '6c97fcabbc4592a115afa5f3357b3172c4791855':
  Power Manager light sensor fixes:
2009-10-20 09:22:37 -07:00
Mike Lockwood
aa033b7971 am d7786b41: Power Manager support for light sensor backlight management.
Merge commit 'd7786b41b78ba8592daea708b024b5a75e441992' into eclair-mr2

* commit 'd7786b41b78ba8592daea708b024b5a75e441992':
  Power Manager support for light sensor backlight management.
2009-10-20 09:22:20 -07:00
jsh
6ef38fb426 am cea8f8e4: Merge change I4219797a into eclair
Merge commit 'cea8f8e4a8506678c0255763f46d1f6577f991a1' into eclair-mr2

* commit 'cea8f8e4a8506678c0255763f46d1f6577f991a1':
  Log exception if we hit an error parsing an incoming SMS message.
2009-10-20 09:22:11 -07:00
Mike Lockwood
fa68ab4fb0 PowerManagerService: Add missing synchronization in mAutoBrightnessTask.
Change-Id: Ie9b93253e991f709b223b28a9148be3b254fb273
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-20 11:08:49 -04:00
Marco Nelissen
b0905dc788 Fix high density bug 2179543: use 'dip' instead of 'px' 2009-10-20 07:54:00 -07:00