18911 Commits

Author SHA1 Message Date
Narayan Kamath
a36cce06a6 Fix a threading issue in AudioPlaybackHandler
Never allow the AudioTrack to be observed in a state where
it is release()d but non null.

Change-Id: I1e5b61355f30c2aafcd55ecdf83077d7a9d99c66
2011-07-19 12:43:17 +01:00
Narayan Kamath
90e5650f96 Few minor TTS clean ups.
(a) Remove unnecessary null check.
(b) Remove unused function.
(c) Clean up for TextToSpeech#shutdown.

Change-Id: I3ec5bccc327437064da130634a14aaf7d48eca4d
2011-07-18 16:00:49 +01:00
Narayan Kamath
be4ad4ac66 Fix a few threading issues in the AudioPlaybackHandler.
Also fixes a bug where PlaybackSynthesisCallback would
continue to pump audio to the audio playback thread after
being stopped.

Change-Id: I3233eb4858245b6e7c7df72e241a0708c668f1b4
2011-07-18 12:01:30 +01:00
Narayan Kamath
f564ed8792 Merge "Improve TextToSpeech#isSpeaking()" 2011-07-18 02:52:35 -07:00
Svetoslav Ganov
952d073373 Merge "Update the style of the action bar share UI" 2011-07-17 23:06:35 -07:00
Svetoslav Ganov
414051b8b1 Update the style of the action bar share UI
1. Made the background of the default and expand buttons change when pressed.

2. When the share UI is shown on the overflow the "Show all" menu item was
   present event if all items are shown.

3. The width of the popup for picking an item was different for the action
   view and overflow case.

bug:5039747

Change-Id: I72afbcf86c93596c7eba4d70c002eab060ff31f8
2011-07-17 22:59:25 -07:00
Adam Powell
8f2fe87e25 Merge "Make View#setBackgroundDrawable a no-op if setting the same background." 2011-07-17 17:16:37 -07:00
Adam Powell
4d36ec11f2 Make View#setBackgroundDrawable a no-op if setting the same background.
Change-Id: Idd3e0ae80609557d82a5564daa1cfb0abca42ded
2011-07-17 16:44:16 -07:00
Jeff Sharkey
bd029f64f2 Merge "Data usage notifs, newly installed apps, defaults." 2011-07-17 16:29:11 -07:00
Jeff Sharkey
02e21d6a5b Data usage notifs, newly installed apps, defaults.
Only show warning/limit notifications for active networks, since they
aren't actionable for inactive IMSI.  Include IMSI in debug output on
engineering builds.

Move default policy warning to be configured through overlay.  Watch
for newly installed packages to enforce global policy.

Bug: 5038729, 5038541, 4979026, 5023634
Change-Id: I8fc8ab4c23c440a3091504ea16133ed6ababf58e
2011-07-17 16:28:02 -07:00
Dianne Hackborn
066836fce9 Merge "Fix a couple static leaks." 2011-07-17 14:30:25 -07:00
Dianne Hackborn
1078609d44 Merge "Rework and fix "adb shell dumpsys meminfo"" 2011-07-17 14:29:54 -07:00
Dianne Hackborn
de4c26fa1a Fix a couple static leaks.
Change-Id: If2564dc822fbcb3bb3baf270ad2b3c29c78bf421
2011-07-17 13:49:27 -07:00
Dianne Hackborn
0e3328fbdd Rework and fix "adb shell dumpsys meminfo"
We now collect more detailed information splitting the maps into
additional useful categories.

Fixed some bugs in account, such as not correctly handling all of
the current dalvik allocations.

The activity manager now prints a final summary of all pss organized
by the apps and the categories.

Change-Id: Iafc5f27c998095812b1483c6803b8e0f0587aeae
2011-07-17 13:48:37 -07:00
Adam Powell
b80d332e74 Fix bug 5037642 - Refine back button behavior for action bar modes.
Action modes for the action bar used to aggressively hijack the back
button before the view hierarchy got a chance to respond to it. Loosen
this. New ordering is: view hierarchy => window feature-level modes
(action bar modes e.g. CAB/search) => Activity/window callback
behavior.

Change-Id: Iac1b22997713be968a94f77f9fa6cebaf6f923f0
2011-07-17 13:04:37 -07:00
Jeff Sharkey
6fa7e7e9bb Merge "Release strong Fragment references after exec." 2011-07-17 12:06:05 -07:00
Svetoslav Ganov
47b779b9f9 Scroll events should indicate whether or not they have pixel data.
1. Updated all integet properties of AccessibilityRecord to be set to -1
   so this is a clue to the client that this property is irrelevant for
   the current event type.

bug:5031598

Change-Id: Ifedc15bf2249847cbc6cbcb83f5732e17b8b2903
2011-07-17 11:12:49 -07:00
Svetoslav Ganov
0f55cc33f6 AccessibilityNodeInfo does not report checkable coreclty.
1. AccessibilitiyNodeInfo's checkable property was not set.

bug:5039205

Change-Id: I083d1c357c6d9875536e66e355c8a33bd580cee6
2011-07-17 10:51:54 -07:00
Gilles Debunne
176ee3d0f2 Bug 5037953: Fix NPE in bringPointIntoView
Change-Id: If711f65de1a70ac9132b0b853a9f336ec56355b8
2011-07-16 13:51:24 -07:00
Adam Powell
28fa07e15f Fix bug 5021359 - show app icon for collapsible action views.
Also fix a bug with initial enabled state of the app-home button.

Change-Id: I7eac4932deeced3ac209ad899922ac90f40c87e6
2011-07-15 20:17:25 -07:00
Adam Powell
8132ba5e2e Fix bug 5011067 - align popup lists to their content rather than
window frame by default

Change-Id: I05803b7487248d38981c2adc5422bf01761bc18c
2011-07-15 18:22:44 -07:00
Fabrice Di Meglio
9c83011005 Merge "Fix bug #4972141 Overlapping content in single-choice dialogs" 2011-07-15 17:51:46 -07:00
Daniel Lehmann
9eebaf10e9 Merge "Use higher resolution in in-call UI if available." 2011-07-15 17:41:36 -07:00
Fabrice Di Meglio
54d6962555 Fix bug #4972141 Overlapping content in single-choice dialogs
- need to take care about padding resolution

Change-Id: Ida9738ffada6c6455b7949f933fa61924c4f7961
2011-07-15 17:05:11 -07:00
Fabrice Di Meglio
9703ac8e6f Merge "Some code refactoring" 2011-07-15 16:52:03 -07:00
John Reck
849a147c99 Merge "Implement SeekBarPreference.onGetDefaultValue" 2011-07-15 15:58:43 -07:00
John Reck
595d2bdc16 Implement SeekBarPreference.onGetDefaultValue
Bug: 5036325

Change-Id: I1db0ed3809b862a547e5fda40027852f8b46aa38
2011-07-15 15:48:01 -07:00
Chet Haase
622e05c4d2 Fix leak in LayoutTransition
Static objects were referencing the first LayoutTransition object,
which referenced its target container, which eventually referenced the
Activity. That reference chain never went away.
The fix is to create animators that do not reference any target
object (they are just templates which are loaded with real target
objects when they are started).

Change-Id: Ie29f53bf3b886b8052b6ee3a56647a312d9adeaa
2011-07-15 15:24:18 -07:00
Irfan Sheriff
75683d59db Merge "WifiWatchdog rewrite to formal statemachine" 2011-07-15 14:38:04 -07:00
John Reck
9a3d51f596 Merge "Add a hidden generic property interface" 2011-07-15 13:18:50 -07:00
Isaac Levy
654f509075 WifiWatchdog rewrite to formal statemachine
Rewrote wifiwatchdog service to use net.statemachine

Change-Id: Id6fd42b13192ac2e99f842ff50e9edff1696675d
2011-07-15 12:31:58 -07:00
Romain Guy
f9284695e8 Add new ViewDebug APIs to profile the event queue.
Change-Id: I225bf288780b0244f459316e2765cfa29cd22c89
2011-07-15 11:25:11 -07:00
John Reck
637758940f Add a hidden generic property interface
Change-Id: Iff890d7802af00a80b0148c7cc3233c6fc4d5dad
2011-07-15 11:14:43 -07:00
Robert Greenwalt
fc5e367d80 Merge "resolved conflicts for merge of 8550f3b8 to master" 2011-07-15 11:01:36 -07:00
Gilles Debunne
c7f2cdea3c Merge "Bug 4382356: No automatic focus change in ScrollViews" 2011-07-15 10:55:32 -07:00
Robert Greenwalt
d9212d3088 resolved conflicts for merge of 8550f3b8 to master
Change-Id: If2881b8b7faea5139af83a37cba04ccac5904f81
2011-07-15 10:52:54 -07:00
Gilles Debunne
8202cd3602 Bug 4382356: No automatic focus change in ScrollViews
The current behavior in ScrollView is inconsistent: a slow scroll will
not change focus while a fling will. With this change, the focus is not
moved from field to field (resulting in poup due to keyboard / suggestion bar
state changes).

Also made sure any new input in a TextFields scrolls back the view to make the
EditText visible. Has no effect if the EditText is already visible.

Change-Id: I7ff301fe85f73c27d76e4893aeab7442d0539b13
2011-07-15 10:00:50 -07:00
Robert Greenwalt
8550f3b86a resolved conflicts for merge of 0a46db5d to honeycomb-plus-aosp
Change-Id: I0f1bea54d999ab3ef10400ee67bd4d3b2a5d1783
2011-07-15 09:55:48 -07:00
Fabrice Di Meglio
50e95eba5c Merge "Implement textDirection heuristic selection." 2011-07-15 09:49:48 -07:00
Gilles Debunne
38143a6822 Merge "Bug 5014726: Paste works in ExtractedText" 2011-07-15 09:41:16 -07:00
Mike Lockwood
600449c6c8 Merge "MediaScanner: Add virtual NO_MEDIA column to fix support for .nomedia files" 2011-07-15 09:18:34 -07:00
Mike Lockwood
92e1314ad9 MediaScanner: Add virtual NO_MEDIA column to fix support for .nomedia files
Bug: 5025615

Change-Id: Ia910cd1c063292599a03b878755edb2e3cdbbb57
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-07-15 12:17:33 -04:00
Narayan Kamath
c34f76fe89 Improve TextToSpeech#isSpeaking()
Query the audio playback thread to check if it's busy.

bug:5033910
Change-Id: Ie57c7776bac27c2e712ddad4ec50fb7d78ea82e7
2011-07-15 11:29:06 +01:00
Narayan Kamath
37ccb4b55d Merge "Remove the completeAudioAvailable API." 2011-07-15 02:56:31 -07:00
Jeff Brown
1af6d27b9e Merge "Ensure selector state is updated when touch mode changes." 2011-07-14 22:42:15 -07:00
Jeff Brown
997ea74ef7 Merge "Remove edge slop support." 2011-07-14 22:32:09 -07:00
Jeff Brown
945caeeaa8 Merge "Refresh the drawable state when selecting a position." 2011-07-14 22:31:40 -07:00
Jeff Brown
5bd512a131 Merge "ListView focus bugfix." 2011-07-14 22:31:34 -07:00
Jeff Brown
c14aea2621 Merge "Frameworks: fixes possible invalid pointer index call." 2011-07-14 22:31:17 -07:00
Jeff Brown
1e20946aa3 Ensure selector state is updated when touch mode changes.
This fixes a problem where the focus selection rectangle
often remains visible even after entering touch mode.
This problem is particularly noticeable when using the
mouse to scroll the list while an item is selected.

Change-Id: I9938d2586725d91fd3f6738408233f2ead167319
2011-07-14 22:19:19 -07:00