7699 Commits

Author SHA1 Message Date
Mike Reed
f7ed3a2b0f am 0249c83e: am 31a69fdb: throw if we have a null typeface native instance (so we don\'t crash in native code) we may still have to native-destroy a Typeface with a null ref, so check for that
Merge commit '0249c83ed014cc6a36caac30e55db62c29c204e2'

* commit '0249c83ed014cc6a36caac30e55db62c29c204e2':
  throw if we have a null typeface native instance (so we don't crash in native code)
2009-12-17 09:27:42 -08:00
Mike Reed
0249c83ed0 am 31a69fdb: throw if we have a null typeface native instance (so we don\'t crash in native code) we may still have to native-destroy a Typeface with a null ref, so check for that
Merge commit '31a69fdbe1edd8d686043e8ca7d278289f65808e' into eclair-mr2-plus-aosp

* commit '31a69fdbe1edd8d686043e8ca7d278289f65808e':
  throw if we have a null typeface native instance (so we don't crash in native code)
2009-12-17 09:24:18 -08:00
Mike Reed
31a69fdbe1 throw if we have a null typeface native instance (so we don't crash in native code)
we may still have to native-destroy a Typeface with a null ref, so check for that
2009-12-17 12:18:44 -05:00
NoraBora
41418ecfa7 ImageButton example doesn't work. Default state should be at the last.
see res/res/drawable/button_inset.xml
2009-12-17 11:38:15 -05:00
Yang Li
45ad2a0750 am c57930aa: am e96b6838: Merge change I4758f121 into eclair-mr2
Merge commit 'c57930aa679385b87852a9805b971a4fb91c65be'

* commit 'c57930aa679385b87852a9805b971a4fb91c65be':
  Added the Protractor algorithm for calculating the minimum cosine distance between gestures
2009-12-16 21:45:41 -08:00
Yang Li
c57930aa67 am e96b6838: Merge change I4758f121 into eclair-mr2
Merge commit 'e96b6838b5a7ec3b4368e2449af9fbf0a8b75f16' into eclair-mr2-plus-aosp

* commit 'e96b6838b5a7ec3b4368e2449af9fbf0a8b75f16':
  Added the Protractor algorithm for calculating the minimum cosine distance between gestures
2009-12-16 21:42:21 -08:00
Android (Google) Code Review
e96b6838b5 Merge change I4758f121 into eclair-mr2
* changes:
  Added the Protractor algorithm for calculating the minimum cosine distance between gestures
2009-12-16 21:40:30 -08:00
Scott Main
1362bbcf76 docs: update the Bluetooth guide with links to the sample
app, scrub the sibling files, and revise the Bluetooth package
summary to point to the BT dev guide.
2009-12-16 18:48:02 -08:00
Christopher Tate
17b7ffe9ce Do not back up / restore the END_BUTTON_BEHAVIOR setting
If something had backed up this setting in the 'do nothing' state, a restore of
that dataset could render a device without a hard END key unusable.  There's no
clear reason to want to restore this value anyway, so we no longer back it up,
nor apply it at restore time even if the dataset contains it.

Bug: 2326562
2009-12-16 16:58:19 -08:00
Jaikumar Ganesh
ef3308790a am 57043a67: am 43ad522d: Merge change Ic0e32f12 into eclair-mr2
Merge commit '57043a675f8826099e619c5d325fc7670be83e0b'

* commit '57043a675f8826099e619c5d325fc7670be83e0b':
  Add a callback for the ConnectSink Call.
2009-12-16 16:31:25 -08:00
Grace Kloba
f432b6db33 am 4eb5f387: am 601112f2: Merge change I11438c37 into eclair-mr2
Merge commit '4eb5f38788e2b40339ab29cbfbae36e7741659c6'

* commit '4eb5f38788e2b40339ab29cbfbae36e7741659c6':
  Implement the full screen WebView plugin.
2009-12-16 16:31:12 -08:00
Jaikumar Ganesh
57043a675f am 43ad522d: Merge change Ic0e32f12 into eclair-mr2
Merge commit '43ad522d49dd3f89d7e367112fab64e4d5027bf3' into eclair-mr2-plus-aosp

* commit '43ad522d49dd3f89d7e367112fab64e4d5027bf3':
  Add a callback for the ConnectSink Call.
2009-12-16 16:27:14 -08:00
Android (Google) Code Review
43ad522d49 Merge change Ic0e32f12 into eclair-mr2
* changes:
  Add a callback for the ConnectSink Call.
2009-12-16 16:22:17 -08:00
Grace Kloba
4eb5f38788 am 601112f2: Merge change I11438c37 into eclair-mr2
Merge commit '601112f213035851a2fa2c2281c7f56cf767b14a' into eclair-mr2-plus-aosp

* commit '601112f213035851a2fa2c2281c7f56cf767b14a':
  Implement the full screen WebView plugin.
2009-12-16 14:15:29 -08:00
Android (Google) Code Review
601112f213 Merge change I11438c37 into eclair-mr2
* changes:
  Implement the full screen WebView plugin.
2009-12-16 14:11:34 -08:00
Xavier Ducrohet
009909b417 am b43b35a0: am e6547423: Merge change I10073d50 into eclair
Merge commit 'b43b35a034ad667ba749270537155e7534906153'

* commit 'b43b35a034ad667ba749270537155e7534906153':
  Add Annotation for optional features.
2009-12-16 12:19:52 -08:00
Xavier Ducrohet
b43b35a034 am e6547423: Merge change I10073d50 into eclair
Merge commit 'e6547423e3ed7d84f0d7fee8199e5bbb015fd8c3' into eclair-plus-aosp

* commit 'e6547423e3ed7d84f0d7fee8199e5bbb015fd8c3':
  Add Annotation for optional features.
2009-12-16 12:16:24 -08:00
Android (Google) Code Review
e6547423e3 Merge change I10073d50 into eclair
* changes:
  Add Annotation for optional features.
2009-12-16 12:14:11 -08:00
Jaikumar Ganesh
c0e32f1243 Add a callback for the ConnectSink Call.
This takes care of the conditions where the bluez audio drivers
are not up and we try to make the call to connect the sink.
This would get rid of the hack in Settings app.
2009-12-16 11:42:06 -08:00
Grace Kloba
11438c371e Implement the full screen WebView plugin.
Use a NoTitleBar_Fullscreen dialog to implement the
full screen plugin. This runs in the same thread as
WebView (UI in the Browser case). One catch is that
the SurfaceView provided by the plugin needs to be
opaque if it doesn't want to see through the WebView.

The PluginFullScreenHolder translates the events to
the underline WebView. Special treatment in the touch
case as it needs to translate the coordinates.

WebView can't be panned, or double tap to zoom, or
long press to trigger the context menu while having
a full screen plugin.

Inside webkit, we also give the plugin element focus
when it goes to the full screen so that it takes key
events. While handling key events, we don't let it 
loose focus or scroll out.

Todo:
When a plugin goes to full screen, we should make
sure the embedded plugin is fully visible. Otherwise
when we translate the touch events back, they will be
outside of the visible rect and will be ignored.

This is part 1 of 2-project check in.
2009-12-16 11:39:12 -08:00
Michael Chan
3448bc6fdd am aab60116: am cdaeafd4: b/2224837 Changed the plumbing of how alerts/notifications work.
Merge commit 'aab601168caec83cf1ca3f235d3a6b308a5dedaa'

* commit 'aab601168caec83cf1ca3f235d3a6b308a5dedaa':
  b/2224837 Changed the plumbing of how alerts/notifications work.
2009-12-16 08:59:12 -08:00
Cary Clark
20a9a57a18 am e9db8335: am 1cb97eed: check to see if nav cache is up to date on tap
Merge commit 'e9db8335c01aa47799403b59718811ec703cfe61'

* commit 'e9db8335c01aa47799403b59718811ec703cfe61':
  check to see if nav cache is up to date on tap
2009-12-16 08:07:09 -08:00
Ken Shirriff
cf2a59de63 am 72e06096: am 98d1803d: Merge change I11f66b41 into eclair-mr2
Merge commit '72e060967e045da99cc68df5bcc7d3ec9529658d'

* commit '72e060967e045da99cc68df5bcc7d3ec9529658d':
  Remove unused SOURCE_ID constant.
2009-12-16 08:06:18 -08:00
Android (Google) Code Review
c935832ca6 Merge change Ie417158c
* changes:
  fix [2330211] sensors thread priority too low
2009-12-15 19:32:58 -08:00
Mathias Agopian
e417158c06 fix [2330211] sensors thread priority too low
bump the sensor thread priority to URGENT_DISPLAY. Events will be enqueued
in the UI (or other user provided) thread, which runs at DISPLAY prio.
2009-12-15 17:37:46 -08:00
Dmitri Plotnikov
d1168af4fa Cherry-picking c95b39d3 from eclair-mr2
Change-Id: Ib8aaefdde96422ab7b54e10e0e9328bba10e305f
2009-12-15 16:42:47 -08:00
Leon Scroggins
273ee3c763 am 62daa729: am aacced6b: Provide localized strings for <input> labels.
Merge commit '62daa7298bd26da37227b3a48ed86854e3643d6c'

* commit '62daa7298bd26da37227b3a48ed86854e3643d6c':
  Provide localized strings for <input> labels.
2009-12-15 16:10:25 -08:00
Fred Quintana
2c5634198a resolved conflicts for merge of 5a374f94 to master 2009-12-15 15:57:33 -08:00
Michael Chan
aab601168c am cdaeafd4: b/2224837 Changed the plumbing of how alerts/notifications work.
Merge commit 'cdaeafd440e61e1b64fbd46107157f3c74d1c09c' into eclair-mr2-plus-aosp

* commit 'cdaeafd440e61e1b64fbd46107157f3c74d1c09c':
  b/2224837 Changed the plumbing of how alerts/notifications work.
2009-12-15 15:27:31 -08:00
Michael Chan
cdaeafd440 b/2224837 Changed the plumbing of how alerts/notifications work.
Instead of processing each notification separately event (scheduling an alarm with AlarmManager for each event, posting notification to NotificationManager for each event, etc), only one alarm should be fired for each wake-up time. AlertService will look through the CalendarAlerts table and decides how to update the notication manager. This is more efficient and simplifies the codecode. It is also the long-term fix to elimiate overlapping notification ring tones e.g. DrooDrooDrooooid b/2194249

Also consolidated alarm scheduling code to one place.

Change-Id: If58ce278d55b28abad703f8aeee466d44952fcd0
2009-12-15 15:24:34 -08:00
Eric Fischer
7b4787b737 am 7bbb1999: am 72521860: Merge change I8f657a99 into eclair
Merge commit '7bbb199912bd4bc7b4827358bcdd90acc826e7fa'

* commit '7bbb199912bd4bc7b4827358bcdd90acc826e7fa':
  Avoid a crash trying to get a substring whose start is after its end.
2009-12-15 15:04:18 -08:00
Paul Westbrook
01dde47ea9 Bug 2326468
Deleted old copy of the GoogleHttpClient, and the unit tests.
2009-12-15 14:26:13 -08:00
Dmitri Plotnikov
f260879397 am 3170f9a7: Fixing broken javadoc.
Merge commit '3170f9a7cf32d6935e6c468e907f9b5427ebadbc' into eclair-mr2-plus-aosp

* commit '3170f9a7cf32d6935e6c468e907f9b5427ebadbc':
  Fixing broken javadoc.
2009-12-15 13:58:28 -08:00
Dmitri Plotnikov
3170f9a7cf Fixing broken javadoc.
Change-Id: Ic5206054281919888943d036d9f6772ea2e63c5b
2009-12-15 13:54:28 -08:00
Android (Google) Code Review
1890be79cf Merge change I98cb3b5c
* changes:
  Fixes the IME not triggering on touch bug.
2009-12-15 13:31:32 -08:00
Maryam Garrett
1549dd1e68 Fixes the IME not triggering on touch bug.
http://b/issue?id=2328818

Change-Id: I98cb3b5c3ba49d35e2b031e4fabd050bccccfa81
2009-12-15 16:24:57 -05:00
Android (Google) Code Review
e2f126cc30 Merge change I611cd3f4
* changes:
  Fixes layout shifts in LinearLayout.
2009-12-15 12:14:19 -08:00
Dmitri Plotnikov
c95b39d352 am 07ab85b3: Introducing fields for capturing national specifics of contact names.
Merge commit '07ab85b338d6e08a901a13230ae4cedc57e418ea' into eclair-mr2-plus-aosp

* commit '07ab85b338d6e08a901a13230ae4cedc57e418ea':
  Introducing fields for capturing national specifics of contact names.
2009-12-15 12:01:46 -08:00
Romain Guy
611cd3f4a9 Fixes layout shifts in LinearLayout.
Bug: 2329142.
2009-12-15 12:00:37 -08:00
Dmitri Plotnikov
07ab85b338 Introducing fields for capturing national specifics of contact names.
Change-Id: Ia848390b9a74c5eb1a5a45a0b909a40307beb9ab
2009-12-15 11:58:11 -08:00
Adam Powell
58acbafcf2 Fix for http://b/issue?id=2323459 and generics correctness on a WeakReference
ViewStub.setVisibility now passes View.GONE through. Even though this doesn't
make a lot of sense to do in practice, it preserves the value for future
ViewStub.getVisibility calls.
2009-12-15 11:45:58 -08:00
Cary Clark
e9db8335c0 am 1cb97eed: check to see if nav cache is up to date on tap
Merge commit '1cb97eed566014e36a7c2a0b487ec132b7d45e6c' into eclair-mr2-plus-aosp

* commit '1cb97eed566014e36a7c2a0b487ec132b7d45e6c':
  check to see if nav cache is up to date on tap
2009-12-15 10:45:38 -08:00
Android (Google) Code Review
3beb2fa488 Merge change I620f67c8
* changes:
  Cherry-picking change I476e5a00 from eclair-china
2009-12-15 10:45:07 -08:00
Cary Clark
1cb97eed56 check to see if nav cache is up to date on tap
Pass point to click in three steps.
1) See if point corresponds to cached node.
2) If so,send a message to webkit to see if the node is good.
3) Call webkit with point, and good/bad info.

This is a two-part change with external/webkit.

Fixes http://b/2249425
2009-12-15 13:40:43 -05:00
Ken Shirriff
72e060967e am 98d1803d: Merge change I11f66b41 into eclair-mr2
Merge commit '98d1803d4d00540695c63c0d52361e8e784d043e' into eclair-mr2-plus-aosp

* commit '98d1803d4d00540695c63c0d52361e8e784d043e':
  Remove unused SOURCE_ID constant.
2009-12-15 09:36:08 -08:00
Android (Google) Code Review
98d1803d4d Merge change I11f66b41 into eclair-mr2
* changes:
  Remove unused SOURCE_ID constant.
2009-12-15 09:33:17 -08:00
Eric Fischer
7bbb199912 am 72521860: Merge change I8f657a99 into eclair
Merge commit '725218602e8505cd6fe3075253fcb792727e2431' into eclair-plus-aosp

* commit '725218602e8505cd6fe3075253fcb792727e2431':
  Avoid a crash trying to get a substring whose start is after its end.
2009-12-15 07:42:03 -08:00
Leon Scroggins
62daa7298b am aacced6b: Provide localized strings for <input> labels.
Merge commit 'aacced6bc5a64c7daa4af2f29b94a1b00770f083' into eclair-mr2-plus-aosp

* commit 'aacced6bc5a64c7daa4af2f29b94a1b00770f083':
  Provide localized strings for <input> labels.
2009-12-15 05:56:11 -08:00
Fred Quintana
5a374f94f8 am 274dc9d3: moved the hidden sync helpers out of the framework
Merge commit '274dc9d35fdf5d0464f74071a9a8f14e497d4d5f' into eclair-mr2-plus-aosp

* commit '274dc9d35fdf5d0464f74071a9a8f14e497d4d5f':
  moved the hidden sync helpers out of the framework
2009-12-15 05:56:03 -08:00
Leon Scroggins
aacced6bc5 Provide localized strings for <input> labels.
Fix for http://b/issue?id=2178786

Provide strings for input types file, submit, and reset, and allow
them to be passed down to native.

Requires a change in external/webkit.
2009-12-15 08:49:59 -05:00