77069 Commits

Author SHA1 Message Date
Svetoslav Ganov
321a56c848 Merge "Clearing accessibility focus of a view did not update the global state." into jb-dev 2012-05-22 20:26:29 -07:00
Svetoslav Ganov
b6a0b09bf5 Interaction model of KeyboarView should be same as latimIME
1. In latin IME key up types in - now the keyboad view does the same.

bug:6534935

Change-Id: I91cd40c5cd541199f3fb43e4d0bf26be511dcd09
2012-05-22 19:47:02 -07:00
Jeff Sharkey
44fc8d5e20 Merge "Add media directory, hidden for now." into jb-dev 2012-05-22 19:10:32 -07:00
Svetoslav Ganov
c00d00865d Clearing accessibility focus of a view did not update the global state.
1. The code in clear accessibility focus was not updaing the global
   accessibility focus reference in view root if the view not a
   descendant has accessibility focus.

bug:6382856

Change-Id: I0c99578b5afd1f1f5d0df5bba05b0a03b5951a43
2012-05-22 18:43:11 -07:00
Svetoslav Ganov
64a0387589 Merge "Perform an action in AccessibilityManagerSerivce using wrong process id." into jb-dev 2012-05-22 18:26:44 -07:00
Jeff Sharkey
d525baa3a8 Add media directory, hidden for now.
Bug: 6539384
Change-Id: I8f3f7b92d27f15e82a43bb2fec02f2d9ed0280e1
2012-05-22 18:25:37 -07:00
Dianne Hackborn
89604931a8 Merge "Fix issue #6521829: Sometimes action bar disappears in gallery" into jb-dev 2012-05-22 18:23:41 -07:00
Svetoslav Ganov
9bf21873c9 Perform an action in AccessibilityManagerSerivce using wrong process id.
1. We are passing the interrogating process id in the remote
   accessibility requests to catch the query from the same
   thread. While all other methods were doing this correctly
   somehow the perform action is using the incorrect process id.

bug:6534935

Change-Id: Icef50833903c562758d51ef316b60c53c7a336c0
2012-05-22 18:08:02 -07:00
Jim Miller
23d69f5c5e Merge "Fix 6539117: Fix layout issues on 600dp device." into jb-dev 2012-05-22 18:07:08 -07:00
Dianne Hackborn
80d55065b1 Fix issue #6521829: Sometimes action bar disappears in gallery
Change-Id: Ieb1f1fd0ebb87037cda94e1e1d6e2ca9a9c0754e
2012-05-22 18:03:20 -07:00
Chris Craik
3534e13486 Merge "Avoid crash if onDetachedFromWindow called after destroy" into jb-dev 2012-05-22 17:20:07 -07:00
Dianne Hackborn
2d243bc62a Merge "Fix issue #5680541: onStartInputView called upon focus loss" into jb-dev 2012-05-22 17:07:50 -07:00
Jim Miller
3d0083b3f8 Fix 6539117: Fix layout issues on 600dp device.
This fixes two issues:
1. The pattern view was shown too low on the device due to shared layout
with 720dp device.
2. The time was showing on top of the transport control view (music playback widget)

Change-Id: Id8a5809f96cfbda7eb55fa91b1bea826d483373a
2012-05-22 17:05:13 -07:00
Craig Mautner
208236dd96 Merge "Pull showStrictModeViolation off of local threads." into jb-dev 2012-05-22 16:54:09 -07:00
Chris Craik
9e08012869 Avoid crash if onDetachedFromWindow called after destroy
This also removes the temporary logging from commit
f8dafa14e058cdc2f408b59be7911abaceb73c47.

bug:6535911
Change-Id: Icf1d0438b349a0e92e7d9cefed57a252eed2b9b0
2012-05-22 16:52:00 -07:00
Craig Mautner
196943fb51 Modify auto brightness to return to dim level.
Previous auto brightness policy was to only ratchet screen brightness
up and never return to dim levels until the device was turned off. This
caused the screen to be very bright in dim areas and reduced battery
life. This change allows the screen to dim down over the course of
a minute to the desired brightness level.

Fixes bug 6422464.

Change-Id: I5592c06a495650c6496ec2fc9846d7a10fac4b16
2012-05-22 16:36:12 -07:00
Marco Nelissen
b4b847866f Handle _ and % in paths
When doing a "like" match on a path, add a second non-like constraint
so that sqlite wildcard characters don't match arbitrary other characters.
b/6501408

Change-Id: I21f9b1c2d8e7c7ef27c0ad5fe24c3e01cd67fb61
2012-05-22 16:30:34 -07:00
Dianne Hackborn
a6e41342e2 Fix issue #5680541: onStartInputView called upon focus loss
We should tell the app that it is inactive, before unbinding.
Otherwise when it is told to unbind it will see that it is still
supposed to be active and immediately re-bind.

Also change the calls to set the active state to go through the
message dispatch path, to ensure ordering is correct.

Change-Id: I246241eac8f7521f42c4c1eee7f46097337e7303
2012-05-22 16:30:34 -07:00
Eric Laurent
7847211fb4 AudioManager: restore setBluetoothA2dpOn() method
Remove deprecation on setBluetoothA2dpOn() method so that applications
can override the default audio policy which is to use A2DP
for media whenever connected.

The request is not persistent and the default policy is restored when a
new A2DP i ro wired headset connection occurs.

Bug 6485897.

Change-Id: I2a4b6b6bdba55f7b133e64f86d27c03eb86acfa4
2012-05-22 16:06:21 -07:00
Craig Mautner
0447a81e6d Pull showStrictModeViolation off of local threads.
By moving the StrictModeViolation display onto the WindowManager
Handler we avoid potential deadlocks as found in the bug below.

Fixes bug 6537798.

Change-Id: Ia46a43d1f7f6e55256f770b9e196602092669b49
2012-05-22 16:01:31 -07:00
Svetoslav Ganov
956f28edae Merge "Always reference injector using get method." into jb-dev 2012-05-22 15:32:19 -07:00
Irfan Sheriff
9bfc5dbd1c Merge "Add WPS details for certification" into jb-dev 2012-05-22 15:03:44 -07:00
Chris Wren
3745a3da75 BigPicture notifications for screenshots.
Needed a little extra help from the builder to make this
happen (like the title, you might want a different largeIcon
in the expanded view if---as in this case---it is redundant
with the big picture).

Needed to fix BigPicture template to reveal actions.

Bug: 6289107
Change-Id: I19dc62e693ee2c87cbe82f7327fe9115768b4102
2012-05-22 17:47:33 -04:00
Adam Cohen
662e4a456b Merge "Fix ANR which could occur for collection widgets with very large items" into jb-dev 2012-05-22 14:41:54 -07:00
Chris Craik
7a9328a311 Merge "Add temporary functor lifetime logging" into jb-dev 2012-05-22 14:39:13 -07:00
Romain Guy
e5a4a3dc16 Merge "Ensure we always set the proper blending mode Bug #6527305" into jb-dev 2012-05-22 14:28:58 -07:00
Chris Craik
f8dafa14e0 Add temporary functor lifetime logging
bug:6535911

Change-Id: Ida5cc1def7fe1fc314317bbc5df50e1465753deb
2012-05-22 14:26:15 -07:00
alanv
500b91ebac Always reference injector using get method.
Bug: 6535301
Change-Id: If1d55c3229603d12c568213bd2f271c7cb6ab139
2012-05-22 14:22:48 -07:00
Adam Cohen
35fbe2a592 Fix ANR which could occur for collection widgets with very large items
-> We cache RemoteViews which populate the AdapterViews, but only
   up to a total memory amount of 2MB. The remainder of the cache
   is pruned out. If _every_ item is greater than 2MB, we were failing
   to prune the last item, leaving the framework in a loop on a bg
   thread, but holding a lock required by the main thread.

Change-Id: I0574a25a59ebec6586ae223fff6605c0fee953c3
2012-05-22 14:10:14 -07:00
Romain Guy
ddf7437361 Ensure we always set the proper blending mode
Bug #6527305

At the beginning of a frame, always set the blending mode that we
think GL is using just in case it was modified by another entity
(for instance a WebView functor.)

Change-Id: I0e1d0abee8a2abb2b8e7622aed28346e89562c06
2012-05-22 14:08:10 -07:00
John Spurlock
638e012d2b Merge "Status Bar: Register for rotation lock status updates." into jb-dev 2012-05-22 13:40:35 -07:00
Irfan Sheriff
4dd5a25a32 Add WPS details for certification
We need to provide device details to the supplicant for WPS 2.0 certification

Bug: 6450363
Change-Id: I3eb8bc75faacf392a43b6ef3085971bd32a675ac
2012-05-22 13:15:00 -07:00
Dianne Hackborn
2bccea2461 Merge "Fix issue #6499411: Characters not displayed (but suggestion bar is working)" into jb-dev 2012-05-22 13:13:02 -07:00
Chris Craik
12fd5db435 Merge "Don't clear the functor at every draw" into jb-dev 2012-05-22 13:11:10 -07:00
Dianne Hackborn
ac92087a9a Fix issue #6499411: Characters not displayed (but suggestion bar is working)
The problem was that when dismissing the lock screen, the window manager
would briefly turn off force hiding when it started animating the transition
and then turn it back on until the transition was done.

This would cause it to briefly switch focus to the app behind and then
take focus off it.  The app would find out it got focus, and re-start
input on itself, asking the input method service to do so.  At this
point the input method service would ask the window manager if the
caller really had focus, and it may or may not be told no depending
on the timing.  If it is told no, then it doesn't allow the focus
switch to happen at that point, ignoring the new input connection,
and ultimately when focus does really switch the IME is left talking
with an old dead input connection.

I added some code to the input connection to make sure when we are
no longer using one that we mark it inactive and can't use it.  This
bug was especially difficult to track down because it would only
visibly break when a GC happened during this time, causing the weak
reference on the input connection to become null.  With this change
it will now always break (though in the scenario here only if you
hit the race condition correctly).

Change-Id: I81a6164dc140c548da1a9736e42cd253e8238a80
2012-05-22 12:15:15 -07:00
Chris Craik
c8538ade8d Don't clear the functor at every draw
instead clear functors at invoke time, and let them detach themselves as needed.

bug:6511995
Change-Id: I9115fcadffb27eb850c1d1773c098d3d2e22788b
2012-05-22 11:54:06 -07:00
George Mount
37f29abe1d Merge "DO NOT MERGE Consider current scroll position to move text field into view." into jb-dev 2012-05-22 11:42:41 -07:00
George Mount
76cf78165f Merge "DO NOT MERGE Consider fixed layers when scrolling the edit box." into jb-dev 2012-05-22 11:42:33 -07:00
Svetoslav Ganov
ec2bf4ca30 Merge "UI test automation not working." into jb-dev 2012-05-22 11:40:44 -07:00
Ying Wang
996b073e81 Fix length of pattern.
After skipping * with "token++", the length should decrease by 1 as
well.

Change-Id: I132eb7d12bb756f2f713c607e92741ca834aef81
2012-05-22 11:35:22 -07:00
Svetoslav Ganov
ec2c171778 UI test automation not working.
1. The internal service instance created by AccessibilityManagerService
   was getting the looper of the current thread when created. This works
   for real accessibility services but since UI automation service is
   registered via an IPC the binder thread has no looper. Now we explicitly
   get the correct looper.

bug:6535435

Change-Id: I63a2ada1b65c4b3c71c3d1e6deb3dfdeb7a3d6d6
2012-05-22 11:32:04 -07:00
George Mount
12221d1540 DO NOT MERGE Consider current scroll position to move text field into view.
Bug 6530008

Change-Id: I6542dab70b64f809ec5dd4deb3511f8aa38278e1
2012-05-22 09:46:13 -07:00
George Mount
b999b22eca DO NOT MERGE Consider fixed layers when scrolling the edit box.
Bug 6147580
 Webkit Change: I810891decf0bad682e90f29f0f65c6b765b7d6d6

Change-Id: Idaa538824e611acd64eb5a4ccb7866d3c978a077
2012-05-22 09:40:23 -07:00
Kenny Root
0eaeb69d1c Merge "Do not bother to remove pending installs" into jb-dev 2012-05-22 08:54:30 -07:00
Daniel Sandler
c40a7fe002 Merge "Fix three-line notifications." into jb-dev 2012-05-22 08:17:29 -07:00
John Spurlock
781f0f491a Status Bar: Register for rotation lock status updates.
Updating the rotation lock status in Settings is now instantly
reflected in the status bar icon.

Bug: 6481542
Change-Id: Ic592119f63306c97a961038a82526b339d063f66
2012-05-22 10:12:09 -04:00
Jeff Brown
1957fd271f Merge "Add public API to Choreographer." into jb-dev 2012-05-21 18:32:26 -07:00
Svetoslav Ganov
084c63eb6a Merge "Fix accessibility actions in AbsListView." into jb-dev 2012-05-21 18:15:48 -07:00
Jeff Brown
cae804901e Add public API to Choreographer.
The API allows applications to post FrameCallbacks that will
run on vsync and that are provided with the frame time.

Change-Id: Ieb39fcdd085ef8a57805b8f78e7a307f416ff21d
2012-05-21 18:15:29 -07:00
Svetoslav Ganov
9faa9374c1 Merge "Changing the interaction model of the touch explorer." into jb-dev 2012-05-21 17:52:28 -07:00