Commit Graph

496 Commits

Author SHA1 Message Date
Mathias Agopian
35801cea5f minor clean-up to Rect and Point.
- return "const" objects for overloaded operators to disallow constructs like: (a+b) = c;
- don't return references to non-static members, it's not always safe.
- Point.cpp was empty, so get rid of it
2009-05-26 17:47:39 -07:00
Dirk Dougherty
7419ebc96f am 522ab34d: AI 149272: Mark 1.5r1 as a "non-current" release, with pointer to 1.5r2. BUG=1790234
Merge commit '522ab34d3821dc760e10f4bdf3fbdb558c6a1d01' into donut

* commit '522ab34d3821dc760e10f4bdf3fbdb558c6a1d01':
  AI 149272: Mark 1.5r1 as a "non-current" release, with pointer to 1.5r2.
2009-05-26 16:59:33 -07:00
Android (Google) Code Review
fd7e2f74d2 Merge change 2468 into donut
* changes:
  setVolume did not check interface descriptor DO NOT MERGE
2009-05-26 16:23:08 -07:00
Dirk Dougherty
8f5c7f12db am 1d6cb270: AI 149267: Add the images for icon guidelines doc BUG=1790234
Merge commit '1d6cb270a53e45e6370dfdd60954269c76b09d28' into donut

* commit '1d6cb270a53e45e6370dfdd60954269c76b09d28':
  AI 149267: Add the images for icon guidelines doc
2009-05-26 15:03:43 -07:00
Android (Google) Code Review
27e75bef99 Merge change 2434 into donut
* changes:
  Removed Matrix from spatial sampling for GestureUtilities - updated the letter training file
2009-05-26 15:02:59 -07:00
Android (Google) Code Review
0767349f88 Merge change 2465 into donut
* changes:
  Fix crash in GestureOverlayView
2009-05-26 14:40:45 -07:00
Android (Google) Code Review
7b8ca6fa1c Merge change 2393 into donut
* changes:
  Remove dimmed background (and accompanying animation) for global search, since we should never really see that background anyway, and I suspect the animation is using a significant amount of CPU.
2009-05-26 10:33:55 -07:00
Android (Google) Code Review
55be03e189 Merge change 2331 into donut
* changes:
  Fix issue 1846343 - part 1
2009-05-26 10:04:50 -07:00
Dirk Dougherty
49f98ce10d am f3043db0: AI 149251: Add 1.x Icon Guidelines doc and template pack. BUG=1790234
Merge commit 'f3043db05bdd5424504dd479082fc8554676a682' into donut

* commit 'f3043db05bdd5424504dd479082fc8554676a682':
  AI 149251: Add 1.x Icon Guidelines doc and template pack.
2009-05-26 10:03:04 -07:00
Android (Google) Code Review
f0061c23a1 Merge change 2431 into donut
* changes:
  wifi: Fix problem parsing RSSI when the AP name contains a space.
2009-05-26 08:35:51 -07:00
Eric Laurent
570dd0b4da Fix issue 1846343 - part 1
This change is the first part of a fix for issue 1846343, :
- Added new enum values for input sources in AudioRecord and MediaRecorder for voice uplink, downlink and uplink+downlink sources.
- renamed streamType to inputSource in all native functions handling audio record.

A second change is required in opencore author driver and android audio input to completely fix the issue.
2009-05-26 07:44:28 -07:00
Android (Google) Code Review
dd9d5f68eb Merge change 2347 into donut
* changes:
  Fix Disconnect path for CDMA.
2009-05-26 06:42:42 -07:00
Android (Google) Code Review
d4cabd7879 Merge change 418 into donut
* changes:
  add additional CdmaDataConnectionTracker event logging
2009-05-25 23:34:59 -07:00
Android (Google) Code Review
bdb4a859cc Merge change 2302 into donut
* changes:
  added SmsMessage ConcatRef parsing validation
2009-05-25 23:23:18 -07:00
Android (Google) Code Review
e923e42d06 Merge change 2408 into donut
* changes:
  Manual merge from cupcake_dcm. internal CL#148693. Two donottranslate.xml-s are already submitted.
2009-05-25 00:58:57 -07:00
Android (Google) Code Review
023d77e67b Merge change 2407 into donut
* changes:
  Manual merge from cupcake_dcm.
2009-05-25 00:56:32 -07:00
Android (Google) Code Review
cffeb9beb5 Merge change 2402 into donut
* changes:
  Cleanup Gestures API and make it easier to use in 3rd party apps. Also fix the events processing in the gestures overlay mechanism. Give better control of the various properties of the overlay through XML attributes.
2009-05-24 23:47:30 -07:00
Android (Google) Code Review
ca7b80e431 Merge change 2359 into donut
* changes:
  Fix for the simultor build breakage.
2009-05-23 14:05:50 -07:00
Android (Google) Code Review
7cd5339b11 Merge change 2397 into donut
* changes:
  Fixes NPE in ListViews with non-selectable items. This was caused by a weird initialization issue in ListView and AbsListView: a private final field instanciated in the declaration in ListView was used in AbsListView<init> via an overriden method and that field was somehow null at this time. This fix moves the instanciation at a later point.
2009-05-23 13:27:18 -07:00
Android (Google) Code Review
9ec1f94ab8 Merge change 2364 into donut
* changes:
  Initial checkin for App Fuel Gauge infrastructure.
2009-05-22 19:40:33 -07:00
Dirk Dougherty
43c8d87aac 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
Android (Google) Code Review
f6472092d9 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
Nicolas Catania
b4c4265f9e Fix for the simultor build breakage.
Added missing include sys/time.h for utimes.

Detects when stat64 uses a timespec for the modif and access times
and work around the missing st_*time_nsec.

Apologies for the whitespace changes, emacs removed them automatically.
2009-05-22 15:54:26 -07:00
Jean-Baptiste Queru
1a15abad22 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
e56f65cc2d 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
39c7e96b2a 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
Android (Google) Code Review
b6333b34a2 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
3f256f34e2 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
512837cef2 Reconcile cupcake history into donut
Merge commit '5d6d773fab559fdc12e553d60d789f3991ac552c' into HEAD
2009-05-22 14:35:33 -07:00
Dianne Hackborn
8af0f82d89 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
d95aabc9eb This should fix the simulator build. 2009-05-22 12:25:56 -07:00
Jean-Michel Trivi
a4e40fa924 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
610de0974e 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
Android (Google) Code Review
454a625588 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
e79c26d2c6 Merge change 2318 into donut
* changes:
  Fixed vertical text position in search suggestion items.
2009-05-22 08:45:11 -07:00
Android (Google) Code Review
840964f714 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
Android (Google) Code Review
fa33ce45da Merge change 2299 into donut
* changes:
  fix build breakage
2009-05-21 21:12:59 -07:00
Android (Google) Code Review
1131392281 Merge change 2292 into donut
* changes:
  split boot animation out of SurfaceFlinger
2009-05-21 19:33:59 -07:00
Mathias Agopian
a1ecca920e split boot animation out of SurfaceFlinger
Conflicts:

	data/etc/platform.xml
2009-05-21 19:21:59 -07:00
Android (Google) Code Review
156f418aa8 Merge change 2285 into donut
* changes:
  Move the Gestures API to the framework in android.gesture.
2009-05-21 18:16:51 -07:00
Android (Google) Code Review
1bdc51faa8 Merge change 2227 into donut
* changes:
  Add header declaring the interface for TTS engines to implement.
2009-05-21 16:13:52 -07:00
San Mehat
a00a0851c3 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
c7104572aa Add header declaring the interface for TTS engines to implement. 2009-05-21 15:32:11 -07:00
Android (Google) Code Review
e673f167c3 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
30236665ea Merge change 2218 into donut
* changes:
  Fixed SD card access permission issue in manifest
2009-05-21 14:48:03 -07:00
Android (Google) Code Review
d78ab096db 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
Dave Sparks
46e2597e88 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
9653c3b047 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
7118052e31 Merge commit '7b7225c8fdbead25235c74811b30ff4ee690dc58' into manual_merge
Conflicts:
	camera/libcameraservice/CameraService.cpp
2009-05-21 10:17:23 -07:00
Dave Sparks
fec880df27 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