41664 Commits

Author SHA1 Message Date
Romain Guy
6080940411 Merge "Add PerfHUD ES profiling capabilities" 2013-05-23 19:50:58 +00:00
Romain Guy
e9bc11f712 Add PerfHUD ES profiling capabilities
The eglGetSystemTimeNV extension can be used to enable profiling
in PerfHUD ES. When the delta of two calls to eglGetSystemTimeNV
equals 0, we now cancels display lists updates. This allows the
tool to redraw the same frame several times in a row to run its
analysis.

For better results profiling should only be attempted after
setting viewroot.profile_rendering to true using adb shell
setprop.

Change-Id: I02e3c237418004cff8d6cb0b9a37126efae44c90
2013-05-23 12:50:13 -07:00
Anwar Ghuloum
3c61506b71 Add more memory usage stats
Added support for teasing apart different parts of the dalvik heap.

Note this adds more public api and we should talk to hackbod before going into master with this.

(cherry picked from commit 73407daf3f6110e933d8614605b21586c4c5fde2)

Change-Id: If4431f50e67e18bcc42e00694c97805477bd6815
2013-05-23 12:30:42 -07:00
Anwar Ghuloum
b1d45b3d3b Fix small formatting issue with dumpsys meminfo
(cherry picked from commit 853d2b6bcd49af08458a2dbf2481bb931ef1c707)

Change-Id: I83cb5184ce9d7c029bd16eb16f131db280283536
2013-05-23 12:30:23 -07:00
Anwar Ghuloum
3a8ce1bec8 More stats for meminfo
Added shared clean tracking (for pageable stuff).  Renamed .oat and .art mmap.

(cherry picked from commit 967d53b17b6010c3a675ca9c3bbd0e9dd2f2f092)

Change-Id: I741e0dbe0d3f9aee6975c6fad8af9905942962d4
2013-05-23 12:29:59 -07:00
Anwar Ghuloum
88887d0a53 break out boot.art
breaking out boot.art mapped pages

(cherry picked from commit eaa3f2d59adaeb87cd8d1726b696521f984659c4)

Change-Id: Ie89477bd3a93a15de3a4db76ef5eae497c3087e3
2013-05-23 12:29:37 -07:00
Anwar Ghuloum
8884ef4fe8 Break out Oat footprint for ram
Breaking out oat footprint in meminfo.

(cherry picked from commit c92f177d96b5952e0bfde01597972fc607aed93a)

Change-Id: I7b0452045c265b7544c41d3a5953e10a081c5315
2013-05-23 12:28:08 -07:00
Alan Viverette
ac5b347d03 Merge "Fix number picker accessibility focus." 2013-05-23 18:57:12 +00:00
Baligh Uddin
bc25a20e38 am a9a0409d: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
* commit 'a9a0409d626bc63c6cbd4b734ce8609559bb9540':
  Import translations. DO NOT MERGE
2013-05-23 09:15:51 -07:00
Baligh Uddin
4e508f775c Import translations. DO NOT MERGE
Change-Id: Ib740b1d34023b2b808a403bec217ca61cbae6e41
Auto-generated-cl: translation import
2013-05-22 22:23:39 -07:00
Baligh Uddin
b52156cd67 Import translations. DO NOT MERGE
Change-Id: I8af9de6adcf346f5d2b9241eceefdc42a4c42026
Auto-generated-cl: translation import
2013-05-22 22:14:01 -07:00
Scott Main
2651032064 fix javadoc links.
turns out, without parameters, javadoc will link to the best matching
method signature, even if it's from the superclass. So these were pointing
to Object.nofify()

Change-Id: I13688f2b65e898d1f000a34c88d0aaed928884b5
2013-05-22 19:00:09 -07:00
Craig Mautner
6d90fed076 Add stackId to RecentTaskInfo
Necessary for multi-stack activity overview.

Fixes bug 9092356.

Change-Id: I3d51a7b5cbca6166017759401bb5d31b4ae96f07
2013-05-22 17:23:25 -07:00
Craig Mautner
bfeb1b008e Merge "Revert "Add stackId to RecentTaskInfo"" 2013-05-22 23:15:12 +00:00
Craig Mautner
9d851de6cc Revert "Add stackId to RecentTaskInfo"
Need to modify the API as well.
This reverts commit b9b9477581ce5f72a679dd1cd9a85e6c8f73944a

Change-Id: I34ea371408930b6b1bf4c53ad9ab8418b0070dbc
2013-05-22 23:14:05 +00:00
Jeff Brown
4418bed617 am e20fbc6f: am d6619ed8: Merge "Add a queue of pending finished input events." into jb-mr2-dev
* commit 'e20fbc6feb6709c01bf0afdf86a75882c9a0e663':
  Add a queue of pending finished input events.
2013-05-22 15:48:45 -07:00
Jeff Brown
e20fbc6feb am d6619ed8: Merge "Add a queue of pending finished input events." into jb-mr2-dev
* commit 'd6619ed89ff7e10b0b66aadc353cfea171929344':
  Add a queue of pending finished input events.
2013-05-22 15:46:57 -07:00
Jeff Brown
d6619ed89f Merge "Add a queue of pending finished input events." into jb-mr2-dev 2013-05-22 22:44:17 +00:00
Winson Chung
a22cbf9822 Merge "Add stackId to RecentTaskInfo" 2013-05-22 22:13:27 +00:00
Craig Mautner
b9b9477581 Add stackId to RecentTaskInfo
Necessary for multi-stack activity overview.

Fixes bug 9092356.

Change-Id: I91fc68ebf72114224c8e651261101ac14517ff86
2013-05-22 15:03:10 -07:00
Geremy Condra
8bae56e278 am 8acde57d: am 1b12ab00: am 9c759e39: Merge "Fix SELinux get.. methods aborting on invalid address"
* commit '8acde57d23d7e85b493d4d9502e834509f1c46ba':
  Fix SELinux get.. methods aborting on invalid address
2013-05-22 13:07:02 -07:00
Geremy Condra
1b12ab0099 am 9c759e39: Merge "Fix SELinux get.. methods aborting on invalid address"
* commit '9c759e3968015c0d30a1a049754e4514adfdb565':
  Fix SELinux get.. methods aborting on invalid address
2013-05-22 13:03:21 -07:00
Jeff Brown
56513492ea Add a queue of pending finished input events.
Although in practice an application or IME is unlikely to fill up
the input channel with finish events, it can happen when events are
being delivered very rapidly.  Handle this situation by queuing
up the pending finish events until the socket becomes writable again.

Bug: 9034301
Change-Id: I938a62a75d12106a19cff2d016ba7af0db877ecf
2013-05-22 10:33:48 -07:00
Richard Haines
81ad284517 Fix SELinux get.. methods aborting on invalid address
SELinux get.. JNI need the 'security_context_t tmp' entries set
to NULL, otherwise on error freecon() tries to release uninitialised
memory causing apps to abort with invalid address.
Also fixed getPeerCon ALOGV call as this caused Zyote to abort when
verbose logging set.

Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
2013-05-22 15:12:16 +01:00
Adam Koch
116d791e25 am 289b14f5: am d51fc576: am 3e4ea33f: am 4f6d0cbd: am 7258e6bc: am 1fc7e59b: am 14233ee5: Merge "Doc change: fix minor typo in ContactsContract.RawContacts." into jb-mr1.1-docs
* commit '289b14f56c122a75ecbea3d8b878b6f1d424cacc':
  Doc change: fix minor typo in ContactsContract.RawContacts.
2013-05-22 06:56:36 -07:00
Adam Koch
289b14f56c am d51fc576: am 3e4ea33f: am 4f6d0cbd: am 7258e6bc: am 1fc7e59b: am 14233ee5: Merge "Doc change: fix minor typo in ContactsContract.RawContacts." into jb-mr1.1-docs
* commit 'd51fc5763d3ce7895e168ace65da4c253b16d57e':
  Doc change: fix minor typo in ContactsContract.RawContacts.
2013-05-22 06:53:34 -07:00
Adam Koch
d51fc5763d am 3e4ea33f: am 4f6d0cbd: am 7258e6bc: am 1fc7e59b: am 14233ee5: Merge "Doc change: fix minor typo in ContactsContract.RawContacts." into jb-mr1.1-docs
* commit '3e4ea33f087926d9039f7b4428dc967a8e760209':
  Doc change: fix minor typo in ContactsContract.RawContacts.
2013-05-22 06:52:00 -07:00
Adam Koch
3e4ea33f08 am 4f6d0cbd: am 7258e6bc: am 1fc7e59b: am 14233ee5: Merge "Doc change: fix minor typo in ContactsContract.RawContacts." into jb-mr1.1-docs
* commit '4f6d0cbdd9372754b1b5b112e2b724b3852ac12b':
  Doc change: fix minor typo in ContactsContract.RawContacts.
2013-05-22 06:49:43 -07:00
Adam Koch
4f6d0cbdd9 am 7258e6bc: am 1fc7e59b: am 14233ee5: Merge "Doc change: fix minor typo in ContactsContract.RawContacts." into jb-mr1.1-docs
* commit '7258e6bc57fb3cb023a4ca219f1355cf55ea93bf':
  Doc change: fix minor typo in ContactsContract.RawContacts.
2013-05-22 06:45:33 -07:00
Romain Guy
0c63d7c239 am 469cc57c: am 2f35d244: Merge "Avoid extraneous EGL surface allocations Bug #8667873" into jb-mr2-dev
* commit '469cc57ca77687420246dd679e94eb242fcec41d':
  Avoid extraneous EGL surface allocations Bug #8667873
2013-05-21 19:12:50 -07:00
Romain Guy
469cc57ca7 am 2f35d244: Merge "Avoid extraneous EGL surface allocations Bug #8667873" into jb-mr2-dev
* commit '2f35d2441e59b996a56653881fdc2f52d4eeb644':
  Avoid extraneous EGL surface allocations Bug #8667873
2013-05-21 19:11:16 -07:00
Romain Guy
2f35d2441e Merge "Avoid extraneous EGL surface allocations Bug #8667873" into jb-mr2-dev 2013-05-22 02:08:24 +00:00
Alan Viverette
0e2d281083 Fix number picker accessibility focus.
The node bounds populated by the child TextView were not consistent
with the bounds manually populated for its parent NumberPicker.

Bug: 9072003
Change-Id: Icbfa64f52cf11fd39c7243936227b8ba36280c3c
2013-05-21 17:15:30 -07:00
Chris Craik
41541825bc Use individual glyph positions to determine text bounds.
bug:8766924

Previously text bounds were calculated to be from 0 to totalAdvance in
the X, and from the font's top to bottom. These are incorrect,
especially in light of the font fallback mechanism.

Now, we calculate the bounds of the text as we layout each glyph.
Since these are much tighter bounds in the common case, this
significantly reduces the amount of clipping required (which in turn
enables more aggressive text merging).

Change-Id: I172e5466bf5975bf837af894a9964c41db538746
2013-05-21 23:04:05 +00:00
Michael Wright
a66c789f61 Merge "Pipe through bounding box information" 2013-05-21 20:03:49 +00:00
Romain Guy
370ab062a0 Avoid extraneous EGL surface allocations
Bug #8667873

windowShouldResize means we need to layout the window, it doesn't mean
the dimensions of the surface have changed. We should only check the
width and the height. With this fix we can avoid a surface allocation
every time the window shade is opened or closed.

Change-Id: I8afe97b820a865723f2aab7a5aa4ddc8eaaec6e1
2013-05-21 12:15:07 -07:00
Jeff Brown
b631eda39c am cf4339a8: am acad301a: Merge "Update media route picker button assets." into jb-mr2-dev
* commit 'cf4339a8093f2497437ec4bb8a9ef4a1c279c279':
  Update media route picker button assets.
2013-05-21 11:43:43 -07:00
Jeff Brown
cf4339a809 am acad301a: Merge "Update media route picker button assets." into jb-mr2-dev
* commit 'acad301ae7f7d950aa54526c379d0ca605f180ca':
  Update media route picker button assets.
2013-05-21 11:39:43 -07:00
Jeff Brown
acad301ae7 Merge "Update media route picker button assets." into jb-mr2-dev 2013-05-21 18:37:07 +00:00
Romain Guy
49f2e4098d Merge "Destroy display lists when running complete memory trims Bug #8833153" 2013-05-21 18:25:14 +00:00
Jay Shrauner
049219925f am 66d67241: am 34bed420: Merge "Update CALL_PRIVILEGED docs" into jb-mr2-dev
* commit '66d67241205e857e434bacf1a1e8fb8e3100018d':
  Update CALL_PRIVILEGED docs
2013-05-21 11:06:05 -07:00
Jay Shrauner
66d6724120 am 34bed420: Merge "Update CALL_PRIVILEGED docs" into jb-mr2-dev
* commit '34bed4206750eadd69737274dc641b2d1444af3f':
  Update CALL_PRIVILEGED docs
2013-05-21 11:02:33 -07:00
Jay Shrauner
34bed42067 Merge "Update CALL_PRIVILEGED docs" into jb-mr2-dev 2013-05-21 17:59:25 +00:00
Adam Koch
95e5a07448 Doc change: fix minor typo in ContactsContract.RawContacts.
Change-Id: I31dbc85449fa81c9f5ea61fdaa0d4a89cf97cd86
2013-05-21 10:09:16 -04:00
Przemyslaw Szczepaniak
40d51e7003 Make TtsEngines.getDefaultLocale() method public
TtsEngines is hidden class, it's not a public API.
It's required for tracking system language setting by TTS engines
(Change: Ic4bde97ef7406adb64cc03efbe660275360ba3af )

Bug: 8613986
Change-Id: Iafafcdb244e1520893bee65febd5a137e3556317
2013-05-21 12:29:28 +00:00
Jeff Brown
e9b2f9a069 am 04be10a5: am 36b3b1dd: Merge "Support double-tap home to go to recents." into jb-mr2-dev
* commit '04be10a5b1053d3d263a5522239f5ff6faf283e4':
  Support double-tap home to go to recents.
2013-05-20 19:22:56 -07:00
Jeff Brown
915618c444 Update media route picker button assets.
Bug: 8175766
Change-Id: I96a12f17b6db31723dff18b0d189b5a83d39a72f
2013-05-20 19:10:28 -07:00
Jeff Brown
04be10a5b1 am 36b3b1dd: Merge "Support double-tap home to go to recents." into jb-mr2-dev
* commit '36b3b1dd0b963e6d0a3d8f7d16e3bdfe5efcbe4d':
  Support double-tap home to go to recents.
2013-05-20 18:52:28 -07:00
Dianne Hackborn
77f342c37c Merge "Add app ops for wake locks." 2013-05-21 00:54:07 +00:00
Adam Powell
2e46b60d84 Merge "Fix out-of-screen item can take focus issue" 2013-05-21 00:23:50 +00:00