98740 Commits

Author SHA1 Message Date
Dake Gu
85a06152ce am fe88f1be: Merge "Fix bug of SimulatedTrackball" into jb-mr1-aah-dev
* commit 'fe88f1be3d197987a874f6c29fefdeb11db183f6':
  Fix bug of SimulatedTrackball
2013-01-18 13:26:02 -08:00
Dake Gu
fe88f1be3d Merge "Fix bug of SimulatedTrackball" into jb-mr1-aah-dev 2013-01-18 21:22:45 +00:00
Dianne Hackborn
d8e1dbb6bc Rework ParceledListSlice to be much easier to use.
Take advantage of this to return better information about
packages filtered by permissions -- include the permissions
they have in the requested array.

Also fix issue #8026793 (Contact picture shows default pic
while searching for a contact in qsb) by using the base
package name of the Context when reporting the app name
of an operation.  Otherwise you could make a resource-only
context for another application and do calls through that
and get reported as the wrong app.

Change-Id: I5e0488bf773acea5a3d22f245641828e1a106fb8
2013-01-18 13:02:26 -08:00
Victoria Lease
f25febf014 am 00ef2a36: (-s ours) am c62eefa0: am 3599f0a0: (-s ours) am 0cf97d32: (-s ours) Merge "DO NOT MERGE Prevent OOM death for services under ServiceWatcher\'s care." into jb-mr1.1-dev
* commit '00ef2a3622baa477d7dfdd8df7d68bab84008b4d':
  DO NOT MERGE Prevent OOM death for services under ServiceWatcher's care.
2013-01-18 10:57:06 -08:00
Victoria Lease
00ef2a3622 am c62eefa0: am 3599f0a0: (-s ours) am 0cf97d32: (-s ours) Merge "DO NOT MERGE Prevent OOM death for services under ServiceWatcher\'s care." into jb-mr1.1-dev
* commit 'c62eefa02aefb0bf3870e063aa47df6dccbf5862':
  DO NOT MERGE Prevent OOM death for services under ServiceWatcher's care.
2013-01-18 10:53:48 -08:00
Victoria Lease
c62eefa02a am 3599f0a0: (-s ours) am 0cf97d32: (-s ours) Merge "DO NOT MERGE Prevent OOM death for services under ServiceWatcher\'s care." into jb-mr1.1-dev
* commit '3599f0a02129c238177806ce3d6db20853230d4d':
  DO NOT MERGE Prevent OOM death for services under ServiceWatcher's care.
2013-01-18 10:51:25 -08:00
Victoria Lease
3599f0a021 am 0cf97d32: (-s ours) Merge "DO NOT MERGE Prevent OOM death for services under ServiceWatcher\'s care." into jb-mr1.1-dev
* commit '0cf97d32178b689184866e731c0a4105d8223d80':
  DO NOT MERGE Prevent OOM death for services under ServiceWatcher's care.
2013-01-18 10:49:07 -08:00
Victoria Lease
0cf97d3217 Merge "DO NOT MERGE Prevent OOM death for services under ServiceWatcher's care." into jb-mr1.1-dev 2013-01-18 18:43:11 +00:00
Wink Saville
52dda54b08 Merge "Clean up published network condition reporting." 2013-01-18 18:41:39 +00:00
Robert Ly
3e7959ab4d am dbdf8767: am 5287cd74: am 6d59e0ea: am a239b933: am 548e17df: Merge "docs: Add PageTransformer to animations training class" into jb-mr1-dev
* commit 'dbdf8767e24d5d5ecc7a1751a103150676a4aa86':
  docs: Add PageTransformer to animations training class
2013-01-18 10:37:11 -08:00
Robert Ly
dbdf8767e2 am 5287cd74: am 6d59e0ea: am a239b933: am 548e17df: Merge "docs: Add PageTransformer to animations training class" into jb-mr1-dev
* commit '5287cd7476e0096f5f36866f81b47950343e4155':
  docs: Add PageTransformer to animations training class
2013-01-18 10:34:11 -08:00
Robert Ly
5287cd7476 am 6d59e0ea: am a239b933: am 548e17df: Merge "docs: Add PageTransformer to animations training class" into jb-mr1-dev
* commit '6d59e0ead242978eff8a64d314a1f8554694d8a6':
  docs: Add PageTransformer to animations training class
2013-01-18 10:31:48 -08:00
Robert Ly
6d59e0ead2 am a239b933: am 548e17df: Merge "docs: Add PageTransformer to animations training class" into jb-mr1-dev
* commit 'a239b933f7982ed069ccd284b4eab0fb5e4b6505':
  docs: Add PageTransformer to animations training class
2013-01-18 10:28:41 -08:00
Robert Ly
a239b933f7 am 548e17df: Merge "docs: Add PageTransformer to animations training class" into jb-mr1-dev
* commit '548e17dfdbd862cdfc663268a6d67b47f42b9544':
  docs: Add PageTransformer to animations training class
2013-01-18 10:23:29 -08:00
Robert Ly
548e17dfdb Merge "docs: Add PageTransformer to animations training class" into jb-mr1-dev 2013-01-18 18:20:40 +00:00
Wink Saville
82413d0b2a Clean up published network condition reporting.
Change-Id: I371c04bcb0547f1133e7ce12a6871aad3b3fdc6b
2013-01-18 09:31:13 -08:00
Satoshi Kataoka
2d43bf6ba5 Merge "Ensure that the input method dialog is dismissed when changing the hardware keyboard state." 2013-01-18 07:03:32 +00:00
Satoshi Kataoka
04dd24d4ba Ensure that the input method dialog is dismissed when changing the hardware keyboard state.
Change-Id: I51882ecd2b1a12116f43afff7c23454164a6272b
2013-01-18 13:44:57 +09:00
Jeff Sharkey
5a0252da77 Merge changes Ib8b18f1b,I0d799d82,Ia6222322
* changes:
  Always give ContentResolver a valid Context.
  Define failed connections column, and reset.
  Add method to get process group.
2013-01-18 02:44:50 +00:00
Jeff Sharkey
66a017b634 Always give ContentResolver a valid Context.
Also add MockContentResolver constructor to provide a Context, and
move to singleton ActivityThread, since there is only one inside
each process.  This makes ActivityThread accessible from threads like
InstrumentationThread.

Change-Id: Ib8b18f1b9bba8820ff412d782a43511066eabf24
2013-01-17 18:25:47 -08:00
Dake Gu
f8739b992f Fix bug of SimulatedTrackball
Simulated trackball should not generate KeyEvent if dispatchGenericMotionEvent
returns true

b/8022205

Change-Id: I1857e25407c508c98ef4db85fe146b1e25a0803e
2013-01-17 18:15:44 -08:00
Jeff Sharkey
54781207d3 Define failed connections column, and reset.
When retrying a download, always reset the failed connections count.

Bug: 8022478
Change-Id: I0d799d82dc7a04fe788b8c5faee0045d1e1a9c60
2013-01-17 17:27:33 -08:00
Romain Guy
b12db26fec Merge "Implement clipRect with a transform, clipRegion & clipPath Bug #7146141" 2013-01-17 23:47:27 +00:00
Romain Guy
8ce00301a0 Implement clipRect with a transform, clipRegion & clipPath
Bug #7146141

When non-rectangular clipping occurs in a layer the render buffer
used as the stencil buffer is not cached. If this happens on a
View's hardware layer the render buffer will live for as long
as the layer is bound to the view. When a stencil buffer is
required because of a call to Canvas.saveLayer() it will be allocated
on every frame. A future change will address this problem.

If "show GPU overdraw" is enabled, non-rectangular clips are not
supported anymore and we fall back to rectangular clips instead.
This is a limitation imposed by OpenGL ES that cannot be worked
around at this time.

This change also improves the Matrix4 implementation to easily
detect when a rect remains a rect after transform.

Change-Id: I0e69fb901792d38bc0c4ca1bf9fdb02d7db415b9
2013-01-17 15:39:31 -08:00
Roman Nurik
fb80c9e0f8 docs: Add PageTransformer to animations training class
Change-Id: I01f7e5b1fa078d9219edf190e5e8444192cc55f1
2013-01-17 15:37:20 -08:00
Fabrice Di Meglio
d859e7088a Merge "Fix SystemUI navigation bar recent icon loading in landscape mode" 2013-01-17 23:09:50 +00:00
Jeff Sharkey
9e57c414f3 Add method to get process group.
Change-Id: Ia62223228a54a6a4e3cdfc5c2e8c73ee194e77ef
2013-01-17 14:12:49 -08:00
Daniel Sandler
c51d96a95b Merge "Stop redrawing the nav bar any time you touch the screen." 2013-01-17 21:38:57 +00:00
Baligh Uddin
ccb9f5b66e Merge "Import translations. DO NOT MERGE" 2013-01-17 21:30:29 +00:00
Baligh Uddin
611c8a8900 Merge "Import translations. DO NOT MERGE" 2013-01-17 21:22:37 +00:00
Daniel Sandler
4f6ec7fd64 Stop redrawing the nav bar any time you touch the screen.
Bug: 7297091
Change-Id: I77659b9c4677cd01eccb85aaeeb6d8bf5ec9c9d5
2013-01-17 16:02:36 -05:00
Jeff Sharkey
5429865241 Merge "Reduce TextLayoutCache logging." 2013-01-17 20:56:57 +00:00
Jeff Sharkey
3f32a313db Reduce TextLayoutCache logging.
Change-Id: I09ae49b0a9708de219b18b00ce5b82ee4a0b2bcd
2013-01-17 12:53:27 -08:00
Andy McFadden
a81aec78fb am ac5b4040: am 7155becc: am ba92f666: am ee3a1d5e: am 9b6687bb: Fix code snippet
* commit 'ac5b404053494d766468042ab129419c135e0f06':
  Fix code snippet
2013-01-17 12:21:12 -08:00
Andy McFadden
ac5b404053 am 7155becc: am ba92f666: am ee3a1d5e: am 9b6687bb: Fix code snippet
* commit '7155becc05d99fb5ec52734cdef5605ae4a229e1':
  Fix code snippet
2013-01-17 12:18:43 -08:00
Andy McFadden
7155becc05 am ba92f666: am ee3a1d5e: am 9b6687bb: Fix code snippet
* commit 'ba92f6666db5ff5614df348bce5c9081b1495955':
  Fix code snippet
2013-01-17 12:14:24 -08:00
Andy McFadden
ba92f6666d am ee3a1d5e: am 9b6687bb: Fix code snippet
* commit 'ee3a1d5ecefe3d67df40c53de892b56ddf71bc81':
  Fix code snippet
2013-01-17 12:11:47 -08:00
Andy McFadden
ee3a1d5ece am 9b6687bb: Fix code snippet
* commit '9b6687bbc6a3e2866fdfd8ac3c725138d4c7ecbf':
  Fix code snippet
2013-01-17 12:09:40 -08:00
Dirk Dougherty
dde7f84691 am dae2ac6f: am d275891a: am ce15192c: am 4a0f95cf: am 3987f6c1: Merge "Doc change: Fix urls to work properly with https." into jb-mr1-dev
* commit 'dae2ac6f22bd5ab42d54365eedc1ea7dac0db360':
  Doc change: Fix urls to work properly with https.
2013-01-17 12:01:48 -08:00
Dirk Dougherty
dae2ac6f22 am d275891a: am ce15192c: am 4a0f95cf: am 3987f6c1: Merge "Doc change: Fix urls to work properly with https." into jb-mr1-dev
* commit 'd275891a8aceab307746befcc0be08f4a73e99c2':
  Doc change: Fix urls to work properly with https.
2013-01-17 11:59:18 -08:00
Dirk Dougherty
d275891a8a am ce15192c: am 4a0f95cf: am 3987f6c1: Merge "Doc change: Fix urls to work properly with https." into jb-mr1-dev
* commit 'ce15192c72a3491f632d8cee89f2f58da1e4e0b6':
  Doc change: Fix urls to work properly with https.
2013-01-17 11:55:49 -08:00
Elliott Hughes
ec6afcc69a am 8c27d0b3: am 686fad5e: am b1e16f11: Merge "Track a typo fix in hidden libcore API."
* commit '8c27d0b3093593fe0d2c229ffcc9a35dbaf5fc59':
  Track a typo fix in hidden libcore API.
2013-01-17 11:34:38 -08:00
Elliott Hughes
ebf724b641 am 2d40f625: (-s ours) Merge "DO NOT MERGE Fix build." into jb-mr1-dev-plus-aosp
* commit '2d40f625c457d93cd7fabb0ca8ea360519f40da9':
  DO NOT MERGE Fix build.
2013-01-17 11:34:23 -08:00
Fabrice Di Meglio
b714100560 Fix SystemUI navigation bar in RTL mode
In LTR mode the navigation bar is:

- portrait (from left to right) : Back | Home | Recent Apps | Menu
- landscape (from top to bottom) : Menu | Back | Home | Recent Apps

This is kinda horizontally / vertically "pivoting +90 degrees" around the Recent Apps button.

In RTL mode, we had:

- portrait: Menu | Recent Apps | Home | Back
- landscape: Menu | Recent Apps | Home | Back

to make it similar to the LTR mode, we should have a rotation of -90 degrees around the Recent Apps button:

- landscape: Menu | Back | Home | Recent Apps

Change-Id: I9de511383b632ae8dea1396e9152109cc8a57c27
2013-01-17 11:26:18 -08:00
Andy McFadden
9b6687bbc6 Fix code snippet
One of the examples was incorrect (both here and in the original).

http://b.android.com/42776

Change-Id: I2a218b724f50caf47d5185ef529ae8ab3104794f
2013-01-17 11:24:02 -08:00
Fabrice Di Meglio
18d9824be0 Fix SystemUI navigation bar recent icon loading in landscape mode
- load the correct landscape asset when needed (the portrait one was used in
both portrait and landscape modes)

Change-Id: I27d2aad993ee78c5a0c4a5f834e2a7f1f852cfa9
2013-01-17 10:57:40 -08:00
Elliott Hughes
8c27d0b309 am 686fad5e: am b1e16f11: Merge "Track a typo fix in hidden libcore API."
* commit '686fad5e2367fe08afe6e219d460be994127fb5e':
  Track a typo fix in hidden libcore API.
2013-01-17 10:32:00 -08:00
Elliott Hughes
686fad5e23 am b1e16f11: Merge "Track a typo fix in hidden libcore API."
* commit 'b1e16f11ffd3a391be1a44a352c122b6dad1e8a5':
  Track a typo fix in hidden libcore API.
2013-01-17 10:28:43 -08:00
Elliott Hughes
b1e16f11ff Merge "Track a typo fix in hidden libcore API." 2013-01-17 18:19:49 +00:00
Elliott Hughes
26df61683a Track a typo fix in hidden libcore API.
Change-Id: I6fa3c2ef7f4d73bbf6557560e46c7c11bff74a32
2013-01-17 09:24:47 -08:00