110492 Commits

Author SHA1 Message Date
Baligh Uddin
36afe9b67d Merge "Import translations. DO NOT MERGE" 2013-08-10 00:20:58 +00:00
Baligh Uddin
fdf04f6972 am 2d1716a8: (-s ours) am 67d5c290: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '2d1716a8cdc95977c243fe8a642b41f42be565d0':
  Import translations. DO NOT MERGE
2013-08-09 17:20:38 -07:00
Baligh Uddin
2d1716a8cd am 67d5c290: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '67d5c290e4d9319d4613c95e05dd3cf2560db3c3':
  Import translations. DO NOT MERGE
2013-08-09 17:14:45 -07:00
Romain Guy
0cd04a0d83 am 06c2bad6: am 96aadf83: Merge "Prevent AsyncTask from creating too many threads Bug #10228005" into klp-dev
* commit '06c2bad60079099b2496f2939655b72ffc649b29':
  Prevent AsyncTask from creating too many threads Bug #10228005
2013-08-09 17:13:55 -07:00
Romain Guy
06c2bad600 am 96aadf83: Merge "Prevent AsyncTask from creating too many threads Bug #10228005" into klp-dev
* commit '96aadf837c876b53bfb9ead9223c92bf138e586a':
  Prevent AsyncTask from creating too many threads Bug #10228005
2013-08-09 17:11:16 -07:00
Baligh Uddin
67d5c290e4 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-10 00:10:16 +00:00
Baligh Uddin
08fd6bde9c am 4b643f0e: (-s ours) am 40885045: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '4b643f0ebb78a554d4460626e5dedd4398b11f0a':
  Import translations. DO NOT MERGE
2013-08-09 17:09:17 -07:00
Romain Guy
96aadf837c Merge "Prevent AsyncTask from creating too many threads Bug #10228005" into klp-dev 2013-08-10 00:07:22 +00:00
Baligh Uddin
4b643f0ebb am 40885045: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '40885045a522359a81a298ff0d06d18b1051fb46':
  Import translations. DO NOT MERGE
2013-08-09 17:06:40 -07:00
Baligh Uddin
6f2eee0bc2 Merge "Import translations. DO NOT MERGE" 2013-08-10 00:05:16 +00:00
Baligh Uddin
40885045a5 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-10 00:02:40 +00:00
Dianne Hackborn
7ab53c3356 am d021b6b1: am b0037316: Merge "More stuff I need for the proc stats UI." into klp-dev
* commit 'd021b6b14a801cce1b575d536323af65587f2fbe':
  More stuff I need for the proc stats UI.
2013-08-09 16:45:26 -07:00
Dianne Hackborn
d021b6b14a am b0037316: Merge "More stuff I need for the proc stats UI." into klp-dev
* commit 'b0037316c4bbaf9d5b3ee8af563caf2539def564':
  More stuff I need for the proc stats UI.
2013-08-09 16:38:09 -07:00
Dianne Hackborn
b0037316c4 Merge "More stuff I need for the proc stats UI." into klp-dev 2013-08-09 23:19:07 +00:00
Dianne Hackborn
69cb00b8dd More stuff I need for the proc stats UI.
Change-Id: I5f05b79bc4d5766a80f2db9d20ba8078b60c1b00
2013-08-09 16:16:56 -07:00
Romain Guy
719c44e03b Prevent AsyncTask from creating too many threads
Bug #10228005

From the ThreadPoolExecutor documentation:

  - If fewer than corePoolSize threads are running, the Executor
    always prefers adding a new thread rather than queuing.
  - If corePoolSize or more threads are running, the Executor
    always prefers queuing a request rather than adding a new thread.
  - If a request cannot be queued, a new thread is created unless
    this would exceed maximumPoolSize, in which case, the task will
    be rejected.

Before this change AsyncTask could create up to 128 threads because
of the limited queue of 10 items (the capacity of a blocking queue
is fixed.)

This change increases the size of the queue to 128 items and reduces
the maximum number of threads to the number of CPU cores * 2 + 1.
Apps can still submit the same number of tasks.

Change-Id: I015d77b53b6a9fda39c618830b34d45a10de5571
2013-08-09 16:15:18 -07:00
Matthew Williams
98ecf58e3e Merge "Fix for scheduling conflicts, address fred's comments" 2013-08-09 23:04:50 +00:00
Chet Haase
1802d4bfd8 am 17198172: am 2b2d313e: Merge "Reduce amount of invalidation when old-style animations are running" into klp-dev
* commit '1719817211743cabf53e06761ad5540518544273':
  Reduce amount of invalidation when old-style animations are running
2013-08-09 15:58:51 -07:00
Chet Haase
1719817211 am 2b2d313e: Merge "Reduce amount of invalidation when old-style animations are running" into klp-dev
* commit '2b2d313e865e8aae3296257ed852374b15fa05ad':
  Reduce amount of invalidation when old-style animations are running
2013-08-09 15:54:24 -07:00
keunyoung
b62368a515 am c9bf4052: am f6c7a5fd: Merge "add local focus mode and input event injection API to Window" into klp-dev
* commit 'c9bf4052c71d7f473c781363bc7ff757a427c0e3':
  add local focus mode and input event injection API to Window
2013-08-09 15:54:05 -07:00
Craig Mautner
670c82b98a am f2424907: am 52f8ef21: Merge "Add extra layout pass after draw finished." into klp-dev
* commit 'f2424907b7763c996ef40eb1ef7a02d9a4c5bff9':
  Add extra layout pass after draw finished.
2013-08-09 15:54:01 -07:00
Colin Cross
fc917703fc am 00b581de: am dd78a0fb: Merge "parse named anonymous memory for dumpsys meminfo" into klp-dev
* commit '00b581de0e3ef49ea10c5ff039d272df086750e6':
  parse named anonymous memory for dumpsys meminfo
2013-08-09 15:53:57 -07:00
Martijn Coenen
bc66a3736f am b59dbedc: am 4bcc8ee6: Merge "NFC: always upper-case parsed AIDs." into klp-dev
* commit 'b59dbedceddc18e94fa75fe87523cf026e4e79b6':
  NFC: always upper-case parsed AIDs.
2013-08-09 15:53:54 -07:00
Alan Viverette
30a16d02e5 am bd430b25: am be11c364: Merge "Fix padding adjustment for scrollbars in View, FastScroller" into klp-dev
* commit 'bd430b250880f8376bb4c59f62c627d90ae14324':
  Fix padding adjustment for scrollbars in View, FastScroller
2013-08-09 15:53:51 -07:00
Geoffrey Borggaard
310cf7a86e am d1715fda: am 9b59e5aa: Merge "Add a name to the DeviceOwner" into klp-dev
* commit 'd1715fdaaf2a11484e6dc60710f13e2495cf6bbb':
  Add a name to the DeviceOwner
2013-08-09 15:53:43 -07:00
Fabrice Di Meglio
c9ff18ba46 am e4e68219: am 88dced29: Merge "Fix bug #10210182 CTS: android.widget.cts.TextViewTest#testDrawableResolution is failing on KLP" into klp-dev
* commit 'e4e68219ded0920f0e92ecce6e1cf220603942dc':
  Fix bug #10210182 CTS: android.widget.cts.TextViewTest#testDrawableResolution is failing on KLP
2013-08-09 15:53:40 -07:00
Dianne Hackborn
9e84538c96 am 003b944d: am d81a15c6: Merge "Add method for adding two ProcessStats objects together." into klp-dev
* commit '003b944d495bd8a54b61fa565a268dd2c9c21ba1':
  Add method for adding two ProcessStats objects together.
2013-08-09 15:53:36 -07:00
Fabrice Di Meglio
4362383027 am b945d80c: am 5af4edef: Merge "Fix bug #10205316 CTS (KLP): android.graphics tests are failing" into klp-dev
* commit 'b945d80c9bb91b90e48add2a4f665de02c63e28c':
  Fix bug #10205316 CTS (KLP): android.graphics tests are failing
2013-08-09 15:53:33 -07:00
Elliott Hughes
0065bba7f8 am 795a7dec: am 5adfb21e: am a0b320a6: Merge "Remove possible leak when exception occurred."
* commit '795a7decc2e9e547e0cf6291567d427a2a60517a':
  Remove possible leak when exception occurred.
2013-08-09 15:53:28 -07:00
Chet Haase
2b2d313e86 Merge "Reduce amount of invalidation when old-style animations are running" into klp-dev 2013-08-09 22:50:35 +00:00
keunyoung
c9bf4052c7 am f6c7a5fd: Merge "add local focus mode and input event injection API to Window" into klp-dev
* commit 'f6c7a5fd6680d74972738e60ad5c9cf34bfc43ef':
  add local focus mode and input event injection API to Window
2013-08-09 15:22:35 -07:00
Craig Mautner
f2424907b7 am 52f8ef21: Merge "Add extra layout pass after draw finished." into klp-dev
* commit '52f8ef21aa48c2b10305aac18933e90e09c96a83':
  Add extra layout pass after draw finished.
2013-08-09 15:22:32 -07:00
Colin Cross
00b581de0e am dd78a0fb: Merge "parse named anonymous memory for dumpsys meminfo" into klp-dev
* commit 'dd78a0fb0d537e0bb2aa5b7a7b58bce55bb57029':
  parse named anonymous memory for dumpsys meminfo
2013-08-09 15:22:28 -07:00
Martijn Coenen
b59dbedced am 4bcc8ee6: Merge "NFC: always upper-case parsed AIDs." into klp-dev
* commit '4bcc8ee682bb879f1020942be03616b506d2c802':
  NFC: always upper-case parsed AIDs.
2013-08-09 15:22:25 -07:00
Alan Viverette
bd430b2508 am be11c364: Merge "Fix padding adjustment for scrollbars in View, FastScroller" into klp-dev
* commit 'be11c364e77a9d805cde9bfe5530cbc7b2afd3aa':
  Fix padding adjustment for scrollbars in View, FastScroller
2013-08-09 15:22:22 -07:00
Geoffrey Borggaard
d1715fdaaf am 9b59e5aa: Merge "Add a name to the DeviceOwner" into klp-dev
* commit '9b59e5aa9cd5d239b18f5b864959fb2feae05665':
  Add a name to the DeviceOwner
2013-08-09 15:22:17 -07:00
Fabrice Di Meglio
e4e68219de am 88dced29: Merge "Fix bug #10210182 CTS: android.widget.cts.TextViewTest#testDrawableResolution is failing on KLP" into klp-dev
* commit '88dced29361c463299e55f059c9d4a7610116ef6':
  Fix bug #10210182 CTS: android.widget.cts.TextViewTest#testDrawableResolution is failing on KLP
2013-08-09 15:22:12 -07:00
Dianne Hackborn
003b944d49 am d81a15c6: Merge "Add method for adding two ProcessStats objects together." into klp-dev
* commit 'd81a15c6b77c94109d0a08bc7355f62301fe9234':
  Add method for adding two ProcessStats objects together.
2013-08-09 15:22:07 -07:00
Fabrice Di Meglio
b945d80c9b am 5af4edef: Merge "Fix bug #10205316 CTS (KLP): android.graphics tests are failing" into klp-dev
* commit '5af4edef084f4d3f94af71acca53c68929e82008':
  Fix bug #10205316 CTS (KLP): android.graphics tests are failing
2013-08-09 15:21:55 -07:00
Chet Haase
2632b5d0d2 Reduce amount of invalidation when old-style animations are running
Previously, old animations (view.animation.*) would cause invalidations on
both the area of the child view and then the entire parent area. There's no
reason for the second invalidation; only the child area need be redrawn.

Issue #10229470 Old animation code in View.draw() may be invalidating too much

Change-Id: I4d0d16321e20b2f34dc579eacf5d3841aed33d6d
2013-08-09 15:05:14 -07:00
Elliott Hughes
795a7decc2 am 5adfb21e: am a0b320a6: Merge "Remove possible leak when exception occurred."
* commit '5adfb21e3a3eb6e4628a2f1c8976e6d781492933':
  Remove possible leak when exception occurred.
2013-08-09 15:04:06 -07:00
Elliott Hughes
5adfb21e3a am a0b320a6: Merge "Remove possible leak when exception occurred."
* commit 'a0b320a66f6467107edac57f3f41471d9d550507':
  Remove possible leak when exception occurred.
2013-08-09 15:02:10 -07:00
Elliott Hughes
a0b320a66f Merge "Remove possible leak when exception occurred." 2013-08-09 21:58:37 +00:00
keunyoung
f6c7a5fd66 Merge "add local focus mode and input event injection API to Window" into klp-dev 2013-08-09 21:51:30 +00:00
Craig Mautner
52f8ef21aa Merge "Add extra layout pass after draw finished." into klp-dev 2013-08-09 21:34:28 +00:00
Craig Mautner
8efb0a4d81 Add extra layout pass after draw finished.
Once content has been drawn another pass through layout is required
to set mHasContent in the LogicalDisplay. Previously this pass was
occuring because of a delayed animation step. When timing of that
step changed that pass occurred before the draw completed. This is
why Presentations were immediately displayed in jb-mr1 and not
jb-mr2.

Fixes bug 10154780.

Change-Id: I0075c5a73d5cdf972e73fdd59c1fde46df64e245
2013-08-09 14:32:58 -07:00
Colin Cross
dd78a0fb0d Merge "parse named anonymous memory for dumpsys meminfo" into klp-dev 2013-08-09 21:24:08 +00:00
Martijn Coenen
4bcc8ee682 Merge "NFC: always upper-case parsed AIDs." into klp-dev 2013-08-09 20:50:52 +00:00
Alan Viverette
be11c364e7 Merge "Fix padding adjustment for scrollbars in View, FastScroller" into klp-dev 2013-08-09 20:46:02 +00:00
Martijn Coenen
62c196abd2 NFC: always upper-case parsed AIDs.
Also added activity intent action for Tap&Pay settings.

Change-Id: I5648e1ded3b79a3363899d1cab8aec55842b3e22
2013-08-09 13:43:34 -07:00