53533 Commits

Author SHA1 Message Date
James Dong
0f5d8441ef Merge "Switch to use MediaMetadataRetriever to generate the project thumbnail when the first media item is a MediaVideoItem" 2011-06-22 10:33:25 -07:00
Philip Milne
0edc52970f Merge "Minor tweaks to GridLayout for KeyGuardScreenUnlock." 2011-06-22 10:18:32 -07:00
James Dong
839ba2c183 Add some error log messages to indicate the failure of a recording session
Change-Id: I8c5885200bcf6a59736076efc021f07f45a0fdac
2011-06-22 10:09:03 -07:00
Mike Lockwood
7730ad569d Fix window leak in UsbPreferenceActivity
Change-Id: I4160e73a4e840662c6ac724e27460853fb259eae
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-06-22 12:02:10 -04:00
Irfan Sheriff
20b6ded6e3 am 5d5b73be: Merge "resolved conflicts for merge of 267a6181 to honeycomb-LTE" into honeycomb-LTE
* commit '5d5b73be515d839d72e1cf7aeffdfdfb56d66045':
  DO NOT MERGE Revert "DO NOT MERGE Add DhcpStateMachine"
2011-06-22 07:47:16 -07:00
Irfan Sheriff
5d5b73be51 Merge "resolved conflicts for merge of 267a6181 to honeycomb-LTE" into honeycomb-LTE 2011-06-22 07:27:39 -07:00
Irfan Sheriff
c74eacde30 resolved conflicts for merge of 267a6181 to honeycomb-LTE
Change-Id: I95d459c937f788ed15f178e85692e1c393bdaa04
2011-06-22 07:11:42 -07:00
Grace Kloba
0bc6eb30bc Fix the issue where TextureView stuck if the producer side is too fast.
When SurfaceTexture is in sync mode, the consumer needs to pull the pending
frames. Otherwise the onFrameAvailable won't be called and no more update.

This simple fix is to skip frame to keep up with the producer side.

Change-Id: Ica833695dc0b0221d2543f46f0dd41aa55d1aa16
2011-06-22 01:29:13 -07:00
Grace Kloba
925bcaabde Fix the issue where onFrameAvailable is not triggered if SurfaceTexture is in sync mode.
If there is more frame after updateTexImage, trigger the listener again.

Change-Id: I1415ae9a914cc8bb139cb369464b1f6a2aa24058
2011-06-22 00:56:54 -07:00
satok
8969d9924c Revert "Create TextServiceManager and SpellCheckerService"
This reverts commit eaddb894865a804279659b4aad6364a34ab50beb.
2011-06-22 16:41:58 +09:00
satok
f86ee14f6a Merge "Create TextServiceManager and SpellCheckerService" 2011-06-22 00:02:55 -07:00
satok
c6080b3cc5 Merge "Add an ongoing notification to switch IME" 2011-06-21 23:09:00 -07:00
satok
7cfc0ed21a Add an ongoing notification to switch IME
Bug: 4671417
Change-Id: I2b9e955003c1f6703978824c947d5f322a039714
2011-06-22 15:08:08 +09:00
Jeff Brown
87b7f805b9 Send hover to all children under pointer.
Previously we only sent hover to the topmost child, but this doesn't
handle cases where multiple children are overlapped to achieve
certain special effects.  Now we send hover to all children until
one of them handles it.

Also moved the call to send the accessibility event into the
main dispatch function so that we can send the accessibility event
for all innermost hovered views even when setHovered() might
not be called.

Change-Id: I6fb8b974db44b594c441deafc012b8415afdfac7
2011-06-21 21:15:07 -07:00
Jeff Brown
194f4a7afd Merge "Only handle onHoverEvent in actionable views." 2011-06-21 21:12:24 -07:00
Jeff Brown
32b6328b0c Merge "Fix taint and nesting bugs." 2011-06-21 21:12:19 -07:00
Adam Powell
9c4e23c2b7 Merge "Fix bug 4818050 - Need a way to get notified when a PopupMenu gets dismissed/canceled" 2011-06-21 20:58:28 -07:00
Adam Powell
42b91bbcda Fix bug 4818050 - Need a way to get notified when a PopupMenu gets
dismissed/canceled

Add an OnDismissListener to PopupMenu.

Change-Id: I7abe1b9c9bea5e758a9c32631185e50cd7eb1ed0
2011-06-21 20:56:55 -07:00
Fabrice Di Meglio
aa4d46bb12 Merge "Fix bug #4796027 left/right padding regression after recent View change (part 2)" 2011-06-21 19:49:41 -07:00
Fabrice Di Meglio
f9e36506f1 Fix bug #4796027 left/right padding regression after recent View change (part 2)
- revert previous fix (transforming >=0 to >0)
- initialize mUserPaddingStart and mUserPaddingEnd to -1 in the specific View(Context context) constructor
- cache mUserPaddingStart and mUserPaddingEnd a bit earlier in View(Context context, AttributeSet attrs, int defStyle) constructor
- cache also mUserPaddingStart and mUserPaddingEnd in setPaddingRelative()

Change-Id: Ibe398da7af35f77655d7006444fa49c9c5387f62
2011-06-21 19:43:03 -07:00
Wink Saville
446a436cf3 am 4d9261fa: Merge "Use dataConnectionNotInUse to decide if a DC is free." into honeycomb-LTE
* commit '4d9261fad3e3bdfa056f377c10f2af0a6db62542':
  Use dataConnectionNotInUse to decide if a DC is free.
2011-06-21 19:37:46 -07:00
Wink Saville
66c37f5df2 am 64a09341: Merge "Fix handling of unsol_data_state_change with PDP sharing scenario" into honeycomb-LTE
* commit '64a09341d8a16212855b7cdd16fe079e25d45838':
  Fix handling of unsol_data_state_change with PDP sharing scenario
2011-06-21 19:35:22 -07:00
Wink Saville
47e319247e am aef70d3f: Merge "Return USIM IMSI as subscriber ID in case of CDMA-LTE mode" into honeycomb-LTE
* commit 'aef70d3f73eec5b28e1255027f947d95a74b6ab9':
  Return USIM IMSI as subscriber ID in case of CDMA-LTE mode
2011-06-21 19:35:09 -07:00
Wink Saville
1773120c1e am ac4ff895: Merge "Special retry back-off timer in call setup failure." into honeycomb-LTE
* commit 'ac4ff8958eced1c56a2e9571dd754c98eaa43108':
  Special retry back-off timer in call setup failure.
2011-06-21 19:34:54 -07:00
Wink Saville
4d9261fad3 Merge "Use dataConnectionNotInUse to decide if a DC is free." into honeycomb-LTE 2011-06-21 19:32:36 -07:00
Wink Saville
64a09341d8 Merge "Fix handling of unsol_data_state_change with PDP sharing scenario" into honeycomb-LTE 2011-06-21 19:32:25 -07:00
Wink Saville
aef70d3f73 Merge "Return USIM IMSI as subscriber ID in case of CDMA-LTE mode" into honeycomb-LTE 2011-06-21 19:32:16 -07:00
Wink Saville
ac4ff8958e Merge "Special retry back-off timer in call setup failure." into honeycomb-LTE 2011-06-21 19:32:05 -07:00
Irfan Sheriff
ecce539f3d Merge "Release wakelock after use" into honeycomb-mr2 2011-06-21 19:17:27 -07:00
Jeff Brown
10b6290c5f Only handle onHoverEvent in actionable views.
Modified onHoverEvent so that a view only has its state changed to
hovered when the view is clickable.  The intent is to prevent labels
from taking hover focus away from their containing view group despite
not being actionable in any way.  The child will still receive
a hover event but, if it does not handle the event (returns false),
the hover event will bubble up to its parent and ancestors allowing
them a chance to handle the event instead.

The new onHoverEvent semantics are better because now they closely
mirror those of onTouchEvent.  This makes it straightforward to
implement views that respond to hover by changing their visual
appearance (such as by making buttons glow when hovered).

Added onInterceptHoverEvent to enable ViewGroups to explicitly
intercept hover events within their bounds.

Exposed the new hover event API for real.

Change-Id: I63195c8f5c74b859f6047487f9a0f703e8f40ffe
2011-06-21 18:58:20 -07:00
Jeff Brown
738e7e431c Fix taint and nesting bugs.
Tainted events should still be processed, even if we don't bother
the developer with the details.

The check for nested calls to the event verifier must incorporate
the event type because different event types might be overridden
in different subclasses so the nesting depths may vary.

Change-Id: If2fb213e07db783a0bd1da97bb12aad93126d712
2011-06-21 18:58:20 -07:00
Svetoslav Ganov
3de7130d1d Merge "Searching for AccessibilityNodeInfo by text not case insensitive." 2011-06-21 18:12:15 -07:00
Kazuhiro Ondo
7c2d6fd60d Return USIM IMSI as subscriber ID in case of CDMA-LTE mode
Bug: 4764057
Change-Id: I0c7d6e2af6a597d70d2024205d358e8b9c56b57b
2011-06-21 18:02:51 -07:00
Svetoslav Ganov
ec39c234bd Searching for AccessibilityNodeInfo by text not case insensitive.
1. The query string was not converted to lower case during search
   for infos with text.

bug:4818098

Change-Id: Ie4ba8ac2632072bdd71070ec8fd24ca255560ac0
2011-06-21 18:02:35 -07:00
Wink Saville
d1ec23c206 Use dataConnectionNotInUse to decide if a DC is free.
Change-Id: I89cb2f46dca59d5738dd16eb657104c3158ebcd2
2011-06-21 17:58:45 -07:00
Fabrice Di Meglio
374d757e9c Merge "Fix bug #4796027 left/right padding regression after recent View change" 2011-06-21 17:55:50 -07:00
Svetoslav Ganov
40f6edf27b Merge "Touch exploration hover events don't map coordinates correctly on scrollable WebViews." 2011-06-21 17:54:17 -07:00
Fabrice Di Meglio
f8ed444fad Fix bug #4796027 left/right padding regression after recent View change
- mUserPaddingStart and mUserPaddingEnd had be be greater than 0 for overriding

Change-Id: I588a9971bf73aa9461716cfd5a006373a14408f8
2011-06-21 17:53:03 -07:00
Svetoslav Ganov
fbb1560d6e Touch exploration hover events don't map coordinates correctly on scrollable WebViews.
1. While mapping Android hover to WebKit mouse events I was not
   taking into account the horizontal and vertical scroll.

bug:4807087

Change-Id: Ie24a8a30ce6a20d27b627ae7c7fbff1b74d140c8
2011-06-21 17:51:40 -07:00
Svetoslav Ganov
9e29a4f90a Merge "AccessiblityNodeInfo#findAccessibilityNodesByText returns null if non found." 2011-06-21 17:41:19 -07:00
Svetoslav Ganov
86398bda3d AccessiblityNodeInfo#findAccessibilityNodesByText returns null if non found.
1. Updated the code to return empty list instead.

2. Updated the doc to explain that the search is done in the
   sub-tree rooted at the info whose method is called.

Change-Id: I560d2563ed4772305bf2d7919560ef19baa30a1d
2011-06-21 17:38:48 -07:00
Jason Sams
dbe03ae5d0 Merge "Fix bugs in AllocationAdapter." 2011-06-21 17:14:09 -07:00
James Dong
e413899097 Merge "Timestamp adjustment will not work well if we ask video encoder to produce B frames" 2011-06-21 17:13:57 -07:00
Jason Sams
2d90f953b8 Merge "First cut of atomics for renderscript." 2011-06-21 17:11:04 -07:00
Jason Sams
ee2d809ab0 Fix bugs in AllocationAdapter.
Change-Id: Ib530fc719de3587f44eed88bd1d16e22dd5af64a
2011-06-21 17:07:23 -07:00
Jason Sams
71767c5577 First cut of atomics for renderscript.
Change-Id: Iefc0228d802e6f5348ae787553c9252fb90ba110

update atomic patch.

Change-Id: Idd0596439c092f570b6b226e9a9c7102ddffe88e
2011-06-21 17:07:18 -07:00
James Dong
e67bb48b66 Timestamp adjustment will not work well if we ask video encoder to produce B frames
Change-Id: Ic6a2235fefb6f15081091e1f2c1b12ee92fba5e0
2011-06-21 17:05:42 -07:00
Bruno Oliveira
f5c6236289 Merge "Rewriting "Audio and Video" section of Dev Guide." into honeycomb-mr2 2011-06-21 16:44:56 -07:00
Stephen Hines
419091185f Merge "Support missing RS vector types." 2011-06-21 16:35:39 -07:00
Kazuhiro Ondo
e0acd0842f Special retry back-off timer in call setup failure.
RIL might specify a special retry back-off timer only used for
temporary in a certain error scenario. This patch will be adding
new handling of "retry" override so RIL specified retry timer
can be used instead of the pre-configured one.

Bug: 4723641
Change-Id: Ia4784f022a029c79b35c4c4c01ad7e49efd56a3c
2011-06-21 16:17:03 -07:00