2913 Commits

Author SHA1 Message Date
Android (Google) Code Review
af98b21ba7 Merge change 9612
* changes:
  Fix #2031300. Set only accept unique objects. So we have to assign different value for each cookie when we add them to the SortedSet.
2009-08-04 09:00:44 -07:00
Grace Kloba
8ae2777354 Fix #2031300. Set only accept unique objects. So we have to assign different
value for each cookie when we add them to the SortedSet.
2009-08-03 17:35:08 -07:00
Android (Google) Code Review
87e0e44afc Merge change 9601
* changes:
  Make ZoomButtonsController public.
2009-08-03 17:27:19 -07:00
Jack Palevich
e832234a85 Make ZoomButtonsController public. 2009-08-03 17:18:58 -07:00
Android (Google) Code Review
afcc40ac71 Merge change 9550
* changes:
  Fix the missing break statement.
2009-08-03 17:15:13 -07:00
Android (Google) Code Review
d1ddd36a18 Merge change 9515
* changes:
  Adding "test context" to AndroidTestCase
2009-08-03 17:02:47 -07:00
Feng Qian
706cee45e9 Fix the missing break statement.
Somehow the break statement after SET_JS_FLAGS was removed.
2009-08-03 16:01:42 -07:00
Android (Google) Code Review
3c5ad8abae am 88c692ca: Merge change 9522 into donut
Merge commit '88c692ca2ce4f0680340cb66f5fe82bfdd532581'

* commit '88c692ca2ce4f0680340cb66f5fe82bfdd532581':
  Merge Korean abbreviated date format fix from cupcake.
2009-08-03 15:19:10 -07:00
Dmitri Plotnikov
44a29dd097 Adding "test context" to AndroidTestCase 2009-08-03 14:27:20 -07:00
Mark Wagner
fc03aa7894 check return value from Cursor.moveToFirst() 2009-08-03 14:27:04 -07:00
Eric Fischer
ac6f99f7fa Merge Korean abbreviated date format fix from cupcake.
Bug 2018804: Use month/day/year characters instead of periods in
abbreviated Korean date formats.
2009-08-03 12:31:25 -07:00
Grace Kloba
f6d1a5528e resolved conflicts for merge of b8802b21 to master 2009-08-03 10:49:58 -07:00
Android (Google) Code Review
8050220374 Merge change 9259
* changes:
  Fix the cookie order. If multiple cookies satisfy the criteria, the one with more specfic Path precede thoese with less specific.
2009-08-03 10:23:58 -07:00
Android (Google) Code Review
b8802b2138 Merge change 9330 into donut
* changes:
  Fix #2025900. If a https request is canceled while openConnection is called and a ssl error happened, the http thread can be blocked for up to 10 min. Added code to detect this case and unlock the thread.
2009-08-03 10:07:00 -07:00
Grace Kloba
f4046ba803 Fix the cookie order. If multiple cookies satisfy the criteria, the one with
more specfic Path precede thoese with less specific.
2009-08-03 10:05:39 -07:00
Jeff Sharkey
1132200fa1 Added an extra for sharing a target rectangle extra.
Used to pass a location using screen coordinates when
starting a SHOW_OR_CREATE_CONTACT activity.
2009-08-01 17:22:34 -07:00
Jeff Sharkey
732da9293a Separated IM protocol into two fields, similar to TYPE.
In previous releases, we had combined well-known protocols
and custom protocols into a single field.  This was because
of previous database constraints, which no longer exist
because of our new Data table approach.
2009-08-01 16:08:40 -07:00
Evan Millar
b3ac9318ef Adds the ContactHeaderWidget for use by system apps.
The ContactHeaderWidget is a new widget that is used as a header banner
in various system applications, including contacts, mms, and gtalk.
Convenience methods are supplied for bind the widget to a specific
contact, which can be specified by contact id, email, or phone number.
2009-08-01 15:59:08 -07:00
Romain Guy
a32d100b34 Add new utility methods to rsScriptC_Lib, android.util.MathUtil and android.graphics.Color.
Fixes RS compilation.
2009-07-31 21:36:18 -07:00
Android (Google) Code Review
3161d6dc2e Merge change 9430
* changes:
  Update docs.
2009-07-31 17:59:53 -07:00
Joe Onorato
37296dc4ed Update docs. 2009-07-31 17:58:55 -07:00
Grace Kloba
d3c6d54de9 Set touch mode to be TOUCH_DONE_MODE when calling doDoubleTap. 2009-07-31 14:28:41 -07:00
Leon Scroggins
4c94304508 Fix a bug in find.
Make setContentScrollBy return a boolean.
Necessary so that a caller of setContentScrollBy in WebView.cpp
can find out whether the page scrolled.  Requires a change in
external/webkit/
2009-07-31 15:28:18 -04:00
Android (Google) Code Review
a45c5f07e2 Merge change 9216
* changes:
  Fix UUID typo and allow incoming AVRCP connections.
2009-07-31 10:41:27 -07:00
Jaikumar Ganesh
ade40526c8 Fix UUID typo and allow incoming AVRCP connections. 2009-07-31 10:33:47 -07:00
Cary Clark
77d98f4ed7 rebuild the nav cache on mouse clicks during page load
On the first tap down, send a message to rebuild the nav
cache so that double taps have a better chance of having
some alignment information to work with.

Also, pass scale information to getBlockLeftEdge to
restrict the alignment search
2009-07-31 13:15:06 -04:00
Leon Scroggins
010582885c Allow the user to jump to the next textfield.
Requires a change to external/webkit.  Set ImeActions for textfields,
depending on the existence of other textfields on the page, and
react accordingly.
2009-07-31 10:54:38 -04:00
Android (Google) Code Review
5190c492a4 Merge change 9334
* changes:
  Flip the use of triangle icon on the right of settings.
2009-07-31 00:01:49 -07:00
Amith Yamasani
0355455b6f Flip the use of triangle icon on the right of settings.
Triangle will now only show up for preferences that have dialogs popup
when selected - like lists, sliders, EditTexts and Yes/No dialogs.
This is a change for the base preferences. If any subclasses override
and specify a different layout or normal preferences display a
dialog when pressed, they may not follow the new style.
2009-07-30 23:57:05 -07:00
Grace Kloba
4c8db8a4fe Fix #2025900. If a https request is canceled while openConnection is called
and a ssl error happened, the http thread can be blocked for up to 10 min.
Added code to detect this case and unlock the thread.
2009-07-30 23:13:34 -07:00
Android (Google) Code Review
bda9bac412 am 3e584428: Merge change 9124 into donut
Merge commit '3e584428deb098484cc881192dd221c81f707764'

* commit '3e584428deb098484cc881192dd221c81f707764':
  Fix a bug in ImageView: The drawing matrix is not updated when setImageMatrix is called.
2009-07-30 19:55:47 -07:00
Android (Google) Code Review
3e584428de Merge change 9124 into donut
* changes:
  Fix a bug in ImageView: The drawing matrix is not updated when setImageMatrix is called.
2009-07-30 19:53:47 -07:00
Android (Google) Code Review
a05f75d61a Merge change 9267
* changes:
  Don't invalidate view if setEnabled doesn't change the state.
2009-07-30 16:55:04 -07:00
Android (Google) Code Review
f0f6c51e13 am c134c281: Merge change 9265 into donut
Merge commit 'c134c281ca83a28deb96c7b338c48c0b0327f26f'

* commit 'c134c281ca83a28deb96c7b338c48c0b0327f26f':
  Highlight IMEI-reading as part of READ_PHONE_STATE description
2009-07-30 16:20:51 -07:00
Android (Google) Code Review
c134c281ca Merge change 9265 into donut
* changes:
  Highlight IMEI-reading as part of READ_PHONE_STATE description
2009-07-30 16:18:21 -07:00
Amith Yamasani
a2ef00b428 Don't invalidate view if setEnabled doesn't change the state.
Check the current enabled state before setting it, in case there's
no change. Otherwise some apps are repeatedly redrawing buttons based
on validation of some text field (like gmail or mms message bodies).
Should slightly improve the performance of soft keyboard text entry.
2009-07-30 16:14:34 -07:00
Christopher Tate
f2348429bc Highlight IMEI-reading as part of READ_PHONE_STATE description 2009-07-30 16:13:03 -07:00
Mike LeBeau
0185fc570b am c2e06072: Tell the SearchManager to stopSearch before starting an in-app voice search. Without this, because of the recent changes to how the search dialog hides and resumes, we end up re-showing the search dialog after returning to the app from voice search, obscu
Merge commit 'c2e06072051e319bc609df66f4c72b77716f4fa4'

* commit 'c2e06072051e319bc609df66f4c72b77716f4fa4':
  Tell the SearchManager to stopSearch before starting an in-app voice
2009-07-30 16:07:50 -07:00
Mike Reed
a31ce104f5 am 6af2552d: use safeUnref() since the other macro is not defined in donut
Merge commit '6af2552d244ff933dfd54570121db455cc7c3cda'

* commit '6af2552d244ff933dfd54570121db455cc7c3cda':
  use safeUnref() since the other macro is not defined in donut
2009-07-30 16:06:31 -07:00
Android (Google) Code Review
93efb724ac am 7299d6ad: Merge change 9159 into donut
Merge commit '7299d6ad9820bbb601034542c94d6dc73cc4829d'

* commit '7299d6ad9820bbb601034542c94d6dc73cc4829d':
  check for null native objects, which never happens on a real subclass (we throw in that case)
2009-07-30 16:06:21 -07:00
Android (Google) Code Review
bb2e26c57c am 67fb5728: Merge change 9147 into donut
Merge commit '67fb5728332f7e3f8c11245fb9cb9d1cfe2b5607'

* commit '67fb5728332f7e3f8c11245fb9cb9d1cfe2b5607':
  Fix in-app search shortcut icons
2009-07-30 16:05:59 -07:00
Android (Google) Code Review
afcf686cb0 am 25dff70f: Merge change 9039 into donut
Merge commit '25dff70f153529b87f5ad4a92f4de21e8950b1de'

* commit '25dff70f153529b87f5ad4a92f4de21e8950b1de':
  Fix #2018814: System cannot correctly render assets with "wrap_content" attribute in QVGA
2009-07-30 16:05:27 -07:00
Mike LeBeau
c2e0607205 Tell the SearchManager to stopSearch before starting an in-app voice
search. Without this, because of the recent changes to how the search
dialog hides and resumes, we end up re-showing the search dialog after
returning to the app from voice search, obscuring the new voice search
results behind.

Fixes http://b/2025364
2009-07-30 15:48:24 -07:00
Android (Google) Code Review
8845ea0592 Merge change 9245
* changes:
  Remove android:multiprocess from ShutdownActivity to ensure it runs in the system process.
2009-07-30 15:29:21 -07:00
Mike Lockwood
49f746823e Remove android:multiprocess from ShutdownActivity to ensure it runs in the system process.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-30 15:27:00 -07:00
Android (Google) Code Review
b995b21d67 Merge change 9198
* changes:
  Fix missed Aggregate->Contact name change.
2009-07-30 13:04:33 -07:00
Android (Google) Code Review
396dbf45e3 Merge change 9175
* changes:
  Fix 2016808. We used to send the new scale/scroll info to the UI thread after WebCore finish the first layout. As the picture in the UI thread is still the previous one, if there is a UI update happened before we generate the new picture, the new scale/scroll will be applied to the old picture.
2009-07-30 12:02:45 -07:00
Evan Millar
ac39b26b51 Fix missed Aggregate->Contact name change. 2009-07-30 11:46:13 -07:00
Grace Kloba
ef347ef910 Fix 2016808. We used to send the new scale/scroll info to the UI thread after
WebCore finish the first layout. As the picture in the UI thread is still
the previous one, if there is a UI update happened before we generate the new
picture, the new scale/scroll will be applied to the old picture.

On the other hand, we do want to trigger the resize for the new page after
the first layout. e.g. The page was at nytimes.com. Now user types google.com.
google.com is first layout in the wide viewport where nytimes.com is. We dont
want to show that picture. We would like to show the fit to screen version of
google.com as the first picture.

Remove the SnapToAnchor code which is left over from previous zoom attempt.
2009-07-30 11:20:32 -07:00
Mike Lockwood
bad80e0dcc Add Activity Intent.ACTION_REQUEST_SHUTDOWN for requesting a system shutdown.
The Intent.EXTRA_KEY_CONFIRM extra can be set to require user confirmation before shutting down.
The ACTION_REQUEST_SHUTDOWN Intent is protected by android.permission.SHUTDOWN.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-30 10:16:28 -07:00