31020 Commits

Author SHA1 Message Date
Dianne Hackborn
1bcd6b8ce8 am a827843f: Merge "Fix issue #6020164: Settings crashed on orientation change..." into jb-dev
* commit 'a827843f9b46700a187bd3a506498a0f36f474fa':
  Fix issue #6020164: Settings crashed on orientation change...
2012-05-15 11:31:16 -07:00
Adam Powell
8e49098f76 am e48d12b7: Merge "Fix ActionProviders that have submenus" into jb-dev
* commit 'e48d12b78011ff5ddbb6838a038ea5384190ec92':
  Fix ActionProviders that have submenus
2012-05-15 11:31:13 -07:00
Adam Powell
95c9f90e55 am 9e8b7406: Merge "Fix text coloring for action mode "close" option" into jb-dev
* commit '9e8b7406ca4b4f46486a624ff8a9849f3e46cbd4':
  Fix text coloring for action mode "close" option
2012-05-15 11:31:11 -07:00
Jeff Brown
e2ec70bf92 am 00ff4748: Merge "More VelocityTracker refactoring." into jb-dev
* commit '00ff47484f8137aa3e59f680ff07d2662cfb4088':
  More VelocityTracker refactoring.
2012-05-15 11:31:08 -07:00
Chris Craik
6b65cfbe97 am dbd98bfe: Merge "Remove unused native method" into jb-dev
* commit 'dbd98bfecb34eb3f7101994a6026c7a68ea1e8a9':
  Remove unused native method
2012-05-15 11:31:00 -07:00
Eric Laurent
dd99f70a3f am dfae6db0: Merge "Implement new volume display policy." into jb-dev
* commit 'dfae6db0228a2ba4e34deb48d54fb06a2637e6a2':
  Implement new volume display policy.
2012-05-15 11:30:53 -07:00
George Mount
124d767e93 am 108feca9: Merge "Change selection to use left/right instead of base/extent." into jb-dev
* commit '108feca9a02e7b5da705161660b76d4f356f5900':
  Change selection to use left/right instead of base/extent.
2012-05-15 11:30:41 -07:00
Daisuke Miyakawa
97c5ca3422 am 34224406: Merge "Remove assets for Phone\'s incoming call widget" into jb-dev
* commit '3422440633a3c7121794d4c2304549f4b059df91':
  Remove assets for Phone's incoming call widget
2012-05-15 11:29:57 -07:00
Eric Fischer
6803aac379 am 1d1a5273: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit '1d1a5273a9ae11e463f2ef9534eb66453fe74ba3':
  Import translations. DO NOT MERGE
2012-05-14 19:34:19 -07:00
Svetoslav Ganov
e436812e85 am 844047ac: Merge "Fix inconsitency in aAccessibilityNodeInfo cache." into jb-dev
* commit '844047acb7133c0b6b7128f19b76f93eaca9371e':
  Fix inconsitency in aAccessibilityNodeInfo cache.
2012-05-14 19:34:14 -07:00
Philip Milne
b0708669f9 am c8b7747b: Merge "Add validation code for GridLayout.LayoutParams" into jb-dev
* commit 'c8b7747bc04418ee1a6c0cffe11cdd55c44e5f68':
  Add validation code for GridLayout.LayoutParams
2012-05-14 19:34:10 -07:00
Michael Jurka
87f6f80993 am 143a02aa: Merge "Prevent ViewPropertyAnimators from getting started twice" into jb-dev
* commit '143a02aa79fbc28490bac39fabb6db0608774630':
  Prevent ViewPropertyAnimators from getting started twice
2012-05-14 19:34:07 -07:00
Chet Haase
c63aaee9ff am 728e4394: Merge "Minor touch-up of Animation docs" into jb-dev
* commit '728e43948c9b4d18a900fa50acad8d2734947b21':
  Minor touch-up of Animation docs
2012-05-14 19:33:44 -07:00
Mathias Agopian
41f089e086 am 7ed1d661: Merge "fix SurfaceView visibility state changes" into jb-dev
* commit '7ed1d6613e2f5aa05158a87888f5a6474eca5cc1':
  fix SurfaceView visibility state changes
2012-05-14 19:32:53 -07:00
Svetoslav Ganov
21ba7c9603 am 8f761760: Merge "Removing default accessibility gesture handling." into jb-dev
* commit '8f76176016a63026168f5886604d4378f170fc6c':
  Removing default accessibility gesture handling.
2012-05-14 19:32:47 -07:00
Dianne Hackborn
2da87ec32e am 2a7a6ca0: Merge "Implement new window cropping." into jb-dev
* commit '2a7a6ca00ab176105b5bbfa6b17bb0dcd058d517':
  Implement new window cropping.
2012-05-14 19:32:39 -07:00
Guang Zhu
58b0dcde83 am 0d607fbe: accessibility bug fix in NumberPicker
* commit '0d607fbe546ac943de38dad33ae681b09efec6ea':
  accessibility bug fix in NumberPicker
2012-05-14 19:32:33 -07:00
Dianne Hackborn
a827843f9b Merge "Fix issue #6020164: Settings crashed on orientation change..." into jb-dev 2012-05-14 17:31:53 -07:00
Adam Powell
e48d12b780 Merge "Fix ActionProviders that have submenus" into jb-dev 2012-05-14 17:24:24 -07:00
Adam Powell
9e8b7406ca Merge "Fix text coloring for action mode "close" option" into jb-dev 2012-05-14 17:23:54 -07:00
Dianne Hackborn
b61a02657b Fix issue #6020164: Settings crashed on orientation change...
...while listening to TTS example

This was a nice one.  What was happening is that immediately upon
being created, the activity was starting another activity in a
different process.  The second activity would never show, just
immediately exit.  However the original activity had time to
pause and get into stopping itself before the second activity had
come back to the activity manager to say it was going away, resulting
in the activity manager asking the original activity to resume.

At this point the activity manager's state is that the second
activity is finishing and gone, and the original activity is
resumed.  However in the app process the original activity is
still working on stopping itself, and it eventually completes
this and tells the activity manager.  The activity manager now
changes its state to STOPPED, even though it is actually resumed
and that is the last thing it told it to be, and it is now
proceeding to set itself in that state.

This would result later in the activity manager sending an
unnecessary state change to the application.  In the case of
the screen here, we next do a rotation change, the activity
manager thinks the current state is STOPPED not RESUMED, so it
tells the application to relaunch the activity in a new config
but not in the resumed state.  Now it does the whole "start a
new temporary activity" thing again, at which point it tries
to pause the original activity again, and we have an unbalanced
onPause() call to the app and it falls over.

Change-Id: I38b680746f4c61ae30e7ce831e1de187adf60902
2012-05-14 17:19:18 -07:00
Jeff Brown
00ff47484f Merge "More VelocityTracker refactoring." into jb-dev 2012-05-14 17:12:32 -07:00
Chris Craik
dbd98bfecb Merge "Remove unused native method" into jb-dev 2012-05-14 17:04:10 -07:00
Adam Powell
f77f480800 Fix ActionProviders that have submenus
Automatically create a submenu for items with ActionProviders that
provide a submenu when the item was not initially configured to have
one.

Bug 6493376

Change-Id: I27218e2ab205e87534f235eb04042b185d99d143
2012-05-14 16:44:43 -07:00
Eric Laurent
dfae6db022 Merge "Implement new volume display policy." into jb-dev 2012-05-14 16:30:47 -07:00
George Mount
108feca9a0 Merge "Change selection to use left/right instead of base/extent." into jb-dev 2012-05-14 16:04:42 -07:00
Adam Powell
a3d4205cf2 Fix text coloring for action mode "close" option
Bug 6492714

Change-Id: I1e6d3a8c310b791b9e226de0d2984a430250475d
2012-05-14 16:02:36 -07:00
Chris Craik
8230231c88 Remove unused native method
depends on external/webkit change: https://android-git.corp.google.com/g/#/c/190468/

bug:6486310
Change-Id: Id1c1eabf27135c73e45a489ab4c7cfa26e0c9def
2012-05-14 15:57:06 -07:00
Daisuke Miyakawa
3422440633 Merge "Remove assets for Phone's incoming call widget" into jb-dev 2012-05-14 15:21:51 -07:00
Eric Fischer
1d1a5273a9 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-14 14:31:01 -07:00
Daisuke Miyakawa
df9b20504b Remove assets for Phone's incoming call widget
Bug: 6491970
Change-Id: I6c0965b7807daef91e0e61252f254ac704c60c67
2012-05-14 14:20:31 -07:00
Svetoslav Ganov
844047acb7 Merge "Fix inconsitency in aAccessibilityNodeInfo cache." into jb-dev 2012-05-14 14:14:26 -07:00
Eric Laurent
8c78752f2b Implement new volume display policy.
Whenever a stream type is muted, the progress bar in volume panel
is at 0.
If a stream is muted by ringer mode and does not control ringer mode,
the progress bar is disabled.
Pressing VOL- when in vibrate or silent mode resets the last audible
volume of ringtone stream (music strem on tablets) to 0.

VolumePanel implementation:
 - Always prefer AudioManager APIs over AudioService APIs when available on both.
 - Do not use AudioManager.shouldVibrate() (deprecated).

Change-Id: I57fcb19ada4e8d729b6b41d668496562ebe340c3
2012-05-14 14:13:10 -07:00
Philip Milne
c8b7747bc0 Merge "Add validation code for GridLayout.LayoutParams" into jb-dev 2012-05-14 14:12:06 -07:00
Michael Jurka
143a02aa79 Merge "Prevent ViewPropertyAnimators from getting started twice" into jb-dev 2012-05-14 14:04:27 -07:00
Philip Milne
0f57cea898 Add validation code for GridLayout.LayoutParams
Bug 6404882.

The supplied code in this bug sets up a table with 2 columns and then
tries to add a component in column 5. Earlier attempts to fix this
by 'doing what the user meeant' had unwanted side-effects. This CL is
intended to defend against all ways to register invalid LayoutParams
and throw IllegalArgumentExcpetion when any column index falls outside the
range [0 .. N] where N is the number of columns. It also includes the
symmetrical check for rows.

Change-Id: I958a6d16035889cd954b78108773426e8b6b6d95
2012-05-14 13:42:05 -07:00
Eric Fischer
8f38310e40 Import translations. DO NOT MERGE
Change-Id: Ie0e5b24e9df9f9c2e3706cf17bb04cc3e1d00cb0
2012-05-14 13:11:13 -07:00
Chet Haase
728e43948c Merge "Minor touch-up of Animation docs" into jb-dev 2012-05-14 12:58:08 -07:00
George Mount
647827a5d3 Change selection to use left/right instead of base/extent.
Bug 5859620
 Simplify text selection to use left/right rather than
 base/extent. In combination with webkit change, this
 fixes RTL selection. The handle directions are properly-
 facing when the text direction is the same for both
 sides of selection.
 Webkit Change: I3362c5034ce08ce1517a86882c13b78aff35fe3f

Change-Id: Ib88ed2327182ba5b47b3e41584cbe944d05c8ada
2012-05-14 11:24:56 -07:00
Mathias Agopian
7ed1d6613e Merge "fix SurfaceView visibility state changes" into jb-dev 2012-05-13 23:50:32 -07:00
Svetoslav Ganov
8f76176016 Merge "Removing default accessibility gesture handling." into jb-dev 2012-05-13 19:09:35 -07:00
Jeff Brown
85bd0d6283 More VelocityTracker refactoring.
Bug: 6413587
Change-Id: Ida1152e7a34d5fe5caab5e6b5e1bc79f6c7a25e6
2012-05-13 16:10:57 -07:00
Michael Jurka
500998d401 Prevent ViewPropertyAnimators from getting started twice 2012-05-13 15:35:02 -07:00
Dianne Hackborn
2a7a6ca00a Merge "Implement new window cropping." into jb-dev 2012-05-13 15:24:32 -07:00
Dianne Hackborn
85afd1b6f8 Implement new window cropping.
The window manager now performs the crop internally, evaluating
it every animation from, to be able to update it along with
the surface position.

Change-Id: I960a2161b9defb6fba4840fa35aee4e411c39b32
2012-05-13 13:31:06 -07:00
Svetoslav Ganov
7b1e0c7046 Removing default accessibility gesture handling.
1. The initial design was to have some accessibility gestures
   being handled by the system if the gesture handling access
   service does not consume the gesture. However, we are not
   sure what a good default is and once we add a default handler
   we cannot remove it since people may rely on it. Thus, we
   take the simples approach and let the accessibility service
   handle the gestures. If no gestures are handled the system
   will work in explore by touch as before.

bug:5932640

Change-Id: I865a83549fa03b0141d27ce9713e9b7bb45a57b4
2012-05-13 12:39:51 -07:00
Mathias Agopian
cbeb33249d fix SurfaceView visibility state changes
SurfaceView didn't recompute the transparent region
when the INVISIBLE state (as opposed to GONE) was involved.

Bug: 6467123
Change-Id: I05930bd568a345331840c1ad8d9123ef4904c04f
2012-05-12 19:57:07 -07:00
Guang Zhu
0d607fbe54 accessibility bug fix in NumberPicker
* moved View#isVisibleToUser to protected with @hide
* added a new View#isVisibleToUser(Rect), so that a portion of
  the view can be tested for visibility
* NumberPicker will report its concrete class name
* code to append virtual children was at wrong place
* boundInScreen for increment and decrement buttons are reported
  wrong

Change-Id: Ic5d644b3e1efa15b1f0537907c8cdd4ce43a97c1
2012-05-12 19:09:34 -07:00
Mangesh Ghiware
5794bf2b0e am 05efb04c: Merge "Maintain the anchor at top/left on orientation change." into jb-dev
* commit '05efb04c381e91980c68bcfd409d2994ce849b19':
  Maintain the anchor at top/left on orientation change.
2012-05-12 16:07:37 -07:00
Mangesh Ghiware
05efb04c38 Merge "Maintain the anchor at top/left on orientation change." into jb-dev 2012-05-12 16:04:00 -07:00