Commit Graph

450 Commits

Author SHA1 Message Date
The Android Open Source Project
8585e19ed4 Merge branch 'master' of ssh://android-git.corp.google.com:29418/platform/frameworks/base 2009-04-29 15:16:52 -07:00
Android (Google) Code Review
b7a64360fa Merge change 711
* changes:
  store contact id in messages table instead of contact name string; merge messages and group messages tables.
2009-04-29 14:32:10 -07:00
Android (Google) Code Review
090d32b275 am 9ae8873: Merge change 617 into donut
Merge commit '9ae8873ed83035e8527526e2cc1a189caf0e8d9e'

* commit '9ae8873ed83035e8527526e2cc1a189caf0e8d9e':
  Allow caller-supplied column aliases in queries even when a projection map is used.
2009-04-29 13:41:23 -07:00
Android (Google) Code Review
0f9206e01b am 649b1c6: Merge change 736 into donut
Merge commit '649b1c6ec317b6dd61a385df911e7fe543c5871a'

* commit '649b1c6ec317b6dd61a385df911e7fe543c5871a':
  CheckedTextView is abstract but can be inflated from XML. Let's be consistent and allow it to be used from Java code as well by making it non-abstract.
2009-04-29 13:41:22 -07:00
Android (Google) Code Review
e4ddb19acb am efae672: Merge change 725 into donut
Merge commit 'efae672d7303fb6682b2ae8704a62146297a0a5a'

* commit 'efae672d7303fb6682b2ae8704a62146297a0a5a':
  Add 'includeInGlobalSearch' attribute to searchable meta-data.
2009-04-29 13:41:22 -07:00
Bjorn Bringert
6b8da4e1aa am c1f4096: Remove menu from SearchDialog.
Merge commit 'c1f40960644b461b108480b6446c89963441492d'

* commit 'c1f40960644b461b108480b6446c89963441492d':
  Remove menu from SearchDialog.
2009-04-29 13:41:21 -07:00
Android (Google) Code Review
bcefcb5e95 am c5f1b92: Merge change 691 into donut
Merge commit 'c5f1b92d0a480f3119be8ea6eebbada402c17cf3'

* commit 'c5f1b92d0a480f3119be8ea6eebbada402c17cf3':
  Fixes 1819406. Take a ListView, add headers/footers, set the adapter after at least one layout pass, and the headers/footers don't know they have a parent anymore. Which causes a lot of trouble, like drawing not happening.
2009-04-29 13:41:21 -07:00
The Android Open Source Project
bff1389c9a fix conflict markers 2009-04-29 13:41:02 -07:00
The Android Open Source Project
c6e3de9e09 am 203464a: Add searchSuggestThreshold to searchable meta-data. 2009-04-29 13:40:03 -07:00
Android (Google) Code Review
adf431b54a am 493b00a: Merge change 640 into donut
Merge commit '493b00afbfd4f603939ee98540a4d8df084107fd'

* commit '493b00afbfd4f603939ee98540a4d8df084107fd':
  Add GLOBAL_SEARCH intent for finding global search provider.
2009-04-29 13:35:48 -07:00
Scott Main
3813fdaa8f am 8419fcd: am b8b3645: AI 147803: add docs and images for docs on Toast
Merge commit '8419fcdfaf908aec4f8fa093ef1850616c7704b4'

* commit '8419fcdfaf908aec4f8fa093ef1850616c7704b4':
  AI 147803: add docs and images for docs on Toast and  Notification docs
2009-04-29 13:35:44 -07:00
Scott Main
08f1edf235 am 073bc61: am 8a4c53a: AI 147732: fix broken links
Merge commit '073bc611ce22e798e90559689aaf771df4a8bf4c'

* commit '073bc611ce22e798e90559689aaf771df4a8bf4c':
  AI 147732: fix broken links
2009-04-29 13:35:41 -07:00
Scott Main
64b786f159 am af3289e: am 620986a: AI 147438: add app widget docs to dev guide
Merge commit 'af3289e4448971b38ae4e95269401452dbc6077e'

* commit 'af3289e4448971b38ae4e95269401452dbc6077e':
  AI 147438: add app widget docs to dev guide
2009-04-29 13:35:39 -07:00
Mitsuru Oshima
c2839e0870 am 13735a2: Merge branch \'readonly-p4-donut\' into donut
Merge commit '13735a255dedd2c2e3b0cff66f0be2e17671f553'

* commit '13735a255dedd2c2e3b0cff66f0be2e17671f553':
  AI 147976: Compatibility mode support. Part 2.
2009-04-29 13:35:38 -07:00
Karl Rosaen
2f7e0447ac am 98e333f: Fix back key and ime behavior for search dialog.
Merge commit '98e333f551a4bf2ebb50bb97a2a56b14bfdcd74b'

* commit '98e333f551a4bf2ebb50bb97a2a56b14bfdcd74b':
  Fix back key and ime behavior for search dialog.
2009-04-29 13:35:36 -07:00
Android (Google) Code Review
36ef99673b am e4de845: Merge change 625 into donut
Merge commit 'e4de845ec2ad14538a437ca31f56948547b2d5c0'

* commit 'e4de845ec2ad14538a437ca31f56948547b2d5c0':
  fix 1812272 SensorManager method returns hidden object
2009-04-29 13:35:35 -07:00
Android (Google) Code Review
d3f78458dd am 6fcddb0: Merge change 629 into donut
Merge commit '6fcddb05eee19edfd3063b9eefbdb0de0dbd4f4f'

* commit '6fcddb05eee19edfd3063b9eefbdb0de0dbd4f4f':
  Display the app icon to the left of the search field for search within apps.
2009-04-29 13:35:35 -07:00
Android (Google) Code Review
a5a51e1724 am 77c9990: Merge change 599 into donut
Merge commit '77c9990ae0806575ae7a2750459f3e74f0bec092'

* commit '77c9990ae0806575ae7a2750459f3e74f0bec092':
  Add call to (new) Canvas.freeCaches() in response to low-memory
2009-04-29 13:35:35 -07:00
Mitsuru Oshima
4cc574be4e am 257eef3: Merge branch \'readonly-p4-donut\' into donut
Merge commit '257eef353dfc9519b63e3fe2616505c5534b460a'

* commit '257eef353dfc9519b63e3fe2616505c5534b460a':
  AI 147845: Compatibility mode support. Part 1
2009-04-29 13:35:29 -07:00
Android (Google) Code Review
d1d2af6846 am 3eab744: Merge change 376 into donut
Merge commit '3eab744d018924189b1b8f5530accd52e91213de'

* commit '3eab744d018924189b1b8f5530accd52e91213de':
  Add support for changing a threads scheduler group. Three groups are available (default, background non interactive, foreground boost). Setting a thread priority to PRIORITY_BACKGROUND will transparently change groups to background
2009-04-29 13:35:29 -07:00
Bjorn Bringert
8b65d2c358 am 7fc4b28: Merge branch \'readonly-p4-donut\' into donut
Merge commit '7fc4b281750be2442a327e7aa9fb03c44096caf3'

* commit '7fc4b281750be2442a327e7aa9fb03c44096caf3':
  AI 147681: Fix SearchDialog crash on missing FORMAT suggestion column.
2009-04-29 13:35:23 -07:00
The Android Open Source Project
8f080ec429 am f3ccf8a: Merge branch \'readonly-p4-donut\' into donut 2009-04-29 13:34:51 -07:00
Android (Google) Code Review
9ae8873ed8 Merge change 617 into donut
* changes:
  Allow caller-supplied column aliases in queries even when a projection map is used.
2009-04-29 13:31:13 -07:00
Android (Google) Code Review
137b0c9d64 am 0b8ffd1: Merge change 460 into donut
Merge commit '0b8ffd17bc6641fc522db3e842a868b6cdbf6d82'

* commit '0b8ffd17bc6641fc522db3e842a868b6cdbf6d82':
  More optimization of dumpsys output.
2009-04-29 13:11:27 -07:00
Android (Google) Code Review
649b1c6ec3 Merge change 736 into donut
* changes:
  CheckedTextView is abstract but can be inflated from XML. Let's be consistent and allow it to be used from Java code as well by making it non-abstract.
2009-04-29 13:06:31 -07:00
Android (Google) Code Review
efae672d73 Merge change 725 into donut
* changes:
  Add 'includeInGlobalSearch' attribute to searchable meta-data.
2009-04-29 13:03:47 -07:00
Bjorn Bringert
c1f4096064 Remove menu from SearchDialog.
Before, pressing MENU with the SearchDialog open would show
a menu item that launched the search settings activity. Now that
the search settings are accessible from the Settings app, this is
no longer needed.

Fixes http://b/issue?id=1819469 and http://b/issue?id=1817823
2009-04-29 20:49:56 +01:00
Bjorn Bringert
6d72e029cb Add 'includeInGlobalSearch' attribute to searchable meta-data.
The attribute is not yet public.
Also adds a SearchManager method for listing all
searchables that can be included in global search.
This is the framework part of http://b/issue?id=1819651
2009-04-29 20:23:04 +01:00
Romain Guy
8b5e7c046d CheckedTextView is abstract but can be inflated from XML. Let's be consistent and allow it to be used from Java code as well by making it non-abstract. 2009-04-29 11:48:22 -07:00
Wei Huang
b3624b9680 store contact id in messages table instead of contact name string; merge messages and group messages tables.
- removed GroupMessages API, groupchat messages are merged with messages. So where we used to have
  GroupMessages.CONTENT_URI, now we have Messages.GROUP_MESSAGES_CONTENT_URI. Messages api now has a flag
  IS_GROUP_CHAT to indicate that a message is a groupchat message.
- instead of storing 'provider', 'account', 'contact' in the messages table, store a 'thread_id' column instead.
  thread_id is really just the contact_id for both messages and groupchat messages.
- add getContentUriByThreadId() api, for now, retained the old getContentUriByContact(), but it's deprecated.
2009-04-29 11:46:21 -07:00
Patrick Scott
e82dc42052 Parse the base64 data before creating the data stream.
This will ensure that we do not parse the data in chunks when passing it to the
LoadListener. Decoding in chunks can lead to incomplete sequences which will
lead to a failed decode.

Check for a cancelled LoadListener in StreamLoader and stop the load. This is
just a shortcut for downloaded or failed resources.

Cleanup some of the LoadListener code around resetting a few member variables.
Reset them in the status callback since that indicates a new response from the
server (or StreamLoader).
2009-04-29 14:11:27 -04:00
Android (Google) Code Review
c5f1b92d0a Merge change 691 into donut
* changes:
  Fixes 1819406. Take a ListView, add headers/footers, set the adapter after at least one layout pass, and the headers/footers don't know they have a parent anymore. Which causes a lot of trouble, like drawing not happening.
2009-04-29 09:59:53 -07:00
Bjorn Bringert
203464af96 Add searchSuggestThreshold to searchable meta-data.
This lets the searchable activity specify the number of
characters needed to trigger suggestions. Before, this was
hard-coded at 0. This caused unnecessary querying of the
suggestion provider in cases where the provider does not
return suggestions for empty or short queries.

The attribute is not yet public, pending API council approval.
2009-04-29 13:02:54 +01:00
Android (Google) Code Review
493b00afbf Merge change 640 into donut
* changes:
  Add GLOBAL_SEARCH intent for finding global search provider.
2009-04-29 03:38:01 -07:00
Scott Main
8419fcdfaf am b8b3645: AI 147803: add docs and images for docs on Toast and Notifi
Merge commit 'b8b3645a9799c38ad68549316ebbf7a4849f2e0c' into donut

* commit 'b8b3645a9799c38ad68549316ebbf7a4849f2e0c':
  AI 147803: add docs and images for docs on Toast and  Notification docs
2009-04-28 21:54:15 -07:00
Scott Main
073bc611ce am 8a4c53a: AI 147732: fix broken links
Merge commit '8a4c53a7c7911b8f4c73a8fcfbbad3ac903b3367' into donut

* commit '8a4c53a7c7911b8f4c73a8fcfbbad3ac903b3367':
  AI 147732: fix broken links
2009-04-28 21:54:10 -07:00
Scott Main
af3289e444 am 620986a: AI 147438: add app widget docs to dev guide
Merge commit '620986a358c522178ddfc5c0088b2a5e1768e5ae' into donut

* commit '620986a358c522178ddfc5c0088b2a5e1768e5ae':
  AI 147438: add app widget docs to dev guide
2009-04-28 21:54:07 -07:00
Mitsuru Oshima
13735a255d Merge branch 'readonly-p4-donut' into donut 2009-04-28 18:13:25 -07:00
Mitsuru Oshima
8169daed2f AI 147976: Compatibility mode support. Part 2.
* Introduced ApplicationScale (may not be good name. CompatibilityScale? CanvasScale? Pls let me know if you have better idea)
  * Changes to RootView / SurfaceView
  - Makes the app believe it's running in the supported density/resolution.
  - Makes the window manager believe it's running at the right density/resolution.
  * Added methods to Rect/Event for scaling up/down.
  Known issues:
  * certain kind of images (such as nine patch for buttons) seesm to be loaded not by app, thus does not take the scale into account,
  which, in turn, is causing layout issue.
  * ZoomButton in MapView is rendered in wrong place
  * Transparent region on Surface is not correct
  * Specifying different densities in one process is not working.
  BUG=1770627

Automated import of CL 147976
2009-04-28 18:12:09 -07:00
Romain Guy
2e447d46d9 Fixes 1819406. Take a ListView, add headers/footers, set the adapter after at least one layout pass, and the headers/footers don't know they have a parent anymore. Which causes a lot of trouble, like drawing not happening. 2009-04-28 18:01:24 -07:00
Karl Rosaen
98e333f551 Fix back key and ime behavior for search dialog.
The back key now dismisses the soft keyboard, and then the dialog.

The soft keyboard behavior is improved by having ACTV do the following when 'mDropdownAlwaysShowing' is true:
- touching outside of the drop down doesn't dismiss it
- touching the text field ensures the imei is brought in front of the drop down
2009-04-28 15:52:30 -07:00
Android (Google) Code Review
42fba356cf Merge change 331
* changes:
  Add option for gtalk stream compression
2009-04-28 15:36:33 -07:00
Leon Scroggins
2ca912ec13 Lazily initialize the TextDialog. 2009-04-28 17:18:57 -04:00
Android (Google) Code Review
e4de845ec2 Merge change 625 into donut
* changes:
  fix 1812272 SensorManager method returns hidden object
2009-04-28 13:19:23 -07:00
Android (Google) Code Review
6fcddb05ee Merge change 629 into donut
* changes:
  Display the app icon to the left of the search field for search within apps.
2009-04-28 13:18:06 -07:00
Android (Google) Code Review
77c9990ae0 Merge change 599 into donut
* changes:
  Add call to (new) Canvas.freeCaches() in response to low-memory
2009-04-28 12:28:47 -07:00
Android (Google) Code Review
190b75733c Merge change 611
* changes:
  change the IsolatedContext to have a test version of the AccountManager that has no IBinder to the AccountManagerService.
2009-04-28 10:56:48 -07:00
Patrick Scott
f0c70a8356 Treat application/xhtml+xml as xhtml+xml instead of text/html.
Previously we had converted application/xhtml+xml to text/html because of bad
server data. Now we need to treat xhtml as xhtml to get svg to be interpreted
correctly.
2009-04-28 11:47:11 -04:00
Bjorn Bringert
74708bbdf8 Add GLOBAL_SEARCH intent for finding global search provider. 2009-04-28 12:15:56 +01:00
Mike LeBeau
1fd73239dc Display the app icon to the left of the search field for search within apps. 2009-04-27 19:12:05 -07:00