98749 Commits

Author SHA1 Message Date
Romain Guy
14e066df1c Merge "Clarify javadoc and parameter names Bug #7978741" 2013-01-09 20:18:35 -08:00
Romain Guy
9c5d1b17bf Clarify javadoc and parameter names
Bug #7978741

Change-Id: If713e2e58524ace008797abc142f50b83bfa3c61
2013-01-09 20:16:37 -08:00
Dianne Hackborn
9e6575bc52 am 854458f4: am 0287ca3c: am e62fa825: Merge from master: fix issue #7966357: Super lights out mode vs. volume dialog
* commit '854458f4d52937f9a1385559d759bd8019eb3294':
  Merge from master: fix issue #7966357: Super lights out mode vs. volume dialog
2013-01-09 19:01:26 -08:00
Dianne Hackborn
854458f4d5 am 0287ca3c: am e62fa825: Merge from master: fix issue #7966357: Super lights out mode vs. volume dialog
* commit '0287ca3ca36ad98004ddabfa189105e6324a820e':
  Merge from master: fix issue #7966357: Super lights out mode vs. volume dialog
2013-01-09 19:00:06 -08:00
Dianne Hackborn
0287ca3ca3 am e62fa825: Merge from master: fix issue #7966357: Super lights out mode vs. volume dialog
* commit 'e62fa825794967c2067be86e8b57b83f4b82ee1c':
  Merge from master: fix issue #7966357: Super lights out mode vs. volume dialog
2013-01-09 18:58:07 -08:00
Dianne Hackborn
e62fa82579 Merge from master: fix issue #7966357: Super lights out mode vs. volume dialog
The volume panel now forces us out of the UI modes while it
is up.

Change-Id: If39fa33b1c52579bf5d376ce4722408cee3ca951
2013-01-09 18:51:51 -08:00
Dianne Hackborn
04ce447784 am 91893471: Merge "Fix issue #7966357: Super lights out mode vs. volume dialog"
* commit '91893471ba844287432db4473a15faf902889607':
  Fix issue #7966357: Super lights out mode vs. volume dialog
2013-01-09 18:47:31 -08:00
Dianne Hackborn
91893471ba Merge "Fix issue #7966357: Super lights out mode vs. volume dialog" 2013-01-09 18:44:33 -08:00
Dianne Hackborn
78beb6824e am 53897ade: Merge "Maybe fix build."
* commit '53897adeb45a578fe3286a039bfeb4ee421bf170':
  Maybe fix build.
2013-01-09 18:39:34 -08:00
Dianne Hackborn
53897adeb4 Merge "Maybe fix build." 2013-01-09 18:37:41 -08:00
Dianne Hackborn
54372e9402 Maybe fix build.
Change-Id: If9bf7b7e2725cb472918fbbbf0cfb5070d0c6d46
2013-01-09 18:36:16 -08:00
Dianne Hackborn
891d3fbb15 Fix issue #7966357: Super lights out mode vs. volume dialog
The volume panel now forces us out of the UI modes while it
is up.

Change-Id: I25f29af5b6518aba695b64a75977ae240b742118
2013-01-09 18:31:37 -08:00
Fabrice Di Meglio
8c02884c8c Fix Volume icons for RTL languages
- add mirrored version of the icons
- make VolumePanel respond to layout direction changes
- make AudioService propagate layout direction changes to the VolumePanel

Change-Id: Ibb884ab81641c319a9b7bea1381066f3f19581f0
2013-01-09 18:25:20 -08:00
Tim Murray
8ac91e071d am 8d1127ef: Merge "Update IP2 to use bitmap-backed allocations."
* commit '8d1127ef3f5889c1d3fa88a80dfd052b0bf1a2de':
  Update IP2 to use bitmap-backed allocations.
2013-01-09 18:17:43 -08:00
Fabrice Di Meglio
f8093be096 am 978ad10c: Merge "Make SystemUI RTL aware"
* commit '978ad10cabd33b877d15e0e158b377abb6db3b1e':
  Make SystemUI RTL aware
2013-01-09 18:16:14 -08:00
Tim Murray
8d1127ef3f Merge "Update IP2 to use bitmap-backed allocations." 2013-01-09 18:15:15 -08:00
Fabrice Di Meglio
978ad10cab Merge "Make SystemUI RTL aware" 2013-01-09 18:12:26 -08:00
Tim Murray
f9485d0313 Update IP2 to use bitmap-backed allocations.
Change-Id: I2967fff71db40b4a8a00cd0152bcc04c43b87f80
2013-01-09 16:33:57 -08:00
Nick Kralevich
e476c0fa48 am ee49a3a0: Merge "Add K api version."
* commit 'ee49a3a007b9eb63bcb27eac492060b50ff75ce7':
  Add K api version.
2013-01-09 16:14:22 -08:00
Nick Kralevich
ac10139f3c am 6b0fb368: Merge "Revert "App home directories are now 0700 for targetSdkVersion > 17""
* commit '6b0fb368707a2d47dd3fbeaf01c214de5227baa0':
  Revert "App home directories are now 0700 for targetSdkVersion > 17"
2013-01-09 16:12:54 -08:00
Nick Kralevich
ee49a3a007 Merge "Add K api version." 2013-01-09 16:11:06 -08:00
Nick Kralevich
6b0fb36870 Merge "Revert "App home directories are now 0700 for targetSdkVersion > 17"" 2013-01-09 16:10:14 -08:00
Nick Kralevich
a985c3bb14 Add K api version.
Change-Id: I2b74e06f8bda8b23c5cc4280af4b18a5ad66a6c2
2013-01-09 16:03:14 -08:00
Nick Kralevich
1506921e8e Revert "App home directories are now 0700 for targetSdkVersion > 17"
This reverts commit 92091fa9636403728fe94cc83400495a8612c2d3.

Bug: 7966399
Bug: 7208882
2013-01-09 15:54:56 -08:00
Fabrice Di Meglio
82fca5d27d Make SystemUI RTL aware
- mirror vibrate and silent statusbar icons
- add code for updating icons when Locale is changed

See bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Ib7125d7f01ed8d1b8d63c2a9b119eb173efcf49f
2013-01-09 15:48:09 -08:00
Jason Sams
edd9f42499 am daa944a1: Merge "Add YUV allocation creation."
* commit 'daa944a167c3e7365ea6f9b6712950edd5ca2dd4':
  Add YUV allocation creation.
2013-01-09 15:35:25 -08:00
Jason Sams
daa944a167 Merge "Add YUV allocation creation." 2013-01-09 15:32:41 -08:00
Romain Guy
bf06ccba95 am 33a9741c: Merge "Cleanup 9patch mesh matching code Bug #7970966"
* commit '33a9741c1be99e8be01ab799eb50df97849ed801':
  Cleanup 9patch mesh matching code Bug #7970966
2013-01-09 14:43:02 -08:00
Romain Guy
33a9741c1b Merge "Cleanup 9patch mesh matching code Bug #7970966" 2013-01-09 14:39:13 -08:00
Romain Guy
5341cead27 Cleanup 9patch mesh matching code
Bug #7970966

The bug described in #7970966 should normally never happen but just in
case, change the detection code to be more robust.

Change-Id: I7040a6087590e34abe8803cb8f83f051d77f3944
2013-01-09 14:15:58 -08:00
Dianne Hackborn
11cd154a4f am 82e60952: Merge "New "app ops" service."
* commit '82e60952f2cbd89b8d050dd17bb6bc9652570368':
  New "app ops" service.
2013-01-09 14:10:54 -08:00
Dianne Hackborn
82e60952f2 Merge "New "app ops" service." 2013-01-09 14:07:41 -08:00
Adam Koch
0bb4dade30 Displaying Bitmaps Efficiently Training - Fix inSampleSize selection
When computing inSampleSize, calculateInSampleSize() needs to compare
height/width ratios, rather than raw values.

Bug: 7951398
Change-Id: I207f9abc2aae4cc569b406bac237e221d8e64d1e
2013-01-09 16:58:59 -05:00
Baligh Uddin
edbc00de18 am d10b6246: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'd10b6246d9c77d5e2e40f1057c30840385de9f34':
  Import translations. DO NOT MERGE
2013-01-09 13:58:17 -08:00
Baligh Uddin
d10b6246d9 Merge "Import translations. DO NOT MERGE" 2013-01-09 13:55:54 -08:00
Dianne Hackborn
a06de0f29b New "app ops" service.
Initial implementation, tracking use of the vibrator, GPS,
and location reports.

Also includes an update to battery stats to also keep track of
vibrator usage (since I had to be in the vibrator code anyway
to instrument it).

The service itself is only half-done.  Currently no API to
retrieve the data (which once there will allow us to show you
which apps are currently causing the GPS to run and who has
recently accessed your location), it doesn't persist its data
like it should, and no way to tell it to reject app requests
for various operations.

But hey, it's a start!

Change-Id: I05b8d76cc4a4f7f37bc758c1701f51f9e0550e15
2013-01-09 12:47:47 -08:00
Svetoslav Ganov
149567f9d5 Fixing a memory leak in ViewRootImpl and a focus change callback issue.
1. ViewRootImpl was keeping reference to the old focused view so it can
   call back the global on focus change listener when another view gets
   focus. The stashed reference, however was not cleared which caused a
   memory leak if the last focused view was removed from the view tree.
   In general keeping additional state for the last focus in ViewRootImpl
   is not a good idea since this add complexity due to additional book
   keeping work that is required. The view tree already keeps track of
   where the focus is and it should be the only place that holds this
   data. Since focus does not change that frequently it is fine to look
   up the focus since this operation is O(m) where m is the depth of the
   view tree. This change removes the duplicate book keeping from
   ViewRootImpl and the focus is looked up as needed.

2. ViewRootImpl was calling the global focus change callbacks when focus
   is gained, lost, or transferred to another view. This was done in
   *ChildFocus methods. In the case of a child losing focus, i.e. in
   clearChildFocus, there was a check whether focus searh yields a view
   to take focus and if so it did not call back the global focus listener
   assuming the the found view will take focus (the view tree gives focus
   to the first focusable when a view looses focus). This is not a correct
   assumption since some views override methods called as a result of
   View.requestFocus that determine what the next focused view should
   be. For example, HorizontalScrollView overrides onRequestFocusInDescendants
   and changes the direction of the search. In fact focus search does not
   take into accound ViewGroup descendant focusability. Hence, the view found
   by calling the focus search from the root is not necessarily the one
   that will get focus after calling requestFocus. Actually, it is
   possible that the focus search will find a view but no view will
   take focus. Now the View class is responsible for calling the
   global focus listeners which avoids the above problem. Also this
   saves book keeping in ViewRootImpl.

bug:7962363

Change-Id: Ic95a18b364e997021f3f6bb46943559aac07d95a
2013-01-09 12:34:49 -08:00
Martijn Coenen
f4d130fd9f am 2e9f65f9: Merge "Make NfcAdapter states public and fix build."
* commit '2e9f65f978397d112dbfb134d374588515bb644a':
  Make NfcAdapter states public and fix build.
2013-01-09 12:31:03 -08:00
Martijn Coenen
2e9f65f978 Merge "Make NfcAdapter states public and fix build." 2013-01-09 12:28:44 -08:00
Martijn Coenen
e55fe4f3bb Make NfcAdapter states public and fix build.
Change-Id: Idb2dd5e524cda5e3c03d4f2689266fa03be4ea13
2013-01-09 12:27:22 -08:00
Jason Noguchi
aefc63bb3d am ceea8857: am 68ba8b91: am e71bb772: am f9719d11: am daf9b7d1: am 3f72bf32: Merge "Refactoring the media recorder stress test. Added test cases for: - record & playback @ 1080p - record & playback @ 720p - record & playback @ 480p - record & playback @ custom Plus e
* commit 'ceea88578ce53bdee96c561cd5fa5dae725f9a7b':
  Refactoring the media recorder stress test. Added test cases for: - record & playback @ 1080p - record & playback @ 720p - record & playback @ 480p - record & playback @ custom Plus extending the record duration to a full minute.
2013-01-09 11:59:12 -08:00
Jason Noguchi
ceb38fce56 am 9964fd37: am 8d73c043: am be6ff0b8: am 66480258: am ba5fd35e: am 7b4e597f: Merge "Adding camera scene mode stress test." into jb-mr1-dev
* commit '9964fd37a6d7f30ce96f854f8e67df192f4213be':
  Adding camera scene mode stress test.
2013-01-09 11:59:09 -08:00
Dake Gu
72fa93c70f am 96c2a83c: am 05d48504: am af6dd103: Merge "fix ImageView.getImageMatrix()" into jb-mr1-aah-dev
* commit '96c2a83cd7bcb2d01338fa29849d5ac42d0cd088':
  fix ImageView.getImageMatrix()
2013-01-09 11:59:05 -08:00
Jason Noguchi
ceea88578c am 68ba8b91: am e71bb772: am f9719d11: am daf9b7d1: am 3f72bf32: Merge "Refactoring the media recorder stress test. Added test cases for: - record & playback @ 1080p - record & playback @ 720p - record & playback @ 480p - record & playback @ custom Plus extending the
* commit '68ba8b919f8659711b85d8c5bd8a5cb013f441bc':
  Refactoring the media recorder stress test. Added test cases for: - record & playback @ 1080p - record & playback @ 720p - record & playback @ 480p - record & playback @ custom Plus extending the record duration to a full minute.
2013-01-09 11:53:55 -08:00
Jason Noguchi
9964fd37a6 am 8d73c043: am be6ff0b8: am 66480258: am ba5fd35e: am 7b4e597f: Merge "Adding camera scene mode stress test." into jb-mr1-dev
* commit '8d73c043c8c4fe5af8963bbe5c29a47a3dff2677':
  Adding camera scene mode stress test.
2013-01-09 11:53:51 -08:00
Dake Gu
96c2a83cd7 am 05d48504: am af6dd103: Merge "fix ImageView.getImageMatrix()" into jb-mr1-aah-dev
* commit '05d485044bc4607759e2b4ca5188858bceb120f8':
  fix ImageView.getImageMatrix()
2013-01-09 11:53:36 -08:00
Martijn Coenen
9675f4d509 am 8a9120f0: Merge "Make NfcAdapter STATE_CHANGED intent action public."
* commit '8a9120f04ec0ef403e60e6225badab7a69bccf59':
  Make NfcAdapter STATE_CHANGED intent action public.
2013-01-09 11:49:44 -08:00
Martijn Coenen
8a9120f04e Merge "Make NfcAdapter STATE_CHANGED intent action public." 2013-01-09 11:45:15 -08:00
Martijn Coenen
4ba5eaf7f3 Make NfcAdapter STATE_CHANGED intent action public.
Bug: 5141885
Change-Id: Ia357409a51fb45f1739bb37940fa746f94fa9056
2013-01-09 11:41:16 -08:00
Adam Powell
79cc4a2ab0 am d1779207: am 0bf63a9a: am d29f2d26: Merge "Make action bar title a valid touch target for up when relevant" into jb-mr1.1-dev
* commit 'd17792073fd3ab963bd5e0a7edcb312720fcea26':
  Make action bar title a valid touch target for up when relevant
2013-01-09 11:28:27 -08:00