76631 Commits

Author SHA1 Message Date
Mangesh Ghiware
cf034e3773 Maintain the anchor at top/left on orientation change.
Bug: 5291151
Change-Id: Id1d5c157668440fe4d0d1214477ba31e8f02d6b6
2012-05-12 14:46:05 -07:00
Jim Miller
c6e523ea9b Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet
This fixes a problem where the bounds of the view weren't being
calculated properly when a separate outer radius was specified.

The code now takes the maximum of the ring drawable's width/height
and that specified in the resource files.

This gives it the best default look on all devices while still
allowing minor tweaks.

Change-Id: I5daa40ff4f14653c8cc89b39102816afb976e4f7
2012-05-12 14:23:23 -07:00
Michael Jurka
c8179e7805 Merge "Improve transition out of recents" into jb-dev 2012-05-12 14:01:43 -07:00
Jim Miller
76e07e7767 Merge "Fix 6474712: Disable the google gesture on prime while notifications are open" into jb-dev 2012-05-12 13:55:55 -07:00
Jim Miller
670d9dd2d0 Fix 6474712: Disable the google gesture on prime while notifications are open
Change-Id: I7c40e7bf4859d60c54c186fc49b670397a4ea723
2012-05-12 13:45:35 -07:00
Jim Miller
01119de91d Merge "Fix 6485058: remove OnTriggerListeners from Wave*Methods in cleanup" into jb-dev 2012-05-12 13:31:41 -07:00
Michael Jurka
d5895a7e8a Improve transition out of recents
- During the transition, fade the bg to black
- Exiting activity fades to black
- Recents background no longer fades away, because
then it would fight against the fade to black
happening behind it
2012-05-12 13:24:58 -07:00
Geremy Condra
3d33c268cc Adds support for the CertBlacklister.
The CertBlacklister is a mechanism for allowing is to use gservices
to blacklist certs by serial number or public key.

Change-Id: Ie4b0c966a8a43c9823fb550c0b1691204f133ae7
2012-05-12 13:09:45 -07:00
Jean-Michel Trivi
2d97a70ff8 Merge "Start voice-based interactions from headsethook key" into jb-dev 2012-05-12 08:06:28 -07:00
Pin Ting
59e2a1ea01 Merge "Fix typo in javadoc." into jb-dev 2012-05-12 06:56:04 -07:00
Jeff Brown
11cfd0d41f Merge "Tell power HAL when user activity occurs." into jb-dev 2012-05-11 19:33:17 -07:00
Jeff Brown
5877023221 Merge "Move power HAL interactions to PowerManagerService." into jb-dev 2012-05-11 19:32:56 -07:00
Jeff Brown
30e5eb4826 Tell power HAL when user activity occurs.
Bug: 6435382
Change-Id: I78754158b057851fcba807ebbda143899da387ec
2012-05-11 19:18:56 -07:00
Jeff Brown
7304c34382 Move power HAL interactions to PowerManagerService.
This refactoring sets the stage for a follow-on change that
will make use additional functions of the power HAL.

Moved functionality from android.os.Power into PowerManagerService.
None of these functions make sense being called outside of the
system server.  Moving them to the PowerManagerService makes it
easier to ensure that the power HAL is initialized exactly once.

Similarly, moved ShutdownThread out of the policy package and into
the services package where it can tie into the PowerManagerService
as needed.

Bug: 6435382
Change-Id: I958241bb124fb4410d96f5d5eb00ed68d60b29e5
2012-05-11 18:42:42 -07:00
Jeff Brown
dca5fb9e7e Merge "Enable SQLite configuration to be set with system properties." into jb-dev 2012-05-11 18:19:39 -07:00
Svetoslav Ganov
c406be9036 Fix inconsitency in aAccessibilityNodeInfo cache.
1. Fixed errors in the accessibility node cache.

  A. The cache was not catching the case when the current window changes as a
     result the user touch exploring it. As a result the cache had nodes from
     more that one window but the node ids are not unique thus causing a mess.

  B. The node info tree was prefetched regardless if a prefetched node is root
     name space (i.e. view ids - not accessibility ids - are namespaced) while
     the prefetched nodes were taking this into account. As a result there can
     get disconnected subtrees in the cache.

  C. When an event for a property change such as focus was received the cache
     we were removing the source node. As a result there may be disconnected nodes.

  D. When a node was added to the cache and an older version exists there was
     no check if it will point to the same children and parent. As a result if
     the state of the node has fewer children the subtrees rooted at the no
     longer present children will stay disconnected in the cache.

  E. When a node got accessibility or input focus the old one in the cache was
     not removed. As a result you may have a state with more than one access
     or input focus.

2. Added integrity check enabled only on user builds when a specific flag is set
   for the cache which checks whether:

  A. All nodes are from the same window.

  B. All nodes are connected.

  C. There are no duplicates.

  D. There is only one input focus.

  E. There is only one accessibility focus.

3. The reported accessibility node info tree was stopping at the root namespace
   boundary which is not correct. The reported tree has to reflect everything
   on the screen that the user can see such a workspace with widgets. The root
   namespace is added to avoid clash of view id but the accessibility ids are
   unique no matter if the view is inflated from a remote view.

4. Added calls to notify the accessibility layer when a preoprty that is interesting
   for accessibiliy has changed.

bug:6471710

Change-Id: I069470d91f209ba16313fa6539787a55efa3512e
2012-05-11 17:42:07 -07:00
Jamie Gennis
d83fdd03a1 Merge "Trace: add a tracing tag for video" into jb-dev 2012-05-11 17:17:47 -07:00
Jamie Gennis
c9e27d4ba1 Merge "Surface: replace active rect with window crop" into jb-dev 2012-05-11 17:17:31 -07:00
Amith Yamasani
775da5fa03 Merge "Update assets that didn't scale nicely from hdpi to tvdpi." into jb-dev 2012-05-11 17:08:42 -07:00
Victoria Lease
f1b0c4e5c8 Merge "Add fallback fonts for Malayalam, Kannada, and Telugu scripts" into jb-dev 2012-05-11 16:52:00 -07:00
James Dong
909c4b855a Merge "Improve notifying TimedText by reducing marshall/unmarshalling." into jb-dev 2012-05-11 16:45:19 -07:00
Jeff Brown
888da152ec Enable SQLite configuration to be set with system properties.
This change does not alter the behavior of the system except to
enable the use of system properties to override SQLite configuration
options for debugging.

Bug: 6484633
Change-Id: I8908a3ba07910a1193396e2e45791e9faa7be349
2012-05-11 16:36:24 -07:00
Adam Powell
7fc4fbccd6 Merge "Automatic persistent text selection for ListViews" into jb-dev 2012-05-11 16:34:15 -07:00
Gilles Debunne
0ae107ff34 Merge "Cut long text into multiple DL at start" into jb-dev 2012-05-11 16:14:02 -07:00
Jim Miller
8818edbe2f Fix 6485058: remove OnTriggerListeners from Wave*Methods in cleanup
This fixes a rare crash that could happen when the device orientation
changes while the handle is held over a target.  LockScreen.cleanUp()
was being called which set mCallback to null which then causes it
to crash in MultiWaveViewMethods.onTrigger().

The solution is to also remove OnTriggerListeners in LockScreen.cleanup().

Change-Id: I487c7c9dbbe40417e685b39f2e79b1c43b30fa00
2012-05-11 16:11:17 -07:00
Craig Mautner
ab1c5456b7 Merge "Keep launcher screen from flashing over lockscreen" into jb-dev 2012-05-11 16:07:10 -07:00
Fabrice Di Meglio
6788e028c3 Merge "Fix bug #6480486 Zero width non-joiner and zero width joiner rendered weirdly" into jb-dev 2012-05-11 15:54:06 -07:00
Kenny Root
c559e3b7f4 Merge "Add in constant for WPA supplication settings" into jb-dev 2012-05-11 15:49:22 -07:00
Jeff Sharkey
cd5862586a Merge "Enforce READ_EXTERNAL through Settings.Secure." into jb-dev 2012-05-11 15:47:01 -07:00
Fabrice Di Meglio
f8c1ce7a0d Fix bug #6480486 Zero width non-joiner and zero width joiner rendered weirdly
- add missing ZWS (uni200B), ZWNJ (uni200C), ZWJ (uni200D)

Change-Id: I2e70bbaa855a75e0172c375cfcbc8544325030da
2012-05-11 15:46:27 -07:00
Chet Haase
4242893e32 Minor touch-up of Animation docs
Change-Id: Ifd615d352b9924d562f4238c8ed36a8f4e6a91fa
2012-05-11 15:39:07 -07:00
Gilles Debunne
71afc39d68 Cut long text into multiple DL at start
Bug 5763685

To improve performance, preventively cut the the into display
list of 3-10 lines of text. Further updates to small parts of
the text (such as adding an underline on a word) will only
invalidate and redraw the affected sub display list.

DLs are aligned with paragraphs, just like they will be during
text edition.

Change-Id: I0d60debc7fdaea8b29080a6eacb2d60205e7d547
2012-05-11 15:32:43 -07:00
Jeff Sharkey
f53857716a Enforce READ_EXTERNAL through Settings.Secure.
Always defers to user-defined setting, when present.

Bug: 6389556
Change-Id: I079d2a41b772facfdac74eefc4c8072fc9284f97
2012-05-11 15:31:39 -07:00
Jim Miller
2b5cebebb6 Merge "Fix 6040870: Update MultiWaveView for new device" into jb-dev 2012-05-11 15:29:50 -07:00
Eric Fischer
42097f5c26 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-11 15:28:35 -07:00
Eric Fischer
3fd57b5726 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-11 14:52:11 -07:00
Irfan Sheriff
ba1db8a591 Merge "Fix wifi direct issues" into jb-dev 2012-05-11 14:46:46 -07:00
Adam Powell
057a585fba Automatic persistent text selection for ListViews
Use View transient state tracking to allow selection to persist across
ListView-style item view recycling.

Fix some bugs with transient state tracking.

Bug 6110122

Change-Id: Ic084b8fc2289bff718b19478a37ce64459b3ed4c
2012-05-11 14:26:17 -07:00
Stephen Hines
dcc1996b76 Merge "Test clamp (full and relaxed precision)." into jb-dev 2012-05-11 14:25:56 -07:00
John Reck
dee9d9ab9f Merge "Prevent updateStateTrackers from being affected by preventDefault()" into jb-dev 2012-05-11 14:23:18 -07:00
Eric Fischer
4de3538f2a Import translations. DO NOT MERGE
Change-Id: Id093bff086183247032385b05d314ea0ef7d3b8b
2012-05-11 14:09:53 -07:00
Jeff Brown
b12b6b5116 Merge "Minor refactoring before starting on velocity tracker changes." into jb-dev 2012-05-11 14:03:38 -07:00
Eric Fischer
9f6c655236 Import translations. DO NOT MERGE
Change-Id: Id65875321fa8c95e5909d901c080396f702bad02
2012-05-11 13:52:02 -07:00
John Reck
387c2e8d42 Prevent updateStateTrackers from being affected by preventDefault()
Bug: 6477996
 Calling e.preventDefault() on a javascript touch handler is apparantly
 not supposed to prevent the default gesture detector, who knew?

Change-Id: I6ee36e2fbc485b289b6dbb3464d8562c88e3be49
2012-05-11 13:50:57 -07:00
Teng-Hui Zhu
ef27936371 Merge "Fix a crash." into jb-dev 2012-05-11 13:45:13 -07:00
Irfan Sheriff
10ca870d3b Fix wifi direct issues
- BSS command is unreliable, use group owner information from p2p_find
- Fix the autonomousgroup settings
- Use group idle settings only on the p2p group interface to avoid group idle
resulting group formation failures

Bug: 6426991
Change-Id: I44fc204775580fb4fec6ce27070ddbde0751b495
2012-05-11 13:39:29 -07:00
Amith Yamasani
c3a3060db8 Update assets that didn't scale nicely from hdpi to tvdpi.
Bug: 6430949
Change-Id: I197043c3da0295e09abfbb4ae5582c2542ecbcd8
2012-05-11 13:31:11 -07:00
Teng-Hui Zhu
422400f92d Fix a crash.
End can happen when error happens, but media controller may be not ready yet.

bug:5340224
Change-Id: I94607dfdf26d2dc4c7bbc9c2a62f98deccb8d198
2012-05-11 13:00:03 -07:00
Chet Haase
76f082189e Merge "Fix quickReject logic for transformed views" into jb-dev 2012-05-11 12:59:41 -07:00
Jeff Brown
8a90e6e317 Minor refactoring before starting on velocity tracker changes.
Bug: 6413587
Change-Id: I5eba2bb57193bff78cb3740de5f87aca0b31d154
2012-05-11 12:32:56 -07:00