101305 Commits

Author SHA1 Message Date
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
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
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
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
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
Joe Malin
5d64aa2ac3 Bug 8289268: Reversed text Content Provider Basics
Change-Id: I4eab50651d47bb86709740595d982d9524a561fb
2013-02-28 09:18:24 -08: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
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
Dirk Dougherty
ac6a76d29f am f19dd2b5: am 1c7b442a: Merge "Doc change: update \'multiple apks\' criteria in filters doc." into jb-mr1-dev
* commit 'f19dd2b50ee64be29e034f2d5ca29ab5117ba27e':
  Doc change: update 'multiple apks' criteria in filters doc.
2013-02-27 18:56:03 -08:00
Dirk Dougherty
f80cb1869e am 1c7b442a: Merge "Doc change: update \'multiple apks\' criteria in filters doc." into jb-mr1-dev
* commit '1c7b442aae47d34176f832a1c45393b9f7e42631':
  Doc change: update 'multiple apks' criteria in filters doc.
2013-02-28 02:54:51 +00:00
Dirk Dougherty
f19dd2b50e am 1c7b442a: Merge "Doc change: update \'multiple apks\' criteria in filters doc." into jb-mr1-dev
* commit '1c7b442aae47d34176f832a1c45393b9f7e42631':
  Doc change: update 'multiple apks' criteria in filters doc.
2013-02-27 18:54:18 -08:00
Dirk Dougherty
1c7b442aae Merge "Doc change: update 'multiple apks' criteria in filters doc." into jb-mr1-dev 2013-02-28 02:51:16 +00:00
Dirk Dougherty
c511675bcb Doc change: update 'multiple apks' criteria in filters doc.
Change-Id: I8504f5e019758946d567d4391c1a875dead236c5
Bug: 8277558
2013-02-28 02:50:11 +00:00
Svetoslav
2a45b9fe99 Merge "Fake accessibility service used by UiAutomation not destroyed." into jb-mr2-dev 2013-02-28 02:33:05 +00:00
Svetoslav
3c55e5c659 Fake accessibility service used by UiAutomation not destroyed.
UiAutomation registers a fake accessibility service to introspect
the screen. Upon the death of the shell process that started an
instrumentation in which a UiAutomation resides the connection
between the UiAutomation and the system is kept alive allowing
the instrumentation to introspect the screen even after the death
of the shell process.

bug:8285905

Change-Id: I1a16d78abbea032116c4baed175cfc0d5dedbf0c
2013-02-27 18:32:17 -08:00
Dianne Hackborn
df7221ced3 Unify normal and overlay action bar layouts.
Switch the action bar to always use the overlay layout, and
make it smarter to do the right thing depending on whether the
action bar is in overlay mode or not.

This allows apps to use the system UI magic flags without
having to worry about whether the action bar is configured
in overlay mode or note -- just select a stable layout and it
will automatically go into overlay mode.

In the future this should also allow us to simplify the action
bar code, since it is all sitting on one common implementation.
For example, much of the logic in ActionBarImpl can be moved
to the root action bar layout, and that layout can be optimized
to do custom layout with all of the known elements it has.

Also fixed a little bug in the performance tests.

Change-Id: Iec0c0c0699754f0d1ce37402d786b4966e052a56
2013-02-27 18:27:42 -08:00
Ganesh Ganapathi Batta
9908112fd0 Initial version of BLE support for Bluedroid
The API classes are hidden for now. Will unhide after API console
approval.
Change-Id: I8283dd562fd6189fdd15c866ef2efb8bbdbc4109
2013-02-27 18:08:14 -08:00
Scott Main
29466f85c0 am 38471f9e: am 49c03cc8: am 65b7d5a4: am dc9e84bd: am d346b311: Merge "docs: add MTK usb driver info" into jb-mr1-dev
* commit '38471f9e857b294a9b1be98237d42de848ed9e93':
  docs: add MTK usb driver info
2013-02-28 01:40:07 +00:00
Scott Main
38471f9e85 am 49c03cc8: am 65b7d5a4: am dc9e84bd: am d346b311: Merge "docs: add MTK usb driver info" into jb-mr1-dev
* commit '49c03cc8183f8a128f68ecf777cbe7ce9ac7d021':
  docs: add MTK usb driver info
2013-02-27 17:35:30 -08:00
Scott Main
49c03cc818 am 65b7d5a4: am dc9e84bd: am d346b311: Merge "docs: add MTK usb driver info" into jb-mr1-dev
* commit '65b7d5a4b39eee0ad184f5b81442786ff0fd06e9':
  docs: add MTK usb driver info
2013-02-27 17:30:21 -08:00
Scott Main
65b7d5a4b3 am dc9e84bd: am d346b311: Merge "docs: add MTK usb driver info" into jb-mr1-dev
* commit 'dc9e84bdab03af490e457093d33a329de2a49638':
  docs: add MTK usb driver info
2013-02-27 17:28:12 -08:00
Scott Main
9ecd8e7ba1 am d346b311: Merge "docs: add MTK usb driver info" into jb-mr1-dev
* commit 'd346b311cabbcf4d7d4654984efddd47cdf8a3fc':
  docs: add MTK usb driver info
2013-02-28 01:25:46 +00:00
Scott Main
dc9e84bdab am d346b311: Merge "docs: add MTK usb driver info" into jb-mr1-dev
* commit 'd346b311cabbcf4d7d4654984efddd47cdf8a3fc':
  docs: add MTK usb driver info
2013-02-27 17:25:45 -08:00
Scott Main
d346b311ca Merge "docs: add MTK usb driver info" into jb-mr1-dev 2013-02-28 01:22:58 +00:00
Romain Guy
19886f8b51 Merge "Properly scale text" into jb-mr2-dev 2013-02-28 01:05:34 +00:00
Scott Main
8c82d25072 Merge "docs: clarify startActivity" into jb-mr1.1-docs 2013-02-28 01:03:38 +00:00
Marco Nelissen
66dfcd465c When scanning a single file, take .nomedia into account
Make scanSingleFile behave the same way as scanMtpFile, by taking into
account whether there's a .nomedia file guarding the file being scanned.
Without this, downloaded (or otherwise explicitly scanned) images/video/music
will appear in Gallery and Music even if a .nomedia file is hiding them.

Change-Id: Ib9ad4bda1b9a942f79a37ccd8e6a54d57710f528
2013-02-27 16:53:47 -08:00
Jonathan Dixon
89f48e9ffc Remove obsolete target-densitydpi documentation
Bug: 7999930

In general WebView.java is not a good place for HTML/CSS reference
guide, and more specifically target-densitydpi is an obsolete CSS
feature that is being phased out in modern browsers.
http://petelepage.com/blog/2013/02/viewport-target-densitydpi-support-is-being-deprecated/

Change-Id: Idd5cf09bb44e9f5f13f57e5f1c4b5c8ae1fc069b
2013-02-27 16:48:28 -08:00
quddusc
f353c9ed7d Merge "docs: Fix IABv3 AIDL installation instructions for Eclipse users. Bug: 8282080" into jb-mr1.1-docs 2013-02-28 00:01:48 +00:00
Romain Guy
c74f45a334 Properly scale text
This change does not apply to drawPosText() and drawTextOnPath() yet.

Prior to this change, glyphs were always rasterized based on the
font size specified in the paint. All transforms were then applied
on the resulting texture. This creates rather ugly results when
text is scaled and/or rotated.

With this change, the font renderer will apply the current transform
matrix to the glyph before they are rasterized. This generates much
better looking results.

Change-Id: I0141b6ff18db35e1213e7a3ab9db1ecaf03d7a9c
2013-02-27 15:49:57 -08:00
Chris Craik
d041e476f3 Merge "Correct sub-hairline tessellation threshold" into jb-mr2-dev 2013-02-27 23:49:37 +00:00
Chris Craik
d80806b305 Merge "Fix T-junctions in layers' generated meshes" into jb-mr2-dev 2013-02-27 23:47:55 +00:00
Scott Main
87bff974d0 docs: clarify startActivity
Change-Id: I821321441bbb39b84031e9c65fe43762270e0148
2013-02-27 15:46:34 -08:00
Chris Craik
19a390bff3 Correct sub-hairline tessellation threshold
Change-Id: Id868d41a36db5b4daa762d84b6329f9c31916bce
2013-02-27 15:43:26 -08:00
quddusc
5319f312aa docs: Fix IABv3 AIDL installation instructions for Eclipse users.
Bug: 8282080

Change-Id: I094a3b4ac7e241009e75bae457f34a0a32accde1
2013-02-27 15:41:08 -08:00
Dirk Dougherty
122f4051b5 am 99fd8c21: am 74d4638e: am a44583c1: am 8e4e5549: am d9019dd2: Doc change: Mention ratings in app stats intro, mention proguard in pub checklist, align terminology wrt native platform filtering.
* commit '99fd8c21caae6f01c9a14541505832d66c1dff89':
  Doc change: Mention ratings in app stats intro, mention proguard in pub checklist, align terminology wrt native platform filtering.
2013-02-27 22:51:12 +00:00
Dirk Dougherty
99fd8c21ca am 74d4638e: am a44583c1: am 8e4e5549: am d9019dd2: Doc change: Mention ratings in app stats intro, mention proguard in pub checklist, align terminology wrt native platform filtering.
* commit '74d4638e2821e21885528d79d5b39c0ac08d3740':
  Doc change: Mention ratings in app stats intro, mention proguard in pub checklist, align terminology wrt native platform filtering.
2013-02-27 14:49:52 -08:00
Dirk Dougherty
74d4638e28 am a44583c1: am 8e4e5549: am d9019dd2: Doc change: Mention ratings in app stats intro, mention proguard in pub checklist, align terminology wrt native platform filtering.
* commit 'a44583c12e81ff676e8e7f57791da6021ddf8ef5':
  Doc change: Mention ratings in app stats intro, mention proguard in pub checklist, align terminology wrt native platform filtering.
2013-02-27 14:47:12 -08:00
Dirk Dougherty
a44583c12e am 8e4e5549: am d9019dd2: Doc change: Mention ratings in app stats intro, mention proguard in pub checklist, align terminology wrt native platform filtering.
* commit '8e4e5549371dc4c373c67ea84cb21ce9cdf7502e':
  Doc change: Mention ratings in app stats intro, mention proguard in pub checklist, align terminology wrt native platform filtering.
2013-02-27 14:45:04 -08:00
Dirk Dougherty
694602aebc am d9019dd2: Doc change: Mention ratings in app stats intro, mention proguard in pub checklist, align terminology wrt native platform filtering.
* commit 'd9019dd275f9a0a8be4ac8ae383e2878f78b5445':
  Doc change: Mention ratings in app stats intro, mention proguard in pub checklist, align terminology wrt native platform filtering.
2013-02-27 22:43:07 +00:00