4676 Commits

Author SHA1 Message Date
Jaikumar Ganesh
9fa7048ca3 am 6158038a: Merge change I2811f162 into eclair
Merge commit '6158038a09069bc178970160d4b3667573bfc655' into eclair-mr2

* commit '6158038a09069bc178970160d4b3667573bfc655':
  Add Authentication Type field to the APN settings.
2009-10-28 10:30:11 -07:00
Android (Google) Code Review
d85c4b346f Merge change Idb328ab7 into eclair
* changes:
  Explicitly specify that online-sdk depends on framework-res.
2009-10-27 19:02:47 -04:00
Android (Google) Code Review
2dfaa69801 Merge change I882d2eb8 into eclair
* changes:
  do not merge
2009-10-27 15:50:10 -04:00
Android (Google) Code Review
1f668fff8a Merge change Idb13ed9a into eclair
* changes:
  Add SDK version for MR1.
2009-10-27 15:47:57 -04:00
Amith Yamasani
678cdbe55e Fix build. 2009-10-27 11:45:08 -07:00
Ying Wang
db328ab7d4 Explicitly specify that online-sdk depends on framework-res. 2009-10-27 11:00:30 -07:00
Leon Scroggins
bb107bd6f7 Many fixes to text input in the browser, particularly when moving to a new field.
Remove many instances where we are setting selection unnecessarily.  Instead, only
set the selection due to a click, touch, or inserting a character.  A touch will
now set the selection properly, rather than at the beginning/end, fixing
http://b/issue?id=1650395  Also fixes http://b/issue?id=2208188

Requires a change to external/webkit.
2009-10-27 13:34:45 -04:00
Amith Yamasani
aea1b3b24e Disambiguation between multiple pointers and swipe gestures.
Sometimes quickly touching the screen with two fingers will result
in the firmware thinking one finger moved very quickly. This code
tries to identify the difference between the two based on velocity
of the last N points versus the velocity of the last M points and
figure out if there was mostly acceleration or a sudden deceleration.

It's still not perfect and very dependent on the touch hardware.
2009-10-27 10:27:49 -07:00
Derek Sollenberger
718d69f931 changing how plugins gain/lose focus.
Previously we were keeping our own state in the UI thread to
determine when to send events to the plugin. This change removes
that logic and uses the document focus to determine when events
are to be sent. This also fixes problems with the plugins
occasionally not receiving lose focus events.

see bug http://b/2033843
2009-10-27 11:09:17 -04:00
Cary Clark
09e383c9ff tweak select text
Explicitly draw the region and pointer from java.

Set up the starting selection criteria from both hard keyboard
and menu 'Select Text'.

Add invalidate() to show transition from arrow to ibeam
immediately, and to dismiss copy region immediately.

partially fixes http://b/issue?id=1667690
2009-10-27 10:50:16 -04:00
Mike Reed
dafc19a140 do not merge
remove the filter when we're scrolling, so we don't degrade the quality

http://b/issue?id=2174463&cookieId=2009300052135424

same change (in spirit) in MR2

https://android-git.corp.google.com/g/#change,30860
2009-10-27 08:30:13 -04:00
Dianne Hackborn
0fa35918af Add SDK version for MR1.
Change-Id: Idb13ed9a35397effbfb72a934a7db5f5a882c79c
2009-10-26 17:40:52 -07:00
Daisuke Miyakawa
d263a064f7 Add a test for vCard composer.
Also modify the behavior of vCard composer so that it honer FN than N toward
DISPLAY_NAME.

Internal issuen number: 2195990
2009-10-27 08:10:35 +09:00
Android (Google) Code Review
6158038a09 Merge change I2811f162 into eclair
* changes:
  Add Authentication Type field to the APN settings.
2009-10-26 18:14:15 -04:00
Jaikumar Ganesh
2811f1625e Add Authentication Type field to the APN settings.
Use auth type to setup data connection.
This value defaults to -1 (unset) to maintain compatibility.
When the value is -1, the auth type gets set to 0 (if no user is specified)
or 3.
Bug: 181700
2009-10-26 13:11:55 -07:00
Eric Laurent
a47d153647 do not merge - Fix for issue 2184627 cherry picked from eclair-mr2
Bluetooth A2DP suspend-resume improvements.

This change will reduce the occurence rate of A2DP sink suspend resume failures observed in issues 2184627, 2181005 and possibly 2189628.

More robust suspend/resume logic.
Use only the suspend request to audio hardware to avoid having two concurent suspend resume control paths.
2009-10-26 09:17:10 -07:00
Android (Google) Code Review
57e824f7c3 Merge change I8db532c1 into eclair-mr2
* changes:
  don't turn off filtering/dithering when we scroll.
2009-10-26 09:16:20 -04:00
Mike Lockwood
0f2a4e6026 am 6897e36b: Add comment warning to not use hardware based autobrightness support.
Merge commit '6897e36b894b2a10fd8b2e3af6587b5f789fde72' into eclair-mr2

* commit '6897e36b894b2a10fd8b2e3af6587b5f789fde72':
  Add comment warning to not use hardware based autobrightness support.
2009-10-25 09:08:31 -07:00
Mike Lockwood
6897e36b89 Add comment warning to not use hardware based autobrightness support.
This is deprecated and will be removed in the next release.

Change-Id: I23c5e711fd8e6768da2f5190d1b6c9fa77de41a6
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-25 11:53:52 -04:00
Andrew Harp
adddd24f31 am 78a50aa1: Merge change If3c30fc9 into eclair
Merge commit '78a50aa1db6572ba7d9f9d91c6eb16f993c09f40' into eclair-mr2

* commit '78a50aa1db6572ba7d9f9d91c6eb16f993c09f40':
  Patching in hidden API to allow app managed preview frame buffers.
2009-10-23 19:17:59 -07:00
Android (Google) Code Review
78a50aa1db Merge change If3c30fc9 into eclair
* changes:
  Patching in hidden API to allow app managed preview frame buffers.
2009-10-23 22:08:30 -04:00
Jack Palevich
a2ec1f4cea am 8f89a1a3: Merge change Ic620a52b into eclair
Merge commit '8f89a1a360465e08e81ceca3cb3042606a98668b' into eclair-mr2

* commit '8f89a1a360465e08e81ceca3cb3042606a98668b':
  Add size checks for glBufferData and glBufferSubData
2009-10-23 17:39:47 -07:00
Android (Google) Code Review
8f89a1a360 Merge change Ic620a52b into eclair
* changes:
  Add size checks for glBufferData and glBufferSubData
2009-10-23 20:30:33 -04:00
Android (Google) Code Review
b81199b3ee Merge change I885cfc23 into eclair-mr2
* changes:
  make the password-clearing algorithm smarter
2009-10-23 19:51:26 -04:00
Tom Taylor
baf4ca1bba am 246978b8: Add a method to clear info about a contact
Merge commit '246978b8dc89562dda47fea9a7aee61949101242' into eclair-mr2

* commit '246978b8dc89562dda47fea9a7aee61949101242':
  Add a method to clear info about a contact
2009-10-23 14:18:36 -07:00
Tom Taylor
246978b8dc Add a method to clear info about a contact
Add a method so the ContactInfoWidget will throw away the cached
info it has on a contact (e.g. picture and uri).

Change-Id: Ia8f376e356c6bcf246bbd72239c5ca2a3b7c9574
2009-10-23 13:33:25 -07:00
Leon Scroggins
1d96ca06d8 Show the soft keyboard when pressing center key/trackball on input field
Fixes http://b/issue?id=2210234

Consolidate center key/trackball presses on input fields, and show
soft keyboard if the field is not readonly.  Also rename the method
for a center press, and pass a click rather than a touch.  Requires
a change in external/webkit.
2009-10-23 11:49:03 -04:00
Leon Scroggins
1d60c5c16b Do not hide the cursor ring when clicking on an input field.
When pressing the trackball on a text input field, do not call
setFollowedLink, which results in the cursor ring disappearing and
the WebTextView being torn down.  Fixes http://b/issue?id=2210127
2009-10-23 11:22:36 -04:00
Andrei Popescu
46a83b4ead Make the VideoView go away automatically at the end of playback.
Fixes http://b/issue?id=2210018
2009-10-23 13:53:14 +01:00
Andrew Harp
94927dffce Patching in hidden API to allow app managed preview frame buffers.
Commit-Id: If3c30fc932697afa966cc97b17749e9996de92ee
2009-10-23 01:44:47 -04:00
Dianne Hackborn
c6bead14fe am 7580493b: Implement feature #2117336: Create event communication APIs for live wallpaper
Merge commit '7580493b014a2c7ea883cd291255798dc72ebbff' into eclair-mr2

* commit '7580493b014a2c7ea883cd291255798dc72ebbff':
  Implement feature #2117336: Create event communication APIs for live wallpaper
2009-10-22 20:21:07 -07:00
Dianne Hackborn
7580493b01 Implement feature #2117336: Create event communication APIs for live wallpaper
Note: currently only implements an async version (no result), and not yet
actually tested.

Change-Id: Id47ed045a4b0eb309ea8c58daf41a0e03eff1d3a
2009-10-22 20:10:53 -07:00
Fred Quintana
f397174750 am 0bf653b5: am f4520f3e: Merge change I9161f53d into eclair-sdk
Merge commit '0bf653b531b8582012ed211fe65e50702589a7c4' into eclair-mr2

* commit '0bf653b531b8582012ed211fe65e50702589a7c4':
  update account manager javadoc
2009-10-22 18:29:59 -07:00
Fred Quintana
0bf653b531 am f4520f3e: Merge change I9161f53d into eclair-sdk
Merge commit 'f4520f3e03e120ed109a579c1936994b142523c3' into eclair

* commit 'f4520f3e03e120ed109a579c1936994b142523c3':
  update account manager javadoc
2009-10-22 17:53:28 -07:00
Fred Quintana
756b735e93 update account manager javadoc 2009-10-22 16:56:08 -07:00
Mike Reed
8db532c136 don't turn off filtering/dithering when we scroll.
Newer devices have proven plenty fast to leave the quality improvements on even during drag/scroll.
2009-10-22 17:18:28 -04: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
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
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
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
Doug Zongker
885cfc23a4 make the password-clearing algorithm smarter
Remove the ro.config.sim_password_clear property; go back to enabling
this for all devices.  For GSM devices, we clear the password on SIM
change as before.  For CDMA devices, we only clear when the device is
provisioned with a different number; we don't clear the password while
the device is unprovisioned.
2009-10-21 16:52:44 -07: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
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
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
Jack Palevich
c620a52b69 Add size checks for glBufferData and glBufferSubData
Without the size checks it's possible for calls to glBufferData
and glBufferSubData to read off the end of the Buffer object's
data, which can cause page faults.

Fix end-of-line characters for the "spec" files. (That's why
every line of these files is changed.)

Enhance our code emitter to properly handle bounds checks for
possibly-null pointers.
2009-10-21 11:02:44 -07:00