Commit Graph

12355 Commits

Author SHA1 Message Date
Doug Zongker
b7cc1ec723 a new java implementation of base64 for android-common
A new Base64 encoder/decoder class.  Some benchmarks comparing the
decoder it to those from android.os.Base64Utils (a decode-only native
implementation not accessible to apps) and
org.apache.commons.codec.binary.Base64, all with the JIT enabled:

  1k encoded data
  APACHE   avg:   811 us    min:   244 us    max: 13671 us
  COMMON   avg:   263 us    min:    30 us    max:  4730 us
  NATIVE   avg:   102 us    min:    61 us    max:  5493 us

  10k encoded data
  APACHE   avg:  3624 us    min:  2746 us    max: 23895 us
  COMMON   avg:   979 us    min:   518 us    max:  7751 us
  NATIVE   avg:   817 us    min:   762 us    max:  3143 us

  100k encoded data
  APACHE   avg: 33167 us    min: 31829 us    max: 140411 us
  COMMON   avg:  6047 us    min:  5493 us    max: 45227 us
  NATIVE   avg: 10109 us    min: 10009 us    max: 12451 us

Change-Id: Ic622e3a967a62d57d30bd25b80cbe4e0dd60e764
2010-02-04 15:54:00 -08:00
Doug Zongker
7c482454b1 Merge "undo "move HttpDateTime from android.webkit to android-common jar"" 2010-02-03 12:57:54 -08:00
Bjorn Bringert
c8a2564170 Merge "Copy ic_menu_search.png to ic_search_category_default.png" 2010-02-03 12:52:21 -08:00
Daisuke Miyakawa
134bc70621 Merge "Honor '+' in phone export in vCard." 2010-02-03 12:44:39 -08:00
Megha Joshi
befcc6d32e am b299f802: am 9f4cfc3a: Merge "Screenshots for sample syncadapter." into eclair
Merge commit 'b299f802b2dea19b003a6724d53ecff1b763bab0'

* commit 'b299f802b2dea19b003a6724d53ecff1b763bab0':
  Screenshots for sample syncadapter.
2010-02-03 12:34:53 -08:00
Megha Joshi
439270f03e am 9f4cfc3a: Merge "Screenshots for sample syncadapter." into eclair
Merge commit '9f4cfc3afcdf9f7be096b3243bfc15b9346b8434' into eclair-plus-aosp

* commit '9f4cfc3afcdf9f7be096b3243bfc15b9346b8434':
  Screenshots for sample syncadapter.
2010-02-03 12:29:19 -08:00
Megha Joshi
277345ae33 Merge "Screenshots for sample syncadapter." into eclair 2010-02-03 12:24:20 -08:00
Mathias Agopian
04a3f57d19 fix [2133133] Software OpenGL ES Lighting is buggy (GL Gears washed out bug)
A typo caused GL_AMBIENT_AND_DIFFUSE to only set the the ambient color.

Fix another typo which caused the viewer position to be wrong for
specular highlights.

Switch back to eye-space lighting, since there are still some issues
with some demos (San Angeles in particular).
2010-02-03 12:13:15 -08:00
Elliott Hughes
bf0a46d0d5 Merge "Remove "StringTest.java"." 2010-02-03 12:05:40 -08:00
Mike Chan
cf474721d9 Merge "BatteryStatsImpl: initalize audio timer" 2010-02-03 12:00:39 -08:00
Doug Zongker
8943766e57 Merge "move HttpDateTime from android.webkit to android-common jar" 2010-02-03 11:21:27 -08:00
Doug Zongker
b1293475be move HttpDateTime from android.webkit to android-common jar
Some to-be-unbundled classes want to use HttpDateTime as well.

Change-Id: I40a001970682f6fbd4d9cd3546bd3f63ebfbe89b
2010-02-03 11:14:29 -08:00
Adam Powell
81847cb1e6 Merge "Javadoc fixes to ScaleGestureDetector for SDK builds" 2010-02-03 11:07:42 -08:00
Marco Nelissen
cab88acd4d Merge "Fix fastscroll thumb" 2010-02-03 11:05:46 -08:00
Doug Zongker
b54f7aca8e Merge "use device serial number to seed RNG for generating ANDROID_ID" 2010-02-03 11:03:18 -08:00
Barry Hayes
332d8289f8 Merge "Add a "dalvik.vm.gc.overwritefree" property. When set to "true", the VM will be given the "-Xgc:overwritefree" flag, and the GC will clobber the memory of freed objects." 2010-02-03 10:58:18 -08:00
Marco Nelissen
462d7cca08 Merge "Make the fastscroll thumb tell the parent to not intercept touch events, to keep the list from moving sideways in a "workspace" environment. Fixes one of the issues listed in bug 2374212" 2010-02-03 10:45:51 -08:00
Doug Zongker
10279c8d3f Merge "expose bootloader & radio versions, hardware string in API" 2010-02-03 10:38:09 -08:00
Romain Guy
87880aa309 Merge "Add missing contentDescription to focusable controls." 2010-02-03 10:37:38 -08:00
Andreas Huber
0074f37229 Merge "AudioPlayer didn't properly account for the latency when calculating the current media time." 2010-02-03 10:30:17 -08:00
Suchi Amalapurapu
8b871bb1aa Merge "Apps on sdcard: Add new broadcasts" 2010-02-03 10:21:23 -08:00
Ben Murdoch
a908fd5b8d Merge "Add support for sending touch events in DRT." 2010-02-03 09:15:34 -08:00
Leon Clarke
66cde8130c Merge "Rebuild a cleaner certificates chain before validating it." 2010-02-03 07:56:58 -08:00
Grace Kloba
45f47821af am 3db1ebaf: am 4ed2b1c3: Pass touch event time from Java to WebKit
Merge commit '3db1ebaf1cc2a097845f217626e31d69e156b73d'

* commit '3db1ebaf1cc2a097845f217626e31d69e156b73d':
  Pass touch event time from Java to WebKit
2010-02-02 23:23:40 -08:00
Jack Palevich
0673586371 Fix ETC1 texture decoding.
etc1_decode_image requires the stride argument to be in bytes, but the
surface->stride field is in pixels. Convert by multiplying by pixel size.
2010-02-02 22:50:39 -08:00
Grace Kloba
21549fadef am 4ed2b1c3: Pass touch event time from Java to WebKit
Merge commit '4ed2b1c34b2dd0e2bd2f403a6f3de0bdbf473b98' into eclair-mr2-plus-aosp

* commit '4ed2b1c34b2dd0e2bd2f403a6f3de0bdbf473b98':
  Pass touch event time from Java to WebKit
2010-02-02 21:07:05 -08:00
Mathias Agopian
3107535d15 Merge "implement [2396050] Add ETC1 texture support to AGL" 2010-02-02 20:34:15 -08:00
Mathias Agopian
18b915a102 implement [2396050] Add ETC1 texture support to AGL 2010-02-02 20:19:54 -08:00
Xavier Ducrohet
035bcdd780 Merge "Fix the SDK build." 2010-02-02 18:25:38 -08:00
Neal Nguyen
4c11aa6d80 Merge "Modifying Services Tests XML file so it builds with the right permissions." 2010-02-02 17:24:49 -08:00
Mike LeBeau
5053f5c692 Merge "Improve some of the documentation in RecognizerIntent to reduce confusion." 2010-02-02 17:08:05 -08:00
Jason Sams
b9a9208263 Merge "Hide field packer." 2010-02-02 15:46:50 -08:00
Ficus Kirkpatrick
0c9780b780 Merge "Fix mms-common's pathnames to match package spec." 2010-02-02 15:43:53 -08:00
Ficus Kirkpatrick
96cb19cd7d Fix mms-common's pathnames to match package spec.
Change-Id: I4ae65227ea29dff8a79bd1d9373dec46c4b53598
2010-02-02 15:32:55 -08:00
Mike LeBeau
02ffbc5216 Merge "Add "inline" constant to RecognizerResultsIntent." 2010-02-02 15:30:57 -08:00
Jason Sams
e1d92e89ff Merge "Implement holders for Matrix and Vector data." 2010-02-02 15:28:03 -08:00
Chris Tate
d0e16ad367 Merge "Get rid of now-superfluous "backup or restore in progress" tracking" 2010-02-02 15:27:55 -08:00
Andreas Huber
79e128e6d7 Merge "Don't use a HEAD request to determine redirects, instead do a regular GET (since that's always supported), also limit the number of redirects to avoid infinite redirects. Finally, properly handle the end of stream." 2010-02-02 14:41:41 -08:00
San Mehat
498479a8fe Merge "StorageManager: API_CHANGE: Move StorageManager into android.storage" 2010-02-02 13:31:16 -08:00
Andreas Huber
2214292604 Merge "Properly report the duration of a recording into .mp4 files." 2010-02-02 13:01:07 -08:00
Oscar Montemayor
0c70a7d927 Merge "Apps on SD project. Javadoc fixes for new method in PackageManager class." 2010-02-02 12:15:26 -08:00
Grace Kloba
a630ac88af Merge "Now mSupportMultiTouch is depending on WebSettings, it can't be static any more." 2010-02-02 11:59:38 -08:00
Andreas Huber
b787383ba5 Merge "Properly advertise the content length of the HTTP stream if available." 2010-02-02 11:38:19 -08:00
San Mehat
d6cb0157b7 Merge "NativeDaemonConnector: Cleanup socket code and use a proper exception Signed-off-by: San Mehat <san@google.com>" 2010-02-02 11:15:55 -08:00
San Mehat
6ed137e6c8 Merge "StorageManager: Introduce StorageManager" 2010-02-02 11:11:06 -08:00
Andrei Popescu
bca2005fa5 Merge "Make sure application cache manifest files are not cached." 2010-02-02 10:21:51 -08:00
Patrick Scott
18e83f9462 Merge "Check for null data after decoding a data: url." 2010-02-02 09:46:44 -08:00
Vasu Nori
f310eb6369 Merge "add instrumentation to log the sql statement + bindargs + databasename" 2010-02-02 09:38:52 -08:00
Mike Lockwood
93dfb71e09 Merge "Fix for GPS engines without separate session and engine status events." 2010-02-02 08:43:52 -08:00
Doug Zongker
6c3aee30c4 Merge "Revert "adding OAuth library"" 2010-02-02 08:26:07 -08:00