Commit Graph

23978 Commits

Author SHA1 Message Date
Dianne Hackborn
7aed285964 am 6ea9c9a8: am 79c63461: Merge "When a window is first shown only draw once while animating." into jb-dev
* commit '6ea9c9a800c56241a335643056e0896d404c7ee7':
  When a window is first shown only draw once while animating.
2012-04-27 17:48:12 -07:00
Dianne Hackborn
79c6346100 Merge "When a window is first shown only draw once while animating." into jb-dev 2012-04-27 17:42:48 -07:00
Jeff Brown
9db7ef654c am ac11c76f: am ffd6ea45: Merge "Resample touch events on frame boundaries." into jb-dev
* commit 'ac11c76fe425707d0072cda19932f8dd9c0c07a9':
  Resample touch events on frame boundaries.
2012-04-27 17:37:18 -07:00
Jeff Brown
ffd6ea4523 Merge "Resample touch events on frame boundaries." into jb-dev 2012-04-27 17:31:50 -07:00
Philip Milne
6858a66078 am 7010d606: am 65340c16: Merge "Fixes for optical bounds feature." into jb-dev
* commit '7010d6063008e6a451c8a0a9abb899734495a904':
  Fixes for optical bounds feature.
2012-04-27 17:02:34 -07:00
Philip Milne
65340c1682 Merge "Fixes for optical bounds feature." into jb-dev 2012-04-27 16:57:41 -07:00
Jeff Brown
9cf0f1152e am be9a68c9: am f613da0e: Merge "Simplify the consume before traversal heuristic." into jb-dev
* commit 'be9a68c9a5cddc7c8b54c5d0094b157e2ec49275':
  Simplify the consume before traversal heuristic.
2012-04-27 16:50:44 -07:00
Jeff Brown
f3cc61cb79 am 162b31b6: am 263d044c: Merge "Fix CancellationSignal deadlock." into jb-dev
* commit '162b31b669a13404e5ae044056683d8015cfca7c':
  Fix CancellationSignal deadlock.
2012-04-27 16:50:42 -07:00
Jeff Sharkey
6ff2928495 am 7bf6814b: am 5c55c40b: Merge "Clear IMM references when window dismissed." into jb-dev
* commit '7bf6814b991e36ec955bf6c03926b0f747222750':
  Clear IMM references when window dismissed.
2012-04-27 16:50:40 -07:00
Jeff Brown
bd1890e7af am d99ca786: am e19d5f02: Merge "Use choreographer frame time to schedule animations." into jb-dev
* commit 'd99ca786187695fffa1151d1aada7b8e767dcd25':
  Use choreographer frame time to schedule animations.
2012-04-27 16:50:38 -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
983c4771ac am 57caa12a: am 1b332dbf: Merge "Add TextView textSize as a ViewDebug for hierarchyviewer" into jb-dev
* commit '57caa12ad477191da0b1da6fc9c91375c9e6526e':
  Add TextView textSize as a ViewDebug for hierarchyviewer
2012-04-27 16:36:24 -07:00
Jeff Sharkey
e6b4e6556e am ff6b7588: am 6ee3fe88: Merge "Migrate ringtone playback to SystemUI." into jb-dev
* commit 'ff6b7588ab575035ba0d21bbb21f78e3c8761112':
  Migrate ringtone playback to SystemUI.
2012-04-27 16:32:39 -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
6ee3fe8849 Merge "Migrate ringtone playback to SystemUI." into jb-dev 2012-04-27 16:28:32 -07:00
Romain Guy
5fea9e2ba1 am f0fac51e: am 5084e69b: Merge "Make debug.layout usable with hw acceleration on" into jb-dev
* commit 'f0fac51e5f281cf3f1ad786a3473b603b41e11c5':
  Make debug.layout usable with hw acceleration on
2012-04-27 16:19:47 -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
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
c54984c84b am 10c86ab3: am c887843b: Merge "New constant used by dev settings" into jb-dev
* commit '10c86ab3f806550563b1ccd94623c788e2c6c0da':
  New constant used by dev settings
2012-04-27 15:55:32 -07:00
Romain Guy
c887843b19 Merge "New constant used by dev settings" into jb-dev 2012-04-27 15:49:59 -07:00
Romain Guy
4b8c4f886b New constant used by dev settings
Change-Id: I42f103ae8a9b9f051367c72131f0b216e200f6e0
2012-04-27 15:48:35 -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
Jeff Brown
076ffe4b09 am 29879a31: am d51f90ff: Merge "Remove unused pipelining optimization." into jb-dev
* commit '29879a311143e917fc46a97c30a83364df251709':
  Remove unused pipelining optimization.
2012-04-27 15:02:02 -07:00
Jeff Brown
d51f90ff7e Merge "Remove unused pipelining optimization." into jb-dev 2012-04-27 14:56:33 -07:00
Michael Jurka
33d7560561 am 235013f5: am f0fb68d8: Merge "Make APIs to get global search provider public" into jb-dev
* commit '235013f5518593da2502bb78fee0063f5e559ac6':
  Make APIs to get global search provider public
2012-04-27 14:47:12 -07:00
Michael Jurka
f0fb68d8c9 Merge "Make APIs to get global search provider public" into jb-dev 2012-04-27 14:41:27 -07:00
Michael Jurka
3f5cfcf2d9 Make APIs to get global search provider public 2012-04-27 14:23:48 -07:00
Jeff Sharkey
098d580cc2 Migrate ringtone playback to SystemUI.
Introduce IRingtonePlayer, which handles playback for both Ringtone
objects and Notifications. SystemUI now hosts this player, which it
registers with AudioService. It also keeps MediaPlayer instances
warm, and cleans them up after stop() or Binder death.

Move both Ringtone and NotificationManagerService to play back audio
through this new interface.

Bug: 6376128, 6350773
Change-Id: I1dcb86d16ee3c4f07cdb2248d33dcff4ead3609a
2012-04-27 14:15:05 -07:00
Adam Powell
c3b1b64897 am 75e8637f: am f2d75bc0: Merge "Use finishAffinity for automatic up navigation" into jb-dev
* commit '75e8637f44cf11dd0fd5e646ab67095a71822bf4':
  Use finishAffinity for automatic up navigation
2012-04-27 11:06:43 -07:00
Adam Powell
f2d75bc09a Merge "Use finishAffinity for automatic up navigation" into jb-dev 2012-04-27 11:02:31 -07:00
Jeff Sharkey
144bb26f51 am 497a73da: am f5d70fd2: Merge "Protect system services with DUMP permission." into jb-dev
* commit '497a73da6d7da88c4787435221f1fbd6fd843e87':
  Protect system services with DUMP permission.
2012-04-27 10:20:33 -07:00
Jeff Sharkey
f5d70fd2ad Merge "Protect system services with DUMP permission." into jb-dev 2012-04-27 10:16:40 -07:00
Irfan Sheriff
3e69defc37 am f0b9fb63: am d52e0c79: Merge "Add support for changing p2p device name" into jb-dev
* commit 'f0b9fb63fd920c4581753d6d5ba73eba941896e7':
  Add support for changing p2p device name
2012-04-27 10:00:58 -07:00
Irfan Sheriff
d52e0c791f Merge "Add support for changing p2p device name" into jb-dev 2012-04-27 09:55:37 -07:00
Irfan Sheriff
2bdefcab74 Add support for changing p2p device name
Change-Id: Ie13fe2adedd0bac6aa07b3369c4d6a05ef33cd24
Signed-off-by: isheriff@google.com
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
2012-04-27 08:53:34 -07:00
Steve Block
d8ac8b05a6 am a4dcc774: am 7e279bc9: Merge "Tweak JavaDoc for WebSettings.setAllowUniversalAccessFromFileURLs() and setAllowFileAccessFromFileURLs()" into jb-dev
* commit 'a4dcc77422ca47dc279681cfe539b03315d91755':
  Tweak JavaDoc for WebSettings.setAllowUniversalAccessFromFileURLs() and setAllowFileAccessFromFileURLs()
2012-04-27 03:29:04 -07:00
Steve Block
7e279bc91a Merge "Tweak JavaDoc for WebSettings.setAllowUniversalAccessFromFileURLs() and setAllowFileAccessFromFileURLs()" into jb-dev 2012-04-27 03:19:04 -07:00
Jeff Brown
330314c6fb Simplify the consume before traversal heuristic.
Calling doConsumeBatchedInput() from doTraversals() can result
in redundant attempts to consume batched input.  Instead of making
this call directly, just schedule consume batched input at the
same time as traversals are scheduled.  This should have the same
overall effect.

Bug: 6375101
Change-Id: Ie5799e6a68fedbd1978cca6d03852d9a7f1b1f64
2012-04-27 02:20:22 -07:00
Ben Murdoch
8532a30ce8 am 3d8678f8: am c6911d47: Merge "Create WebViewDatabaseClassic from WebViewDatabase." into jb-dev
* commit '3d8678f8b1ef698369c350049352659793f404d1':
  Create WebViewDatabaseClassic from WebViewDatabase.
2012-04-27 01:45:01 -07:00
Ben Murdoch
c6911d47d1 Merge "Create WebViewDatabaseClassic from WebViewDatabase." into jb-dev 2012-04-27 01:39:59 -07:00
Jeff Brown
aeee2f5d75 Fix CancellationSignal deadlock.
Bug: 6398945
Change-Id: I5a3d4dce74009d6f1d284a8cc54c9f68daa6a9c2
2012-04-26 20:12:44 -07:00
Jeff Brown
20c4f87b29 Use choreographer frame time to schedule animations.
Instead of using the current uptime millis, which can exhibit
substantial jitter depending on when the code runs, use the
current frame's vsync time when performing animations.  The frame
time provides a more consistent pulse.

Bug: 6375101
Change-Id: Icf307cd8524246607db7496c6fef9a5eeb7c0439
2012-04-26 20:12:43 -07:00
Adam Powell
897b1dd610 Use finishAffinity for automatic up navigation
Change-Id: I2ac1971e82c499e8bafe13fcc113c5594c34864b
2012-04-26 19:53:41 -07:00