75744 Commits

Author SHA1 Message Date
Jeff Brown
5612b3397e am a36b7ab0: Merge "Work around build break in layoutlib." into jb-dev
* commit 'a36b7ab04650b598ea08de1f95bb34c5e694167c':
  Work around build break in layoutlib.
2012-04-27 17:34:11 -07:00
Jeff Brown
ac11c76fe4 am ffd6ea45: Merge "Resample touch events on frame boundaries." into jb-dev
* commit 'ffd6ea4523d8fa1210d2a7bb757cc65e1d18465f':
  Resample touch events on frame boundaries.
2012-04-27 17:34:09 -07:00
Jeff Brown
a36b7ab046 Merge "Work around build break in layoutlib." into jb-dev 2012-04-27 17:31:56 -07:00
Jeff Brown
ffd6ea4523 Merge "Resample touch events on frame boundaries." into jb-dev 2012-04-27 17:31:50 -07:00
Jeff Brown
96ff709fe2 Work around build break in layoutlib.
Bug: 6413563
Change-Id: Ia7101fba87f3784fd8159c75e4289f642913d099
2012-04-27 17:18:06 -07:00
Philip Milne
7010d60630 am 65340c16: Merge "Fixes for optical bounds feature." into jb-dev
* commit '65340c1682dc73671d59cfbe27ee86549d23ed1d':
  Fixes for optical bounds feature.
2012-04-27 16:59:47 -07:00
Philip Milne
65340c1682 Merge "Fixes for optical bounds feature." into jb-dev 2012-04-27 16:57:41 -07:00
Jeff Brown
be9a68c9a5 am f613da0e: Merge "Simplify the consume before traversal heuristic." into jb-dev
* commit 'f613da0e5f79d261d99008d25665f5992af86c0b':
  Simplify the consume before traversal heuristic.
2012-04-27 16:47:58 -07:00
Jeff Brown
162b31b669 am 263d044c: Merge "Fix CancellationSignal deadlock." into jb-dev
* commit '263d044c790923d7d83ab036e79a3decc25c7b4d':
  Fix CancellationSignal deadlock.
2012-04-27 16:47:56 -07:00
Jeff Sharkey
7bf6814b99 am 5c55c40b: Merge "Clear IMM references when window dismissed." into jb-dev
* commit '5c55c40be084044ed7bb7ce46aa2befeedc9db38':
  Clear IMM references when window dismissed.
2012-04-27 16:47:54 -07:00
Jeff Brown
d99ca78618 am e19d5f02: Merge "Use choreographer frame time to schedule animations." into jb-dev
* commit 'e19d5f02728e34704a5e2c0fb9d7e54ef11aaa69':
  Use choreographer frame time to schedule animations.
2012-04-27 16:47:52 -07:00
Philip Milne
7a23b49a8c Fixes for optical bounds feature.
1. Make the feature opt-in (ViewGroup::layoutMode defaults to CLIP_BOUNDS) without inheritance.
2. Rename COMPONENT_BOUNDS to CLIP_BOUNDS.
3. Rename LAYOUT_BOUNDS to OPTICAL_BOUNDS.
4. Complete GridLayout implementation.
5. Change the default_gap between components to 8dp, to align with the Style Guide.

Change-Id: I8d40dfc5f4ca469f6424eb3ff60d07bec56e3a9f
2012-04-27 16:46:57 -07:00
Jeff Brown
f613da0e5f Merge "Simplify the consume before traversal heuristic." into jb-dev 2012-04-27 16:45:00 -07:00
Jeff Brown
263d044c79 Merge "Fix CancellationSignal deadlock." into jb-dev 2012-04-27 16:44:23 -07:00
Jeff Sharkey
5c55c40be0 Merge "Clear IMM references when window dismissed." into jb-dev 2012-04-27 16:44:22 -07:00
Jeff Brown
e19d5f0272 Merge "Use choreographer frame time to schedule animations." into jb-dev 2012-04-27 16:44:18 -07:00
Fabrice Di Meglio
57caa12ad4 am 1b332dbf: Merge "Add TextView textSize as a ViewDebug for hierarchyviewer" into jb-dev
* commit '1b332dbffa54afaa5cb2635cb59195db2e48cdb2':
  Add TextView textSize as a ViewDebug for hierarchyviewer
2012-04-27 16:33:25 -07:00
Fabrice Di Meglio
1b332dbffa Merge "Add TextView textSize as a ViewDebug for hierarchyviewer" into jb-dev 2012-04-27 16:30:57 -07:00
Jeff Sharkey
ff6b7588ab am 6ee3fe88: Merge "Migrate ringtone playback to SystemUI." into jb-dev
* commit '6ee3fe884987d9d9915a8fce3d149719a35e9acb':
  Migrate ringtone playback to SystemUI.
2012-04-27 16:29:55 -07:00
Jeff Sharkey
6ee3fe8849 Merge "Migrate ringtone playback to SystemUI." into jb-dev 2012-04-27 16:28:32 -07:00
Adrian Ludwig
91fcaa283c am 2c85f511: Merge "Update the short strings associatd with permissions to improve readability." into jb-dev
* commit '2c85f5119e93fe7d3963931df53fc1e145c23a47':
  Update the short strings associatd with permissions to improve readability.
2012-04-27 16:24:34 -07:00
Adrian Ludwig
2c85f5119e Merge "Update the short strings associatd with permissions to improve readability." into jb-dev 2012-04-27 16:22:21 -07:00
Jeff Sharkey
4478de3c02 Clear IMM references when window dismissed.
Match behavior of removeViewLocked(), where InputMethodManager clears
any strong references to Views, and also clear mCurRootView. Without
this, IMM can leak a DecorView instance after the user has left the
application.

Bug: 6413553
Change-Id: Iad09cf5dbb7f6f156fd39ed243431432e00f8945
2012-04-27 16:17:43 -07:00
Romain Guy
f0fac51e5f am 5084e69b: Merge "Make debug.layout usable with hw acceleration on" into jb-dev
* commit '5084e69b2ce2880f9ac9346618a5ab35c030cf62':
  Make debug.layout usable with hw acceleration on
2012-04-27 16:17:09 -07:00
Fabrice Di Meglio
c54da1cef9 Add TextView textSize as a ViewDebug for hierarchyviewer
Change-Id: I6459d0d9cdb9fe6a81b3e30c56b64159fc729d52
2012-04-27 16:16:35 -07:00
Romain Guy
5084e69b2c Merge "Make debug.layout usable with hw acceleration on" into jb-dev 2012-04-27 16:15:28 -07:00
Romain Guy
cbc6774ef0 Make debug.layout usable with hw acceleration on
Change-Id: I35e41f83fc5049f5ede6b8a6731800bd6da50391
2012-04-27 16:14:23 -07:00
Jeff Brown
771526c88f Resample touch events on frame boundaries.
Bug: 6375101
Change-Id: I8774e366306bb2b6b4e42b913525bf25b0380ec3
2012-04-27 15:58:42 -07:00
Romain Guy
10c86ab3f8 am c887843b: Merge "New constant used by dev settings" into jb-dev
* commit 'c887843b19c5a31bcd14e0b29b035d2a6e1e6149':
  New constant used by dev settings
2012-04-27 15:52:19 -07:00
Chris Craik
67a1c8e3d5 add null check on ViewRootImpl
bug:6412902
Change-Id: I688a54731ed34283bc039a7967f472af131f458d
2012-04-27 15:50:17 -07:00
Romain Guy
c887843b19 Merge "New constant used by dev settings" into jb-dev 2012-04-27 15:49:59 -07:00
James Dong
7a9734d769 Unhide APIs for timed text and multiple audio track switch APIs
o made all the member variables in helper classes for TimedText to be public and final
  since they are read-only
o removed Text and TextPos helper classes
o added two public methods in TimedText class: getText() and getBounds()
o cleaned up the javadoc of related methods in MediaPlayer.java and TimedText.java classes
o make the inner classes of TimedText static and final
o change invoke and let it throw RuntimeException on failure (thus a test class needs to be
  modified also).

o related-to-bug: 6110705,5542712

Change-Id: Ia1dd1fd5eb8e9fd1b61c6c0d67405edb627a3002
2012-04-27 15:48:46 -07:00
Romain Guy
4b8c4f886b New constant used by dev settings
Change-Id: I42f103ae8a9b9f051367c72131f0b216e200f6e0
2012-04-27 15:48:35 -07:00
Craig Mautner
7d1ad33576 am de7ff082: Merge "Call deferred windowFocusChange when draw complete" into jb-dev
* commit 'de7ff082c403682d6091888617111dcc1494088d':
  Call deferred windowFocusChange when draw complete
2012-04-27 15:40:20 -07:00
Craig Mautner
de7ff082c4 Merge "Call deferred windowFocusChange when draw complete" into jb-dev 2012-04-27 15:37:59 -07:00
Irfan Sheriff
ba5d8db257 am 80f84a15: Merge "Fetch WifiManager instance at the time of use" into jb-dev
* commit '80f84a15aaf7c42301fd677b4d21e19ec604a4e5':
  Fetch WifiManager instance at the time of use
2012-04-27 15:34:22 -07:00
Irfan Sheriff
80f84a15aa Merge "Fetch WifiManager instance at the time of use" into jb-dev 2012-04-27 15:30:55 -07:00
Romain Guy
674c6ef19b am 665a376d: Merge "Work-around for a Skia rasterization bug Bug #6411457" into jb-dev
* commit '665a376d245d7bbfc43e3cfa651afc7448604afa':
  Work-around for a Skia rasterization bug Bug #6411457
2012-04-27 15:22:13 -07:00
Dianne Hackborn
12d3a94397 When a window is first shown only draw once while animating.
On some hardware allocating a new graphics buffer is quite
expensive, which blocks updates to the UI.  This can cause
glitches when performing window animations.

To reduce these glitches, the view hierarchy will now only
allow itself to be drawn once if its window is being shown
while the window manager is animating, not resuming draws
until it is told that the animation is done.

Change-Id: Ie15192f6fddbd0931b022a72c76ddd55ca266d84
2012-04-27 15:21:44 -07:00
Romain Guy
665a376d24 Merge "Work-around for a Skia rasterization bug Bug #6411457" into jb-dev 2012-04-27 15:20:04 -07:00
Jeff Brown
29879a3111 am d51f90ff: Merge "Remove unused pipelining optimization." into jb-dev
* commit 'd51f90ff7e9c5afa3feb4e2c2a3956861c2fd95e':
  Remove unused pipelining optimization.
2012-04-27 14:58:45 -07:00
Jeff Brown
d51f90ff7e Merge "Remove unused pipelining optimization." into jb-dev 2012-04-27 14:56:33 -07:00
Craig Mautner
2b4eb42034 am c8e37203: Merge "Don\'t resize WindowStates without a Surface." into jb-dev
* commit 'c8e372031cccfbd5cc7ae626255442423240338f':
  Don't resize WindowStates without a Surface.
2012-04-27 14:49:07 -07:00
Irfan Sheriff
75be9f3666 am d8e0831b: Merge "Recover immediately from driver hang" into jb-dev
* commit 'd8e0831b508bec52a2ad6de2659ce8a4f73b9154':
  Recover immediately from driver hang
2012-04-27 14:46:34 -07:00
Irfan Sheriff
13a19d1b63 am a5ab6082: Merge "Switch to standard commands for pno & power save" into jb-dev
* commit 'a5ab608295db0afaa903151fcc9a2fce30620999':
  Switch to standard commands for pno & power save
2012-04-27 14:46:33 -07:00
Craig Mautner
c8e372031c Merge "Don't resize WindowStates without a Surface." into jb-dev 2012-04-27 14:46:30 -07:00
Irfan Sheriff
d8e0831b50 Merge "Recover immediately from driver hang" into jb-dev 2012-04-27 14:44:35 -07:00
Irfan Sheriff
a5ab608295 Merge "Switch to standard commands for pno & power save" into jb-dev 2012-04-27 14:44:26 -07:00
Michael Jurka
235013f551 am f0fb68d8: Merge "Make APIs to get global search provider public" into jb-dev
* commit 'f0fb68d8c99286e0db6d04ffa7a2bb7671d121a3':
  Make APIs to get global search provider public
2012-04-27 14:43:59 -07:00
Irfan Sheriff
4f4f5166c9 Fetch WifiManager instance at the time of use
Bug: 5340393
Change-Id: Idb0a6dbe969bc3c7955134df43b86f28208c73c3
2012-04-27 14:42:42 -07:00