69368 Commits

Author SHA1 Message Date
Fabrice Di Meglio
06e1ec6462 Make Drawable RTL APIs public
- also optimize imports

Change-Id: I2649a539a5784293d09179981a5d57e900219246
2012-03-09 16:37:45 -08:00
John Reck
c419610477 Merge "Remove wrong nativeSubtractLayers" 2012-03-09 16:19:09 -08:00
James Dong
b202fd9676 Merge "Added an failure log message when the fwdlock engine fails to open a given file." 2012-03-09 16:11:18 -08:00
Svetoslav Ganov
19a07d9747 Merge "AccessibilityServiceInfo does not convert correctly feedback type to string." 2012-03-09 16:05:10 -08:00
Glenn Kasten
dc4bb3fcae Merge "Use audio_policy_output_flags_t consistently" 2012-03-09 16:02:08 -08:00
Svetoslav Ganov
c6c25f9e28 AccessibilityServiceInfo does not convert correctly feedback type to string.
1. When the feedback type is set to TYPES_ALL_MASK the method
   feedbackTypeToString was not generating a string with all
   feedback types. Also the generated string sometimes could
   have a comma appended after the last feedback type name
   - this happens if the feedback type contains unknown type
   flag.

Change-Id: I848c520cf7dae16dcd882f68275869c7ab656dd7
2012-03-09 16:01:23 -08:00
Ken Wakasa
559c4841a6 Merge "Fix obvious typos under frameworks/base/core" 2012-03-09 15:52:06 -08:00
George Mount
bcd5dd7c9a Add back auto-completion and auto-fill.
Bug 5993316

 Webkit Change: I9d09a924a579d2d4551bff0489670de71d04757e

Change-Id: If00d42c0cb4f2c207f0d502e297741e1d6a68bf4
2012-03-09 15:45:32 -08:00
John Reck
d09666cbf0 Remove wrong nativeSubtractLayers
Bug: 5338388

Change-Id: I6b40d29d53df67bc04e8e52627b5d0c2769c28a5
2012-03-09 15:44:45 -08:00
Jeff Brown
481c1570dc Add Java wrappers for new atrace functionality.
Instrument a few parts of the input dispatcher and the
view hierarchy.

Change-Id: I49285c9fb3502253baa1ffed60f521b8c24fccaf
2012-03-09 15:43:50 -08:00
Glenn Kasten
28b269f341 Use audio_policy_output_flags_t consistently
This affects:
 - IAudioFlinger::openOutput
 - AudioTrack::AudioTrack
 - AudioTrack::set
 - apps that call these

Change-Id: I26fb281bac6cb87593d17697bc9cb37a835af205
2012-03-09 15:32:22 -08:00
Siva Velusamy
64d10a1da0 Expose a function to set OpenGL Trace level.
This patch adds a function setGlDebugLevel() to libEGL, and
exposes it to the Java layer at android.opengl.GLUtils.enableTracing().

Change-Id: Ia5abb130bc32fcfe3ab25b0a0a5283a54c54f357
2012-03-09 15:25:29 -08:00
Glenn Kasten
df0d3ab4d0 Merge "Use AudioRecord::record_flags consistently" 2012-03-09 15:23:45 -08:00
Conley Owens
c2a4a106d3 am ea374096: am c24f5ba4: am 9a3f3b9d: am 67cf093d: Merge "stagefright amrwbenc: Simplify the definition of static_vo"
* commit 'ea374096511f92206c264f3f1eb0551a05a34cd5':
  stagefright amrwbenc: Simplify the definition of static_vo
2012-03-09 15:15:35 -08:00
Conley Owens
8f3ca63476 am 3557654c: am 66da3fdc: am 972efafb: am 6db6ea02: Merge changes I00c852e4,Ib31bf028
* commit '3557654c95bae7754dcd1951ec10742b895817e2':
  stagefright aacenc: Avoid overflows when calculating normFactor
  stagefright aacenc: Avoid a division by zero
2012-03-09 15:15:32 -08:00
Conley Owens
ea37409651 am c24f5ba4: am 9a3f3b9d: am 67cf093d: Merge "stagefright amrwbenc: Simplify the definition of static_vo"
* commit 'c24f5ba4ee2873d6fd980229f0d24c80104d3558':
  stagefright amrwbenc: Simplify the definition of static_vo
2012-03-09 15:13:14 -08:00
Conley Owens
3557654c95 am 66da3fdc: am 972efafb: am 6db6ea02: Merge changes I00c852e4,Ib31bf028
* commit '66da3fdce4dc61f7d1c125eda9b2e065658cc0e5':
  stagefright aacenc: Avoid overflows when calculating normFactor
  stagefright aacenc: Avoid a division by zero
2012-03-09 15:13:11 -08:00
Jeff Brown
3162225d51 Merge "Don't remove all animation callbacks if action/who was null." 2012-03-09 15:12:30 -08:00
Conley Owens
c24f5ba4ee am 9a3f3b9d: am 67cf093d: Merge "stagefright amrwbenc: Simplify the definition of static_vo"
* commit '9a3f3b9db63e7e109a417c0959b8bc589ab70e04':
  stagefright amrwbenc: Simplify the definition of static_vo
2012-03-09 15:10:08 -08:00
Conley Owens
66da3fdce4 am 972efafb: am 6db6ea02: Merge changes I00c852e4,Ib31bf028
* commit '972efafb90b543eea51aa5b23104d469a1bcc1fb':
  stagefright aacenc: Avoid overflows when calculating normFactor
  stagefright aacenc: Avoid a division by zero
2012-03-09 15:09:58 -08:00
Conley Owens
9a3f3b9db6 am 67cf093d: Merge "stagefright amrwbenc: Simplify the definition of static_vo"
* commit '67cf093d86539d4f3db7e2a2b168c9a250c0a5b8':
  stagefright amrwbenc: Simplify the definition of static_vo
2012-03-09 15:06:53 -08:00
Conley Owens
972efafb90 am 6db6ea02: Merge changes I00c852e4,Ib31bf028
* commit '6db6ea02b999e86dfbddd08780eeab0034389f93':
  stagefright aacenc: Avoid overflows when calculating normFactor
  stagefright aacenc: Avoid a division by zero
2012-03-09 15:06:48 -08:00
Alex Sakhartchouk
50159b1f6a Split off driver code into a separate static library.
Change-Id: I055a6d7aecf3663e5e399a0ddee068cc33eca666
2012-03-09 15:04:23 -08:00
Eric Fischer
742f4fa8c9 Restore deleted strings still referenced from public.xml.
Change-Id: I494bcd73ac0fcf4d5f5a9c1c0829246e46f34098
2012-03-09 14:54:33 -08:00
Andreas Huber
27fa14dfb8 Merge "Fix memory leak when carrying ABuffer* in AMessages." 2012-03-09 14:44:13 -08:00
Jeff Brown
43ea54bdc3 Don't remove all animation callbacks if action/who was null.
Fixes a bug in View.removeCallbacks and View.unscheduleDrawable
where it was possible for the caller to remove all animation
callbacks if it happened to specify an action or who parameter
of null.

Also refactored the callback queueing code in Choreographer
to make it more intent revealing although the behavior remains
the same.

Bug: 6144688
Change-Id: Iba29dcda6b3aaad73af664bb63feab65ae3483e5
2012-03-09 14:41:50 -08:00
Craig Mautner
466608e9e8 Merge "Fix state machine sequence causing wallpaper flash." 2012-03-09 14:40:45 -08:00
Eric Fischer
2463353c01 Merge "Import translations. DO NOT MERGE" 2012-03-09 14:33:15 -08:00
Andreas Huber
6d679e02e4 Fix memory leak when carrying ABuffer* in AMessages.
Change-Id: Icb4770ca238d316e6dd2d89159357a8fdb504ea9
2012-03-09 14:33:01 -08:00
Craig Mautner
ad3a9bb628 Fix state machine sequence causing wallpaper flash.
Fixes bug 6127355.

Change-Id: Ie6894329829f78b3ff8936cfe5ed2933490db5d8
2012-03-09 14:32:06 -08:00
Michael Kolb
0f98616bd6 Merge "fix callback NPEs when WebView is destroyed" 2012-03-09 14:01:06 -08:00
Glenn Kasten
e61e667d53 Merge "Replace hard-coded 3 by FCC_2 to simplify searches" 2012-03-09 13:44:14 -08:00
Alex Sakhartchouk
6df8876f79 Merge "More header untangling." 2012-03-09 13:31:41 -08:00
Dianne Hackborn
6c8683987d Merge "Fix issue #6054627: resource matching issue of size qualifiers" 2012-03-09 13:26:35 -08:00
James Dong
862339039a Added an failure log message when the fwdlock engine fails to open a given file.
Change-Id: I0e7f60b61f03fde046fc1ad668b28cdee635898b
2012-03-09 13:21:31 -08:00
Todor Kalaydjiev
da8b340fd1 Merge "Support auto-complete in PhoneNumberFormattingTextWatcher. Also, simplify logic. Previously, the assumption was that only a deletion or an insertion can happen at a time; but with auto-complete, a deletion and insertion happen at the same time." 2012-03-09 13:20:26 -08:00
Dianne Hackborn
5c6dfeb1fb Fix issue #6054627: resource matching issue of size qualifiers
Resource matching would incorrectly identify two configs with the
same value as better than.

Change-Id: I7297dcf58fd5a43f1a5ff53bb093eeeb2cad090f
2012-03-09 13:17:17 -08:00
Glenn Kasten
8d8557ad57 Remove virtual from methods that don't need it
Change-Id: I30e17e61aae25b036436c0e270313c80c43e5f06
2012-03-09 12:48:18 -08:00
Amith Yamasani
f19d5f0271 Merge "Fix a typo in RectF.equals" 2012-03-09 12:39:22 -08:00
Marco Nelissen
8fb0a5ffbe Merge "Improve AudioPlayer position reporting" 2012-03-09 12:36:17 -08:00
Eric Fischer
f63ec13351 Import translations. DO NOT MERGE
Change-Id: I9a83c7f3cd4fd081d2af4479039dae84603dad06
2012-03-09 12:33:37 -08:00
Marco Nelissen
1eb0e4a260 Improve AudioPlayer position reporting
The latency was not taken into account when updating mPositionTimeRealUs
inside of the fillBuffer hook, contrary to what the getRealTimeUsLocked()
method does. This caused the realTimeOffset calculated in the
getMediaTimeUs to always be negative, causing the reported position to
always be equal to mPositionTimeMediaUs, which is updated infrequently.
With this change, the reported position is updated more frequently, allowing
apps to perform smoother UI updates.

Change-Id: I61e05c1a8b53d46b9091afb0d18a6289d13a7a5e
2012-03-09 12:27:06 -08:00
Glenn Kasten
b3030f9b46 Remove unnecessary friend declarations
Add comments to the remaining friends, so we know what is left if we
decide to remove them later.

Change-Id: I1de929257dc4700960f77902cda3d303177c72cf
2012-03-09 12:18:48 -08:00
Svetoslav Ganov
2bff640779 Merge "Adding an announcement type accessibility event and a method on View to announce." 2012-03-09 12:00:13 -08:00
Amith Yamasani
3b577ddb1b Fix a typo in RectF.equals
Change-Id: Idffbf9a324b68f38843049956d1d05d4a64d1345
2012-03-09 11:53:31 -08:00
Adam Powell
c68bbe6a86 Merge "Reduce excessive right padding on action bar titles" 2012-03-09 11:51:07 -08:00
Adam Powell
d06c29439b Reduce excessive right padding on action bar titles
Change-Id: I6ef44ce330523dda38a57fe09b9d0520447a6e3c
2012-03-09 11:49:56 -08:00
Michael Kolb
d78ad29b09 fix callback NPEs when WebView is destroyed
Bug: 6141489

change destroy flow for WebViewCore and block callback
messages
Change-Id: Ib15a0e016508bc6df031996adde150dd37c195c4
2012-03-09 11:49:17 -08:00
Svetoslav Ganov
51ab90cab1 Adding an announcement type accessibility event and a method on View to announce.
1. The need for sending an accessibility event to announce a context change
   which does not cleanly fit into the existing UI transition UI events has
   come quite a few time in application development. To avoid retrofitting
   accessibility event types that do not semantically match the intent to
   just announce a short message this patch is adding specialized event type.
   Also a helper method on View is added to sheild developers from knowing
   how to construct and send such an event.

bug:5977979

Change-Id: Iaf5f620426f8616be67fbf243a02ad5b606c949b
2012-03-09 11:47:17 -08:00
Andrew Flynn
c5bad6956e am 36fde268: am dfc87c82: Merge "Use a different width for nav icons in sw600dp-port." into ics-scoop
* commit '36fde2688bc32ddd5ed5de834a39ce3c7cd2b6cf':
  Use a different width for nav icons in sw600dp-port.
2012-03-09 11:43:53 -08:00