Marc Capdevielle
ce760cd6df
Use a circular buffer in VelocityTracker
...
Optimizes the frequently called addPoint() method while keeping the
same velocity computation.
Thx Cyril Mottier for help and tests.
2010-02-03 11:15:38 +01:00
Mike Lockwood
8ab11f87ac
Fix for GPS engines without separate session and engine status events.
...
GPS_STATUS_SESSION_BEGIN now implies GPS_STATUS_ENGINE_ON
and GPS_STATUS_ENGINE_OFF now implies GPS_STATUS_SESSION_END.
Change-Id: Ifeeb1d5094d1e7304974b7c3ac27dd83b1e65bca
Signed-off-by: Mike Lockwood <lockwood@android.com >
2010-02-02 13:26:52 -05:00
Mike Lockwood
c2a6738215
Be tolerant of GPS session and engine on status messages arriving out of order.
...
BUG: 2366194
Change-Id: Iac152cc46f3647e12c9077f1bfa4183f19ac94b6
Signed-off-by: Mike Lockwood <lockwood@android.com >
2010-02-02 13:26:33 -05:00
Mike Lockwood
2f3a615fea
GpsLocationProvider: Do not release wakelock until the GPS engine is fully off
...
Change-Id: I705b1d33af2d70aa1084cca8f6280fade9461d2c
Signed-off-by: Mike Lockwood <lockwood@android.com >
2010-02-02 13:21:21 -05:00
Mike Lockwood
19563cc278
LocationManagerService: Fix bug removing proximity alerts.
...
Alerts were not being removed from the mProximitiesEntered array.
Signed-off-by: Mike Lockwood <lockwood@android.com >
2010-01-19 11:50:13 -05:00
NoraBora
8ca2f47e0d
ViewAnimator.setAnimateFirstView() doesn't work for out-animation.
2010-01-18 23:54:06 +09:00
Romain Guy
8d21bdb905
Fix the build.
2009-12-30 13:54:04 -08:00
NoraBora
a7f7e2ac92
guess default mMaxHeight but allow layout to override this.
...
without this code, progress bar height gets smaller when thumb gets bigger
in AbsSeekBar.java onSizeChanged().
2009-12-30 08:59:14 -05:00
NoraBora
51207b127b
setThumbOffset was missing in the previous merge.
2009-12-22 10:46:14 -05:00
Android Code Review
f8e104135b
Merge change I700e6d4d
...
* changes:
Time.parse3339 range checking and proper 'sec-frac' skip
2009-12-21 15:14:02 -08:00
NoraBora
41418ecfa7
ImageButton example doesn't work. Default state should be at the last.
...
see res/res/drawable/button_inset.xml
2009-12-17 11:38:15 -05:00
Jean-Baptiste Queru
9df3331836
remove a few classes from the preloaded list
2009-11-17 15:31:33 -08:00
Kenny Root
6c2d4029f1
Time.parse3339 range checking and proper 'sec-frac' skip
...
The parse3339 JNI code doesn't properly do bounds checking on the input String.
These changes do some bounds checking to prevent a buffer underflow condition.
parse3339 should allow the fractional seconds to be optional and an arbitrary
length as specified in RFC 3339. This will scan through arbitrary precision
until it finds the timezone indicators.
Change-Id: Ie9d01d0b24163d893c58c747d37873c83b74e6c7
2009-11-16 14:30:24 -06:00
Fred Quintana
05ffc255c0
always preserve rows for accounts with type of localhost even if the account manager doesn't know about them
2009-11-15 12:53:42 -08:00
Jean-Baptiste Queru
478de466ce
merge from eclair
2009-11-15 12:06:23 -08:00
Jean-Baptiste Queru
9db3d07b96
eclair snapshot
2009-11-13 13:53:39 -08:00
Android Code Review
2b63ff51d5
Merge change I83387a48
...
* changes:
Correction of an error in the setRotate method of the ColorMatrix class. The matrix rotation params around the 2nd axis was not set correctly:
2009-11-10 09:59:52 -08:00
Jean-Baptiste Queru
df682c8443
Fix build
2009-11-09 17:33:17 -08:00
Alexey Tarasov
f2db9fb0f8
Typo fix in javadoc
...
@throw -> @throws
@Deprecated -> @deprecated
2009-11-09 16:07:14 -08:00
Android Code Review
4d88cbd98e
Merge change Ia01d5fe8
...
* changes:
Fix documentation example, per issue 895 on android.googlecode.com
2009-11-08 12:33:19 -08:00
Android Code Review
7c70af0458
Merge change I4a783af6
...
* changes:
Fix obvious typo bug in egl.cpp
2009-11-05 14:10:10 -08:00
Android Code Review
8d9ef03611
Merge change I8f67f092
...
* changes:
Fix of compatibility with multifunction extUSB adapters. Tested with HTC YC A300.
2009-11-05 14:08:25 -08:00
Android Code Review
b52990e79d
Merge change Ifcba56d2
...
* changes:
Capture failure of copybit->stretch()
2009-11-05 13:10:16 -08:00
Android Code Review
1933504616
Merge change I9ff67a5f
...
* changes:
LocationManagerService: Fix race when removing LocationListener
2009-11-05 11:36:48 -08:00
Ravi K Yenduri
7b35fd7dd4
Capture failure of copybit->stretch()
2009-11-05 10:42:21 -06:00
Olivier Goutet
83387a484c
Correction of an error in the setRotate method of the ColorMatrix class.
...
The matrix rotation params around the 2nd axis was not set correctly:
Initial matrix for axis 2 (green):
cos 0 sin 0 0
0 1 0 0 0
-sin 0 0 0 0
0 0 cos 1 0
After correction:
cos 0 -sin 0 0
0 1 0 0 0
sin 0 cos 0 0
0 0 0 1 0
2009-11-05 14:48:03 +01:00
Android Code Review
0b95a572a0
Merge change Ic93ca0d7
...
* changes:
Don't return when blocking is true.
2009-11-04 17:31:01 -08:00
Jean-Baptiste Queru
a74dc60c96
Merge from donut
2009-10-28 08:32:40 -07:00
Jean-Baptiste Queru
6c63ee4fc4
Reconcile true history with open-source donut snapshots
2009-10-28 07:42:36 -07:00
Jean-Baptiste Queru
35eae22a1d
Merge from donut
2009-10-13 18:07:12 -07:00
Christoffer Gurell
1d05c7cae5
Fixes scroll/measure bug in EditText
...
Bug and fix described in:
http://code.google.com/p/android/issues/detail?id=4184
2009-10-12 15:53:39 +02:00
Christoffer Gurell
4a783af6ec
Fix obvious typo bug in egl.cpp
...
can (and does sometimes) lead to accessing array with -1 as index
2009-10-12 11:57:27 +02:00
Jean-Baptiste Queru
63abad7ed3
reconcile tools-docs into main branch
2009-10-09 10:27:15 -07:00
Jean-Baptiste Queru
5f4906cafc
donut snapshot
2009-10-09 10:27:14 -07:00
Jean-Baptiste Queru
dde8b50b87
donut snapshot
2009-10-09 07:33:40 -07:00
Joshua Bartel
9ff67a5f9b
LocationManagerService: Fix race when removing LocationListener
...
In LocationManagerService if a LocationListener is removed while it has
a pending broadcast the wake lock held while pending broadcasts are
outstanding do not get cleared properly.
There are 2 cases of this race that are fixed:
1. locationCallbackFinished was changed to check the mReceivers HashMap
directly instead of calling getReceiver. getReceiver would add the
ILocationListener as a new Receiver if it did not exist which caused
a receiver that was removed when it still had a broadcast pending to
be added back in a bad state when the pending broadcast completed.
2. removeUpdatesLocked was changed to decrement the pending broadcasts
when a Receiver is removed that has pending broadcasts.
2009-10-05 12:44:46 -04:00
Josh Guilfoyle
336a0ee90f
Fixed issue #4098 : Ringtone#getTitle does not close its cursor.
...
http://code.google.com/p/android/issues/detail?id=4098
2009-10-02 17:39:36 -07:00
Li Wenhao
c93ca0d7b5
Don't return when blocking is true.
2009-09-21 17:14:59 +08:00
Yusuf T. Mobile
5550ef4873
Fixed Android issue #2002 : "Proximity alert detection logic is broken"
...
http://code.google.com/p/android/issues/detail?id=2002
2009-09-17 10:56:57 -07:00
Ravi K Yenduri
62e73f466e
Update comment in mediaplayer.h.
...
When sending a MEDIA_INFO message, the second integer is supposed
to be an "info" code instead of an "error" code.
2009-09-16 15:14:40 -07:00
Jean-Baptiste Queru
ea5f767246
Update documentation for getVideoWidth and getVideoHeight.
...
Ref: http://code.google.com/p/android/issues/detail?id=3024
2009-09-16 15:06:25 -07:00
Android Code Review
2419fa842b
Merge change 10326
...
* changes:
Javadoc used startApplication() which doesnt exists, changed to createApplication()
2009-09-15 13:14:58 -07:00
Kenny Root
fc01794f33
Make Uri.parseUserPart, parseHost, and parsePort symmetric
...
Currently parseUserPart uses the encoded authority to split the URI
into user and non-user parts, but the parseHost and parsePort uses
the decoded URI to split the URI into non-host, host, and port parts.
This gives unexpected results when %40 ('@') and %3a (':') is used
in a URI:
Uri test = Uri.parse("http://bob%40lee%3ajr@example.com:42/ ");
test.getUserInfo() => "bob@lee:jr"
test.getHost() => "lee:jr@example.com " (should be "example.com")
test.getPort() => -1 (should be 42)
2009-09-14 17:45:04 -07:00
Android Code Review
f9d9cf1ec1
Merge change 10322
...
* changes:
Text specifies "android:codeName" which doesnt exist, should be "android:versionName"
2009-09-14 14:19:56 -07:00
David Strobach
fb0bd47d3a
Fix of compatibility with multifunction extUSB adapters.
...
Tested with HTC YC A300.
2009-09-14 10:50:22 -07:00
Jean-Baptiste Queru
be8e36e32b
merge from donut
2009-09-03 15:19:21 -07:00
Jean-Baptiste Queru
8f4b5a5618
donut snapshot
2009-09-02 13:39:46 -07:00
Dianne Hackborn
e1b4437dba
Revert "Fix content provider"
...
Argh!
This reverts commit da706900f4 .
2009-09-01 19:21:08 -07:00
Android (Google) Code Review
c804efe278
Merge change 23569 into donut
...
* changes:
Update 4.xml to the most recent APIs.
2009-09-01 19:15:59 -07:00
Dianne Hackborn
2c8859aeda
Update 4.xml to the most recent APIs.
2009-09-01 19:14:55 -07:00