5038 Commits

Author SHA1 Message Date
Android (Google) Code Review
b965d09294 Merge change 7775
* changes:
  Add an option to enable JIT trace profiling for app_process.
2009-07-20 09:43:25 -07:00
Android (Google) Code Review
3e664221b6 Merge change 7747
* changes:
  Added 3 metadata types for pause/seek forward/seek backward.
2009-07-20 08:26:22 -07:00
Patrick Scott
fb6aecb703 Added hooks from jni to create and manage SurfaceViews for plugins.
A subclass of SurfaceView is created in order to appear like a normal
SurfaceView to jni but can be managed in Java easily. This class implements the
SurfaceHolder.Callback interface in order to notify the native PluginSurface
when the surface changes.
2009-07-20 09:31:56 -04:00
Patrick Scott
4a06b68c82 Correctly set the thread priority for ConnectionThreads.
This does not change the actual thread priority but if the default priority
changes, this will have the desired result of being slightly less favorable.

I tried messing with the priorities to see if a higher or lower priority helped
but it seemed to do more harm than good. It might be worth more investigation to
find out where all the thread time is being spent so we can determine the
correct priority.
2009-07-20 08:55:06 -04:00
Android (Google) Code Review
41944da6ef am 8b9baf2d: Merge change 7857 into donut
Merge commit '8b9baf2dfb4dd1bd6379d923a3aa61a082783368'

* commit '8b9baf2dfb4dd1bd6379d923a3aa61a082783368':
  Remove exception throw when a view has a self dependency inside a
2009-07-19 21:15:01 -07:00
Mitsuru Oshima
a065b01904 am 841f13c8: * Reverted the change in PackageParser that I checked by accident * More surface view fix. - correct event translation on surface view. - use compatible window * removed FLAG_NO_COMPATIBILITY_SCALE. It was my misunderstanding of how SurfaceView works,
Merge commit '841f13c8e9ff3f7695b6c18a8abcec3c947983ff'

* commit '841f13c8e9ff3f7695b6c18a8abcec3c947983ff':
  * Reverted the change in PackageParser that I checked by accident
2009-07-19 21:14:56 -07:00
Android (Google) Code Review
bec99bffee am 5c536e91: Merge change 7840 into donut
Merge commit '5c536e9162721c460699a041959a0d67de1d20db'

* commit '5c536e9162721c460699a041959a0d67de1d20db':
  Fix issue where scaled bitmap sizes could be wrong.
2009-07-19 21:14:48 -07:00
Hung-ying Tyan
79b7c68d5a am 2c53de69: Stop a daemon before starting it
Merge commit '2c53de69045557a51290b50dfda2ddb6c7d01912'

* commit '2c53de69045557a51290b50dfda2ddb6c7d01912':
  Stop a daemon before starting it
2009-07-19 21:14:44 -07:00
Android (Google) Code Review
b8b117e1e7 am a8d5644b: Merge change 7726 into donut
Merge commit 'a8d5644b548263d68e2c9bfff58958b29c3525ff'

* commit 'a8d5644b548263d68e2c9bfff58958b29c3525ff':
  Fix issue 1985479	lots of backup NPEs.
2009-07-19 21:14:40 -07:00
Android (Google) Code Review
def06bcec0 am 4b897aa9: Merge change 7829 into donut
Merge commit '4b897aa99bf71f933f5b202c1531858382122d6f'

* commit '4b897aa99bf71f933f5b202c1531858382122d6f':
  Making sure that there are no calls made to the native TTS
2009-07-19 21:14:36 -07:00
Android (Google) Code Review
a1663400f9 am 39846e69: Merge change 7819 into donut
Merge commit '39846e691976fa7335bf5e648de46268d24b9927'

* commit '39846e691976fa7335bf5e648de46268d24b9927':
  Fix NullPointer in VpnServiceBinder.checkStatus().
2009-07-19 21:14:32 -07:00
Android (Google) Code Review
9707ad1257 am 931b0a7a: Merge change 7811 into donut
Merge commit '931b0a7ac83e33a29e32b691ae8818a2f41b7808'

* commit '931b0a7ac83e33a29e32b691ae8818a2f41b7808':
  Remove obsolete playBuffer() method from the text-to-speech SynthProxy class.
2009-07-19 20:29:03 -07:00
Android (Google) Code Review
469b4c67ad am aad0fcc9: Merge change 7783 into donut
Merge commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54'

* commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54':
  Add "nodpi" density, and expose a bunch of density-related APIs.
2009-07-19 20:28:49 -07:00
Android (Google) Code Review
b933dc7f47 am 22eef5da: Merge change 7753 into donut
Merge commit '22eef5da75604cd14c0f87332cf957c9948a6e33'

* commit '22eef5da75604cd14c0f87332cf957c9948a6e33':
  Add a delay before collecting memory information
2009-07-19 20:20:03 -07:00
Android (Google) Code Review
8b9baf2dfb Merge change 7857 into donut
* changes:
  Remove exception throw when a view has a self dependency inside a RelativeLayout.
2009-07-19 19:50:33 -07:00
Romain Guy
da3003e1d7 Remove exception throw when a view has a self dependency inside a
RelativeLayout.

There are unfortunately successful 3rd party apps declaring self dependencies.
There's no reason to crash the app so just ignore this issue.
2009-07-19 19:49:47 -07:00
Mitsuru Oshima
841f13c8e9 * Reverted the change in PackageParser that I checked by accident
* More surface view fix.
  - correct event translation on surface view.
  - use compatible window
* removed FLAG_NO_COMPATIBILITY_SCALE. It was my misunderstanding of how SurfaceView works, and this was not necessary.
* Added compatibility related info to package dumpsys
2009-07-19 19:17:06 -07:00
Android (Google) Code Review
5c536e9162 Merge change 7840 into donut
* changes:
  Fix issue where scaled bitmap sizes could be wrong.
2009-07-19 15:29:09 -07:00
Hung-ying Tyan
2c53de6904 Stop a daemon before starting it
in case the daemon is not cleaned up in last session.
2009-07-19 09:33:56 +08:00
Dianne Hackborn
2784ff0af8 Fix issue where scaled bitmap sizes could be wrong.
The Bitmap functions to get the scaled width/height couldn't actually
do the right thing because they didn't know the destination they would
be drawing to.  Now there are two forms of them, taking an explicit
parameter specifying the destination.
2009-07-18 17:13:29 -07:00
Android (Google) Code Review
a8d5644b54 Merge change 7726 into donut
* changes:
  Fix issue 1985479	lots of backup NPEs.
2009-07-18 02:12:02 -07:00
Android (Google) Code Review
4b897aa99b Merge change 7829 into donut
* changes:
  Making sure that there are no calls made to the native TTS layer if the utterance is in the process of being canceled.
2009-07-17 21:39:26 -07:00
Charles Chen
b79370aad7 Making sure that there are no calls made to the native TTS
layer if the utterance is in the process of being canceled.
2009-07-17 20:57:21 -07:00
Android (Google) Code Review
39846e6919 Merge change 7819 into donut
* changes:
  Fix NullPointer in VpnServiceBinder.checkStatus().
2009-07-17 20:09:43 -07:00
Hung-ying Tyan
000c3ff943 Fix NullPointer in VpnServiceBinder.checkStatus(). 2009-07-18 10:20:10 +08:00
Android (Google) Code Review
931b0a7ac8 Merge change 7811 into donut
* changes:
  Remove obsolete playBuffer() method from the text-to-speech SynthProxy class.
2009-07-17 18:33:25 -07:00
Jean-Michel Trivi
8b86da899a Remove obsolete playBuffer() method from the text-to-speech SynthProxy class. 2009-07-17 18:22:15 -07:00
Android (Google) Code Review
aad0fcc961 Merge change 7783 into donut
* changes:
  Add "nodpi" density, and expose a bunch of density-related APIs.
2009-07-17 17:50:41 -07:00
Android (Google) Code Review
fd7628aa84 Merge change 7806
* changes:
  Fix fountain and more rollo ui work.
2009-07-17 17:31:09 -07:00
Jason Sams
e6c8e9b8c7 Fix fountain and more rollo ui work. 2009-07-17 17:29:09 -07:00
Android (Google) Code Review
2dcfafcb31 Merge change 7453
* changes:
  Add zoom and postview callbacks to Camera. This patch adds a zoom callback to the Java layer. If the hardware supports a smooth zoom function, this provides a way to update the UI as the zoom is moving from its original setting to the new commanded setting. This postview callback supports receive a processed image before the JPEG encode completes. This allows the display to be rotated without losing the final preview frame.
2009-07-17 17:25:48 -07:00
Dave Sparks
e8b26e197f Add zoom and postview callbacks to Camera. This patch
adds a zoom callback to the Java layer. If the hardware supports
a smooth zoom function, this provides a way to update the UI as
the zoom is moving from its original setting to the new commanded
setting. This postview callback supports receive a processed
image before the JPEG encode completes. This allows the display
to be rotated without losing the final preview frame.
2009-07-17 17:24:07 -07:00
Android (Google) Code Review
bffefc6b24 Merge change 7804
* changes:
  Fixing probable build breakage.
2009-07-17 17:15:20 -07:00
Android (Google) Code Review
ddd12804d1 am 261a784c: Merge change 7720 into donut
Merge commit '261a784c44d6ac4377651e4842c7a96326462857'

* commit '261a784c44d6ac4377651e4842c7a96326462857':
  Fix global ref leak in android.media.AudioRecord. Delete global refs
2009-07-17 17:13:28 -07:00
Android (Google) Code Review
568ebf06bc am cf492afd: Merge change 6809 into donut
Merge commit 'cf492afdeb3a1da04cc71518285eb778f2ef6837'

* commit 'cf492afdeb3a1da04cc71518285eb778f2ef6837':
  Correctly deliver AppWidgetProvider.onDeleted() events.
2009-07-17 17:13:24 -07:00
Android (Google) Code Review
97900afa9f am e96bd129: Merge change 7707 into donut
Merge commit 'e96bd1291482175ac1740780cbd0f42bbe9ff746'

* commit 'e96bd1291482175ac1740780cbd0f42bbe9ff746':
  * scale surface view's canvas
2009-07-17 17:13:20 -07:00
Daisuke Miyakawa
701deb5e7c Fixing probable build breakage.
I forgot to import correct a resource file when refactoring my code. Sorry.
2009-07-17 17:12:34 -07:00
Dianne Hackborn
a53b828635 Add "nodpi" density, and expose a bunch of density-related APIs.
Also update the DpiTest app to use nodpi images, and try to have a mode
where it turns off compatibility though it's not quite working.
2009-07-17 16:59:08 -07:00
Ben Cheng
0e01fbf722 Add an option to enable JIT trace profiling for app_process. 2009-07-17 16:04:00 -07:00
Android (Google) Code Review
c634fdd803 am 09a903ab: Merge change 7696 into donut
Merge commit '09a903ab5b8d940605783ae4ee591c0f090a31d1'

* commit '09a903ab5b8d940605783ae4ee591c0f090a31d1':
  add hidden Options field for native allocations
2009-07-17 15:43:14 -07:00
Android (Google) Code Review
8c376555fb am 41f338c6: Merge change 7511 into donut
Merge commit '41f338c6c6780d054a26cc4995f48ccce3163c8e'

* commit '41f338c6c6780d054a26cc4995f48ccce3163c8e':
  Support addPkcs12Keystore function in CertTool library.
2009-07-17 15:43:05 -07:00
Android (Google) Code Review
ab6ee15f8c am 474b0f29: Merge change 7686 into donut
Merge commit '474b0f2941430b97b4f24f16f7173e5249ccc8f2'

* commit '474b0f2941430b97b4f24f16f7173e5249ccc8f2':
  MediaScanner: Add check for null object in empty title handling code.
2009-07-17 15:42:59 -07:00
Android (Google) Code Review
bc9b80750a Merge change 7651
* changes:
  Contacts Data type consistency.
2009-07-17 15:40:40 -07:00
Jaikumar Ganesh
12cae39747 Revert "Initial support of 2.1 pairing."
This reverts commit 228b2f3a813e93413a0f9e2f29dfbfc54590a356.
2009-07-17 14:45:22 -07:00
Android (Google) Code Review
22eef5da75 Merge change 7753 into donut
* changes:
  Add a delay before collecting memory information
2009-07-17 14:43:01 -07:00
Android (Google) Code Review
261a784c44 Merge change 7720 into donut
* changes:
  Fix global ref leak in android.media.AudioRecord. Delete global refs to the native AudioRecord pointer and the callback cookie (for native to Java calls) in the finalize() function and when an error occurs during the allocation of the native resources.
2009-07-17 14:39:52 -07:00
Android (Google) Code Review
cf492afdeb Merge change 6809 into donut
* changes:
  Correctly deliver AppWidgetProvider.onDeleted() events.
2009-07-17 14:27:23 -07:00
Guang Zhu
1f6c72bff6 Add a delay before collecting memory information
Hopefully this gives enough time for more memory recycling. Because it is observed that several seconds after a suite is run, the memory usage could drop by 1-2M.
2009-07-17 14:22:24 -07:00
Android (Google) Code Review
7ff6b74cf2 Merge change 6736
* changes:
  Refactor VCard-related code.
2009-07-17 14:09:00 -07:00
Jaikumar Ganesh
228b2f3a81 Initial support of 2.1 pairing.
Note: Some cases have not been tested yet, as we would need to
get proper UI support.
2009-07-17 14:00:32 -07:00