Commit Graph

101783 Commits

Author SHA1 Message Date
Scott Main
d7cbec6d10 am da9f385a: am 2e1e8928: am a2f80853: am 49e43bb8: am e21406cb: add search tags for Design patterns
* commit 'da9f385abc83c459fd87e3cadaec347e91ac5b5c':
  add search tags for Design patterns
2013-03-19 09:31:00 -07:00
Scott Main
6008fca61b 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
2013-03-19 09:30:54 -07:00
Elliott Hughes
c3e513e51c 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.
2013-03-19 09:30:51 -07:00
Scott Main
11f36b80d4 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"
2013-03-19 09:30:39 -07:00
Nick Kralevich
515c20beb1 Merge "PackageManagerService: honor requestedPermissionsRequired" into jb-mr2-dev 2013-03-19 15:45:23 +00:00
Chet Haase
f4071065b8 Merge "Fix bug with transientState for listviews without stable IDs" into jb-mr2-dev 2013-03-19 13:06:56 +00:00
Mathias Agopian
ab7409e637 Merge "improve SurfaceControl.screenshot documentation" into jb-mr2-dev 2013-03-19 03:20:11 +00:00
Romain Guy
603ce559f2 Merge "Apply ComposeShader's local matrix to children" into jb-mr2-dev 2013-03-19 02:31:35 +00:00
Romain Guy
d4289922ce Apply ComposeShader's local matrix to children
Change-Id: Idf9b8e7d7b30f8fcd8ba1fd4bfe8991e9ca148e2
2013-03-18 19:30:48 -07:00
Romain Guy
16b7dc9c1c Merge "Merge all shapes/paths caches to PathCache" into jb-mr2-dev 2013-03-19 02:04:29 +00:00
Romain Guy
c46d07a29e 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
2013-03-18 18:32:17 -07:00
Guang Zhu
a35d380bac Merge "add reboot and shutdown to svc power command" into jb-mr2-dev 2013-03-19 01:31:17 +00:00
Guang Zhu
62aad7f66f 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
2013-03-18 18:22:30 -07:00
Craig Mautner
aea8b0e571 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
2013-03-18 17:50:32 -07:00
Chris Craik
4ad2f93cff Merge "Work around saveLayer clipping/transform deferring issues" into jb-mr2-dev 2013-03-19 00:04:10 +00:00
Chris Craik
cada41aeb1 Work around saveLayer clipping/transform deferring issues
bug:8409891

Disables deferring

Change-Id: I93498a4a45a5bfe01143faa154926c6a138db8f9
2013-03-18 17:00:18 -07:00
Scott Main
da9f385abc am 2e1e8928: am a2f80853: am 49e43bb8: am e21406cb: add search tags for Design patterns
* commit '2e1e892878ea0612d6e2916ec3849cc3f30f5b72':
  add search tags for Design patterns
2013-03-18 16:57:54 -07:00
Scott Main
2e1e892878 am a2f80853: am 49e43bb8: am e21406cb: add search tags for Design patterns
* commit 'a2f808539c13efaf6bb86b607d47dcedd58bb41b':
  add search tags for Design patterns
2013-03-18 16:55:47 -07:00
Scott Main
a2f808539c am 49e43bb8: am e21406cb: add search tags for Design patterns
* commit '49e43bb818d3b8ff5e9c7272d5039b9d2926aac9':
  add search tags for Design patterns
2013-03-18 16:53:56 -07:00
Scott Main
49e43bb818 am e21406cb: add search tags for Design patterns
* commit 'e21406cb963ce00b62cebe14732f1960f877cbec':
  add search tags for Design patterns
2013-03-18 16:52:32 -07:00
Scott Main
e21406cb96 add search tags for Design patterns
Change-Id: I7126bbf88c2160efbca431e3e4caa612abc20bf9
2013-03-18 15:50:55 -07:00
Scott Main
b4b84f6440 am d95cad7c: am 1a7ad2cb: am be06c28e: am 36c27c4a: add search tags to Design building blocks
* commit 'd95cad7c8acd83f50cc0b9567da68f80d454afb0':
  add search tags to Design building blocks
2013-03-18 15:24:56 -07:00
Elliott Hughes
c5c6d4167b 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.
2013-03-18 15:24:31 -07:00
Scott Main
d95cad7c8a am 1a7ad2cb: am be06c28e: am 36c27c4a: add search tags to Design building blocks
* commit '1a7ad2cb1284ae7828dda821a6a94d672e8253af':
  add search tags to Design building blocks
2013-03-18 15:22:09 -07:00
Scott Main
1a7ad2cb12 am be06c28e: am 36c27c4a: add search tags to Design building blocks
* commit 'be06c28e733bb2978173dc5dfe5ee9ed0fb9874a':
  add search tags to Design building blocks
2013-03-18 15:19:45 -07:00
Scott Main
be06c28e73 am 36c27c4a: add search tags to Design building blocks
* commit '36c27c4a5eccea944062b38cf70712275f732068':
  add search tags to Design building blocks
2013-03-18 15:17:28 -07:00
Elliott Hughes
6317315e73 Merge "Deliberately break DateFormat.format's formatting of 'k' for compatibility." 2013-03-18 22:07:22 +00:00
Scott Main
36c27c4a5e add search tags to Design building blocks
Change-Id: If23fdd1a29ea9ee5edf20e4b39d512c9b8ba02f5
2013-03-18 15:05:32 -07:00
Elliott Hughes
fc55c2ba49 Deliberately break DateFormat.format's formatting of 'k' for compatibility.
Bug: 8359981
Change-Id: I44ed816c644f94783c77952d544c5444b966868b
2013-03-18 14:59:59 -07:00
Chet Haase
a2230e1856 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
2013-03-18 14:52:37 -07:00
Scott Main
0e4071c73b 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"
2013-03-18 14:37:56 -07:00
Scott Main
426bece0d5 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"
2013-03-18 14:36:11 -07:00
Scott Main
e0df1cf883 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"
2013-03-18 14:34:23 -07:00
Scott Main
7ff529393c 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"
2013-03-18 14:31:43 -07:00
Scott Main
f82df78b35 Merge "add tags to some docs. Training classes from top to bottom of "Connectivity and the Cloud"" into jb-mr1.1-docs 2013-03-18 21:29:18 +00:00
Svetoslav Ganov
e4c9ac2df2 Merge "Remember which list child has A11y focus BEFORE clearing A11y focus." into jb-mr2-dev 2013-03-18 21:23:45 +00:00
Irfan Sheriff
6750d9bd56 Merge "Fix tethering" into jb-mr2-dev 2013-03-18 21:13:48 +00:00
Nick Kralevich
1cd6c6ecdf 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
2013-03-18 13:59:04 -07:00
Craig Mautner
2fc8ad1fe6 Merge "Properly close Surface when done." into jb-mr2-dev 2013-03-18 20:57:26 +00:00
Irfan Sheriff
367a96b0f3 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
2013-03-18 13:56:32 -07:00
Mathias Agopian
49ff2c615e improve SurfaceControl.screenshot documentation
Change-Id: I7e17f69f74df8610b5b85fac0127727df973be42
2013-03-18 20:27:35 +00:00
Dianne Hackborn
338b188444 Merge "Improve/flesh-out shared library version check." into jb-mr2-dev 2013-03-18 18:44:52 +00:00
Craig Mautner
7f7ac5b4a8 am fda1bff8: Merge "Correct the target app token for input method window"
* commit 'fda1bff8a8eda96662577820102aaaa02a0845b6':
  Correct the target app token for input method window
2013-03-18 10:38:24 -07:00
Chet Haase
728713258f 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
2013-03-18 10:06:27 -07:00
Craig Mautner
e50d7fcd97 Properly close Surface when done.
Surface.destroy was not being called. Leading to warning from
StrictMode.

Fixes bug 8388527.

Change-Id: I472fb57ed2c3f6389e53d8f020f3b22b2d0740c8
2013-03-18 10:06:21 -07:00
Lorenzo Colitti
952e4805f7 Merge "Framework changes for 464xlat." into jb-mr2-dev 2013-03-18 16:41:58 +00:00
Baligh Uddin
14f9fac204 Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-03-18 16:37:35 +00:00
Baligh Uddin
b885442820 Import translations. DO NOT MERGE
Change-Id: I18e0b1bb666d62540c921e8e83508ef6dc3f01af
Auto-generated-cl: translation import
2013-03-18 09:15:53 -07:00
Craig Mautner
fda1bff8a8 Merge "Correct the target app token for input method window" 2013-03-18 15:56:48 +00:00
Lorenzo Colitti
cba45c0eef Merge "Catch RuntimeException in NMService notifications" into jb-mr2-dev 2013-03-18 15:45:01 +00:00