1240 Commits

Author SHA1 Message Date
Dianne Hackborn
b181118b6e Define TARGET_CPU_ABI for finding native code in .apks 2009-05-22 18:45:25 -07:00
Dirk Dougherty
5b6a5cee4c am 3f9de8b6: AI 149211: Doc updates for Android 1.5 SDK, r2. BUG=1790234
Merge commit '3f9de8b6caa3fe9119b363c64e79d13bb72aec76' into donut

* commit '3f9de8b6caa3fe9119b363c64e79d13bb72aec76':
  AI 149211: Doc updates for Android 1.5 SDK, r2.
2009-05-22 16:05:59 -07:00
Dirk Dougherty
3f9de8b6ca AI 149211: Doc updates for Android 1.5 SDK, r2.
BUG=1790234

Automated import of CL 149211
2009-05-22 16:04:18 -07:00
Android (Google) Code Review
17af14d813 Merge change 2289 into donut
* changes:
  Add AIDL files for the TTS service and the associated callback service (to signal synthesis completion).
2009-05-22 15:59:29 -07:00
Jean-Baptiste Queru
02e572140a Merge open-source donut back into internal tree
Merge commit '4cf03d381b2dff908857fceff0bec445f8d44f36' into HEAD
2009-05-22 15:43:13 -07:00
Android (Google) Code Review
53cf55c64f Merge change 2349 into donut
* changes:
  Change the media key algorithm to also ignore double quotes.
2009-05-22 15:35:26 -07:00
Dirk Dougherty
73c551d258 am 22629944: AI 149208: Remove statement about WIndows codecs and licensing. BUG=1839672
Merge commit '226299446197689499bc3c7dc44d0026745da677' into donut

* commit '226299446197689499bc3c7dc44d0026745da677':
  AI 149208: Remove statement about WIndows codecs and licensing.
2009-05-22 15:13:06 -07:00
Dirk Dougherty
2262994461 AI 149208: Remove statement about WIndows codecs and licensing.
BUG=1839672

Automated import of CL 149208
2009-05-22 15:11:27 -07:00
Android (Google) Code Review
d50a458bb2 Merge change 2351 into donut
* changes:
  Fix a major bug in Bundle when unparcelling from AIDL.
2009-05-22 14:51:22 -07:00
Android (Google) Code Review
4e1afc1a56 Merge change 2361 into donut
* changes:
  Fixes #1872506. Prevents NPE in ListView. When the opaque property changes at runtime, it is possible to end up in a situation in which the divider's Paint instance has not been instanciated. This change simples uses a final Paint that is guaranteed to not be null.
2009-05-22 14:49:19 -07:00
Jean-Baptiste Queru
4cf03d381b Reconcile cupcake history into donut
Merge commit '5d6d773fab559fdc12e553d60d789f3991ac552c' into HEAD
2009-05-22 14:35:33 -07:00
Romain Guy
b6888167d3 Fixes #1872506. Prevents NPE in ListView. When the opaque property changes at runtime, it is possible to end up in a situation in which the divider's Paint instance has not been instanciated. This change simples uses a final Paint that is guaranteed to not be null. 2009-05-22 14:09:29 -07:00
Dianne Hackborn
6aff905048 Fix a major bug in Bundle when unparcelling from AIDL.
There was a serious problem in the Bundle(Parcel) and readFromParcel() methods,
where it wasn't doing the copying of the Parcel that Parcel.readBundle() does
and is a basic requirement for it to work correctly.

This re-arranges the code to make all of these functions (hopefully) correct.

Also fix a problem in Parcel where we were not duping fds when copying data from
one Parcel to another.
2009-05-22 13:51:47 -07:00
Marco Nelissen
7198030fce This should fix the simulator build. 2009-05-22 12:25:56 -07:00
Marco Nelissen
e754e128e6 Change the media key algorithm to also ignore double quotes. 2009-05-22 12:22:16 -07:00
Jean-Michel Trivi
2c0c2af2ea Add AIDL files for the TTS service and the associated callback service (to signal synthesis completion). 2009-05-22 11:45:26 -07:00
Android (Google) Code Review
9d892a8e30 Merge change 2336 into donut
* changes:
  dumpstate: Add to AID_SDCARD_RW group to fix saving bugreports to the SD card.
2009-05-22 10:40:48 -07:00
Mike Lockwood
472be48007 dumpstate: Add to AID_SDCARD_RW group to fix saving bugreports to the SD card.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-22 13:31:42 -04:00
Android (Google) Code Review
9681a5e06b Merge change 2230 into donut
* changes:
  runtime: Add CAP_SYS_NICE to the system server capabilities list so it can (eventually) move arbitrary threads into different cgroups
2009-05-22 08:47:54 -07:00
Android (Google) Code Review
36e862a699 Merge change 2318 into donut
* changes:
  Fixed vertical text position in search suggestion items.
2009-05-22 08:45:11 -07:00
Romain Guy
380cd96e5d Fix the build 2009-05-22 07:32:41 -07:00
Bjorn Bringert
eb128730b5 Fixed vertical text position in search suggestion items.
Background:

mlebeau said: "Cole had complained that the vertical alignment of the
text fields in search_dropdown_item_icons_2line.xml was a little
off. Specifically, when both lines are visible he wanted to see line1
pushed down 2-4 pixels (while keeping line2 in the same position as
now), and when only line1 is visible, he said it needed to be pushed
up 2-4 pixels from current."

Here's how the layout worked before (note that text2 and text1
are in this order in the layout file):

- If text2 is present, it is put at the bottom, with height set by
  layout_height (currently 29dip) .  - The line2 text is put at the top
  of text2 (gravity=top).

- I think the paddingBottom=4dip in text2 has no effect, since the
  text is top-aligned anyway.

- text1 is put at the top of the list item. If text2 is present, it
  will have height 29dip (58 dip - 29 dip height of text2). It's a bit
  weird, layout_height of text1 is completely ignored, but it has to be
  set to something. If text2 is missing, it will fill the entire list
  item height (58 dip).

- The line1 text is placed 4dip below the vertical center of text1
  (4dip because of paddingTop).

Now, instead, text1 has height=wrap_content, and is placed right above
text2, if that's present. If text2 is absent, text1 is centered
vertically in the list item. This should have the desired effect.
If we want to tweak the positioning further in the case where text2
is visible, we can adjust the padding of text1.
2009-05-22 13:42:29 +01:00
Romain Guy
c0292b0440 Fix the build 2009-05-22 02:39:24 -07:00
Android (Google) Code Review
f41c640d84 Merge change 2305 into donut
* changes:
  Add a new API to ListView: setGestures(int). This allows developers to enable gestures to jump inside the list or filter it. This change also introduces a new XML attribute to control this API. It also adds the ability to theme the GestureOverlayView from the gestures library. Finally, this adds a new VERSION header to the binary format used to store the letters for the recognizer.
2009-05-22 02:02:57 -07:00
Romain Guy
d6a463a9f2 Add a new API to ListView: setGestures(int). This allows developers to enable gestures to jump inside the list or filter it. This change also introduces a new XML attribute to control this API. It also adds the ability to theme the GestureOverlayView from the gestures library. Finally, this adds a new VERSION header to the binary format used to store the letters for the recognizer. 2009-05-22 01:59:59 -07:00
Android (Google) Code Review
84ce47e64f Merge change 2299 into donut
* changes:
  fix build breakage
2009-05-21 21:12:59 -07:00
Daisuke Miyakawa
77f57f67c7 fix build breakage 2009-05-22 13:12:18 +09:00
Android (Google) Code Review
69a6c3ebd4 Merge change 2292 into donut
* changes:
  split boot animation out of SurfaceFlinger
2009-05-21 19:33:59 -07:00
Mathias Agopian
627e7b50be split boot animation out of SurfaceFlinger
Conflicts:

	data/etc/platform.xml
2009-05-21 19:21:59 -07:00
Android (Google) Code Review
cfcc0df265 Merge change 2285 into donut
* changes:
  Move the Gestures API to the framework in android.gesture.
2009-05-21 18:16:51 -07:00
Romain Guy
db567c390b Move the Gestures API to the framework in android.gesture. 2009-05-21 18:12:56 -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
Android (Google) Code Review
384bfa270c Merge change 2227 into donut
* changes:
  Add header declaring the interface for TTS engines to implement.
2009-05-21 16:13:52 -07:00
Yang Li
ac6a4b8eab Renamed setGestureType in GestureLibrary 2009-05-21 16:08:35 -07:00
San Mehat
ca63bb72ef runtime: Add CAP_SYS_NICE to the system server capabilities list so it
can (eventually) move arbitrary threads into different cgroups

Signed-off-by: San Mehat <san@google.com>
2009-05-21 15:34:56 -07:00
Jean-Michel Trivi
895fb8e5f3 Add header declaring the interface for TTS engines to implement. 2009-05-21 15:32:11 -07:00
Romain Guy
b6d99b7d17 Modify how GestureLibrary stores its data. The XML format is now replaced by a more efficient binary format which should speed up saving/loading. The format is very similar to the one used by the letters recognizer. The format is documented in GestureLibrary.java. 2009-05-21 15:26:46 -07:00
Android (Google) Code Review
aeed1816b7 Merge change 2219 into donut
* changes:
  Updated LetterRecognizer & related gesture recognition code - added personalization for letter recognizer
2009-05-21 15:03:57 -07:00
Android (Google) Code Review
0dc9a4bbbd Merge change 2218 into donut
* changes:
  Fixed SD card access permission issue in manifest
2009-05-21 14:48:03 -07:00
Yang Li
e6ea003ab6 Updated LetterRecognizer & related gesture recognition code
- added personalization for letter recognizer
2009-05-21 14:47:59 -07:00
Guang Zhu
73f60763cb Fixed SD card access permission issue in manifest
On branch b1869634_sdcard_perm
 Changes to be committed:
   (use "git reset HEAD <file>..." to unstage)

	modified:   tests/DumpRenderTree/AndroidManifest.xml
2009-05-21 14:44:58 -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
Dave Sparks
f84d654cf9 am 4d8adefd: AI 149136: Restore RECORD_AUDIO permission check to MediaRecorder. When we moved the media recorder to the media server process, we lost the permission check that was done at the process boundary in the AudioRecord binder interface because the AudioRecord object is created in the same process. This change adds a permission check in the MediaRecorderClient:setAudioSource() method. BUG=1868334
Merge commit '4d8adefd35efdea849611b8b02d61f9517e47760' into donut

* commit '4d8adefd35efdea849611b8b02d61f9517e47760':
  AI 149136: Restore RECORD_AUDIO permission check to MediaRecorder.
2009-05-21 11:57:52 -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
Dave Sparks
7283fb1802 Merge commit '7b7225c8fdbead25235c74811b30ff4ee690dc58' into manual_merge
Conflicts:
	camera/libcameraservice/CameraService.cpp
2009-05-21 10:17:23 -07:00
Dave Sparks
4d8adefd35 AI 149136: Restore RECORD_AUDIO permission check to MediaRecorder.
When we moved the media recorder to the media server process, we lost
  the permission check that was done at the process boundary in the
  AudioRecord binder interface because the AudioRecord object is created
  in the same process. This change adds a permission check in the
  MediaRecorderClient:setAudioSource() method.
  BUG=1868334

Automated import of CL 149136
2009-05-21 10:02:21 -07:00
Dave Sparks
7b7225c8fd AI 149133: Enable the camera permission check.
Some debugging code was added to camera service. Later it was #ifdef'd
  out, but this change also removed the camera permission check. This
  change puts the permission check back in.
  BUG=1869264

Automated import of CL 149133
2009-05-21 09:18:18 -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