OSDN Git Service

android-x86/frameworks-base.git
12 years agoam cb57f4f6: (-s ours) am 7a52ba8a: Merge "Add a new API on DRM Framework for streaming"
Jean-Baptiste Queru [Wed, 23 May 2012 21:48:39 +0000 (14:48 -0700)]
am cb57f4f6: (-s ours) am 7a52ba8a: Merge "Add a new API on DRM Framework for streaming"

* commit 'cb57f4f6b8057b2208fac9f2bea497e03ebeec46':
  Add a new API on DRM Framework for streaming

12 years agoam 7a52ba8a: Merge "Add a new API on DRM Framework for streaming"
Jean-Baptiste Queru [Wed, 23 May 2012 21:31:19 +0000 (14:31 -0700)]
am 7a52ba8a: Merge "Add a new API on DRM Framework for streaming"

* commit '7a52ba8a0277f4b0c98e581115abc4a13cb47251':
  Add a new API on DRM Framework for streaming

12 years agoMerge "Add a new API on DRM Framework for streaming"
Jean-Baptiste Queru [Wed, 23 May 2012 21:06:54 +0000 (14:06 -0700)]
Merge "Add a new API on DRM Framework for streaming"

12 years agoam b72ac9dd: Merge "BigPicture notifications for screenshots." into jb-dev
Chris Wren [Wed, 23 May 2012 20:35:56 +0000 (13:35 -0700)]
am b72ac9dd: Merge "BigPicture notifications for screenshots." into jb-dev

* commit 'b72ac9dd6eb649d6f0583a5782b1780cf4efa088':
  BigPicture notifications for screenshots.

12 years agoam e820b18f: Merge "Leave less space between notificaitons." into jb-dev
Chris Wren [Wed, 23 May 2012 20:35:53 +0000 (13:35 -0700)]
am e820b18f: Merge "Leave less space between notificaitons." into jb-dev

* commit 'e820b18ffa9dc3ece742d137e5c3e4cf82e406df':
  Leave less space between notificaitons.

12 years agoMerge "BigPicture notifications for screenshots." into jb-dev
Chris Wren [Wed, 23 May 2012 20:32:53 +0000 (13:32 -0700)]
Merge "BigPicture notifications for screenshots." into jb-dev

12 years agoMerge "Leave less space between notificaitons." into jb-dev
Chris Wren [Wed, 23 May 2012 20:32:34 +0000 (13:32 -0700)]
Merge "Leave less space between notificaitons." into jb-dev

12 years agoam 53d003f0: Merge "Modify auto brightness to return to dim level." into jb-dev
Craig Mautner [Wed, 23 May 2012 18:24:38 +0000 (11:24 -0700)]
am 53d003f0: Merge "Modify auto brightness to return to dim level." into jb-dev

* commit '53d003f0e77291e7382c4871e0828014b470ab9f':
  Modify auto brightness to return to dim level.

12 years agoMerge "Modify auto brightness to return to dim level." into jb-dev
Craig Mautner [Wed, 23 May 2012 18:22:04 +0000 (11:22 -0700)]
Merge "Modify auto brightness to return to dim level." into jb-dev

12 years agoam 81de5a0b: Merge "Stop animating when not showing." into jb-dev
Daniel Sandler [Wed, 23 May 2012 18:07:42 +0000 (11:07 -0700)]
am 81de5a0b: Merge "Stop animating when not showing." into jb-dev

* commit '81de5a0b11df08b603693b6d3b381ac9f89ebc67':
  Stop animating when not showing.

12 years agoMerge "Stop animating when not showing." into jb-dev
Daniel Sandler [Wed, 23 May 2012 18:05:02 +0000 (11:05 -0700)]
Merge "Stop animating when not showing." into jb-dev

12 years agoam 85aea366: Merge "Remove Popup immediately rather than defer it." into jb-dev
Craig Mautner [Wed, 23 May 2012 17:52:04 +0000 (10:52 -0700)]
am 85aea366: Merge "Remove Popup immediately rather than defer it." into jb-dev

* commit '85aea3664992cd1e16ef4497c3450b26bdef06b0':
  Remove Popup immediately rather than defer it.

12 years agoMerge "Remove Popup immediately rather than defer it." into jb-dev
Craig Mautner [Wed, 23 May 2012 17:47:46 +0000 (10:47 -0700)]
Merge "Remove Popup immediately rather than defer it." into jb-dev

12 years agoRemove Popup immediately rather than defer it.
Craig Mautner [Wed, 23 May 2012 15:48:39 +0000 (08:48 -0700)]
Remove Popup immediately rather than defer it.

Delaying the popup by using removeView instead of removeViewImmediate
caused an error when the removal was actually executed after the parent
window was deleted along with the popup.

Fixes bug 6407801.

Change-Id: Ieb17d58467aaf16e1a24f47187f52766d694ba32

12 years agoLeave less space between notificaitons.
Chris Wren [Wed, 23 May 2012 15:14:19 +0000 (11:14 -0400)]
Leave less space between notificaitons.

Bug: 6507482
Change-Id: I9244fcabe423ec59e1856f5fddcd948ea7b3374d

12 years agoam 101fb9fe: Merge "Handle _ and % in paths" into jb-dev
Marco Nelissen [Wed, 23 May 2012 14:46:14 +0000 (07:46 -0700)]
am 101fb9fe: Merge "Handle _ and % in paths" into jb-dev

* commit '101fb9fe2b5001e8122e2965c115688c1f42bd63':
  Handle _ and % in paths

12 years agoMerge "Handle _ and % in paths" into jb-dev
Marco Nelissen [Wed, 23 May 2012 14:43:20 +0000 (07:43 -0700)]
Merge "Handle _ and % in paths" into jb-dev

12 years agoStop animating when not showing.
Daniel Sandler [Wed, 23 May 2012 04:49:48 +0000 (00:49 -0400)]
Stop animating when not showing.

We were eating too many jelly beans even when the screen was
off.

Also clean up touch offsets, rotation on fling, and main
platlogo asset.

Bug: 6541052
Change-Id: I34e49b8b7a95ce6daab929885130426a5ae58dc4

12 years agoam ed82973e: Merge "Interaction model of KeyboarView should be same as latimIME"...
Svetoslav Ganov [Wed, 23 May 2012 03:32:48 +0000 (20:32 -0700)]
am ed82973e: Merge "Interaction model of KeyboarView should be same as latimIME" into jb-dev

* commit 'ed82973e616b1cbcab873dfb9c0191e63b34c821':
  Interaction model of KeyboarView should be same as latimIME

12 years agoam 321a56c8: Merge "Clearing accessibility focus of a view did not update the global...
Svetoslav Ganov [Wed, 23 May 2012 03:28:55 +0000 (20:28 -0700)]
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.

12 years agoMerge "Interaction model of KeyboarView should be same as latimIME" into jb-dev
Svetoslav Ganov [Wed, 23 May 2012 03:28:23 +0000 (20:28 -0700)]
Merge "Interaction model of KeyboarView should be same as latimIME" into jb-dev

12 years agoMerge "Clearing accessibility focus of a view did not update the global state." into...
Svetoslav Ganov [Wed, 23 May 2012 03:26:29 +0000 (20:26 -0700)]
Merge "Clearing accessibility focus of a view did not update the global state." into jb-dev

12 years agoInteraction model of KeyboarView should be same as latimIME
Svetoslav Ganov [Wed, 23 May 2012 02:46:57 +0000 (19:46 -0700)]
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

12 years agoam 44fc8d5e: Merge "Add media directory, hidden for now." into jb-dev
Jeff Sharkey [Wed, 23 May 2012 02:12:39 +0000 (19:12 -0700)]
am 44fc8d5e: Merge "Add media directory, hidden for now." into jb-dev

* commit '44fc8d5e20a7b202a7916bfa56a2b91c33e605c2':
  Add media directory, hidden for now.

12 years agoMerge "Add media directory, hidden for now." into jb-dev
Jeff Sharkey [Wed, 23 May 2012 02:10:32 +0000 (19:10 -0700)]
Merge "Add media directory, hidden for now." into jb-dev

12 years agoClearing accessibility focus of a view did not update the global state.
Svetoslav Ganov [Wed, 23 May 2012 01:37:49 +0000 (18:37 -0700)]
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

12 years agoam 64a03875: Merge "Perform an action in AccessibilityManagerSerivce using wrong...
Svetoslav Ganov [Wed, 23 May 2012 01:29:50 +0000 (18:29 -0700)]
am 64a03875: Merge "Perform an action in AccessibilityManagerSerivce using wrong process id." into jb-dev

* commit '64a03875897afe07b731eaf66969e87362a1a740':
  Perform an action in AccessibilityManagerSerivce using wrong process id.

12 years agoMerge "Perform an action in AccessibilityManagerSerivce using wrong process id."...
Svetoslav Ganov [Wed, 23 May 2012 01:26:44 +0000 (18:26 -0700)]
Merge "Perform an action in AccessibilityManagerSerivce using wrong process id." into jb-dev

12 years agoam 89604931: Merge "Fix issue #6521829: Sometimes action bar disappears in gallery...
Dianne Hackborn [Wed, 23 May 2012 01:26:11 +0000 (18:26 -0700)]
am 89604931: Merge "Fix issue #6521829: Sometimes action bar disappears in gallery" into jb-dev

* commit '89604931a85edd82c6b4a8c798fc1af610ba706e':
  Fix issue #6521829: Sometimes action bar disappears in gallery

12 years agoAdd media directory, hidden for now.
Jeff Sharkey [Wed, 23 May 2012 01:25:32 +0000 (18:25 -0700)]
Add media directory, hidden for now.

Bug: 6539384
Change-Id: I8f3f7b92d27f15e82a43bb2fec02f2d9ed0280e1

12 years agoMerge "Fix issue #6521829: Sometimes action bar disappears in gallery" into jb-dev
Dianne Hackborn [Wed, 23 May 2012 01:23:41 +0000 (18:23 -0700)]
Merge "Fix issue #6521829: Sometimes action bar disappears in gallery" into jb-dev

12 years agoam 23d69f5c: Merge "Fix 6539117: Fix layout issues on 600dp device." into jb-dev
Jim Miller [Wed, 23 May 2012 01:11:09 +0000 (18:11 -0700)]
am 23d69f5c: Merge "Fix 6539117: Fix layout issues on 600dp device." into jb-dev

* commit '23d69f5c5edd8f0308aa83e6eba24b3783e79789':
  Fix 6539117: Fix layout issues on 600dp device.

12 years agoPerform an action in AccessibilityManagerSerivce using wrong process id.
Svetoslav Ganov [Wed, 23 May 2012 00:43:23 +0000 (17:43 -0700)]
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

12 years agoMerge "Fix 6539117: Fix layout issues on 600dp device." into jb-dev
Jim Miller [Wed, 23 May 2012 01:07:08 +0000 (18:07 -0700)]
Merge "Fix 6539117: Fix layout issues on 600dp device." into jb-dev

12 years agoFix issue #6521829: Sometimes action bar disappears in gallery
Dianne Hackborn [Wed, 23 May 2012 01:03:20 +0000 (18:03 -0700)]
Fix issue #6521829: Sometimes action bar disappears in gallery

Change-Id: Ieb1f1fd0ebb87037cda94e1e1d6e2ca9a9c0754e

12 years agoam 3534e134: Merge "Avoid crash if onDetachedFromWindow called after destroy" into...
Chris Craik [Wed, 23 May 2012 00:22:19 +0000 (17:22 -0700)]
am 3534e134: Merge "Avoid crash if onDetachedFromWindow called after destroy" into jb-dev

* commit '3534e13486a0081b1229e698f13bd3a37efa3fb0':
  Avoid crash if onDetachedFromWindow called after destroy

12 years agoMerge "Avoid crash if onDetachedFromWindow called after destroy" into jb-dev
Chris Craik [Wed, 23 May 2012 00:20:07 +0000 (17:20 -0700)]
Merge "Avoid crash if onDetachedFromWindow called after destroy" into jb-dev

12 years agoam 2d243bc6: Merge "Fix issue #5680541: onStartInputView called upon focus loss"...
Dianne Hackborn [Wed, 23 May 2012 00:10:31 +0000 (17:10 -0700)]
am 2d243bc6: Merge "Fix issue #5680541: onStartInputView called upon focus loss" into jb-dev

* commit '2d243bc62a899f7af77886a2a2a82872d63226bb':
  Fix issue #5680541: onStartInputView called upon focus loss

12 years agoMerge "Fix issue #5680541: onStartInputView called upon focus loss" into jb-dev
Dianne Hackborn [Wed, 23 May 2012 00:07:50 +0000 (17:07 -0700)]
Merge "Fix issue #5680541: onStartInputView called upon focus loss" into jb-dev

12 years agoFix 6539117: Fix layout issues on 600dp device.
Jim Miller [Wed, 23 May 2012 00:05:13 +0000 (17:05 -0700)]
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

12 years agoam 208236dd: Merge "Pull showStrictModeViolation off of local threads." into jb-dev
Craig Mautner [Tue, 22 May 2012 23:56:50 +0000 (16:56 -0700)]
am 208236dd: Merge "Pull showStrictModeViolation off of local threads." into jb-dev

* commit '208236dd9600efb125639bf7ca5715fb341ee8d8':
  Pull showStrictModeViolation off of local threads.

12 years agoMerge "Pull showStrictModeViolation off of local threads." into jb-dev
Craig Mautner [Tue, 22 May 2012 23:54:09 +0000 (16:54 -0700)]
Merge "Pull showStrictModeViolation off of local threads." into jb-dev

12 years agoAvoid crash if onDetachedFromWindow called after destroy
Chris Craik [Tue, 22 May 2012 23:00:19 +0000 (16:00 -0700)]
Avoid crash if onDetachedFromWindow called after destroy

This also removes the temporary logging from commit
f8dafa14e058cdc2f408b59be7911abaceb73c47.

bug:6535911
Change-Id: Icf1d0438b349a0e92e7d9cefed57a252eed2b9b0

12 years agoModify auto brightness to return to dim level.
Craig Mautner [Tue, 15 May 2012 15:10:35 +0000 (08:10 -0700)]
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

12 years agoHandle _ and % in paths
Marco Nelissen [Tue, 22 May 2012 22:39:38 +0000 (15:39 -0700)]
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

12 years agoFix issue #5680541: onStartInputView called upon focus loss
Dianne Hackborn [Tue, 22 May 2012 23:30:34 +0000 (16:30 -0700)]
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

12 years agoPull showStrictModeViolation off of local threads.
Craig Mautner [Tue, 22 May 2012 23:01:31 +0000 (16:01 -0700)]
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

12 years agoam 956f28ed: Merge "Always reference injector using get method." into jb-dev
Svetoslav Ganov [Tue, 22 May 2012 22:35:00 +0000 (15:35 -0700)]
am 956f28ed: Merge "Always reference injector using get method." into jb-dev

* commit '956f28edae64268a67af22baee2ef873264921b4':
  Always reference injector using get method.

12 years agoMerge "Always reference injector using get method." into jb-dev
Svetoslav Ganov [Tue, 22 May 2012 22:32:19 +0000 (15:32 -0700)]
Merge "Always reference injector using get method." into jb-dev

12 years agoam 9bfc5dbd: Merge "Add WPS details for certification" into jb-dev
Irfan Sheriff [Tue, 22 May 2012 22:06:11 +0000 (15:06 -0700)]
am 9bfc5dbd: Merge "Add WPS details for certification" into jb-dev

* commit '9bfc5dbd1c4aca0e08aa1b88c20521cad6b491b7':
  Add WPS details for certification

12 years agoMerge "Add WPS details for certification" into jb-dev
Irfan Sheriff [Tue, 22 May 2012 22:03:44 +0000 (15:03 -0700)]
Merge "Add WPS details for certification" into jb-dev

12 years agoBigPicture notifications for screenshots.
Chris Wren [Tue, 22 May 2012 19:11:52 +0000 (15:11 -0400)]
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

12 years agoam 662e4a45: Merge "Fix ANR which could occur for collection widgets with very large...
Adam Cohen [Tue, 22 May 2012 21:45:24 +0000 (14:45 -0700)]
am 662e4a45: Merge "Fix ANR which could occur for collection widgets with very large items" into jb-dev

* commit '662e4a456bf1f7a3a2a2c971f7c0861ef1c159e0':
  Fix ANR which could occur for collection widgets with very large items

12 years agoMerge "Fix ANR which could occur for collection widgets with very large items" into...
Adam Cohen [Tue, 22 May 2012 21:41:54 +0000 (14:41 -0700)]
Merge "Fix ANR which could occur for collection widgets with very large items" into jb-dev

12 years agoam 7a9328a3: Merge "Add temporary functor lifetime logging" into jb-dev
Chris Craik [Tue, 22 May 2012 21:41:35 +0000 (14:41 -0700)]
am 7a9328a3: Merge "Add temporary functor lifetime logging" into jb-dev

* commit '7a9328a3118725389564fe2a9b926837fa3d58a9':
  Add temporary functor lifetime logging

12 years agoMerge "Add temporary functor lifetime logging" into jb-dev
Chris Craik [Tue, 22 May 2012 21:39:13 +0000 (14:39 -0700)]
Merge "Add temporary functor lifetime logging" into jb-dev

12 years agoam e5a4a3dc: Merge "Ensure we always set the proper blending mode Bug #6527305" into...
Romain Guy [Tue, 22 May 2012 21:32:20 +0000 (14:32 -0700)]
am e5a4a3dc: Merge "Ensure we always set the proper blending mode Bug #6527305" into jb-dev

* commit 'e5a4a3dc1648844f06d29efd42c9306c3cdf177e':
  Ensure we always set the proper blending mode Bug #6527305

12 years agoMerge "Ensure we always set the proper blending mode Bug #6527305" into jb-dev
Romain Guy [Tue, 22 May 2012 21:28:58 +0000 (14:28 -0700)]
Merge "Ensure we always set the proper blending mode Bug #6527305" into jb-dev

12 years agoAdd temporary functor lifetime logging
Chris Craik [Tue, 22 May 2012 20:29:40 +0000 (13:29 -0700)]
Add temporary functor lifetime logging

bug:6535911

Change-Id: Ida5cc1def7fe1fc314317bbc5df50e1465753deb

12 years agoAlways reference injector using get method.
alanv [Tue, 22 May 2012 21:22:48 +0000 (14:22 -0700)]
Always reference injector using get method.

Bug: 6535301
Change-Id: If1d55c3229603d12c568213bd2f271c7cb6ab139

12 years agoam 22136833: am d9bde602: Merge "String on Toast notification does not aligned to...
Jean-Baptiste Queru [Tue, 22 May 2012 21:14:44 +0000 (14:14 -0700)]
am 22136833: am d9bde602: Merge "String on Toast notification does not aligned to center"

* commit '22136833f995f5328d577c25de8e41684c993bbc':
  String on Toast notification does not aligned to center

12 years agoam d9bde602: Merge "String on Toast notification does not aligned to center"
Jean-Baptiste Queru [Tue, 22 May 2012 21:10:35 +0000 (14:10 -0700)]
am d9bde602: Merge "String on Toast notification does not aligned to center"

* commit 'd9bde6024e87f050c8e29d3b269173340467053a':
  String on Toast notification does not aligned to center

12 years agoFix ANR which could occur for collection widgets with very large items
Adam Cohen [Tue, 22 May 2012 21:10:14 +0000 (14:10 -0700)]
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

12 years agoEnsure we always set the proper blending mode
Romain Guy [Tue, 22 May 2012 21:07:07 +0000 (14:07 -0700)]
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

12 years agoMerge "String on Toast notification does not aligned to center"
Jean-Baptiste Queru [Tue, 22 May 2012 20:52:59 +0000 (13:52 -0700)]
Merge "String on Toast notification does not aligned to center"

12 years agoam 638e012d: Merge "Status Bar: Register for rotation lock status updates." into...
John Spurlock [Tue, 22 May 2012 20:42:48 +0000 (13:42 -0700)]
am 638e012d: Merge "Status Bar: Register for rotation lock status updates." into jb-dev

* commit '638e012d2b5c2b075b48f86d08daec9b36319cfc':
  Status Bar: Register for rotation lock status updates.

12 years agoMerge "Status Bar: Register for rotation lock status updates." into jb-dev
John Spurlock [Tue, 22 May 2012 20:40:35 +0000 (13:40 -0700)]
Merge "Status Bar: Register for rotation lock status updates." into jb-dev

12 years agoam 2bccea24: Merge "Fix issue #6499411: Characters not displayed (but suggestion...
Dianne Hackborn [Tue, 22 May 2012 20:16:57 +0000 (13:16 -0700)]
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)

12 years agoAdd WPS details for certification
Irfan Sheriff [Tue, 22 May 2012 19:53:47 +0000 (12:53 -0700)]
Add WPS details for certification

We need to provide device details to the supplicant for WPS 2.0 certification

Bug: 6450363
Change-Id: I3eb8bc75faacf392a43b6ef3085971bd32a675ac

12 years agoam 12fd5db4: Merge "Don\'t clear the functor at every draw" into jb-dev
Chris Craik [Tue, 22 May 2012 20:13:17 +0000 (13:13 -0700)]
am 12fd5db4: Merge "Don\'t clear the functor at every draw" into jb-dev

* commit '12fd5db435043681371ca7e9694744d71b6ba271':
  Don't clear the functor at every draw

12 years agoMerge "Fix issue #6499411: Characters not displayed (but suggestion bar is working...
Dianne Hackborn [Tue, 22 May 2012 20:13:02 +0000 (13:13 -0700)]
Merge "Fix issue #6499411: Characters not displayed (but suggestion bar is working)" into jb-dev

12 years agoMerge "Don't clear the functor at every draw" into jb-dev
Chris Craik [Tue, 22 May 2012 20:11:10 +0000 (13:11 -0700)]
Merge "Don't clear the functor at every draw" into jb-dev

12 years agoReconcile with jb-release
The Android Open Source Project [Tue, 22 May 2012 20:05:14 +0000 (13:05 -0700)]
Reconcile with jb-release

Change-Id: I68d329b7abda2aedfd3fd98419f3b3167ccfbc2a

12 years agoUI test automation not working.
Svetoslav Ganov [Tue, 22 May 2012 18:31:57 +0000 (11:31 -0700)]
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

12 years agoFix issue #6499411: Characters not displayed (but suggestion bar is working)
Dianne Hackborn [Tue, 22 May 2012 18:49:49 +0000 (11:49 -0700)]
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

12 years agoDon't clear the functor at every draw
Chris Craik [Tue, 22 May 2012 18:54:06 +0000 (11:54 -0700)]
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

12 years agoam 37f29abe: Merge "DO NOT MERGE Consider current scroll position to move text field...
George Mount [Tue, 22 May 2012 18:46:37 +0000 (11:46 -0700)]
am 37f29abe: Merge "DO NOT MERGE Consider current scroll position to move text field into view." into jb-dev

* commit '37f29abe1d4a47b7860db66bc38f9f4d21c2817a':
  DO NOT MERGE Consider current scroll position to move text field into view.

12 years agoam 76cf7816: Merge "DO NOT MERGE Consider fixed layers when scrolling the edit box...
George Mount [Tue, 22 May 2012 18:46:35 +0000 (11:46 -0700)]
am 76cf7816: Merge "DO NOT MERGE Consider fixed layers when scrolling the edit box." into jb-dev

* commit '76cf78165f5f495f7f14a2442c5b41ae346f14fc':
  DO NOT MERGE Consider fixed layers when scrolling the edit box.

12 years agoam ec2bf4ca: Merge "UI test automation not working." into jb-dev
Svetoslav Ganov [Tue, 22 May 2012 18:43:16 +0000 (11:43 -0700)]
am ec2bf4ca: Merge "UI test automation not working." into jb-dev

* commit 'ec2bf4ca30f511d71a49d6ac1572d1feffdcc803':
  UI test automation not working.

12 years agoam 996b073e: Fix length of pattern.
Ying Wang [Tue, 22 May 2012 18:43:14 +0000 (11:43 -0700)]
am 996b073e: Fix length of pattern.

* commit '996b073e813ba1a22a13282ccdebb664f14ba898':
  Fix length of pattern.

12 years agoMerge "DO NOT MERGE Consider current scroll position to move text field into view...
George Mount [Tue, 22 May 2012 18:42:41 +0000 (11:42 -0700)]
Merge "DO NOT MERGE Consider current scroll position to move text field into view." into jb-dev

12 years agoMerge "DO NOT MERGE Consider fixed layers when scrolling the edit box." into jb-dev
George Mount [Tue, 22 May 2012 18:42:33 +0000 (11:42 -0700)]
Merge "DO NOT MERGE Consider fixed layers when scrolling the edit box." into jb-dev

12 years agoMerge "UI test automation not working." into jb-dev
Svetoslav Ganov [Tue, 22 May 2012 18:40:44 +0000 (11:40 -0700)]
Merge "UI test automation not working." into jb-dev

12 years agoFix length of pattern.
Ying Wang [Tue, 22 May 2012 18:24:22 +0000 (11:24 -0700)]
Fix length of pattern.

After skipping * with "token++", the length should decrease by 1 as
well.

Change-Id: I132eb7d12bb756f2f713c607e92741ca834aef81

12 years agoUI test automation not working.
Svetoslav Ganov [Tue, 22 May 2012 18:31:57 +0000 (11:31 -0700)]
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

12 years agoString on Toast notification does not aligned to center
Taeho Kim [Tue, 22 May 2012 05:57:01 +0000 (14:57 +0900)]
String on Toast notification does not aligned to center

If length of the string being showed on Toast is short (less than 8 chars),
it is aligned to left rather than to center.
Added attribute android:layout_gravity="center_horizontal" on the TextView where Toast's message are shown to fix issue.

Change-Id: I77669fd8a11d1ec8f6b082348eb818671ce158bb
Signed-off-by: Taeho Kim <jyte82@gmail.com>
12 years agoDO NOT MERGE Consider current scroll position to move text field into view.
George Mount [Mon, 21 May 2012 20:00:14 +0000 (13:00 -0700)]
DO NOT MERGE Consider current scroll position to move text field into view.

 Bug 6530008

Change-Id: I6542dab70b64f809ec5dd4deb3511f8aa38278e1

12 years agoDO NOT MERGE Consider fixed layers when scrolling the edit box.
George Mount [Fri, 18 May 2012 18:18:02 +0000 (11:18 -0700)]
DO NOT MERGE Consider fixed layers when scrolling the edit box.

 Bug 6147580
 Webkit Change: I810891decf0bad682e90f29f0f65c6b765b7d6d6

Change-Id: Idaa538824e611acd64eb5a4ccb7866d3c978a077

12 years agoam 0eaeb69d: Merge "Do not bother to remove pending installs" into jb-dev
Kenny Root [Tue, 22 May 2012 15:57:52 +0000 (08:57 -0700)]
am 0eaeb69d: Merge "Do not bother to remove pending installs" into jb-dev

* commit '0eaeb69d1c4849da8ab1df70b84e90837193df67':
  Do not bother to remove pending installs

12 years agoMerge "Do not bother to remove pending installs" into jb-dev
Kenny Root [Tue, 22 May 2012 15:54:30 +0000 (08:54 -0700)]
Merge "Do not bother to remove pending installs" into jb-dev

12 years agoam c40a7fe0: Merge "Fix three-line notifications." into jb-dev
Daniel Sandler [Tue, 22 May 2012 15:20:51 +0000 (08:20 -0700)]
am c40a7fe0: Merge "Fix three-line notifications." into jb-dev

* commit 'c40a7fe00257d5742bd10bc611cd11d1600f469f':
  Fix three-line notifications.

12 years agoMerge "Fix three-line notifications." into jb-dev
Daniel Sandler [Tue, 22 May 2012 15:17:29 +0000 (08:17 -0700)]
Merge "Fix three-line notifications." into jb-dev

12 years agoStatus Bar: Register for rotation lock status updates.
John Spurlock [Tue, 22 May 2012 14:12:09 +0000 (10:12 -0400)]
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

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Tue, 22 May 2012 14:05:31 +0000 (07:05 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoam 1957fd27: Merge "Add public API to Choreographer." into jb-dev
Jeff Brown [Tue, 22 May 2012 01:35:10 +0000 (18:35 -0700)]
am 1957fd27: Merge "Add public API to Choreographer." into jb-dev

* commit '1957fd271f4e76c471d483df98cf23abf3e92360':
  Add public API to Choreographer.

12 years agoMerge "Add public API to Choreographer." into jb-dev
Jeff Brown [Tue, 22 May 2012 01:32:26 +0000 (18:32 -0700)]
Merge "Add public API to Choreographer." into jb-dev

12 years agoam 084c63eb: Merge "Fix accessibility actions in AbsListView." into jb-dev
Svetoslav Ganov [Tue, 22 May 2012 01:17:55 +0000 (18:17 -0700)]
am 084c63eb: Merge "Fix accessibility actions in AbsListView." into jb-dev

* commit '084c63eb6a44fdab7507f828062a2c4a8872f8c8':
  Fix accessibility actions in AbsListView.

12 years agoMerge "Fix accessibility actions in AbsListView." into jb-dev
Svetoslav Ganov [Tue, 22 May 2012 01:15:48 +0000 (18:15 -0700)]
Merge "Fix accessibility actions in AbsListView." into jb-dev

12 years agoAdd public API to Choreographer.
Jeff Brown [Mon, 21 May 2012 23:33:39 +0000 (16:33 -0700)]
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

12 years agoam 9faa9374: Merge "Changing the interaction model of the touch explorer." into jb-dev
Svetoslav Ganov [Tue, 22 May 2012 00:55:29 +0000 (17:55 -0700)]
am 9faa9374: Merge "Changing the interaction model of the touch explorer." into jb-dev

* commit '9faa9374c1398ca4a0f3fbfc4feaa5cddeb073b0':
  Changing the interaction model of the touch explorer.