OSDN Git Service

android-x86/frameworks-base.git
11 years agoaudio service: allow touch sounds customization
Eric Laurent [Fri, 15 Mar 2013 23:03:47 +0000 (16:03 -0700)]
audio service: allow touch sounds customization

Added audio_assets.xml resource listing the
audio asset files for each touch sound effect.
This resource can be overlayed to customize the
touch sounds for a given device.

Bug 8339000

Change-Id: I8c156f0ce7f8769a58d77442fbd9c46b57c202e9

11 years agoam 8efa65b1: am be83b5a7: am 7df36bc8: am f2162147: am 6dbb6788: delete some obsolete...
Scott Main [Wed, 20 Mar 2013 01:40:29 +0000 (18:40 -0700)]
am 8efa65b1: am be83b5a7: am 7df36bc8: am f2162147: am 6dbb6788: delete some obsolete links

* commit '8efa65b18324b0efb76d316b05ccf917e000c69a':
  delete some obsolete links

11 years agoam be83b5a7: am 7df36bc8: am f2162147: am 6dbb6788: delete some obsolete links
Scott Main [Wed, 20 Mar 2013 01:38:05 +0000 (18:38 -0700)]
am be83b5a7: am 7df36bc8: am f2162147: am 6dbb6788: delete some obsolete links

* commit 'be83b5a72ffaf3ed91e9341340c0c0477005f538':
  delete some obsolete links

11 years agoam 7df36bc8: am f2162147: am 6dbb6788: delete some obsolete links
Scott Main [Wed, 20 Mar 2013 01:36:15 +0000 (18:36 -0700)]
am 7df36bc8: am f2162147: am 6dbb6788: delete some obsolete links

* commit '7df36bc872e64b330d2a801adafee52e14112ec9':
  delete some obsolete links

11 years agoam f2162147: am 6dbb6788: delete some obsolete links
Scott Main [Wed, 20 Mar 2013 01:35:01 +0000 (18:35 -0700)]
am f2162147: am 6dbb6788: delete some obsolete links

* commit 'f2162147c1dd8bd027a01f660108d214174379b5':
  delete some obsolete links

11 years agoam 6dbb6788: delete some obsolete links
Scott Main [Wed, 20 Mar 2013 01:32:33 +0000 (18:32 -0700)]
am 6dbb6788: delete some obsolete links

* commit '6dbb6788b9ea32f36f6653fe48a0e00179540555':
  delete some obsolete links

11 years agodelete some obsolete links
Scott Main [Wed, 20 Mar 2013 01:27:50 +0000 (18:27 -0700)]
delete some obsolete links

Change-Id: I1495295caa878c55536e60e84caf358d80705507

11 years agoMerge "Fix the media memeory stress test. The media memory stress test used the ps...
Yu Shan Emily Lau [Wed, 20 Mar 2013 00:58:31 +0000 (00:58 +0000)]
Merge "Fix the media memeory stress test. The media memory stress test used the ps mediaserver to capture the memory usage of mediaserver. As the media.log is enabled recently, when runnign the ps mediaserver, it will show both entries. The fix is simply skip the first two lines and parse the laste output." into jb-mr2-dev

11 years agoFix the media memeory stress test.
Yu Shan Emily Lau [Tue, 19 Mar 2013 23:53:38 +0000 (16:53 -0700)]
Fix the media memeory stress test.
The media memory stress test used the ps mediaserver to
capture the memory usage of mediaserver. As the media.log
is enabled recently, when runnign the ps mediaserver, it will
show both entries. The fix is simply skip the first two lines
and parse the laste output.

Change-Id: Ib2a4ba7936505b4ea24463bf8a5af2c499b71138

11 years agoMerge "make Surface.java internal state thread-safe" into jb-mr2-dev
Mathias Agopian [Wed, 20 Mar 2013 00:23:32 +0000 (00:23 +0000)]
Merge "make Surface.java internal state thread-safe" into jb-mr2-dev

11 years agoMerge "Fix createSurface / eglCreateWindowSurface race." into jb-mr2-dev
Mathias Agopian [Wed, 20 Mar 2013 00:21:11 +0000 (00:21 +0000)]
Merge "Fix createSurface / eglCreateWindowSurface race." into jb-mr2-dev

11 years agoMerge "Use persistent IRCD in KeyguardUpdateMonitor to show/hide music" into jb-mr2-dev
Jim Miller [Wed, 20 Mar 2013 00:01:00 +0000 (00:01 +0000)]
Merge "Use persistent IRCD in KeyguardUpdateMonitor to show/hide music" into jb-mr2-dev

11 years agoMerge "Clear mWindowAdded when window was not added. DO NOT MERGE" into jb-mr2-dev
Craig Mautner [Wed, 20 Mar 2013 00:00:17 +0000 (00:00 +0000)]
Merge "Clear mWindowAdded when window was not added. DO NOT MERGE" into jb-mr2-dev

11 years agoUse persistent IRCD in KeyguardUpdateMonitor to show/hide music
Jim Miller [Fri, 15 Mar 2013 02:04:28 +0000 (19:04 -0700)]
Use persistent IRCD in KeyguardUpdateMonitor to show/hide music

Now that we can have multiple IRemoteControlDisplays, create a
persistent one in KeyguardUpdateMonitor so we can more efficiently
show and hide the music controls in keyguard.

Update after review: get the current state from KeyguardUpdateMonitor
*before* the first call to showApprpriateWidgetPage().  This fixes
a flash that was sometimes seen when transitioning between orientations.

Fixes bug 7517659

Change-Id: I1b7b6f4222a99891ec06d6b6fd779dd0b86cc367

11 years agoClear mWindowAdded when window was not added. DO NOT MERGE
Craig Mautner [Tue, 19 Mar 2013 23:54:35 +0000 (16:54 -0700)]
Clear mWindowAdded when window was not added. DO NOT MERGE

If ViewRootImpl throws BadTokenException when adding a window, clear
the indication that a window has been added. That way when the
window is destroyed it doesn't try to clean it up.

Fixes bug 8409506.

Change-Id: I270740762f21ed4ec7f235344a3adaeaa033c483

11 years agoMerge "Fix reading sleep policy" into jb-mr2-dev
Irfan Sheriff [Tue, 19 Mar 2013 22:48:13 +0000 (22:48 +0000)]
Merge "Fix reading sleep policy" into jb-mr2-dev

11 years agoFix reading sleep policy
Irfan Sheriff [Tue, 19 Mar 2013 21:32:11 +0000 (14:32 -0700)]
Fix reading sleep policy

Bug: 8418823
Change-Id: I432b0a1a7a13dcdd834f6a1c943b06937444f406

11 years agoMerge "Move compute tests from frameworks/base to frameworks/rs" into jb-mr2-dev
Jason Sams [Tue, 19 Mar 2013 20:47:22 +0000 (20:47 +0000)]
Merge "Move compute tests from frameworks/base to frameworks/rs" into jb-mr2-dev

11 years agoMerge "Add missing ViewDebug infos for View.getTextDirection()" into jb-mr2-dev
Fabrice Di Meglio [Tue, 19 Mar 2013 20:45:52 +0000 (20:45 +0000)]
Merge "Add missing ViewDebug infos for View.getTextDirection()" into jb-mr2-dev

11 years agoMove compute tests from frameworks/base to frameworks/rs
Jason Sams [Tue, 19 Mar 2013 19:43:46 +0000 (12:43 -0700)]
Move compute tests from frameworks/base to frameworks/rs

Change-Id: I670027782f5ba6df0713dbdc3c99ae7c1eef7d22

11 years agoam c1562075: am ebebb80b: Merge "Remove dead code from DateUtils."
Elliott Hughes [Tue, 19 Mar 2013 19:27:10 +0000 (12:27 -0700)]
am c1562075: am ebebb80b: Merge "Remove dead code from DateUtils."

* commit 'c1562075b0be58fa9dd09c2f2e9fa45601088574':
  Remove dead code from DateUtils.

11 years agoam ebebb80b: Merge "Remove dead code from DateUtils."
Elliott Hughes [Tue, 19 Mar 2013 19:24:50 +0000 (12:24 -0700)]
am ebebb80b: Merge "Remove dead code from DateUtils."

* commit 'ebebb80b4a629756128b5a4fcf483133f01dbfd7':
  Remove dead code from DateUtils.

11 years agoMerge "Minimize texture binds when drawing text" into jb-mr2-dev
Romain Guy [Tue, 19 Mar 2013 18:56:19 +0000 (18:56 +0000)]
Merge "Minimize texture binds when drawing text" into jb-mr2-dev

11 years agoAdd missing ViewDebug infos for View.getTextDirection()
Fabrice Di Meglio [Tue, 19 Mar 2013 18:45:56 +0000 (11:45 -0700)]
Add missing ViewDebug infos for View.getTextDirection()

- as getTextDirection() values were not showing in hierarchyviewer

Change-Id: I4ae74963a3c3b350ba996d098e5714b6538d9553

11 years agoMerge "Remove dead code from DateUtils."
Elliott Hughes [Tue, 19 Mar 2013 18:45:54 +0000 (18:45 +0000)]
Merge "Remove dead code from DateUtils."

11 years agoRemove dead code from DateUtils.
Elliott Hughes [Tue, 19 Mar 2013 18:36:12 +0000 (11:36 -0700)]
Remove dead code from DateUtils.

This stuff is @hide, @deprecated, unused, and was never in any API level.

Change-Id: I87d132d77d7296a2de8527e05c2def362cab1c37

11 years agoMinimize texture binds when drawing text
Romain Guy [Tue, 19 Mar 2013 18:32:41 +0000 (11:32 -0700)]
Minimize texture binds when drawing text

When several CacheTextures are used to draw text, sort the
draw batches by texture ID to minimize state changes in the
driver.

This change also tweaks the font cache size and renames
a property that was too long to be set using setprop.

Change-Id: I0a36dfffe58c9e75dd7384592d3343c192d042b1

11 years agoMerge "Fix bug #8335710 TextView can't clear CompoundDrawables" into jb-mr2-dev
Fabrice Di Meglio [Tue, 19 Mar 2013 17:39:10 +0000 (17:39 +0000)]
Merge "Fix bug #8335710 TextView can't clear CompoundDrawables" into jb-mr2-dev

11 years agoMerge "Update hardware acceleration compatibility docs" into jb-mr2-dev
Romain Guy [Tue, 19 Mar 2013 17:36:43 +0000 (17:36 +0000)]
Merge "Update hardware acceleration compatibility docs" into jb-mr2-dev

11 years agoUpdate hardware acceleration compatibility docs
Romain Guy [Tue, 19 Mar 2013 17:31:38 +0000 (10:31 -0700)]
Update hardware acceleration compatibility docs

Change-Id: I3848eb281a06f4bdcbd603e9f624eff73314a4ec

11 years agoam c9fe40ea: am 71558f1f: Merge "Fix times in debugging output to use H rather than k."
Elliott Hughes [Tue, 19 Mar 2013 17:13:34 +0000 (10:13 -0700)]
am c9fe40ea: am 71558f1f: Merge "Fix times in debugging output to use H rather than k."

* commit 'c9fe40ead549ff18393c0cc5c6e3bd67548f9da6':
  Fix times in debugging output to use H rather than k.

11 years agoam 71558f1f: Merge "Fix times in debugging output to use H rather than k."
Elliott Hughes [Tue, 19 Mar 2013 17:11:19 +0000 (10:11 -0700)]
am 71558f1f: Merge "Fix times in debugging output to use H rather than k."

* commit '71558f1fafa29fe993ab0556bbaee6530f3930d7':
  Fix times in debugging output to use H rather than k.

11 years agoMerge "Fix times in debugging output to use H rather than k."
Elliott Hughes [Tue, 19 Mar 2013 16:50:38 +0000 (16:50 +0000)]
Merge "Fix times in debugging output to use H rather than k."

11 years agoam bab316fe: am e79af7df: Merge "Fix build."
Elliott Hughes [Tue, 19 Mar 2013 16:31:13 +0000 (09:31 -0700)]
am bab316fe: am e79af7df: Merge "Fix build."

* commit 'bab316fea269369194d3126a5d79409c9192580f':
  Fix build.

11 years agoam 54519e70: Fix build.
Elliott Hughes [Tue, 19 Mar 2013 16:31:09 +0000 (09:31 -0700)]
am 54519e70: Fix build.

* commit '54519e7041c9e30cefa1a175563f6a2f9bd2e478':
  Fix build.

11 years agoam eda35cb7: am a8974d3f: Merge "Clean up (some of) our many clocks to use H instead...
Elliott Hughes [Tue, 19 Mar 2013 16:31:04 +0000 (09:31 -0700)]
am eda35cb7: am a8974d3f: Merge "Clean up (some of) our many clocks to use H instead of k."

* commit 'eda35cb7c5781a32b038f1ef76b8e50f26f9bfaf':
  Clean up (some of) our many clocks to use H instead of k.

11 years agoam da9f385a: am 2e1e8928: am a2f80853: am 49e43bb8: am e21406cb: add search tags...
Scott Main [Tue, 19 Mar 2013 16:31:00 +0000 (09:31 -0700)]
am da9f385a: am 2e1e8928: am a2f80853: am 49e43bb8: am e21406cb: add search tags for Design patterns

* commit 'da9f385abc83c459fd87e3cadaec347e91ac5b5c':
  add search tags for Design patterns

11 years agoam b4b84f64: am d95cad7c: am 1a7ad2cb: am be06c28e: am 36c27c4a: add search tags...
Scott Main [Tue, 19 Mar 2013 16:30:54 +0000 (09:30 -0700)]
am b4b84f64: am d95cad7c: am 1a7ad2cb: am be06c28e: am 36c27c4a: add search tags to Design building blocks

* commit 'b4b84f64401cf559f33bd7af0666c5e04c5478b4':
  add search tags to Design building blocks

11 years agoam c5c6d416: am 6317315e: Merge "Deliberately break DateFormat.format\'s formatting...
Elliott Hughes [Tue, 19 Mar 2013 16:30:51 +0000 (09:30 -0700)]
am c5c6d416: am 6317315e: Merge "Deliberately break DateFormat.format\'s formatting of \'k\' for compatibility."

* commit 'c5c6d4167b66c79652c5208a2dfe091a8c735e6d':
  Deliberately break DateFormat.format's formatting of 'k' for compatibility.

11 years agoam 0e4071c7: am 426bece0: am e0df1cf8: am 7ff52939: am f82df78b: Merge "add tags...
Scott Main [Tue, 19 Mar 2013 16:30:39 +0000 (09:30 -0700)]
am 0e4071c7: am 426bece0: am e0df1cf8: am 7ff52939: am f82df78b: Merge "add tags to some docs. Training classes from top to bottom of "Connectivity and the Cloud"" into jb-mr1.1-docs

* commit '0e4071c73b9606de75ce74209eb82708b7cfa3cf':
  add tags to some docs. Training classes from top to bottom of "Connectivity and the Cloud"

11 years agoMerge "PackageManagerService: honor requestedPermissionsRequired" into jb-mr2-dev
Nick Kralevich [Tue, 19 Mar 2013 15:45:23 +0000 (15:45 +0000)]
Merge "PackageManagerService: honor requestedPermissionsRequired" into jb-mr2-dev

11 years agoMerge "Fix bug with transientState for listviews without stable IDs" into jb-mr2-dev
Chet Haase [Tue, 19 Mar 2013 13:06:55 +0000 (13:06 +0000)]
Merge "Fix bug with transientState for listviews without stable IDs" into jb-mr2-dev

11 years agoFix createSurface / eglCreateWindowSurface race.
Jack Palevich [Tue, 19 Mar 2013 05:44:58 +0000 (22:44 -0700)]
Fix createSurface / eglCreateWindowSurface race.

Previously we could have returned from createSurface on the main thread
before calling eglCreateWindowSurface on the GLThread. That could lead
to a problem because the surface could be destroyed before
eglCreateWindowSurface got a chance to run.

Bug: 8328715
Change-Id: I273149f7d4b165abbe218a91ff54083f3f498cb0

11 years agomake Surface.java internal state thread-safe
Mathias Agopian [Tue, 19 Mar 2013 03:27:02 +0000 (20:27 -0700)]
make Surface.java internal state thread-safe

it's still incorrect to use Surface from different
threads, however this shouldn't result to native crashes
anymore.

Bug: 8328715
Change-Id: I89ac5cc1218dc5aa0e35f8e6d4737879a442f0c6

11 years agoMerge "improve SurfaceControl.screenshot documentation" into jb-mr2-dev
Mathias Agopian [Tue, 19 Mar 2013 03:20:11 +0000 (03:20 +0000)]
Merge "improve SurfaceControl.screenshot documentation" into jb-mr2-dev

11 years agoMerge "Apply ComposeShader's local matrix to children" into jb-mr2-dev
Romain Guy [Tue, 19 Mar 2013 02:31:34 +0000 (02:31 +0000)]
Merge "Apply ComposeShader's local matrix to children" into jb-mr2-dev

11 years agoApply ComposeShader's local matrix to children
Romain Guy [Tue, 19 Mar 2013 02:30:48 +0000 (19:30 -0700)]
Apply ComposeShader's local matrix to children

Change-Id: Idf9b8e7d7b30f8fcd8ba1fd4bfe8991e9ca148e2

11 years agoMerge "Merge all shapes/paths caches to PathCache" into jb-mr2-dev
Romain Guy [Tue, 19 Mar 2013 02:04:29 +0000 (02:04 +0000)]
Merge "Merge all shapes/paths caches to PathCache" into jb-mr2-dev

11 years agoam e79af7df: Merge "Fix build."
Elliott Hughes [Tue, 19 Mar 2013 01:55:42 +0000 (18:55 -0700)]
am e79af7df: Merge "Fix build."

* commit 'e79af7dffbd4c41ab756c5b0888e28bbb317aab3':
  Fix build.

11 years agoMerge all shapes/paths caches to PathCache
Romain Guy [Sat, 16 Mar 2013 02:06:39 +0000 (19:06 -0700)]
Merge all shapes/paths caches to PathCache

This change will greatly simplify the multi-threading of all
shape types.

This change also uses PathTessellator to render convex paths.

Change-Id: I4e65bc95c9d24ecae2183b72204de5c2dfb6ada4

11 years agoMerge "add reboot and shutdown to `svc power` command" into jb-mr2-dev
Guang Zhu [Tue, 19 Mar 2013 01:31:17 +0000 (01:31 +0000)]
Merge "add reboot and shutdown to `svc power` command" into jb-mr2-dev

11 years agoadd reboot and shutdown to `svc power` command
Guang Zhu [Thu, 14 Mar 2013 08:11:53 +0000 (01:11 -0700)]
add reboot and shutdown to `svc power` command

a runtime shutdown will be performed first, then device will
reboot with the provided reason or power off.

Change-Id: I44cfbae19626c46147fad3bc8e91434970daa5d5

11 years agoFix build.
Elliott Hughes [Tue, 19 Mar 2013 01:10:24 +0000 (18:10 -0700)]
Fix build.

(cherry-pick of 0a65ac90fae79687b46a8e70549204b97e4c951f.)

Change-Id: Idd0feede5bf5ce78f47f9a442019e68f7717a9e4

11 years agoFix bug #8335710 TextView can't clear CompoundDrawables
Fabrice Di Meglio [Fri, 15 Mar 2013 22:36:51 +0000 (15:36 -0700)]
Fix bug #8335710 TextView can't clear CompoundDrawables

- fix start/override mechanism
- take care of RTL compatibility mode (pre JB-MR1)
- fix where reset of drawables resolution needs to happen

Change-Id: I55a69487a0eedee14c4be7006ee0abad085200ad

11 years agoMerge "Fix build."
Elliott Hughes [Tue, 19 Mar 2013 01:11:02 +0000 (01:11 +0000)]
Merge "Fix build."

11 years agoFix build.
Elliott Hughes [Tue, 19 Mar 2013 01:10:24 +0000 (18:10 -0700)]
Fix build.

Change-Id: Icb7fb60f00251ab01c8f9844572bb349e45c6c41

11 years agoam 7f7ac5b4: am fda1bff8: Merge "Correct the target app token for input method window"
Craig Mautner [Tue, 19 Mar 2013 00:50:32 +0000 (17:50 -0700)]
am 7f7ac5b4: am fda1bff8: Merge "Correct the target app token for input method window"

* commit '7f7ac5b4a86be479bdede226fd4a2bddcd8a9a2b':
  Correct the target app token for input method window

11 years agoam a8974d3f: Merge "Clean up (some of) our many clocks to use H instead of k."
Elliott Hughes [Tue, 19 Mar 2013 00:49:47 +0000 (17:49 -0700)]
am a8974d3f: Merge "Clean up (some of) our many clocks to use H instead of k."

* commit 'a8974d3f0a799a5d76e226649c878a71b3b5e953':
  Clean up (some of) our many clocks to use H instead of k.

11 years agoFix times in debugging output to use H rather than k.
Elliott Hughes [Tue, 19 Mar 2013 00:47:22 +0000 (17:47 -0700)]
Fix times in debugging output to use H rather than k.

Bug: 8359981
Change-Id: I4fccf3ed7e469b77f6e755dacbcd025005390505

11 years agoMerge "Clean up (some of) our many clocks to use H instead of k."
Elliott Hughes [Tue, 19 Mar 2013 00:28:41 +0000 (00:28 +0000)]
Merge "Clean up (some of) our many clocks to use H instead of k."

11 years agoClean up (some of) our many clocks to use H instead of k.
Elliott Hughes [Tue, 19 Mar 2013 00:21:33 +0000 (17:21 -0700)]
Clean up (some of) our many clocks to use H instead of k.

Bug: 8359981
Change-Id: I3c0c38c2bf5adc4b5bdc11c3d10cf41dd8fb6462

11 years agoMerge "Work around saveLayer clipping/transform deferring issues" into jb-mr2-dev
Chris Craik [Tue, 19 Mar 2013 00:04:10 +0000 (00:04 +0000)]
Merge "Work around saveLayer clipping/transform deferring issues" into jb-mr2-dev

11 years agoWork around saveLayer clipping/transform deferring issues
Chris Craik [Tue, 19 Mar 2013 00:00:18 +0000 (17:00 -0700)]
Work around saveLayer clipping/transform deferring issues

bug:8409891

Disables deferring

Change-Id: I93498a4a45a5bfe01143faa154926c6a138db8f9

11 years agoam 2e1e8928: am a2f80853: am 49e43bb8: am e21406cb: add search tags for Design patterns
Scott Main [Mon, 18 Mar 2013 23:57:54 +0000 (16:57 -0700)]
am 2e1e8928: am a2f80853: am 49e43bb8: am e21406cb: add search tags for Design patterns

* commit '2e1e892878ea0612d6e2916ec3849cc3f30f5b72':
  add search tags for Design patterns

11 years agoam a2f80853: am 49e43bb8: am e21406cb: add search tags for Design patterns
Scott Main [Mon, 18 Mar 2013 23:55:47 +0000 (16:55 -0700)]
am a2f80853: am 49e43bb8: am e21406cb: add search tags for Design patterns

* commit 'a2f808539c13efaf6bb86b607d47dcedd58bb41b':
  add search tags for Design patterns

11 years agoam 49e43bb8: am e21406cb: add search tags for Design patterns
Scott Main [Mon, 18 Mar 2013 23:53:56 +0000 (16:53 -0700)]
am 49e43bb8: am e21406cb: add search tags for Design patterns

* commit '49e43bb818d3b8ff5e9c7272d5039b9d2926aac9':
  add search tags for Design patterns

11 years agoam e21406cb: add search tags for Design patterns
Scott Main [Mon, 18 Mar 2013 23:52:32 +0000 (16:52 -0700)]
am e21406cb: add search tags for Design patterns

* commit 'e21406cb963ce00b62cebe14732f1960f877cbec':
  add search tags for Design patterns

11 years agoadd search tags for Design patterns
Scott Main [Mon, 18 Mar 2013 22:50:55 +0000 (15:50 -0700)]
add search tags for Design patterns

Change-Id: I7126bbf88c2160efbca431e3e4caa612abc20bf9

11 years agoam d95cad7c: am 1a7ad2cb: am be06c28e: am 36c27c4a: add search tags to Design buildin...
Scott Main [Mon, 18 Mar 2013 22:24:56 +0000 (15:24 -0700)]
am d95cad7c: am 1a7ad2cb: am be06c28e: am 36c27c4a: add search tags to Design building blocks

* commit 'd95cad7c8acd83f50cc0b9567da68f80d454afb0':
  add search tags to Design building blocks

11 years agoam 6317315e: Merge "Deliberately break DateFormat.format\'s formatting of \'k\' for...
Elliott Hughes [Mon, 18 Mar 2013 22:24:31 +0000 (15:24 -0700)]
am 6317315e: Merge "Deliberately break DateFormat.format\'s formatting of \'k\' for compatibility."

* commit '6317315e733f115aa6ad0339c1a334607fd04342':
  Deliberately break DateFormat.format's formatting of 'k' for compatibility.

11 years agoam 1a7ad2cb: am be06c28e: am 36c27c4a: add search tags to Design building blocks
Scott Main [Mon, 18 Mar 2013 22:22:09 +0000 (15:22 -0700)]
am 1a7ad2cb: am be06c28e: am 36c27c4a: add search tags to Design building blocks

* commit '1a7ad2cb1284ae7828dda821a6a94d672e8253af':
  add search tags to Design building blocks

11 years agoam be06c28e: am 36c27c4a: add search tags to Design building blocks
Scott Main [Mon, 18 Mar 2013 22:19:45 +0000 (15:19 -0700)]
am be06c28e: am 36c27c4a: add search tags to Design building blocks

* commit 'be06c28e733bb2978173dc5dfe5ee9ed0fb9874a':
  add search tags to Design building blocks

11 years agoam 36c27c4a: add search tags to Design building blocks
Scott Main [Mon, 18 Mar 2013 22:17:28 +0000 (15:17 -0700)]
am 36c27c4a: add search tags to Design building blocks

* commit '36c27c4a5eccea944062b38cf70712275f732068':
  add search tags to Design building blocks

11 years agoMerge "Deliberately break DateFormat.format's formatting of 'k' for compatibility."
Elliott Hughes [Mon, 18 Mar 2013 22:07:22 +0000 (22:07 +0000)]
Merge "Deliberately break DateFormat.format's formatting of 'k' for compatibility."

11 years agoadd search tags to Design building blocks
Scott Main [Mon, 18 Mar 2013 21:52:45 +0000 (14:52 -0700)]
add search tags to Design building blocks

Change-Id: If23fdd1a29ea9ee5edf20e4b39d512c9b8ba02f5

11 years agoDeliberately break DateFormat.format's formatting of 'k' for compatibility.
Elliott Hughes [Mon, 18 Mar 2013 21:59:59 +0000 (14:59 -0700)]
Deliberately break DateFormat.format's formatting of 'k' for compatibility.

Bug: 8359981
Change-Id: I44ed816c644f94783c77952d544c5444b966868b

11 years agoFix bug with transientState for listviews without stable IDs
Chet Haase [Mon, 18 Mar 2013 21:52:37 +0000 (14:52 -0700)]
Fix bug with transientState for listviews without stable IDs

This is the other part of a fix with transient state. A layout container
may be out of sync with its adapter during a data change. When the transient
state views are managed by their positions, and these positions may not match
between the container and the adapter, then the views will not be updated
correctly on the screen (though the underlying data will still be correct).

An earlier fix addressed the problem when the adapter has stable IDs (managing
the transient views by their IDs instead of their positions). This fix addresses
the other part of the problem, simply avoiding managing via positions during
a data change.

Issue #8254775 View.setHasTransient state has side-effects when deleting content in ListView

Change-Id: I0fe1692a1507a042180f8a14a8ef2d0c6946a061

11 years agoam 426bece0: am e0df1cf8: am 7ff52939: am f82df78b: Merge "add tags to some docs...
Scott Main [Mon, 18 Mar 2013 21:37:56 +0000 (14:37 -0700)]
am 426bece0: am e0df1cf8: am 7ff52939: am f82df78b: Merge "add tags to some docs. Training classes from top to bottom of "Connectivity and the Cloud"" into jb-mr1.1-docs

* commit '426bece0d5ebff2b73fce797947406c40b90b133':
  add tags to some docs. Training classes from top to bottom of "Connectivity and the Cloud"

11 years agoam e0df1cf8: am 7ff52939: am f82df78b: Merge "add tags to some docs. Training classes...
Scott Main [Mon, 18 Mar 2013 21:36:11 +0000 (14:36 -0700)]
am e0df1cf8: am 7ff52939: am f82df78b: Merge "add tags to some docs. Training classes from top to bottom of "Connectivity and the Cloud"" into jb-mr1.1-docs

* commit 'e0df1cf883c67e597eca8365bd663a35170d3225':
  add tags to some docs. Training classes from top to bottom of "Connectivity and the Cloud"

11 years agoam 7ff52939: am f82df78b: Merge "add tags to some docs. Training classes from top...
Scott Main [Mon, 18 Mar 2013 21:34:23 +0000 (14:34 -0700)]
am 7ff52939: am f82df78b: Merge "add tags to some docs. Training classes from top to bottom of "Connectivity and the Cloud"" into jb-mr1.1-docs

* commit '7ff529393c64e3601f1cd05689d2296c1e35ca02':
  add tags to some docs. Training classes from top to bottom of "Connectivity and the Cloud"

11 years agoam f82df78b: Merge "add tags to some docs. Training classes from top to bottom of...
Scott Main [Mon, 18 Mar 2013 21:31:43 +0000 (14:31 -0700)]
am f82df78b: Merge "add tags to some docs. Training classes from top to bottom of "Connectivity and the Cloud"" into jb-mr1.1-docs

* commit 'f82df78b3534b0ffde83fe83bdb798d3bb7ab780':
  add tags to some docs. Training classes from top to bottom of "Connectivity and the Cloud"

11 years agoMerge "add tags to some docs. Training classes from top to bottom of "Connectivity...
Scott Main [Mon, 18 Mar 2013 21:29:17 +0000 (21:29 +0000)]
Merge "add tags to some docs. Training classes from top to bottom of "Connectivity and the Cloud"" into jb-mr1.1-docs

11 years agoMerge "Remember which list child has A11y focus BEFORE clearing A11y focus." into...
Svetoslav Ganov [Mon, 18 Mar 2013 21:23:45 +0000 (21:23 +0000)]
Merge "Remember which list child has A11y focus BEFORE clearing A11y focus." into jb-mr2-dev

11 years agoMerge "Fix tethering" into jb-mr2-dev
Irfan Sheriff [Mon, 18 Mar 2013 21:13:48 +0000 (21:13 +0000)]
Merge "Fix tethering" into jb-mr2-dev

11 years agoPackageManagerService: honor requestedPermissionsRequired
Nick Kralevich [Mon, 18 Mar 2013 19:56:33 +0000 (12:56 -0700)]
PackageManagerService: honor requestedPermissionsRequired

Don't automatically grant all normal/dangerous permissions. Instead,
check the value of requestedPermissionsRequired to see if it's required.

If the permission is not required, then only grant it if the permission
was previously granted to the application.

Change-Id: I86b1fae530c006d353f9fa22137598bc88253805

11 years agoMerge "Properly close Surface when done." into jb-mr2-dev
Craig Mautner [Mon, 18 Mar 2013 20:57:26 +0000 (20:57 +0000)]
Merge "Properly close Surface when done." into jb-mr2-dev

11 years agoFix tethering
Irfan Sheriff [Mon, 18 Mar 2013 20:52:22 +0000 (13:52 -0700)]
Fix tethering

Using sendMessageAtFrontofQueue() causes issues here since there can be a start
that is deferred and it basically has no effect. Use defer which is more clean
and obvious here.

Bug: 8410547
Change-Id: I4fbf299283847e7c3009b87a81cb56e765b0e1e1

11 years agoimprove SurfaceControl.screenshot documentation
Mathias Agopian [Sun, 17 Mar 2013 08:05:21 +0000 (01:05 -0700)]
improve SurfaceControl.screenshot documentation

Change-Id: I7e17f69f74df8610b5b85fac0127727df973be42

11 years agoMerge "Improve/flesh-out shared library version check." into jb-mr2-dev
Dianne Hackborn [Mon, 18 Mar 2013 18:44:51 +0000 (18:44 +0000)]
Merge "Improve/flesh-out shared library version check." into jb-mr2-dev

11 years agoam fda1bff8: Merge "Correct the target app token for input method window"
Craig Mautner [Mon, 18 Mar 2013 17:38:24 +0000 (10:38 -0700)]
am fda1bff8: Merge "Correct the target app token for input method window"

* commit 'fda1bff8a8eda96662577820102aaaa02a0845b6':
  Correct the target app token for input method window

11 years agoDO NOT MERGE: ListView transient state fix
Chet Haase [Tue, 26 Feb 2013 23:12:13 +0000 (16:12 -0700)]
DO NOT MERGE: ListView transient state fix

ListView child views with transientState (setHasTransientState(true)) are not
handled correctly when the data set changes, such as when an item is added
or removed. The problem is that the transient views are cached by their
position, but this position is out of sync between the ListView and the adapter
until the ListView layout process is complete.

A better way, which unfortunately only works on ListViews with stable IDs, is
to cache the views by their itemID instead, and to use that ID to determine when
and where to reuse/retrieve a transient view during the ListView layout.

Issue #8254775 View.setHasTransient state has side-effects when deleting content in ListView

Change-Id: I2fc25e71ed6655af30b9c3f47fdf014e9b667616

11 years agoProperly close Surface when done.
Craig Mautner [Mon, 18 Mar 2013 17:06:21 +0000 (10:06 -0700)]
Properly close Surface when done.

Surface.destroy was not being called. Leading to warning from
StrictMode.

Fixes bug 8388527.

Change-Id: I472fb57ed2c3f6389e53d8f020f3b22b2d0740c8

11 years agoMerge "Framework changes for 464xlat." into jb-mr2-dev
Lorenzo Colitti [Mon, 18 Mar 2013 16:41:57 +0000 (16:41 +0000)]
Merge "Framework changes for 464xlat." into jb-mr2-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Mon, 18 Mar 2013 16:37:35 +0000 (16:37 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 18 Mar 2013 16:15:53 +0000 (09:15 -0700)]
Import translations. DO NOT MERGE

Change-Id: I18e0b1bb666d62540c921e8e83508ef6dc3f01af
Auto-generated-cl: translation import

11 years agoMerge "Correct the target app token for input method window"
Craig Mautner [Mon, 18 Mar 2013 15:56:48 +0000 (15:56 +0000)]
Merge "Correct the target app token for input method window"

11 years agoMerge "Catch RuntimeException in NMService notifications" into jb-mr2-dev
Lorenzo Colitti [Mon, 18 Mar 2013 15:45:01 +0000 (15:45 +0000)]
Merge "Catch RuntimeException in NMService notifications" into jb-mr2-dev

11 years agoMerge "Add overlays to views" into jb-mr2-dev
Chet Haase [Mon, 18 Mar 2013 14:29:05 +0000 (14:29 +0000)]
Merge "Add overlays to views" into jb-mr2-dev

11 years agoCorrect the target app token for input method window
Carrie Xu [Tue, 30 Oct 2012 09:28:39 +0000 (17:28 +0800)]
Correct the target app token for input method window

The root cause is:
There is a defect in window manager service: When a new
activity that can be ime target is added into window manager
but the Z order of input method window don't need to be
changed, then the target app token of input method window
would not be updated to new one. This defect may cause that
the layer of input method window is calculated incorrectly.

The solution:
Correct the target app token for input method window.

Change-Id: I008311e3c9b1cf5fc320b614d8675c183c506d50

11 years agoMerge "Add new StateMachine constructor with name and handler params." into jb-mr2-dev
Wink Saville [Sun, 17 Mar 2013 21:27:19 +0000 (21:27 +0000)]
Merge "Add new StateMachine constructor with name and handler params." into jb-mr2-dev