1216 Commits

Author SHA1 Message Date
Romain Guy
db567c390b Move the Gestures API to the framework in android.gesture. 2009-05-21 18:12:56 -07:00
Dianne Hackborn
47588ef1a2 am c4d5d026: Add new window manager type for a hacking second-level media surface.
Merge commit 'c4d5d02667af6989a3121072871f6a4b1e68b594'

* commit 'c4d5d02667af6989a3121072871f6a4b1e68b594':
  Add new window manager type for a hacking second-level media surface.
2009-05-21 17:54:44 -07:00
Dianne Hackborn
c4d5d02667 Add new window manager type for a hacking second-level media surface.
This adds a new window type that is a surface that sits between the
current media type and the application window, in theory allowing you
to have two surface views in your hierarchy and control their
Z-ordering.  There is also another hidden API on SurfaceView to set
the type of your window.

All a big hack, but for the good of the commonwealth!
2009-05-21 17:50:33 -07:00
Leon Scroggins
213a31c7d5 Fix some Java mistakes found by FindBugs.
Use Integer.valueOf() instead of new Integer()
Eliminate unused fields in InvokeListBox
Make FocusNode, HitTestRequest, and ExtendedZoomControls
static inner classes.
2009-05-21 16:49:32 -07:00
Owen Lin
ab18d1f46a Fix SQLite limit issue.
SQLLite limit is not only used to limit the returned number of data.
It can be used to do an offset query.

For example, "SELECT * FROM table LIMIT 100, 10", will return the
data of index in the range of [100, 100 + 10).

This change set enable this kind of useage.

This is also more efficient than use "cursor.moveToPosition()".
In my experiment, I query 1000 items in batch mode, i.e.,
get 20 items out of 1000 each time.

    Time of using LIMIT clause: 626ms
    Time of useing "cursor.moveToPosition()": 2062ms
2009-05-21 15:22:28 -07:00
Android (Google) Code Review
9cb60109f0 am d1874747: Merge change 2202 into donut
Merge commit 'd1874747c281e3277980fe7318f9007643a25f60'

* commit 'd1874747c281e3277980fe7318f9007643a25f60':
  Fixes external http://code.google.com/p/android/issues/detail?id=2732. ExpandableListView is wrongly assuming that the saved state if of the correct type. A similar bug fix was made in TextView.onRestoreInstanceState() a while ago. This fix simply ensures that the state received is of the right type.
2009-05-21 13:16:00 -07:00
Android (Google) Code Review
d1874747c2 Merge change 2202 into donut
* changes:
  Fixes external http://code.google.com/p/android/issues/detail?id=2732. ExpandableListView is wrongly assuming that the saved state if of the correct type. A similar bug fix was made in TextView.onRestoreInstanceState() a while ago. This fix simply ensures that the state received is of the right type.
2009-05-21 13:14:12 -07:00
Romain Guy
7444e147a8 Fixes external http://code.google.com/p/android/issues/detail?id=2732. ExpandableListView is wrongly assuming that the saved state if of the correct type. A similar bug fix was made in TextView.onRestoreInstanceState() a while ago. This fix simply ensures that the state received is of the right type. 2009-05-21 12:54:16 -07:00
Android (Google) Code Review
62857dc05e am 6dd1bb71: Merge change 2170 into donut
Merge commit '6dd1bb71dbafbacd87e46b736888cb1371ddd53a'

* commit '6dd1bb71dbafbacd87e46b736888cb1371ddd53a':
  Trigger the LocationManager whenever the SearchDialog is shown
2009-05-21 10:46:06 -07:00
Android (Google) Code Review
6dd1bb71db Merge change 2170 into donut
* changes:
  Trigger the LocationManager whenever the SearchDialog is shown (and stop when the SearchDialog is stopped). This way we get a network-based location quickly so that by the time any location- based suggestion provider wants to do suggestions, it's likely to have a good fresh location.
2009-05-21 10:44:44 -07:00
Android (Google) Code Review
51ec709aee Merge change 1940
* changes:
  handle OTR messages by storing them in an in-memory table; remove groupchat message urls since we can get to messages by thread ids.
2009-05-21 10:08:09 -07:00
Android (Google) Code Review
9b1e1400df am 8c690ea9: Merge change 2182 into donut
Merge commit '8c690ea9976d644db3c96eddbbbd2d50eac56913'

* commit '8c690ea9976d644db3c96eddbbbd2d50eac56913':
  location: Replace ILocationCollector interface with new ILocationProvider method
2009-05-21 09:42:38 -07:00
Android (Google) Code Review
9178bd31ae am 3343af5f: Merge change 1863 into donut
Merge commit '3343af5fdb10ace9e593d042fedcd9b42e322a95'

* commit '3343af5fdb10ace9e593d042fedcd9b42e322a95':
  Center the progress message for GoogleWebContentHelper (bug #1548858).
2009-05-21 09:42:17 -07:00
Android (Google) Code Review
8c690ea997 Merge change 2182 into donut
* changes:
  location: Replace ILocationCollector interface with new ILocationProvider method
2009-05-21 08:52:25 -07:00
Mike Lockwood
fd6e5f0dda location: Replace ILocationCollector interface with new ILocationProvider method
This change replaces ILocationCollector with a more general mechanism that
passes locations received from a provider to all other providers.
The network location provider now uses this to implement the location collector.
In the future, this could be used to inject network locations to the GPS
as aiding data.

This change also removes the now obsolete permission INSTALL_LOCATION_COLLECTOR.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-21 11:28:20 -04:00
Android (Google) Code Review
3343af5fdb Merge change 1863 into donut
* changes:
  Center the progress message for GoogleWebContentHelper (bug #1548858).
2009-05-21 04:43:31 -07:00
Android (Google) Code Review
cd7bd8cd81 am f9c7d9a7: Merge change 2147 into donut
Merge commit 'f9c7d9a75b2355d8ad8282d9b4cf817c77ea8b10'

* commit 'f9c7d9a75b2355d8ad8282d9b4cf817c77ea8b10':
  Add support to SuggestionsAdapter to query the 'working' status
2009-05-20 22:44:21 -07:00
The Android Open Source Project
bb59a9f428 Merge commit 'f479aa0900e9a85afdc78b1048684e37579ebf23'
Conflicts:
	api/current.xml
	core/res/res/values/public.xml
2009-05-20 22:41:10 -07:00
Android (Google) Code Review
f9c7d9a75b Merge change 2147 into donut
* changes:
  Add support to SuggestionsAdapter to query the 'working' status of its underlying cursor and update a spinner in the search dialog accordingly.
2009-05-20 20:34:49 -07:00
Mike LeBeau
1c69075151 Trigger the LocationManager whenever the SearchDialog is shown
(and stop when the SearchDialog is stopped). This way we get a
network-based location quickly so that by the time any location-
based suggestion provider wants to do suggestions, it's likely
to have a good fresh location.
2009-05-20 20:20:26 -07:00
The Android Open Source Project
3df6270d45 Merge branch 'master' of ssh://android-git.corp.google.com:29418/platform/frameworks/base 2009-05-20 17:34:17 -07:00
Mike LeBeau
1480eb27f5 Add support to SuggestionsAdapter to query the 'working' status
of its underlying cursor and update a spinner in the search dialog
accordingly.
2009-05-20 17:22:13 -07:00
Dianne Hackborn
f479aa0900 Add padding to public.xml to avoid breaking from auto-merges. 2009-05-20 16:30:59 -07:00
Android (Google) Code Review
1854d7fc79 am b204d4f1: Merge change 2136 into donut
Merge commit 'b204d4f12773ec67c7f0ded41cb111018f154476'

* commit 'b204d4f12773ec67c7f0ded41cb111018f154476':
  First pass at cleaning up the gestures code.
2009-05-20 16:14:18 -07:00
Android (Google) Code Review
8fe20fc21e am aa983388: Merge change 1932 into donut
Merge commit 'aa9833885d89d42a0cd0b4202485e67b63d51412'

* commit 'aa9833885d89d42a0cd0b4202485e67b63d51412':
  Qualify a type and add some explanatory comments.
2009-05-20 16:14:16 -07:00
Romain Guy
190ca2a578 am a6cd4e03: Fix NPE at boot.
Merge commit 'a6cd4e03e6bde0c4b76ad7290eb2c527398478d1'

* commit 'a6cd4e03e6bde0c4b76ad7290eb2c527398478d1':
  Fix NPE at boot.
2009-05-20 16:14:08 -07:00
Android (Google) Code Review
b204d4f127 Merge change 2136 into donut
* changes:
  First pass at cleaning up the gestures code.
2009-05-20 15:37:45 -07:00
Android (Google) Code Review
aa9833885d Merge change 1932 into donut
* changes:
  Qualify a type and add some explanatory comments.
2009-05-20 15:28:36 -07:00
Nick Pelly
f5e17310d1 Remove Database.java API.
This provided SDP functionality to Java, but is not currently used by any Apps.

I will shortly be providing SDP functionality in a new API, but it will be
quite different to this one, and in the mean-time keeping this stale code
updated with other API changes is a pain.
2009-05-20 15:24:14 -07:00
Android (Google) Code Review
009b32dc8b Merge change 2109 into donut
* changes:
  Add option for gtalk stream compression
2009-05-20 15:22:02 -07:00
Romain Guy
c534727972 First pass at cleaning up the gestures code. 2009-05-20 15:10:45 -07:00
Romain Guy
a6cd4e03e6 Fix NPE at boot. 2009-05-20 15:09:21 -07:00
Dianne Hackborn
9d248d4ab4 am d62ad4f1: Fix issue #1859814: Add android.os.Build.MANUFACTURER
Merge commit 'd62ad4f120e92fd597f44caf125ac853ac0ea11c'

* commit 'd62ad4f120e92fd597f44caf125ac853ac0ea11c':
  Fix issue #1859814: Add android.os.Build.MANUFACTURER
2009-05-20 13:26:02 -07:00
Dianne Hackborn
d62ad4f120 Fix issue #1859814: Add android.os.Build.MANUFACTURER 2009-05-20 13:21:59 -07:00
Android (Google) Code Review
1f7f391af2 am 4174e268: Merge change 2094 into donut
Merge commit '4174e2682f4eb6ea35c84e35810312967ea7e233'

* commit '4174e2682f4eb6ea35c84e35810312967ea7e233':
  Fixes #1866819.\nTextView sets the bounds of its compound drawables to contain only the width and the height of the drawables. This causes View.invalidateDrawable() to invalidate the compound drawables at location (0, 0) within the view, thus invalidating the wrong part of the View. This prevents animation from running correctly when using animated drawable. This change overrides invalidateDrawable() in TextView to take into account the real position of the compound drawable.
2009-05-20 13:15:11 -07:00
Android (Google) Code Review
4174e2682f Merge change 2094 into donut
* changes:
  Fixes #1866819.\nTextView sets the bounds of its compound drawables to contain only the width and the height of the drawables. This causes View.invalidateDrawable() to invalidate the compound drawables at location (0, 0) within the view, thus invalidating the wrong part of the View. This prevents animation from running correctly when using animated drawable. This change overrides invalidateDrawable() in TextView to take into account the real position of the compound drawable.
2009-05-20 13:13:42 -07:00
Costin Manolache
b84905662f Add option for gtalk stream compression 2009-05-20 13:12:36 -07:00
Wei Huang
0ba58de236 handle OTR messages by storing them in an in-memory table; remove groupchat message urls since we can get to messages by thread ids. 2009-05-20 13:07:37 -07:00
Mathias Agopian
0795272aa2 move libbinder's header files under includes/binder 2009-05-20 12:55:03 -07:00
Mathias Agopian
25ba5b6564 checkpoint: split libutils into libutils + libbinder 2009-05-20 12:55:02 -07:00
Android (Google) Code Review
bad962bf40 am e2914615: Merge change 2099 into donut
Merge commit 'e29146158b6048936671decc060d398a68333fc0'

* commit 'e29146158b6048936671decc060d398a68333fc0':
  Hook up the backup data writer, and add a utility to read the backup data files.
2009-05-20 11:58:08 -07:00
Android (Google) Code Review
098d645a41 am 40f5a4ea: Merge change 2089 into donut
Merge commit '40f5a4ea3bc90e43a442ab336f2342020bba86b3'

* commit '40f5a4ea3bc90e43a442ab336f2342020bba86b3':
  Update searchables list in getSearchablesInGlobalSearch().
2009-05-20 11:49:54 -07:00
Android (Google) Code Review
681b1de3c7 am a5ca3425: Merge change 2017 into donut
Merge commit 'a5ca3425f9cbb930dc62559893590432ed29c961'

* commit 'a5ca3425f9cbb930dc62559893590432ed29c961':
  Increment BatteryStatsImpl's VERSION.
2009-05-20 11:49:34 -07:00
Romain Guy
3c77d39ee8 Fixes #1866819.\nTextView sets the bounds of its compound drawables to contain only the width and the height of the drawables. This causes View.invalidateDrawable() to invalidate the compound drawables at location (0, 0) within the view, thus invalidating the wrong part of the View. This prevents animation from running correctly when using animated drawable. This change overrides invalidateDrawable() in TextView to take into account the real position of the compound drawable. 2009-05-20 11:26:50 -07:00
Joe Onorato
d2110dbce0 Hook up the backup data writer, and add a utility to read the backup data files. 2009-05-20 11:24:20 -07:00
Android (Google) Code Review
40f5a4ea3b Merge change 2089 into donut
* changes:
  Update searchables list in getSearchablesInGlobalSearch().
2009-05-20 11:15:05 -07:00
Bjorn Bringert
a48a5af931 Update searchables list in getSearchablesInGlobalSearch().
Should fix http://b/issue?id=1866432
2009-05-20 17:58:39 +01:00
Patrick Scott
b5b33c734a Order high priority requests in the same order they are requested.
Use a class to hold the high priority requests and low priority requests. Each
request is appended to the correct list in the order received. If a request
needs to be requeued after an error, it is placed at the head of the
corresponding list.
2009-05-20 12:10:25 -04:00
Android (Google) Code Review
a5ca3425f9 Merge change 2017 into donut
* changes:
  Increment BatteryStatsImpl's VERSION. That'll make it stop trying to interpret older records with the new format. Also applied other comments involving name changes to remove un-needed 'Wifi' labels in WifiManager API, etc.
2009-05-20 09:06:22 -07:00
Android (Google) Code Review
ab66d5c9fa am 90bd7338: Merge change 2075 into donut
Merge commit '90bd7338df76c0a6185f4ff2fe7f981fa1a1d36c'

* commit '90bd7338df76c0a6185f4ff2fe7f981fa1a1d36c':
  Fix bad filtering of error code when set_position_mode() is being called.
2009-05-20 08:54:42 -07:00