23917 Commits

Author SHA1 Message Date
James Dong
c2f328d0d2 Remove hard-coded pixel format for recording frames in CameraSource.
Retrieve the pixel format from Camera HAL at runtime.

Change-Id: I63f820f54c59c2019dfd195320b9928da3362536
2010-06-03 11:51:39 -07:00
James Dong
a3d1c3cd96 am 57ad0703: am c40209ac: am 28a92b2e: Merge "Fix a Javadoc to clarify when setAudioStreamType() should be called." into froyo 2010-06-03 11:32:29 -07:00
James Dong
57ad07039a am c40209ac: am 28a92b2e: Merge "Fix a Javadoc to clarify when setAudioStreamType() should be called." into froyo
Merge commit 'c40209ac60a64a7c08b0d0028060d5308fd7a0b8' into kraken

* commit 'c40209ac60a64a7c08b0d0028060d5308fd7a0b8':
  Fix a Javadoc to clarify when setAudioStreamType() should be called.
2010-06-03 11:30:03 -07:00
James Dong
c40209ac60 am 28a92b2e: Merge "Fix a Javadoc to clarify when setAudioStreamType() should be called." into froyo
Merge commit '28a92b2e76a13c18dc23e5239717b122a174182f' into froyo-plus-aosp

* commit '28a92b2e76a13c18dc23e5239717b122a174182f':
  Fix a Javadoc to clarify when setAudioStreamType() should be called.
2010-06-03 11:27:19 -07:00
James Dong
28a92b2e76 Merge "Fix a Javadoc to clarify when setAudioStreamType() should be called." into froyo 2010-06-03 11:26:09 -07:00
James Dong
9d96354d70 Fix a Javadoc to clarify when setAudioStreamType() should be called.
bug - 2737926

Change-Id: I8718c3d1a544cf5cb1b7e98b6c24fe0e6d3574ba
2010-06-03 10:37:28 -07:00
Kenny Root
5095232d25 am 15fe2cb7: Add error checking for translatable strings 2010-06-03 09:36:00 -07:00
Kenny Root
15fe2cb73b Add error checking for translatable strings
Translatable strings that have multiple substitutions should use
positional String.format() substitutions. This change makes it an error
not to use that format on translatable strings that have more than one
substitution in its text.

Change-Id: I3a19707f3804aa24e8568dc1653a11576cac5916
2010-06-03 09:33:43 -07:00
The Android Open Source Project
913dbc5061 am a9f06fef: am ee7e6a78: merge from open-source master 2010-06-03 09:10:54 -07:00
The Android Open Source Project
a9f06fef8e am ee7e6a78: merge from open-source master
Merge commit 'ee7e6a78e28b360826f215e0e84d43b1513b6401' into kraken

* commit 'ee7e6a78e28b360826f215e0e84d43b1513b6401':
  Improved error-handling in Rfc822Tokenizer
2010-06-03 09:09:07 -07:00
The Android Open Source Project
ee7e6a78e2 merge from open-source master
Change-Id: Idf8d5661d7b261b74ac0b1271af98795ac5faff9
2010-06-03 09:03:58 -07:00
Eric Laurent
65b65459e6 Issue 2667801: [Audio Effect Framework] AudioFlinger, AudioMixer AudioTrack modifications.
First drop of audio framework modifications for audio effects support.

- AudioTrack/AudioRecord:
Added support for auxiliary effects in AudioTrack
Added support for audio sessions
Fixed left right channel inversion in setVolume()

- IAudioFlinger:
Added interface methods for effect enumeraiton and instantiation
Added support for audio sessions.

- IAudioTrack:
Added method to attach auxiliary effect.

- AudioFlinger
Created new classes to control effect engines in effect library and manage effect connections to tracks or
output mix:
  EffectModule: wrapper object controlling the effect engine implementation in the effect library. There
	is one EffectModule per instance of an effect in a given audio session
  EffectChain: group of effects associated to one audio session. There is one EffectChain per audio session.
	EffectChain for session 0 is for output mix effects, other chains are attached to audio tracks
	with same session ID. Each chain contains a variable number of EffectModules
  EffectHandle: implements the IEffect interface. There is one EffectHandle object for each application
	controlling (or using) an effect module. THe EffectModule maintians a list of EffectHandles.

Added support for effect modules and effect chains creation in PlaybackThread.
modified mixer thread loop to allow track volume control by effect modules and call effect processing.

-AudioMixer
Each track now specifies its output buffer used by mixer for accumulation
Modified mixer process functions to process tracks by groups of tracks with same buffer
Modified track process functions to support accumulation to auxiliary channel

Change-Id: I26d5f7c9e070a89bdd383e1a659f8b7ca150379c
2010-06-03 03:21:53 -07:00
Wu-cheng Li
f7f6333831 Add camera metering mode API.
bug:2737111
Change-Id: Ie986fee56ebeaaed2d2efb757701dfe3ffdec8d8
2010-06-03 16:34:18 +08:00
Dirk Dougherty
5bacbfd39b Doc change: Adjust security sandbox description.
Change-Id: I7b2f530afe65fe0abe6c66e69c9abddcfbc5ae9c
2010-06-02 16:53:00 -07:00
Jeff Brown
1bcc845ff6 am ca583f09: Merge "Fixed some minor bugs in MotionEvent recycling." into kraken 2010-06-02 16:29:37 -07:00
Joe Onorato
5e76d148f2 am 169af47b: remove logging 2010-06-02 16:27:50 -07:00
Joe Onorato
bffd90a564 am c91460d2: Pull the carrier name display in the windowshade out into its own view. 2010-06-02 16:27:45 -07:00
Joe Onorato
e3a6e01c89 am 1a86dd10: Use the built-in handler instead of allocating another one. 2010-06-02 16:27:41 -07:00
Joe Onorato
ed9ce2e03a am f5510540: Get the ticker working again. 2010-06-02 16:27:36 -07:00
Joe Onorato
283bbf3628 am 9834d534: better debugging "slot" for the notification icons. 2010-06-02 16:27:31 -07:00
Joe Onorato
50515e444c am 75199e3d: Populate the notifications at startup of SystemUI.apk. 2010-06-02 16:27:26 -07:00
Joe Onorato
cdadef3678 am b77f53b2: Get the IconMerger working again. 2010-06-02 16:27:21 -07:00
Daniel Sandler
f79bceaf62 am 87937dbc: New shadowy status bar, direct from Z\'ha\'dum. 2010-06-02 16:27:15 -07:00
Joe Onorato
9310277c67 am 798ac4c7: Start moving resources to SystemUI.apk. 2010-06-02 16:27:09 -07:00
Joe Onorato
f00734fe34 am 79de0c55: Move the StatusBarPhone package into a new catch-all SystemUI.apk. 2010-06-02 16:27:03 -07:00
Joe Onorato
aa6c3f7717 am 7dd8c6e4: Remove unused files from the service package. 2010-06-02 16:26:56 -07:00
Joe Onorato
f419c63161 am 175f79c5: In fact, switching an item between ongoing and notifications works. 2010-06-02 16:26:48 -07:00
Joe Onorato
04e022ff31 am 5ee67ebf: Get the text appearance compiling 2010-06-02 16:26:41 -07:00
Joe Onorato
b649e90272 am 9c1d8234: Deal with broken notifications. 2010-06-02 16:26:34 -07:00
Joe Onorato
087cc1fa2d am 871bdb98: Handle bad icon resources. 2010-06-02 16:26:26 -07:00
Joe Onorato
f922ef4561 am 20da8f8a: Implement setAreThereNotifications. 2010-06-02 16:26:17 -07:00
Joe Onorato
85676633cc am 0e26dffd: updateNotifications works. 2010-06-02 16:26:09 -07:00
Joe Onorato
f6c288aaa9 am 66b4c5bb: Implement removeNotification. 2010-06-02 16:26:01 -07:00
Joe Onorato
bdcc172d6e am aaba60b2: Notifications don\'t crash when you click them, and pass through events to NotificationManagerService 2010-06-02 16:25:53 -07:00
Joe Onorato
c3c2f605c0 am e345fff2: notifications show 2010-06-02 16:25:44 -07:00
Joe Onorato
34504ffcef am a0c56fe9: Checkpoint. Doesn\'t build. 2010-06-02 16:25:34 -07:00
Joe Onorato
ef5ce59a47 am 18e69dfc: Checkpoint. Data structures for Notifications in place. 2010-06-02 16:25:25 -07:00
Joe Onorato
599584e7e8 am 6528b355: Remove unused stuff. 2010-06-02 16:25:14 -07:00
Joe Onorato
ff97998a73 am 4762c2d7: Add expand and collapse. 2010-06-02 16:25:04 -07:00
Joe Onorato
ee5d0cafc9 am f3f0e053: Make disable() work. 2010-06-02 16:24:55 -07:00
Joe Onorato
47639ea94e am 53680172: Remove unused cruft. 2010-06-02 16:24:45 -07:00
Joe Onorato
d2b276a98e am 263700df: Clock 2010-06-02 16:24:34 -07:00
Joe Onorato
6475786ac5 am 66d7d01e: Get icon updating working. 2010-06-02 16:24:24 -07:00
Joe Onorato
5581c500f1 am 514ad663: Set the visibility of the icons. 2010-06-02 16:24:13 -07:00
Joe Onorato
8c10ebf630 am fb78cd99: Put the icons in the right order. 2010-06-02 16:24:00 -07:00
Joe Onorato
12cd606d70 am 0cbda99f: The status bar draws its icons now. 2010-06-02 16:23:48 -07:00
Joe Onorato
27d3ae58c6 am 503007dd: Checkpoint status bar factoring. Now it builds and doesn\'t crash at boot. 2010-06-02 16:23:36 -07:00
Joe Onorato
c2436b2353 am 94c98c0e: PhoneStatusBarService 2010-06-02 16:23:23 -07:00
Joe Onorato
47e4aa80f1 am 089de88f: StatusBarService -> StatusBarManagerService 2010-06-02 16:23:11 -07:00
Joe Onorato
627cfa9452 am 90233a1e: Add IStatusBar 2010-06-02 16:22:44 -07:00