571 Commits

Author SHA1 Message Date
Eric Laurent
dd3fbf15f7 Fix issue 2004229: DTMF tones play through earpiece (G1). 2009-07-28 06:11:55 -07:00
Eric Laurent
a04aaff2be Fix the build for BOARD_USES_GENERIC_AUDIO option 2009-07-25 01:41:52 -07:00
Eric Laurent
4192cce1f2 Fix issue 2001204: libaudiopolicy.so and libaudiopolicygeneric.so libraries must be pre-linked. 2009-07-24 06:58:44 -07:00
Android (Google) Code Review
53305e8326 Merge change 8421
* changes:
  Unbreak build by making the build of renderscript again conditional on BUILD_RENDERSCRIPT until we can figure out why the build servers see an error that does not reproduce locally.
2009-07-23 16:12:06 -07:00
Jason Sams
8af858e9b6 Unbreak build by making the build of renderscript again conditional on BUILD_RENDERSCRIPT until we can figure out why the build servers see an error that does not reproduce locally. 2009-07-23 16:10:46 -07:00
Android (Google) Code Review
bc512021ee Merge change 8279
* changes:
  Move the java and jni renderscript files to the proper location.
2009-07-23 15:25:13 -07:00
Jason Sams
e29d471e5c Move the java and jni renderscript files to the proper location. 2009-07-23 15:19:03 -07:00
Eric Laurent
102313a95d Fix issue 1999585: audioflinger crash.
We were looping on the number of playback threads when dumping record threads.
2009-07-23 13:53:19 -07:00
Eric Laurent
2c817f5d52 Fix the sim build. 2009-07-23 13:17:39 -07:00
Eric Laurent
a553c25b33 Fix issue 1795088 Improve audio routing code
Initial commit for review.
Integrated comments after patch set 1 review.
Fixed lockup in AudioFlinger::ThreadBase::exit()
Fixed lockup when playing tone with AudioPlocyService startTone()
2009-07-23 06:03:39 -07:00
Android (Google) Code Review
ebd7bc5402 Merge change 8109
* changes:
  Add a flag to set whether the overlay has been initialized.  Commit needs to be called at least once on each overlay, and it appears that sometimes this doesn't happen because the visibility never changes.  With this change the overlay parameter and position will be committed when either the visibility of the window changes, or on the first call to visibility resolved, if it hasn't already been done.
2009-07-22 18:28:01 -07:00
Rebecca Schultz Zavin
43ab76389e Add a flag to set whether the overlay has been initialized. Commit needs to be called at least once on each overlay, and it appears that sometimes this
doesn't happen because the visibility never changes.  With this change
the overlay parameter and position will be committed when either the visibility
of the window changes, or on the first call to visibility resolved, if it
hasn't already been done.

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-07-22 17:17:46 -07:00
Android (Google) Code Review
a8339dfec9 am 9fc20b0e: Merge change 8126 into donut
Merge commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf'

* commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf':
  First pass at reworking screen density/size APIs.
2009-07-21 19:03:53 -07:00
Dianne Hackborn
c4db95c077 First pass at reworking screen density/size APIs.
This changes the names of the directories in aapt, to what you see
in the list of DpiTest resources.  Also adds a new "long" configuration
for wide screens, which the platform sets appropriate, and introduces
a new kind of resizeability for not large but significantly larger
than normal screens which may have compatibility issues.
2009-07-21 18:28:42 -07:00
Android (Google) Code Review
eceb3bf907 Merge change 8038
* changes:
  Fix hardware overlay so all changes are commited when done.
2009-07-21 14:46:50 -07:00
Jason Sams
ee41112e15 Enable light sources and update film test app. 2009-07-21 12:20:54 -07:00
Rebecca Schultz Zavin
7ac5e698b2 Fix hardware overlay so all changes are commited when done. 2009-07-21 11:07:23 -07:00
Android (Google) Code Review
c7b0dba641 Merge change 7939
* changes:
  Split rsScriptC into class implemtation and library functions.  Update test apps, all 3 should be working.
2009-07-20 14:32:15 -07:00
Jason Sams
c97bb8844f Split rsScriptC into class implemtation and library functions. Update test apps, all 3 should be working. 2009-07-20 14:31:06 -07:00
Android (Google) Code Review
8ed7d69f65 Merge change 5892
* changes:
  Hardware overlay support
2009-07-20 10:50:52 -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
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
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
Android (Google) Code Review
fd0efa0d8b Merge change 7724
* changes:
  Remove shadows and invert dx sign in zoomed mode.
2009-07-17 12:30:21 -07:00
Android (Google) Code Review
82be1236d9 Merge change 7723
* changes:
  More usability tweaks including turning the icons right side up.
2009-07-17 12:29:43 -07:00
Jason Sams
7df07026e8 Remove shadows and invert dx sign in zoomed mode. 2009-07-17 12:28:27 -07:00
Marco Nelissen
e1babd45e1 Instead of using -1 for pid and uid in the simulator, and then having
to special-case the simulator case all over the framework, just use
getuid and getpid, and intercept those in the simulator wrapper.
2009-07-17 10:48:09 -07:00
Mike Lockwood
15431a9482 EventHub: Compare name instead of id when excluding event input devices.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-17 00:10:10 -04:00
Jason Sams
c1ea948ee8 More usability tweaks including turning the icons right side up. 2009-07-16 19:09:33 -07:00
Android (Google) Code Review
3d88fc00b3 am 3e1663a2: Merge change 7536 into donut
Merge commit '3e1663a2539ff0b939193304cfb601f6b134af7d'

* commit '3e1663a2539ff0b939193304cfb601f6b134af7d':
  fix FILE* version of ZipUtils::inflateToBuffer
2009-07-16 17:54:01 -07:00
Jason Sams
764205c194 Fix conflict with automatic DPI support on high density devices by forcing bitmap loading to not be scaled. 2009-07-16 17:47:40 -07:00
Jason Sams
54440a01a9 Update rollo and renderscript to the new ACC compiler interface. 2009-07-16 15:08:06 -07:00
Benny Wong
6d2090e214 Hardware overlay support
Enable hardware overlay support for camera and video playback use cases
2009-07-16 14:31:20 -07:00
Android (Google) Code Review
7bdc99032f Merge change 7491
* changes:
  Update rollo with new interactivity model.
2009-07-16 12:58:54 -07:00
Jason Sams
c75a257c02 Update rollo with new interactivity model. 2009-07-16 12:55:18 -07:00
Doug Zongker
d2792e3768 fix FILE* version of ZipUtils::inflateToBuffer
This can't have ever worked; a successful fread() was returning 1
instead of getSize.
2009-07-16 11:27:13 -07:00
Mike Lockwood
1d9dfc5dcf EventHub: Add support for excluding devices from being opened by as a keyboard.
This will be used to avoid unnecessarily listening to data from sensors
that function as event devices.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-16 11:51:42 -04:00
Android (Google) Code Review
0c421c0d27 Merge change 7490
* changes:
  Fix master build errors post merge with master_gl branch.
2009-07-15 18:34:24 -07:00
Android (Google) Code Review
4cc8c7dd8e Merge change 7489
* changes:
  More test app work
2009-07-15 18:34:11 -07:00
Android (Google) Code Review
f47042614e Merge change 7419
* changes:
  Standby A2DP audio hardware interface when disabling A2DP.
2009-07-15 13:58:02 -07:00
Nick Pelly
92d2b40739 Standby A2DP audio hardware interface when disabling A2DP.
Patch supplied on advice of partner. This causes us to send suspend_sink to
Bluez via socket interface, so we enter suspend on the A2DP link faster.
This is especially important when switching to SCO so that we come closer to
whitepaper recommendations to suspend A2DP before setting up SCO.

We have another patch set to add DBUS A2DP suspend and resume calls to Bluez
that will do a better job of following whitepaper recommendations for
A2DP -> SCO -> A2DP, but this small patch is still an improvement.
2009-07-15 12:22:55 -07:00
Joe Onorato
ee5bbb7f63 Need to skip the padding after reading.
m_dataEndPos points to the end of the data, not the beginning
of the next entity.
2009-07-15 09:58:07 -07:00
Dianne Hackborn
e3dd884815 Implement virtual button support.
The kernel can now publish a property describing the layout of virtual
hardware buttons on the touchscreen.  These outside of the display
area (outside of the absolute x and y controller range the driver
reports), and when the user presses on them a key event will be
generated rather than a touch event.

This also includes a number of tweaks to the absolute controller
processing to make things work better on the new screens.  For
example, we now reject down events outside of the display area.

Still left to be done is the ability to cancel a key down event,
so the user can slide up from the virtual keys to the touch screen
without causing a virtual key to execute.
2009-07-14 18:51:53 -07:00
Jason Sams
399bfce299 Fix master build errors post merge with master_gl branch. 2009-07-14 13:59:23 -07:00
Jason Sams
7aa4f3a163 More test app work 2009-07-14 13:59:23 -07:00
Mathias Agopian
fad6c94872 another attempt to fix the sim 2009-07-14 02:08:27 -07:00
Mathias Agopian
ac2dd4d82f first attempt to fix the sim 2009-07-13 22:58:25 -07:00
Android (Google) Code Review
3a5351e443 Merge change 6898
* changes:
  implement Mutex and Condition with pthread instead of calling futex directly.
2009-07-13 21:27:38 -07:00
Mathias Agopian
8d9a5eff42 fix [1964315] crash in the surface.cpp while browsing 2009-07-13 18:29:59 -07:00