Commit Graph

3180 Commits

Author SHA1 Message Date
Jeff Brown
8f2a0da78f am bbffc261: am 9154b877: Merge "Fix comparison of device source bits." into jb-dev
* commit 'bbffc261cc3607d03c12227cdd3f78a4f4e28e1a':
  Fix comparison of device source bits.
2012-05-30 15:08:21 -07:00
Jeff Brown
bbffc261cc am 9154b877: Merge "Fix comparison of device source bits." into jb-dev
* commit '9154b877807a1222abf46608cdff66428e906328':
  Fix comparison of device source bits.
2012-05-30 15:02:59 -07:00
Jeff Brown
9154b87780 Merge "Fix comparison of device source bits." into jb-dev 2012-05-30 15:00:39 -07:00
Jeff Brown
7e4ff4b986 Fix comparison of device source bits.
Bug: 6576743
Change-Id: I6952b052e2ab9e62ddd46ab76f4df37ecc656757
2012-05-30 14:32:16 -07:00
Satoshi Kataoka
028d0aacdd am 3022b6b9: am 17150cf9: Fix locale in TextServicesManagerService
* commit '3022b6b9cdc581647747cfefa2ff365af05b02e8':
  Fix locale in TextServicesManagerService
2012-05-30 04:51:30 -07:00
Satoshi Kataoka
3022b6b9cd am 17150cf9: Fix locale in TextServicesManagerService
* commit '17150cf91be1478e367c2ef5e4f5baaa66b487d0':
  Fix locale in TextServicesManagerService
2012-05-30 04:48:21 -07:00
Satoshi Kataoka
17150cf91b Fix locale in TextServicesManagerService
Bug: 6542210
Change-Id: I1670fac014beb834ec7c065ebf040d0ff3cf4161
2012-05-30 20:36:52 +09:00
Jean Chalard
76abb24afa am 887568c4: am 01bf82f2: Merge "Add/refine comments to reflect key event policies" into jb-dev
* commit '887568c4f4e49b78b1549459b265377c7ee4e8c0':
  Add/refine comments to reflect key event policies
2012-05-29 18:10:13 -07:00
Jean Chalard
887568c4f4 am 01bf82f2: Merge "Add/refine comments to reflect key event policies" into jb-dev
* commit '01bf82f27297536399f7dcde214d1a082e3613ef':
  Add/refine comments to reflect key event policies
2012-05-29 18:06:28 -07:00
Jean Chalard
01bf82f272 Merge "Add/refine comments to reflect key event policies" into jb-dev 2012-05-29 18:02:29 -07:00
Svetoslav Ganov
b616547cd5 am 378aa011: am a5c896af: Merge "Updating the behaviour of accessibility text iterators." into jb-dev
* commit '378aa011d5f989166b62e9db6328a5881a1a73a0':
  Updating the behaviour of accessibility text iterators.
2012-05-29 17:38:18 -07:00
Svetoslav Ganov
378aa011d5 am a5c896af: Merge "Updating the behaviour of accessibility text iterators." into jb-dev
* commit 'a5c896afe89aaf40166343232d85980b94974032':
  Updating the behaviour of accessibility text iterators.
2012-05-29 17:32:39 -07:00
Svetoslav Ganov
a5c896afe8 Merge "Updating the behaviour of accessibility text iterators." into jb-dev 2012-05-29 17:30:16 -07:00
Svetoslav Ganov
35742844bc am b554ee35: am 48d1daca: Merge "Accessiblity scroll event firing callback not properly reset." into jb-dev
* commit 'b554ee35853369e898d5feea9ea4b6667a682dac':
  Accessiblity scroll event firing callback not properly reset.
2012-05-29 17:13:48 -07:00
Svetoslav Ganov
b554ee3585 am 48d1daca: Merge "Accessiblity scroll event firing callback not properly reset." into jb-dev
* commit '48d1daca98703a470f04b4e217d9e6dae6d61dd2':
  Accessiblity scroll event firing callback not properly reset.
2012-05-29 17:10:12 -07:00
Svetoslav Ganov
48d1daca98 Merge "Accessiblity scroll event firing callback not properly reset." into jb-dev 2012-05-29 17:05:40 -07:00
Svetoslav Ganov
4a812aeb8b Accessiblity scroll event firing callback not properly reset.
1. We use a delayed callback to throttle the amount of accessibility
   scroll events fired by the view tree. The callback to do so was
   not properly reset when removed putting the view tree in a bad
   state resulting in no scroll events being fired at all.

bug:6549005

Change-Id: Ibf72d7e009e4545a336c9471f46015910290703e
2012-05-29 16:46:15 -07:00
Svetoslav Ganov
b042f2d990 am 09dfd60b: am bb1b7cf6: Merge "Adding accessibility focusable attribute (hidden for now)." into jb-dev
* commit '09dfd60bc37585e2670e4ca997940256e5b21ac8':
  Adding accessibility focusable attribute (hidden for now).
2012-05-29 15:51:50 -07:00
Svetoslav Ganov
09dfd60bc3 am bb1b7cf6: Merge "Adding accessibility focusable attribute (hidden for now)." into jb-dev
* commit 'bb1b7cf66bc17165b656c2aaed8027f9e5992306':
  Adding accessibility focusable attribute (hidden for now).
2012-05-29 15:48:23 -07:00
Svetoslav Ganov
bb1b7cf66b Merge "Adding accessibility focusable attribute (hidden for now)." into jb-dev 2012-05-29 15:46:15 -07:00
Svetoslav Ganov
f9817f7a3b Adding accessibility focusable attribute (hidden for now).
1. This attribute specifies whether a view can take accessibility
   focus. It has three values: 1) auto - the system determines
   based on whether the view is actionable and has actionable
   predecessor. Accessibility services can put accessibility focus
   on such a node at will; 2) yes ; this view always takes access
   focus; 3) no - the view cannot takes accessibility focus and
   accessibility services cannot put accessibility focus on it.

Change-Id: I2ebf4e7c75bf6b39e1742b6868b37ccdd4cc7d28
2012-05-29 15:24:22 -07:00
Svetoslav Ganov
39f2aee640 Updating the behaviour of accessibility text iterators.
1. Iterators were skipping content on reversing direction.

2. The cursor was positioned at the beginning of the next text segment
   when moving forward and at end of the previous text segment when moving
   backwards. This is incorrect and now the cursor is positioned at the
   end of the segment when moving forward and at the beginning when moving
   backward.

3. The cursor position was not properly set when reaching the end/start
   of the text.

4. The iterators were reporting strictly the next/previous segment even
   if the cursor is within such a segment. Thus, when traversing some
   content may be skipped. Now moving forward moves the selection to
   the next segment end and the start position is either the old index
   if it was within a segment or the start of the segment. Same in
   reverse.

bug:6575099

Change-Id: Ib48a649cec53910339baf831a75e26440be6e576
2012-05-29 15:16:19 -07:00
Jean Chalard
405bc51c5d Add/refine comments to reflect key event policies
Make clearer how the platform is handling key events following some
unfortunate uses by third party applications. Also highlight the
changes in Jelly Bean default keyboard.

Bug: 6566711
Change-Id: Ibcdaf54c6d629fd0733529bfe2fffc82f555f084
2012-05-29 19:41:02 +09:00
Christopher Tate
c0ed6efe5f am 115284bc: Merge "Support volume-changed sounds on master-volume-only configs" into ics-aah
* commit '115284bc124ce2874f32ad36956f475959513388':
  Support volume-changed sounds on master-volume-only configs
2012-05-25 11:57:35 -07:00
Christopher Tate
c4b78d206f Support volume-changed sounds on master-volume-only configs
Some products manipulate only the master volume, and the existing
code does not play volume-change tones when the master volume
is adjusted.  This CL includes some config-driven behavior that
will play those tones (via the system stream) if desired.

Bug 6498986

Change-Id: I2415773325d0a0039efc67897bc371b1f2e18063
2012-05-24 17:30:39 -07:00
Romain Guy
98fd5a5fbc am ed130313: am 94328c30: Merge "Clear bitmap references from display lists as early as possible Bug #6555840" into jb-dev
* commit 'ed1303132912f0d39bcd008c3efbc0422d7433fc':
  Clear bitmap references from display lists as early as possible Bug #6555840
2012-05-24 14:33:53 -07:00
Romain Guy
ed13031329 am 94328c30: Merge "Clear bitmap references from display lists as early as possible Bug #6555840" into jb-dev
* commit '94328c308bc8d283841ac6434d47b4c56389a388':
  Clear bitmap references from display lists as early as possible Bug #6555840
2012-05-24 14:28:22 -07:00
Romain Guy
94328c308b Merge "Clear bitmap references from display lists as early as possible Bug #6555840" into jb-dev 2012-05-24 14:25:44 -07:00
Romain Guy
38c2ece5ce Clear bitmap references from display lists as early as possible
Bug #6555840

Apps like Google+ with large bitmaps displayed in listivews could
run into memory issues because of these references.

Change-Id: I39486bda13ce00c5a3b6481139ad54547506a8b4
2012-05-24 14:20:56 -07:00
satok
5284148f28 am 77f79a39: am f927e17a: Use correct spell check locale
* commit '77f79a39c0e6aa540f8204adb39ec6671ee053e7':
  Use correct spell check locale
2012-05-24 01:43:32 -07:00
satok
77f79a39c0 am f927e17a: Use correct spell check locale
* commit 'f927e17ae543b6edeae8200cc86c59c3ee740670':
  Use correct spell check locale
2012-05-24 01:39:35 -07:00
satok
f927e17ae5 Use correct spell check locale
Bug: 6542210
Change-Id: I414aa2321f30e396996d90fb8e90c1dbb3bb7b9e
2012-05-24 16:52:54 +09:00
Romain Guy
425f126a0f am a865d7d7: am df3633b3: Merge "Make it harder for apps to mess up ViewGroup\'s internal state Bug #6421288" into jb-dev
* commit 'a865d7d7d3612d99e3b1407793610056c7df163c':
  Make it harder for apps to mess up ViewGroup's internal state Bug #6421288
2012-05-23 16:08:53 -07:00
Romain Guy
a865d7d7d3 am df3633b3: Merge "Make it harder for apps to mess up ViewGroup\'s internal state Bug #6421288" into jb-dev
* commit 'df3633b38969e134c5370449b8247827c705ac1e':
  Make it harder for apps to mess up ViewGroup's internal state Bug #6421288
2012-05-23 16:05:15 -07:00
Romain Guy
df3633b389 Merge "Make it harder for apps to mess up ViewGroup's internal state Bug #6421288" into jb-dev 2012-05-23 15:49:50 -07:00
Romain Guy
393a52c9f6 Make it harder for apps to mess up ViewGroup's internal state
Bug #6421288

Change-Id: I8c2c597f45391d3c1ae40c8341a68bb25d8ad4d9
2012-05-23 14:32:16 -07:00
Svetoslav Ganov
eed38b6d7f am 1eab75b9: am 321a56c8: Merge "Clearing accessibility focus of a view did not update the global state." into jb-dev
* commit '1eab75b9ba87fe73e5709ef4e77adc78e55b96c9':
  Clearing accessibility focus of a view did not update the global state.
2012-05-22 20:32:58 -07:00
Svetoslav Ganov
1eab75b9ba am 321a56c8: Merge "Clearing accessibility focus of a view did not update the global state." into jb-dev
* commit '321a56c8481577f812c2ba0a10df7d43503a9314':
  Clearing accessibility focus of a view did not update the global state.
2012-05-22 20:28:55 -07:00
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
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
Dianne Hackborn
26743444c6 am d7b376f2: am 2bccea24: Merge "Fix issue #6499411: Characters not displayed (but suggestion bar is working)" into jb-dev
* commit 'd7b376f22346da4704ea4ca667331fc94eec9195':
  Fix issue #6499411: Characters not displayed (but suggestion bar is working)
2012-05-22 14:21:52 -07:00
Dianne Hackborn
d7b376f223 am 2bccea24: Merge "Fix issue #6499411: Characters not displayed (but suggestion bar is working)" into jb-dev
* commit '2bccea2461556a525c5c65be0364b5b9404c8651':
  Fix issue #6499411: Characters not displayed (but suggestion bar is working)
2012-05-22 13:16:57 -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
Jeff Brown
0c1e7d339c am 4535899b: am 1957fd27: Merge "Add public API to Choreographer." into jb-dev
* commit '4535899b9cf07fdf1063848bdd8caaabe36b3cd5':
  Add public API to Choreographer.
2012-05-21 18:39:29 -07:00
Jeff Brown
4535899b9c am 1957fd27: Merge "Add public API to Choreographer." into jb-dev
* commit '1957fd271f4e76c471d483df98cf23abf3e92360':
  Add public API to Choreographer.
2012-05-21 18:35:10 -07:00
Jeff Brown
1957fd271f Merge "Add public API to Choreographer." into jb-dev 2012-05-21 18:32:26 -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
8e61c58cf7 am 6ea0fd0f: am 9faa9374: Merge "Changing the interaction model of the touch explorer." into jb-dev
* commit '6ea0fd0f3f54a36a92b4decd746f06497cf825e8':
  Changing the interaction model of the touch explorer.
2012-05-21 17:59:16 -07:00
Svetoslav Ganov
6ea0fd0f3f am 9faa9374: Merge "Changing the interaction model of the touch explorer." into jb-dev
* commit '9faa9374c1398ca4a0f3fbfc4feaa5cddeb073b0':
  Changing the interaction model of the touch explorer.
2012-05-21 17:55:29 -07:00
Svetoslav Ganov
207efc59be am 34757fdd: am f4062864: Merge "Accessibility focus and input focus do not sync - part 2" into jb-dev
* commit '34757fdd37c3fba882de7ade1706e4c577b01830':
  Accessibility focus and input focus do not sync - part 2
2012-05-21 17:55:20 -07:00