7699 Commits

Author SHA1 Message Date
Jim Miller
292224d1c1 Fix 2318046: Modify PIN entry layout in keyguard so it works well on HVGA as well as WVGA devices.
This change basically tightens up the layout and makes the emergency button area the "stretchy" part of
the layout.
2009-12-14 18:27:28 -08:00
Xavier Ducrohet
3274b9b7da Add Annotation for optional features.
This is used by the SDK to display available features in the
editors.

Change-Id: I10073d503d1b3dcb92a5dc526cd054285b85fa3a
2009-12-14 17:52:20 -08:00
Eric Fischer
32929413ff Avoid a crash trying to get a substring whose start is after its end.
Constrain the start of the extracted text, not just the end, to the length
of the content.

Approver: ryanpc
Bug: 2323813
2009-12-14 17:35:36 -08:00
Fred Quintana
274dc9d35f moved the hidden sync helpers out of the framework 2009-12-14 16:33:13 -08:00
Romain Guy
236092a362 Fixes crash in HierarchyViewer when windows hash code exceed int capacity.
Bug: 2321018
2009-12-14 16:20:01 -08:00
Dianne Hackborn
74a76d5e07 am 83652ebf: am 3a3fd2ba: Merge change Iaf1f0918 into eclair-mr2
Merge commit '83652ebfe1963bcecdcf24383165904223baca6e'

* commit '83652ebfe1963bcecdcf24383165904223baca6e':
  Implement API to have new broadcasts replace existing broadcasts.
2009-12-14 16:15:03 -08:00
Dianne Hackborn
83652ebfe1 am 3a3fd2ba: Merge change Iaf1f0918 into eclair-mr2
Merge commit '3a3fd2ba1ffc6171725375396cc59711a34bb39e' into eclair-mr2-plus-aosp

* commit '3a3fd2ba1ffc6171725375396cc59711a34bb39e':
  Implement API to have new broadcasts replace existing broadcasts.
2009-12-14 16:10:13 -08:00
Android (Google) Code Review
3a3fd2ba1f Merge change Iaf1f0918 into eclair-mr2
* changes:
  Implement API to have new broadcasts replace existing broadcasts.
2009-12-14 16:06:49 -08:00
Yang Li
4758f1216b Added the Protractor algorithm for calculating the minimum cosine distance between gestures 2009-12-14 15:41:07 -08:00
Paul Westbrook
26ca1a6d70 am b6ffc8f2: am 16396414: Merge change If5b0b6fa into eclair-mr2
Merge commit 'b6ffc8f2535c38703e753cfc1535134b5976c4e1'

* commit 'b6ffc8f2535c38703e753cfc1535134b5976c4e1':
  Fixed class paths in layout xml files
2009-12-14 15:35:19 -08:00
Dmitri Plotnikov
df1549128f Cherry-picking change I476e5a00 from eclair-china
Add Hanzi to Pinyin converter and sort key for contacts

Sort key and Hanzi to Pinyin converter is used for Chinese
implementation of contacts search, indexing and sorting.
Hanzi to Pinyin converter should be implemented on top of ICU
transliterator in the future.

Change-Id: I620f67c85897ee4054eda2624e7bcc12a81740aa
2009-12-14 15:34:48 -08:00
Maryam Garrett
9021b37a9b am 50fbfe65: am 39f0efba: Fixes context-menu trigger behavior after scroll in TextView
Merge commit '50fbfe65bb78e9fbd809238ca1f358390ed61ad3'

* commit '50fbfe65bb78e9fbd809238ca1f358390ed61ad3':
  Fixes context-menu trigger behavior after scroll in TextView
2009-12-14 15:34:03 -08:00
Paul Westbrook
b6ffc8f253 am 16396414: Merge change If5b0b6fa into eclair-mr2
Merge commit '163964143fe27b7fdbeb51a4fc65d72769c83481' into eclair-mr2-plus-aosp

* commit '163964143fe27b7fdbeb51a4fc65d72769c83481':
  Fixed class paths in layout xml files
2009-12-14 15:29:46 -08:00
Ken Shirriff
1634d93625 am f30a19aa: am ba8e4d24: Merge change Ib5343691 into eclair-mr2
Merge commit 'f30a19aaaf586e17dee510cf2b056fa7402fe08c'

* commit 'f30a19aaaf586e17dee510cf2b056fa7402fe08c':
  Add account name / type query parameters for calendar Events.
2009-12-14 15:29:37 -08:00
Maryam Garrett
50fbfe65bb am 39f0efba: Fixes context-menu trigger behavior after scroll in TextView
Merge commit '39f0efba92a4420f77e3abc53c367ea3cacde3cf' into eclair-mr2-plus-aosp

* commit '39f0efba92a4420f77e3abc53c367ea3cacde3cf':
  Fixes context-menu trigger behavior after scroll in TextView
2009-12-14 15:26:33 -08:00
Android (Google) Code Review
163964143f Merge change If5b0b6fa into eclair-mr2
* changes:
  Fixed class paths in layout xml files
2009-12-14 15:17:24 -08:00
Dianne Hackborn
1c633fc89b Implement API to have new broadcasts replace existing broadcasts.
Use this in various places where it should serve no purpose to deliver
both broadcasts.  This is intended to reduce somewhat the flurry of
broadcasts that we churn through during boot.
2009-12-14 15:03:35 -08:00
Paul Westbrook
4ee9e53837 Fixed class paths in layout xml files
Updated the class paths in some layout files to match the package of
the NumberPicker and NumberPickerButton
2009-12-14 14:54:01 -08:00
Ken Shirriff
11f66b412f Remove unused SOURCE_ID constant. 2009-12-14 14:19:43 -08:00
Ken Shirriff
f30a19aaaf am ba8e4d24: Merge change Ib5343691 into eclair-mr2
Merge commit 'ba8e4d240b3d5eaebbdba9351b247ac20bedadc5' into eclair-mr2-plus-aosp

* commit 'ba8e4d240b3d5eaebbdba9351b247ac20bedadc5':
  Add account name / type query parameters for calendar Events.
2009-12-14 11:50:09 -08:00
Maryam Garrett
39f0efba92 Fixes context-menu trigger behavior after scroll in TextView
This change fixes the context menu trigger behavior while
the user is selecting via touch. How if a user is selecting
text via dragging their finger, to trigger the context menu
they will have to lift their finger up, then issue a
longpress. This is consistent with the behavior of selecting
via the trackball.
2009-12-14 14:42:25 -05:00
Paul Westbrook
e143bc92b2 resolved conflicts for merge of 15d3bb2c to master 2009-12-14 10:56:45 -08:00
Android (Google) Code Review
ba8e4d240b Merge change Ib5343691 into eclair-mr2
* changes:
  Add account name / type query parameters for calendar Events.
2009-12-14 10:41:33 -08:00
Paul Westbrook
15d3bb2ce6 am 7762d936: Unbundling work
Merge commit '7762d93621f508f4410fd37b5bbdfec0071b0420' into eclair-mr2-plus-aosp

* commit '7762d93621f508f4410fd37b5bbdfec0071b0420':
  Unbundling work
2009-12-14 10:10:20 -08:00
Paul Westbrook
7762d93621 Unbundling work
Moved AndroidHttpClient, Rfc822InputFilter, Rfc822Validator
NumberPicker, NumberPickerButton to android-common
---
2009-12-14 09:24:09 -08:00
Derek Sollenberger
1a500c46ef am 80a13350: am b6ddc7ae: Notify native plugin code when the browser discards the customView.
Merge commit '80a1335049bd6653a558bd9a2c625c091900caff'

* commit '80a1335049bd6653a558bd9a2c625c091900caff':
  Notify native plugin code when the browser discards the customView.
2009-12-14 06:22:09 -08:00
Derek Sollenberger
80a1335049 am b6ddc7ae: Notify native plugin code when the browser discards the customView.
Merge commit 'b6ddc7ae3507f0e1ea9a76c76f829bc8b26a292c' into eclair-mr2-plus-aosp

* commit 'b6ddc7ae3507f0e1ea9a76c76f829bc8b26a292c':
  Notify native plugin code when the browser discards the customView.
2009-12-14 06:11:05 -08:00
Derek Sollenberger
b6ddc7ae35 Notify native plugin code when the browser discards the customView. 2009-12-14 08:48:42 -05:00
Bjorn Bringert
29dfa24366 am acd29577: am a8eaaa10: Merge change If90ee7e2 into eclair-mr2
Merge commit 'acd295776f76f184b873a39cbd47ad5cced6236d'

* commit 'acd295776f76f184b873a39cbd47ad5cced6236d':
  Fix TabHost NPE when there are no tabs
2009-12-14 01:16:37 -08:00
Bjorn Bringert
acd295776f am a8eaaa10: Merge change If90ee7e2 into eclair-mr2
Merge commit 'a8eaaa1027e09daab01224cfe4a27b19570d35b0' into eclair-mr2-plus-aosp

* commit 'a8eaaa1027e09daab01224cfe4a27b19570d35b0':
  Fix TabHost NPE when there are no tabs
2009-12-14 01:09:19 -08:00
Android (Google) Code Review
a8eaaa1027 Merge change If90ee7e2 into eclair-mr2
* changes:
  Fix TabHost NPE when there are no tabs
2009-12-14 01:01:21 -08:00
Dianne Hackborn
bd2e6de7e3 am c1e6b91d: am c9ca93fb: am 474731d5: Merge change I2ffe306f into eclair
Merge commit 'c1e6b91d75ce1dd5e8cc23aaf49c84d32f1bf673'

* commit 'c1e6b91d75ce1dd5e8cc23aaf49c84d32f1bf673':
  Fix issue #2304284: contacts/dialer/recentcalls constantly flashing
2009-12-13 12:41:43 -08:00
Dianne Hackborn
c1e6b91d75 am c9ca93fb: am 474731d5: Merge change I2ffe306f into eclair
Merge commit 'c9ca93fbf9ff49ca4b74c4ec72d3f7580b3b7659' into eclair-mr2-plus-aosp

* commit 'c9ca93fbf9ff49ca4b74c4ec72d3f7580b3b7659':
  Fix issue #2304284: contacts/dialer/recentcalls constantly flashing
2009-12-13 12:34:09 -08:00
Dianne Hackborn
c9ca93fbf9 am 474731d5: Merge change I2ffe306f into eclair
Merge commit '474731d5efb30c1e9184f998610054747eb8e764' into eclair-mr2

* commit '474731d5efb30c1e9184f998610054747eb8e764':
  Fix issue #2304284: contacts/dialer/recentcalls constantly flashing
2009-12-13 12:25:00 -08:00
Grace Kloba
3cb3e49182 am de0205f3: am 70b942d3: Post a Runnable to execute setNewZoomScale when WebView\'s onSizeChanged is called. This will ensure requestLayout of the Child View works.
Merge commit 'de0205f3bbda265cf8b53a912190dff86ab5d34e'

* commit 'de0205f3bbda265cf8b53a912190dff86ab5d34e':
  Post a Runnable to execute setNewZoomScale when
2009-12-12 15:13:28 -08:00
Grace Kloba
de0205f3bb am 70b942d3: Post a Runnable to execute setNewZoomScale when WebView\'s onSizeChanged is called. This will ensure requestLayout of the Child View works.
Merge commit '70b942d34d1d1a30ab2d73bbefe214f5db0f4853' into eclair-mr2-plus-aosp

* commit '70b942d34d1d1a30ab2d73bbefe214f5db0f4853':
  Post a Runnable to execute setNewZoomScale when
2009-12-12 15:08:22 -08:00
Grace Kloba
70b942d34d Post a Runnable to execute setNewZoomScale when
WebView's onSizeChanged is called. This will ensure
requestLayout of the Child View works.

Fix http://b/issue?id=2323445
2009-12-12 12:35:54 -08:00
Dianne Hackborn
e9b86b5421 am 474731d5: Merge change I2ffe306f into eclair
Merge commit '474731d5efb30c1e9184f998610054747eb8e764' into eclair-plus-aosp

* commit '474731d5efb30c1e9184f998610054747eb8e764':
  Fix issue #2304284: contacts/dialer/recentcalls constantly flashing
2009-12-11 18:28:45 -08:00
Ken Shirriff
b5343691e1 Add account name / type query parameters for calendar Events. 2009-12-11 15:33:25 -08:00
Dianne Hackborn
871ecdce67 Fix issue #2304284: contacts/dialer/recentcalls constantly flashing
Make sure the application is always given the most recent configuration
when launcher.  Use the current configuration, instead of whatever happens
to be set by the app, for reporting what it was launched with.

Change-Id: I2ffe306f56cc9092b640546dd0a28d2c29b9c0b3
2009-12-11 15:24:33 -08:00
Dan Egnor
d021302134 resolved conflicts for merge of f6bb01b0 to master 2009-12-11 14:55:24 -08:00
Dan Egnor
f6bb01b0d8 am b7f0367c: Eliminate CrashData and friends.
Merge commit 'b7f0367cec1c744aa66ef397b0244e25d507491c' into eclair-mr2-plus-aosp

* commit 'b7f0367cec1c744aa66ef397b0244e25d507491c':
  Eliminate CrashData and friends.
2009-12-11 14:32:40 -08:00
Dan Egnor
b7f0367cec Eliminate CrashData and friends.
(CrashData was a custom-marshalled crash-info class used for a server crash
reporting system I am deprecating).  Use ApplicationErrorReport.CrashInfo
instead to report crash details (mostly the stack trace) from RuntimeInfo to
ActivityManagerService, since we're likely to need the crash information in
that form anyway.

Remove the (long-disabled) flags and support for the "Debug" button
in the crash dialog.

Further gut the ICheckinService interface by removing the crash-reporting
APIs (and everything that calls them), plus the synchronous checkin()
method (which has been stubbed out for a while now).

A new dropbox-based crash reporting system is in the works, but not part
of this change.
2009-12-11 13:27:04 -08:00
Ken Shirriff
e790da827f am 9ed0a872: am 930ab3d9: Fix broken sdk build.
Merge commit '9ed0a8721990303e6264c6affb93b25c8249127b'

* commit '9ed0a8721990303e6264c6affb93b25c8249127b':
  Fix broken sdk build.
2009-12-11 12:42:43 -08:00
Ken Shirriff
9ed0a87219 am 930ab3d9: Fix broken sdk build.
Merge commit '930ab3d955a40c1de167b7142215af37f9f9bfe4' into eclair-mr2-plus-aosp

* commit '930ab3d955a40c1de167b7142215af37f9f9bfe4':
  Fix broken sdk build.
2009-12-11 12:38:07 -08:00
Jaikumar Ganesh
551ed72940 Use UNDEFINED priorities when unpaired.
For the docks, we can set if a device is preferred or not
before pairing process. This was getting overridden when we pair.
This problem doesn't happen with normal headsets.

Dr No: Eastham
Bug: 2318290
2009-12-11 12:00:31 -08:00
Ken Shirriff
930ab3d955 Fix broken sdk build.
Fix link in javadoc.
2009-12-11 11:12:44 -08:00
Mike Reed
d287a968bb am be35a4fd: am 6cb69c7d: Merge change I8b302097 into eclair-mr2
Merge commit 'be35a4fd8c26749aba27731270f75273dc1590fe'

* commit 'be35a4fd8c26749aba27731270f75273dc1590fe':
  Update the zoom buttons after moving to a new page.
2009-12-11 08:50:35 -08:00
Mike Reed
be35a4fd8c am 6cb69c7d: Merge change I8b302097 into eclair-mr2
Merge commit '6cb69c7d7496943cec7913a3a7ffab7f6d75e584' into eclair-mr2-plus-aosp

* commit '6cb69c7d7496943cec7913a3a7ffab7f6d75e584':
  Update the zoom buttons after moving to a new page.
2009-12-11 08:44:40 -08:00
Android (Google) Code Review
6cb69c7d74 Merge change I8b302097 into eclair-mr2
* changes:
  Update the zoom buttons after moving to a new page.
2009-12-11 08:42:13 -08:00