6060 Commits

Author SHA1 Message Date
Cary Clark
40d787ccce am d2d630b1: am d9ec29f6: fix text area insertion order, partially
Merge commit 'd2d630b1b5c20a9e3d223595566def35c1175ca9'

* commit 'd2d630b1b5c20a9e3d223595566def35c1175ca9':
  fix text area insertion order, partially
2009-10-22 12:39:30 -07:00
Cary Clark
d2d630b1b5 am d9ec29f6: fix text area insertion order, partially
Merge commit 'd9ec29f64827bc703a23b1c33d653906a91713fc' into eclair-mr2-plus-aosp

* commit 'd9ec29f64827bc703a23b1c33d653906a91713fc':
  fix text area insertion order, partially
2009-10-22 12:27:10 -07:00
Cary Clark
d9ec29f648 fix text area insertion order, partially
While Leon mulls over how to rewrite WebTextView to
handle webkit driven focus changes, these fixes make
the current code slightly more stable.

Keep track of when keyDown is sent again so that the
WebTextView won't be rebuilt in that case.

Don't clear the cursor from WebTextView if the there's
no native focus pointer.

Only set the selection to its initial state once when
passing events down to webkit.

partially fixes http://b/issue?id=2201049
2009-10-22 15:18:02 -04:00
Mike Lockwood
dee99abcfc am 4c907528: am 3d4247ef: am fee0f577: Merge change I99dc6477 into eclair
Merge commit '4c907528d941ff132f5f51ba2d3ac28b2208751f'

* commit '4c907528d941ff132f5f51ba2d3ac28b2208751f':
  Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
2009-10-22 11:17:22 -07:00
Mike Lockwood
4c907528d9 am 3d4247ef: am fee0f577: Merge change I99dc6477 into eclair
Merge commit '3d4247ef9541afc88af5ac8d4634f331b20ed5cb' into eclair-mr2-plus-aosp

* commit '3d4247ef9541afc88af5ac8d4634f331b20ed5cb':
  Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
2009-10-22 11:03:39 -07:00
Mark Wagner
dd894572e7 am fdef97bd: am 1de953ae: Merge change Ie31311fd into eclair-mr2
Merge commit 'fdef97bdc8865661667f8cdbcd078e55f16fd138'

* commit 'fdef97bdc8865661667f8cdbcd078e55f16fd138':
  fix the "right icon" in the titlebar
2009-10-22 10:52:04 -07:00
Mike Lockwood
3d4247ef95 am fee0f577: Merge change I99dc6477 into eclair
Merge commit 'fee0f5773335e42f4ffdf2d2d1c344ceee3ccb33' into eclair-mr2

* commit 'fee0f5773335e42f4ffdf2d2d1c344ceee3ccb33':
  Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
2009-10-22 10:49:23 -07:00
Mark Wagner
fdef97bdc8 am 1de953ae: Merge change Ie31311fd into eclair-mr2
Merge commit '1de953aee53db0d3040cf242b20e9340787725c5' into eclair-mr2-plus-aosp

* commit '1de953aee53db0d3040cf242b20e9340787725c5':
  fix the "right icon" in the titlebar
2009-10-22 10:38:53 -07:00
Android (Google) Code Review
1de953aee5 Merge change Ie31311fd into eclair-mr2
* changes:
  fix the "right icon" in the titlebar
2009-10-22 13:30:44 -04:00
Leon Scroggins
36b8ee27b5 am 9780c403: am 70de03d4: am f8e3ac85: Merge change Ifa8ab30e into eclair
Merge commit '9780c40335e3909c7550cab97d82ca452141aa97'

* commit '9780c40335e3909c7550cab97d82ca452141aa97':
  In onKeyUp for DPAD_CENTER, show the IME for text input.
2009-10-22 09:51:51 -07:00
Leon Scroggins
9780c40335 am 70de03d4: am f8e3ac85: Merge change Ifa8ab30e into eclair
Merge commit '70de03d41374aa3f4d3308d5d44e1db908d22667' into eclair-mr2-plus-aosp

* commit '70de03d41374aa3f4d3308d5d44e1db908d22667':
  In onKeyUp for DPAD_CENTER, show the IME for text input.
2009-10-22 09:35:27 -07:00
Leon Scroggins
70de03d413 am f8e3ac85: Merge change Ifa8ab30e into eclair
Merge commit 'f8e3ac851959efbd21da930a802f8efb65ccec5b' into eclair-mr2

* commit 'f8e3ac851959efbd21da930a802f8efb65ccec5b':
  In onKeyUp for DPAD_CENTER, show the IME for text input.
2009-10-22 06:47:47 -07:00
Mike Lockwood
3d0ea72dd7 Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
Part of a fix for bug b/2198537

Change-Id: I99dc64772fa7644b12432d5549603025196ea3e2
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-21 23:08:13 -04:00
Mark Wagner
e31311fde5 fix the "right icon" in the titlebar
Looks like when you request a right icon in the title bar it was
still putting it on the left.  Perhaps nobody ever tried this.
2009-10-21 13:34:49 -07:00
Android (Google) Code Review
f8e3ac8519 Merge change Ifa8ab30e into eclair
* changes:
  In onKeyUp for DPAD_CENTER, show the IME for text input.
2009-10-21 16:11:23 -04:00
Leon Scroggins
9d1abc43f5 In onKeyUp for DPAD_CENTER, show the IME for text input.
Fixes http://b/issue?id=2201966

Change-Id: Ifa8ab30e205e21e9e69e9a7405a0a6fc86c6c488
2009-10-21 15:35:33 -04:00
Grace Kloba
89d53fba12 am 85356bac: am 3f9faf47: When WebView has wrap_content, we are sending WebKit 0 height to get the exact height. But if the View system doesn\'t think the WebView dimension changed, even we call requestLayout, we won\'t get onSizeChanged. So we never notify the WebKit
Merge commit '85356bac4a1246537d16e95b7929da5a4715ab1d'

* commit '85356bac4a1246537d16e95b7929da5a4715ab1d':
  When WebView has wrap_content, we are sending WebKit
2009-10-21 12:15:16 -07:00
Leon Scroggins
1a800d157f am c62ccc5c: am 2f3dc5b9: Merge change If1e1fb39 into eclair-mr2
Merge commit 'c62ccc5c53c30426e2b2acfd0f3c01d608234f57'

* commit 'c62ccc5c53c30426e2b2acfd0f3c01d608234f57':
  Draw dividers between <optgroup> and <option> elements.
2009-10-21 12:15:02 -07:00
Cary Clark
9394f5e824 am 2c15a260: am 7a719785: Merge change Ifcafa460 into eclair-mr2
Merge commit '2c15a260a12c76ab4a36fb5fc287fa22fa948b79'

* commit '2c15a260a12c76ab4a36fb5fc287fa22fa948b79':
  fix multiple text areas, and text areas without focus rings
2009-10-21 12:14:46 -07:00
Android (Google) Code Review
2cb6b7fb86 Merge change Ic4bf942c into eclair
* changes:
  Import revised translations.  DO NOT MERGE
2009-10-21 15:09:58 -04:00
Grace Kloba
85356bac4a am 3f9faf47: When WebView has wrap_content, we are sending WebKit 0 height to get the exact height. But if the View system doesn\'t think the WebView dimension changed, even we call requestLayout, we won\'t get onSizeChanged. So we never notify the WebKit about the fina
Merge commit '3f9faf473712be7d6471913b921bf8a63ab3205d' into eclair-mr2-plus-aosp

* commit '3f9faf473712be7d6471913b921bf8a63ab3205d':
  When WebView has wrap_content, we are sending WebKit
2009-10-21 11:59:50 -07:00
Leon Scroggins
c62ccc5c53 am 2f3dc5b9: Merge change If1e1fb39 into eclair-mr2
Merge commit '2f3dc5b9ce0e3907e529c88728b166d66beccab5' into eclair-mr2-plus-aosp

* commit '2f3dc5b9ce0e3907e529c88728b166d66beccab5':
  Draw dividers between <optgroup> and <option> elements.
2009-10-21 11:59:32 -07:00
Cary Clark
2c15a260a1 am 7a719785: Merge change Ifcafa460 into eclair-mr2
Merge commit '7a7197853de1b8aea0945b5b72e0eb12b2837b50' into eclair-mr2-plus-aosp

* commit '7a7197853de1b8aea0945b5b72e0eb12b2837b50':
  fix multiple text areas, and text areas without focus rings
2009-10-21 11:59:20 -07:00
Grace Kloba
3f9faf4737 When WebView has wrap_content, we are sending WebKit
0 height to get the exact height. But if the View system
doesn't think the WebView dimension changed, even we
call requestLayout, we won't get onSizeChanged. So
we never notify the WebKit about the final view size.

If updateLayout is true, which is probable because that
we set the height to be 0 to WebKit, just call requestLayout()
even the meansured height / width is matching the 
content height / width.

Fix http://b/issue?id=2162991
2009-10-21 11:34:35 -07:00
Android (Google) Code Review
2f3dc5b9ce Merge change If1e1fb39 into eclair-mr2
* changes:
  Draw dividers between <optgroup> and <option> elements.
2009-10-21 14:15:54 -04:00
Android (Google) Code Review
7a7197853d Merge change Ifcafa460 into eclair-mr2
* changes:
  fix multiple text areas, and text areas without focus rings
2009-10-21 14:14:46 -04:00
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
2e7b1b7d4c am b078a7f7: am a8da1735: Do not show radio/checkboxes for <optgroup> labels.
Merge commit 'b078a7f780f2aaf3917660902fd839abada5e167'

* commit 'b078a7f780f2aaf3917660902fd839abada5e167':
  Do not show radio/checkboxes for <optgroup> labels.
2009-10-21 07:32:53 -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
Dan Egnor
bc04846150 am 484a065c: am 2a2805b7: Merge change Ib3b06fc3 into eclair-mr2
Merge commit '484a065ce325a1c1bf38627ff924516b25a02efb'

* commit '484a065ce325a1c1bf38627ff924516b25a02efb':
  It turns out to be useful to allow enumeration on a per-tag basis,
2009-10-20 13:35:51 -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
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
Cary Clark
bad3f6455e am 536d7f03: am ac492e18: tweak snap scroll
Merge commit '536d7f037d21ca29c6c0c57e7d64c1f581f60ab0'

* commit '536d7f037d21ca29c6c0c57e7d64c1f581f60ab0':
  tweak snap scroll
2009-10-20 12:39:05 -07:00
Cary Clark
107a8034de am ef7671db: am 5af4cf47: Merge change I4958d608 into eclair-mr2
Merge commit 'ef7671dbee57ad68f581f0852d797887f9d07890'

* commit 'ef7671dbee57ad68f581f0852d797887f9d07890':
  add dpad control of text selection for sholes
2009-10-20 12:30:06 -07:00
Marco Nelissen
c05275aa0f am 7e509fd2: am 32de9130: am cdc8b326: Merge change I61741f5a into eclair
Merge commit '7e509fd267d25fbfe2703d0320a5203f24046b61'

* commit '7e509fd267d25fbfe2703d0320a5203f24046b61':
  Fix high density bug 2179543: use 'dip' instead of 'px'
2009-10-20 12:29:29 -07: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
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
5af4cf47b9 Merge change I4958d608 into eclair-mr2
* changes:
  add dpad control of text selection for sholes
2009-10-20 15:09:51 -04: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
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
Grace Kloba
a91cb7284e am 1bee6131: am 12a19551: Merge change I58def690 into eclair-mr2
Merge commit '1bee61319615f2564a5cf0a4275d82fea35cb39d'

* commit '1bee61319615f2564a5cf0a4275d82fea35cb39d':
  If openOrCreateDatabase() throws an exception, delete
2009-10-20 10:23:57 -07: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