101163 Commits

Author SHA1 Message Date
Craig Mautner
aab647ed57 Convert mHistory to mTaskHistory (8)
- Convert findTaskToMoveToFrontLocked from mHistory to mTaskHistory.
- Convert getTasksLocked from mHistory to mTaskHistory.
- Convert unhandledBackLock from mHistory to mTaskHistory.
- Convert dumpActivitiesLocked from mHistory to mTaskHistory.
- Convert getDumpActivitiesLocked from mHistory to mTaskHistory.
- Convert restartPackage from mHistory to mTaskHistory.

Change-Id: Ica654a964e91f6c6dae92e7fe326bc08b5ad36ac
2013-02-28 17:45:07 -08:00
Craig Mautner
0247fc80c1 Convert mHistory to mTaskHistory (7)
- Remove TaskRecord from mTaskHistory and mTaskIdToTaskRecord when
last ActivityRecord is removed from it.
- Convert finishActivityLocked from mHistory to mTaskHistory.
- Convert navigateUpToLocked from mHistory to mTaskHistory.
- Convert removeHistoryRecordsForAppLocked from mHistory to
mTaskHistory.
- Convert moveHomeToFrontLocked from mHistory to mTaskHistory.

Change-Id: Ic632a8213f48dda1126c5e6853325a298b54f25f
2013-02-28 16:32:23 -08:00
Lorenzo Colitti
30929b758d am 51019a0f: Merge "Expose clatd commands to NetworkManagementService." into jb-mr2-dev
* commit '51019a0fc7135ecb7cc965a80c6e5d13ae23a701':
  Expose clatd commands to NetworkManagementService.
2013-03-01 00:21:39 +00:00
Lorenzo Colitti
51019a0fc7 Merge "Expose clatd commands to NetworkManagementService." into jb-mr2-dev 2013-03-01 00:15:44 +00:00
Romain Guy
d06cfccf84 am 1361dff5: Merge "Support 3D rotations when drawing text" into jb-mr2-dev
* commit '1361dff5eb54b9b02b4d1a2d3e2ed3afd216d79d':
  Support 3D rotations when drawing text
2013-03-01 00:11:19 +00:00
Chris Craik
fcdfff575a am f999879c: Merge "Account for text alignment in Op bounds calculation" into jb-mr2-dev
* commit 'f999879ce01117ea8ca292403a7104b0e7d46bdc':
  Account for text alignment in Op bounds calculation
2013-03-01 00:07:51 +00:00
Romain Guy
1361dff5eb Merge "Support 3D rotations when drawing text" into jb-mr2-dev 2013-03-01 00:05:51 +00:00
Romain Guy
a4adcf0239 Support 3D rotations when drawing text
If a perspective transform is set on the Canvas, drawText() should
not attempt to rasterize glyphs in screen space. This change uses
the old behavior instead (i.e. rasterize the glyphs at the native
font size and apply the transform on the resulting mesh.)

This change also adds an optimization: empty glyphs (spaces) do
not generate vertices anymore. This saves a lot of vertices in text
heavy applications such as Gmail.

Change-Id: Ib531384163f5165b5785501612a7b1474f3ff599
2013-02-28 16:04:48 -08:00
Chris Craik
f999879ce0 Merge "Account for text alignment in Op bounds calculation" into jb-mr2-dev 2013-03-01 00:01:15 +00:00
Tim Murray
581488fcfd am 31a3ed4e: Merge "Add support and better exceptions for Bitmaps with a null config." into jb-mr2-dev
* commit '31a3ed4ed484cce71213700c2a659a55c45e7288':
  Add support and better exceptions for Bitmaps with a null config.
2013-03-01 00:00:07 +00:00
Tim Murray
31a3ed4ed4 Merge "Add support and better exceptions for Bitmaps with a null config." into jb-mr2-dev 2013-02-28 23:52:37 +00:00
Jonathan Dixon
a280b5f9f7 am 68770066: Merge "Fix javadoc build" into jb-mr2-dev
* commit '6877006646db987db8148117fcdde313d84a93e7':
  Fix javadoc build
2013-02-28 23:43:18 +00:00
Jonathan Dixon
6877006646 Merge "Fix javadoc build" into jb-mr2-dev 2013-02-28 23:37:23 +00:00
Jonathan Dixon
98fac170b1 Fix javadoc build
Change-Id: I99eb6713fb221e1a3a8e54d621038104913dc03a
2013-02-28 15:32:10 -08:00
Stephen Hines
55aa9aef02 am e70e8bec: Merge "Fix docs bug." into jb-mr2-dev
* commit 'e70e8becf35696d68410a4f66a51da97b3402d2b':
  Fix docs bug.
2013-02-28 22:39:07 +00:00
Dianne Hackborn
1010a6ec67 am d6a3e485: Merge "Unify normal and overlay action bar layouts." into jb-mr2-dev
* commit 'd6a3e485b58e23808b44b8f2374e67e891cfae05':
  Unify normal and overlay action bar layouts.
2013-02-28 22:39:03 +00:00
Jonathan Dixon
ea48c442be am 0af1c597: Merge "Deprecate various WebView related methods" into jb-mr2-dev
* commit '0af1c59762d0cad2ef9755b15217a253cbb32005':
  Deprecate various WebView related methods
2013-02-28 22:39:00 +00:00
Romain Guy
489bc9d353 am aaa46155: Merge "Reorganize OpenGL renderer tests" into jb-mr2-dev
* commit 'aaa46155ec80f02b37ec858408d7dabbf9bc289a':
  Reorganize OpenGL renderer tests
2013-02-28 22:38:53 +00:00
Matthew Xie
9e0a566839 am 23b046c4: Merge "Initial version of BLE support for Bluedroid" into jb-mr2-dev
* commit '23b046c4af6672d96a4ef7bb27fb444e40f0bd5d':
  Initial version of BLE support for Bluedroid
2013-02-28 22:38:38 +00:00
Derek Sollenberger
ea104b64f4 am 5b6591c1: fix issue when replacement bitmap is larger than original.
* commit '5b6591c1d058a2c8008ba6f77ee0e978a84b78e9':
  fix issue when replacement bitmap is larger than original.
2013-02-28 22:38:33 +00:00
Dirk Dougherty
bf50ede4cf am c732976e: am 08a551b4: am f132ac4f: am ac6a76d2: am f19dd2b5: am 1c7b442a: Merge "Doc change: update \'multiple apks\' criteria in filters doc." into jb-mr1-dev
* commit 'c732976e6b40be5a23eee2df2bff23101abc1f91':
  Doc change: update 'multiple apks' criteria in filters doc.
2013-02-28 22:38:10 +00:00
Svetoslav
e71384bcce am 2a45b9fe: Merge "Fake accessibility service used by UiAutomation not destroyed." into jb-mr2-dev
* commit '2a45b9fe99b10baeedb9c4529dcc5177ad7e3584':
  Fake accessibility service used by UiAutomation not destroyed.
2013-02-28 22:38:05 +00:00
Scott Main
f18bc583fd am 29466f85: am 38471f9e: am 49c03cc8: am 65b7d5a4: am dc9e84bd: am d346b311: Merge "docs: add MTK usb driver info" into jb-mr1-dev
* commit '29466f85c06b7b58b2d058dcf293298fecdeb704':
  docs: add MTK usb driver info
2013-02-28 22:37:54 +00:00
Romain Guy
861f4c3455 am 19886f8b: Merge "Properly scale text" into jb-mr2-dev
* commit '19886f8b5109218191908d2ce5faf0293f85cf31':
  Properly scale text
2013-02-28 22:37:40 +00:00
Marco Nelissen
6f667e91be am 66dfcd46: When scanning a single file, take .nomedia into account
* commit '66dfcd465c02d78cb4ff22e7b509ee42d4309286':
  When scanning a single file, take .nomedia into account
2013-02-28 22:37:32 +00:00
Craig Mautner
e3b9227737 Merge "Convert mHistory to mTaskHistory (6)" 2013-02-28 22:33:38 +00:00
Tim Murray
abd5db9d37 Add support and better exceptions for Bitmaps with a null config.
Bug: 8263427
Change-Id: I4181402e4739c6a40591f1e1416fca98643ecc57
2013-02-28 14:33:01 -08:00
Stephen Hines
e70e8becf3 Merge "Fix docs bug." into jb-mr2-dev 2013-02-28 22:29:55 +00:00
Stephen Hines
41cf8f354f Fix docs bug.
Change-Id: I8c69963b339d703757bf1cd8f43161175783566d
2013-02-28 14:23:00 -08:00
Chris Craik
0a74ec1863 am d041e476: Merge "Correct sub-hairline tessellation threshold" into jb-mr2-dev
* commit 'd041e476f3c959f5b373b64a329aa427d057375e':
  Correct sub-hairline tessellation threshold
2013-02-28 22:16:36 +00:00
Chris Craik
943e1cd34c am d80806b3: Merge "Fix T-junctions in layers\' generated meshes" into jb-mr2-dev
* commit 'd80806b305ce337283c24f14522cc58fea090b8c':
  Fix T-junctions in layers' generated meshes
2013-02-28 22:16:30 +00:00
Dianne Hackborn
d6a3e485b5 Merge "Unify normal and overlay action bar layouts." into jb-mr2-dev 2013-02-28 22:14:48 +00:00
Jonathan Dixon
0af1c59762 Merge "Deprecate various WebView related methods" into jb-mr2-dev 2013-02-28 22:11:36 +00:00
Jim Miller
6486588e40 Merge "Fix dependency between keyguard/dexopt/AccessibilityManagerService." 2013-02-28 22:09:41 +00:00
Jim Miller
195b551761 Fix dependency between keyguard/dexopt/AccessibilityManagerService.
This fixes a bug on userdebug builds where dexopt hadn't completed
before the service is needed.  The resulting crash prevented dexopt
from completing, resulting in a reboot loop and perpetual issue starting
the service.

The solution is to hold off on creating keyguard until the system is ready.

It also moves the creation of the AccessibilityManagerService singleton back
into the system process.

Fixes bug 8287106

Change-Id: I96e15c084d38c255fd8f6bca6f21a0785b82ec74
2013-02-28 13:40:49 -08:00
Romain Guy
aaa46155ec Merge "Reorganize OpenGL renderer tests" into jb-mr2-dev 2013-02-28 21:10:51 +00:00
Romain Guy
29ce8c98ff Reorganize OpenGL renderer tests
The new UI works just like ApiDemos. The label of the activities
declared in the manifest defines where they go in the UI.

For instance Draw/Circles will create an entry called Draw in the
first screen of the test app. Click the "Draw" item will launch
a new activity containing an item called "Circles".

Change-Id: I98a4442ee3d992598af440b2078ae1925214da20
2013-02-28 13:08:34 -08:00
Jonathan Dixon
835b1fcc31 Deprecate various WebView related methods
WebSettings:
PluginState - plugins depreacted and will not be supported in future.
setRenderPriotity - b/6335436
setLightTouchEnabled - b/7683972 it's s no-op.
setAppCacheMaxSize - has a sensible default and will  be obsolete in
                     future with HTML Quota Management API. b/6236763

WebStorage.setQuotaForOrigin - same as setAppCacheMaxSize

WebView:
clearView, showFindDialog - buggy, can be achieved otherways
savePassword - not useful/usable in practice; see b/5012826
             - stock browser used hidden APIs to achieve this feature

WebIconDatabase:
Other than the open() method, this does nothing useful. b/7331507

Change-Id: I01793f7b34978046eb54033477fca2da96e69c2e
2013-02-28 13:01:48 -08:00
Craig Mautner
9658b31509 Convert mHistory to mTaskHistory (6)
- Convert isInStackLocked from mHistory to mTaskHistory.
- Fix discrepancy between mHistory and mTaskHistory when all
activities in a task are finishing and a new one is being added.
mHistory was separating the task into two places in the stack,
mTaskHistory can't do that.
- Convert startActivityUncheckedLocked from mHistory to mTaskHistory.
- Convert finishTopRunningActivityLocked from mHistory to mTaskHistory.

Change-Id: I42b097c2f187d40ecd98b108794757063903218b
2013-02-28 12:32:11 -08:00
Craig Mautner
c458b7f8d3 Merge "Convert mHistory to mTaskHistory (5)" 2013-02-28 20:20:26 +00:00
Chris Craik
d6960a49b4 Account for text alignment in Op bounds calculation
bug:8243821

Previously this wasn't done for deferred clipping + reordering, so
non-left-aligned text would be clipped at defer time, when it wouldn't
have been at draw time (in OpenGLRenderer::quickReject())

Change-Id: Ic96949c2dca4378f284606b37d9411ed42f8d203
2013-02-28 11:25:39 -08:00
Matthew Xie
23b046c4af Merge "Initial version of BLE support for Bluedroid" into jb-mr2-dev 2013-02-28 18:43:32 +00:00
Derek Sollenberger
5b6591c1d0 fix issue when replacement bitmap is larger than original.
getTotalClip() returns the canvas bounds even if no explicit clip
was set. This CL fixes that issue by only transfering clips that
were explicitly set to the new canvas.

bug: 8255582
Change-Id: I0144d430e7718151ad93d988fcf20b412f74b256
2013-02-28 11:18:50 -05:00
Lorenzo Colitti
79751848d1 Expose clatd commands to NetworkManagementService.
For now, we only support running one clat at a time. This is
enforced by the netd ClatdController code.

Bug: 8276725
Change-Id: I8a50305f9182f4da0f80716081211625a0202583
2013-02-28 16:33:48 +09:00
Jim Miller
105beddcb9 Fix bad merge in KeyguardHostView
This restores the fix detailed in Change-Id: I866d4b42493df3a6449d8eabc3ea140dc39dac57

Change-Id: Ibe75afd7a612cf96a56e5815a198c2047c7ff5bd
2013-02-27 21:35:18 -08:00
Jim Miller
1430193df4 Merge "Add permission check to AccountManagerService to allow keyguard access." 2013-02-28 03:35:05 +00:00
Jim Miller
6a31d15efb Merge changes I254d6fc6,I360e9ac7
* changes:
  Move keyguard to its own process.
  Move keyguard source and resources into new package
2013-02-28 03:30:45 +00:00
Dirk Dougherty
c732976e6b am 08a551b4: am f132ac4f: am ac6a76d2: am f19dd2b5: am 1c7b442a: Merge "Doc change: update \'multiple apks\' criteria in filters doc." into jb-mr1-dev
* commit '08a551b4ad02946c62efc5161d16d35bdbc48071':
  Doc change: update 'multiple apks' criteria in filters doc.
2013-02-28 03:03:07 +00:00
Dirk Dougherty
08a551b4ad am f132ac4f: am ac6a76d2: am f19dd2b5: am 1c7b442a: Merge "Doc change: update \'multiple apks\' criteria in filters doc." into jb-mr1-dev
* commit 'f132ac4fb4b0ca6cf3b8aaeea469a46a286435c7':
  Doc change: update 'multiple apks' criteria in filters doc.
2013-02-27 19:00:16 -08:00
Dirk Dougherty
f132ac4fb4 am ac6a76d2: am f19dd2b5: am 1c7b442a: Merge "Doc change: update \'multiple apks\' criteria in filters doc." into jb-mr1-dev
* commit 'ac6a76d29f884e4229947a1d8d66315f61d32744':
  Doc change: update 'multiple apks' criteria in filters doc.
2013-02-27 18:57:34 -08:00