23704 Commits

Author SHA1 Message Date
Jeff Brown
1b60e72877 am eef4bc08: am 615fd3df: Merge "Implement new rotation policy." into jb-dev
* commit 'eef4bc08137f2324e2974c282992ff546df99e54':
  Implement new rotation policy.
2012-06-05 19:20:08 -07:00
Jeff Brown
eef4bc0813 am 615fd3df: Merge "Implement new rotation policy." into jb-dev
* commit '615fd3dff2e369d8b786abcfe41b6da988e41001':
  Implement new rotation policy.
2012-06-05 19:14:17 -07:00
Jeff Brown
615fd3dff2 Merge "Implement new rotation policy." into jb-dev 2012-06-05 19:11:13 -07:00
Jeff Brown
207673cdbb Implement new rotation policy.
Rotation lock does not override NOSENSOR mode anymore.

Centralize the rotation policy settings into a new class shared by
the System UI and Settings applications.

Add a new setting to specify whether rotation-lock is being hidden
because the "auto-rotate screen" option has been toggled in the
Accessibility settings panel.

Bug: 6523269
Change-Id: I15173280d25bc5d101e89a9c65913aefc53fc33a
2012-06-05 17:59:46 -07:00
Fabrice Di Meglio
6fc225a02f Merge "Make CheckBox / RadioButton / ToggleButton / Star widgets aware of layout direction" 2012-06-05 17:16:31 -07:00
John Reck
1f1f21aaa8 am f671e430: am 804e822c: Merge "Fix logspam" into jb-dev
* commit 'f671e430159425ea1ce323f5eb0f59452b1a6fe1':
  Fix logspam
2012-06-05 16:56:38 -07:00
John Reck
f671e43015 am 804e822c: Merge "Fix logspam" into jb-dev
* commit '804e822c56473ce71d1f912c617ff05b474a7af6':
  Fix logspam
2012-06-05 16:52:41 -07:00
John Reck
804e822c56 Merge "Fix logspam" into jb-dev 2012-06-05 16:50:10 -07:00
Fabrice Di Meglio
2842679d34 Make CheckBox / RadioButton / ToggleButton / Star widgets aware of layout direction
- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: I8badb57d095c6a0a1d0c82bedf30b02502013ae0
2012-06-05 16:41:18 -07:00
Svetoslav Ganov
7510230583 am f1abc425: am cab5b8a9: Merge "Nodes with contentDescription should always be important for accessibility." into jb-dev
* commit 'f1abc4253111907ffb8e5ba19dffa8d00d92fc45':
  Nodes with contentDescription should always be important for accessibility.
2012-06-05 16:02:17 -07:00
Svetoslav Ganov
f1abc42531 am cab5b8a9: Merge "Nodes with contentDescription should always be important for accessibility." into jb-dev
* commit 'cab5b8a91d6fbcbb694284038f5529ff02f10f78':
  Nodes with contentDescription should always be important for accessibility.
2012-06-05 15:57:25 -07:00
Svetoslav Ganov
cab5b8a91d Merge "Nodes with contentDescription should always be important for accessibility." into jb-dev 2012-06-05 15:55:42 -07:00
Svetoslav Ganov
e47957a0bb Nodes with contentDescription should always be important for accessibility.
1. Now after setting the content description on a view we mark is as
   important for accessibility of the current important for accessibility
   mode of that view is auto.

2. Minor tweak to a touch explorer coefficient to make performing double
   tapping easier.

bug:6615353

Change-Id: I3b477f533a3ebde85d425caf32ace5e851240f88
2012-06-05 14:48:58 -07:00
John Reck
eba5e7ddfb Fix logspam
Bug: 6508832

Change-Id: I3061917ae7eba31723c006b1d30d20b7134890b8
2012-06-05 13:22:40 -07:00
Chris Craik
3683fe8328 am 34e5f5a5: am 3676b137: Merge "Add more temporary logging for investigating detachFunctor" into jb-dev
* commit '34e5f5a534d915f253ae51cbcfe15c12e25a78a4':
  Add more temporary logging for investigating detachFunctor
2012-06-05 12:35:24 -07:00
Chris Craik
34e5f5a534 am 3676b137: Merge "Add more temporary logging for investigating detachFunctor" into jb-dev
* commit '3676b137ecf2f24e88e8a3567c11234e7d4416d2':
  Add more temporary logging for investigating detachFunctor
2012-06-05 12:31:31 -07:00
Chris Craik
3676b137ec Merge "Add more temporary logging for investigating detachFunctor" into jb-dev 2012-06-05 12:28:49 -07:00
Dianne Hackborn
33644b9ba7 am 4a683a34: am 1ad66b2f: Merge "Fix issue #6584942 IllegalStateException: Failure saving state..." into jb-dev
* commit '4a683a343083ec2b8aed1ee63669dbade6c0379f':
  Fix issue #6584942 IllegalStateException: Failure saving state...
2012-06-05 12:26:10 -07:00
Chet Haase
0fc37e46b4 am 7c54ef9a: am 14f73a02: Merge "Restore opaque alpha value when AlphaAnimation finishes" into jb-dev
* commit '7c54ef9a0e27b5146a51ebeb267a0a6a1fd9174f':
  Restore opaque alpha value when AlphaAnimation finishes
2012-06-05 12:25:43 -07:00
Dianne Hackborn
4a683a3430 am 1ad66b2f: Merge "Fix issue #6584942 IllegalStateException: Failure saving state..." into jb-dev
* commit '1ad66b2f873496bcbe72e91d1978cf1b2633b3a4':
  Fix issue #6584942 IllegalStateException: Failure saving state...
2012-06-05 11:48:14 -07:00
Dianne Hackborn
1ad66b2f87 Merge "Fix issue #6584942 IllegalStateException: Failure saving state..." into jb-dev 2012-06-05 11:45:13 -07:00
Chris Craik
8857b2f76a Add more temporary logging for investigating detachFunctor
bug:6596807
Change-Id: Ic9e34e323b12a887f2e8df0773a6155627b6a64f
2012-06-05 11:24:46 -07:00
Dianne Hackborn
ee76efb74b Fix issue #6584942 IllegalStateException: Failure saving state...
...active SuggestFragment{419494f0} has cleared index: -1

There were issues when the same fragment was removed and then
added again before completely finishing the remove (such as due
to a running animation).

Two fixes:

- Now when you call FragmentTransaction.replace() and are replacing
  a fragment with the same fragment, this becomes a no-op, to avoid
  visual artifacts in the transition and bad states.
- When we are moving the fragment state up and it is currently
  animating away to the INITIALIZED state, we could end up making
  the fragment inactive as part of the cleanup.  In this case it
  shouldn't be made inactive; we just need to initialize it but
  keep it active since we are going to continue to use it.

Bug: 6584942
Change-Id: I8bfd73f2d8ef8f67b541b3e2525dfa5db6c3bfa5
2012-06-05 10:52:38 -07:00
Chet Haase
7c54ef9a0e am 14f73a02: Merge "Restore opaque alpha value when AlphaAnimation finishes" into jb-dev
* commit '14f73a02a42b5e4c700fe70e8c2d38dc518480b4':
  Restore opaque alpha value when AlphaAnimation finishes
2012-06-05 10:26:22 -07:00
Svetoslav Ganov
bce6f97202 am b25605cd: am 72d6835c: Merge "Accessibility focus should not clear selection when taken away." into jb-dev
* commit 'b25605cd7111bcab41ec10547f015bd2d6215c91':
  Accessibility focus should not clear selection when taken away.
2012-06-05 09:54:54 -07:00
Svetoslav Ganov
4b9320bd95 am 62ac5e0b: am 1f348443: Merge "NullPointerException in AbsListView.focusSearch()." into jb-dev
* commit '62ac5e0bb9ee61507b3d2a182aa78dc71869e9bb':
  NullPointerException in AbsListView.focusSearch().
2012-06-05 09:54:50 -07:00
Satoshi Kataoka
75bc758c43 am d44a4411: am 69609ed4: Merge "Do not run the spell checker in SearchView" into jb-dev
* commit 'd44a4411751921188f3484e0638363c9c88f7f06':
  Do not run the spell checker in SearchView
2012-06-05 09:22:23 -07:00
Chet Haase
2143337d50 Restore opaque alpha value when AlphaAnimation finishes
Alpha values were being set correctly on native Display Lists during an
AlphaAnimation, but not when the animation finished. Only non-1 values
were being propagated to the Display List properties.

The fix is to track when we've set a non-1 alpha value from an AlphaAnimation
and to notice that flag when the value is 1 (because the animation ended), so that
we propagate that value correctly. Using the flag avoids sending a value of 1
(by far the most common case) unless we really need to restore it after animating
it with non-1 values.

Issue #6600592 Sometimes album art blends with list asset on queue

Change-Id: I51047d756a4ac42a2d907a4d77963cc23dfb1db3
2012-06-05 08:59:32 -07:00
Svetoslav Ganov
b25605cd71 am 72d6835c: Merge "Accessibility focus should not clear selection when taken away." into jb-dev
* commit '72d6835c7cea35d0faf5f1584bf2c475fcbf93c8':
  Accessibility focus should not clear selection when taken away.
2012-06-04 23:13:35 -07:00
Svetoslav Ganov
62ac5e0bb9 am 1f348443: Merge "NullPointerException in AbsListView.focusSearch()." into jb-dev
* commit '1f3484430e71a4dc21aba9145d20e32ca4a8f72e':
  NullPointerException in AbsListView.focusSearch().
2012-06-04 23:09:43 -07:00
Svetoslav Ganov
72d6835c7c Merge "Accessibility focus should not clear selection when taken away." into jb-dev 2012-06-04 23:08:29 -07:00
Svetoslav Ganov
1f3484430e Merge "NullPointerException in AbsListView.focusSearch()." into jb-dev 2012-06-04 23:07:26 -07:00
Satoshi Kataoka
d44a441175 am 69609ed4: Merge "Do not run the spell checker in SearchView" into jb-dev
* commit '69609ed40260b67d5ee6baace9d60cf9b677f4c9':
  Do not run the spell checker in SearchView
2012-06-04 22:44:58 -07:00
Satoshi Kataoka
69609ed402 Merge "Do not run the spell checker in SearchView" into jb-dev 2012-06-04 22:42:00 -07:00
Satoshi Kataoka
9ce1116ee8 Do not run the spell checker in SearchView
Bug: 6603925
Change-Id: I75972185fb4d802f2a90649002e722ca4b676c42
2012-06-05 12:22:38 +09:00
Svetoslav Ganov
3016c1ae6a NullPointerException in AbsListView.focusSearch().
1. One of the loops was using the last visible position
   as its end boundary as opposed to the child count
   minus one.

bug:6610451

Change-Id: I600545ca3f64d1e982f909f893e5d34570ec5c8b
2012-06-04 19:47:46 -07:00
Svetoslav Ganov
0a047bdcdd Accessibility focus should not clear selection when taken away.
1. Currently accessibility focus removal was clearing the selection
   in the view - in particular the accessibility cursor position
   which in the TextView case is the selection. This leads to a
   scenario where the selection may be cleared when the app does
   not explect. Further, the selection should not be cleared
   since the user can be say several pages in the content and
   removing and putting back accessibility focus would cause a
   tedious traversal to get to the previous position.

bug:6469840

Change-Id: Iba3c01600fa2c9c39f99085a5fbc4328aa539ea8
2012-06-04 19:32:45 -07:00
Fabrice Di Meglio
0cd655ad2d Merge "Revert "Revert "Clean up layout direction APIs for Drawable""" 2012-06-04 16:29:05 -07:00
Chris Craik
fe952ba031 am 9238e5b9: am ca5a1489: Merge "Add temporary functor detach logging" into jb-dev
* commit '9238e5b9dbfaedd9dbaac9aff1f96bb190220c45':
  Add temporary functor detach logging
2012-06-04 15:59:10 -07:00
Chris Craik
9238e5b9db am ca5a1489: Merge "Add temporary functor detach logging" into jb-dev
* commit 'ca5a1489e22be07d2641e2a10456fa9e616fc4ed':
  Add temporary functor detach logging
2012-06-04 15:53:02 -07:00
George Mount
a419a06e53 Merge "Support selections within scrollable text areas." 2012-06-04 14:48:18 -07:00
George Mount
6787dd2747 Merge "Change from left/right to base/extent for selection handles." 2012-06-04 14:47:53 -07:00
Chris Craik
f98851ab37 Add temporary functor detach logging
bug:6596807
Change-Id: I22342079cdf238a933d62e9cbef58bc5af80522b
2012-06-04 13:42:33 -07:00
Fabrice Di Meglio
b03b434089 Revert "Revert "Clean up layout direction APIs for Drawable""
This reverts commit c96132ff53e5c26f5b0170edd85072006fb2bc70
2012-06-04 12:55:30 -07:00
Fabrice Di Meglio
d9fe9e8427 Merge "Make Switch widget aware of layout direction" 2012-06-04 12:43:07 -07:00
George Mount
f1c00f9021 Support selections within scrollable text areas.
Bug 6557816
 Change text selection to modify only the base or extent, not
 both points of the selection.

 Webkit Change: I9a08633160eeb14d5c45246c6128aa02c1642e8d

Change-Id: I355b21e9062b5d364cfb278fda239a4ecdff16d1
2012-06-04 12:26:27 -07:00
Christopher Tate
193fc075a2 Docs tweak
Cross-reference the flag manipulation methods in Window to make
it easier to discover them.

Change-Id: I81ef38fd69b43683e4ec8d48c058496470533b53
2012-06-04 11:42:10 -07:00
Daniel Sandler
d7f13b4f0a am 5bf8f01b: am 7a394abb: Merge "Unused API should be hidden." into jb-dev
* commit '5bf8f01be1cd9800e53b30117fe9ea7fb1153301':
  Unused API should be hidden.
2012-06-04 10:57:02 -07:00
Daniel Sandler
5bf8f01be1 am 7a394abb: Merge "Unused API should be hidden." into jb-dev
* commit '7a394abb549ecbb9ac510d1b62e60b0ad03438df':
  Unused API should be hidden.
2012-06-04 10:52:08 -07:00
Daniel Sandler
7a394abb54 Merge "Unused API should be hidden." into jb-dev 2012-06-04 10:49:53 -07:00