OSDN Git Service

android-x86/frameworks-base.git
11 years agoMerge "Add policy check to always show overflow menu button on TV devices." into...
Justin Koh [Fri, 1 Mar 2013 23:57:26 +0000 (23:57 +0000)]
Merge "Add policy check to always show overflow menu button on TV devices." into jb-mr2-dev

11 years agoMerge "Unify inputDispatchingTimedOut with keyDispatchingTimedOut" into jb-mr2-dev
Michael Wright [Fri, 1 Mar 2013 22:20:46 +0000 (22:20 +0000)]
Merge "Unify inputDispatchingTimedOut with keyDispatchingTimedOut" into jb-mr2-dev

11 years agoUnify inputDispatchingTimedOut with keyDispatchingTimedOut
Michael Wright [Thu, 28 Feb 2013 01:07:29 +0000 (17:07 -0800)]
Unify inputDispatchingTimedOut with keyDispatchingTimedOut

Bug: 8194916
Change-Id: Iac40108d848bcca77f49a7a49c57a095b3dbe9c9

11 years agoMerge "Clarify the API documentation for WebSQL database." into jb-mr2-dev
Selim Gurun [Fri, 1 Mar 2013 21:46:41 +0000 (21:46 +0000)]
Merge "Clarify the API documentation for WebSQL database." into jb-mr2-dev

11 years agoClarify the API documentation for WebSQL database.
Selim Gurun [Fri, 1 Mar 2013 01:47:21 +0000 (17:47 -0800)]
Clarify the API documentation for WebSQL database.

Bug: 8231270

WebSQL database is disabled by default. And setting change to
enable it must precede the first url navigation. This change
is to clarify this behavior.

Change-Id: Ic0aab764821daece83f3482b30df4bebc7ff1f37

11 years agoMerge "Remove obsolete target-densitydpi documentation" into jb-mr2-dev
Jonathan Dixon [Fri, 1 Mar 2013 21:09:05 +0000 (21:09 +0000)]
Merge "Remove obsolete target-densitydpi documentation" into jb-mr2-dev

11 years agoAdd policy check to always show overflow menu button on TV devices.
Justin Koh [Fri, 1 Mar 2013 21:01:58 +0000 (13:01 -0800)]
Add policy check to always show overflow menu button on TV devices.

Add policy check to always show overflow menu button on TV devices.
Bug: 8236681

Change-Id: I4f92eef7a6d530feb698f83b0720b36115f7a04a

11 years agoMerge "wifi: Add checking for scan results EOB" into jb-mr2-dev
Dmitry Shmidt [Fri, 1 Mar 2013 20:12:53 +0000 (20:12 +0000)]
Merge "wifi: Add checking for scan results EOB" into jb-mr2-dev

11 years agoMerge "Add shader program selection shortcut" into jb-mr2-dev
Chris Craik [Fri, 1 Mar 2013 19:42:38 +0000 (19:42 +0000)]
Merge "Add shader program selection shortcut" into jb-mr2-dev

11 years agoam 44e087bd: am a3279494: am 8d5b8846: am 16bdd13e: am 00158363: docs: add bdc\'s...
Scott Main [Fri, 1 Mar 2013 19:13:37 +0000 (19:13 +0000)]
am 44e087bd: am a3279494: am 8d5b8846: am 16bdd13e: am 00158363: docs: add bdc\'s security doc as training article

* commit '44e087bdba93817f2031e20b0c189c548e1fef5d':
  docs: add bdc's security doc as training article

11 years agoam a3279494: am 8d5b8846: am 16bdd13e: am 00158363: docs: add bdc\'s security doc...
Scott Main [Fri, 1 Mar 2013 19:11:52 +0000 (11:11 -0800)]
am a3279494: am 8d5b8846: am 16bdd13e: am 00158363: docs: add bdc\'s security doc as training article

* commit 'a3279494a451bac0c906d518a2c5a51934727db9':
  docs: add bdc's security doc as training article

11 years agoAdd shader program selection shortcut
Chris Craik [Fri, 1 Mar 2013 19:08:11 +0000 (11:08 -0800)]
Add shader program selection shortcut

Add a key manipulation that makes black text/paths use the standard
simple bitmap/patch shader, since they are the same. Previously we'd
create a separate shader for each because the keys differed, even
though the shaders were functionally equivalent.

Also fixes some issues around setting DEBUG_PROGRAM

Change-Id: I0c77c684d58da03501ee9ab8239c7d4a70fd6b5c

11 years agoam 8d5b8846: am 16bdd13e: am 00158363: docs: add bdc\'s security doc as training...
Scott Main [Fri, 1 Mar 2013 19:09:14 +0000 (11:09 -0800)]
am 8d5b8846: am 16bdd13e: am 00158363: docs: add bdc\'s security doc as training article

* commit '8d5b88463b37cc254ed8333506fc47bb1ec193bb':
  docs: add bdc's security doc as training article

11 years agoam 16bdd13e: am 00158363: docs: add bdc\'s security doc as training article
Scott Main [Fri, 1 Mar 2013 19:06:49 +0000 (11:06 -0800)]
am 16bdd13e: am 00158363: docs: add bdc\'s security doc as training article

* commit '16bdd13ec7e64c04e1a17b94ffcb2a08f3b47518':
  docs: add bdc's security doc as training article

11 years agoam 00158363: docs: add bdc\'s security doc as training article
Scott Main [Fri, 1 Mar 2013 19:04:27 +0000 (11:04 -0800)]
am 00158363: docs: add bdc\'s security doc as training article

* commit '00158363b47d916d159d2f3a0e1152783fd66a9c':
  docs: add bdc's security doc as training article

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Fri, 1 Mar 2013 18:20:23 +0000 (18:20 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoMerge commit '199f9655' into manualmerge
Nick Kralevich [Fri, 1 Mar 2013 18:01:29 +0000 (10:01 -0800)]
Merge commit '199f9655' into manualmerge

these files no longer exist in jb-mr2-dev, so this patch is useless.
Accept the version in jb-mr2-dev

11 years agowifi: Add checking for scan results EOB
Dmitry Shmidt [Fri, 1 Mar 2013 17:57:58 +0000 (09:57 -0800)]
wifi: Add checking for scan results EOB

Change-Id: I969079b72fdffe1b84d88242caa6b6281d1f02b1
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agodocs: add bdc's security doc as training article
Scott Main [Fri, 18 Jan 2013 00:58:50 +0000 (16:58 -0800)]
docs: add bdc's security doc as training article

Change-Id: Iaee006f5e93356cc7cda8e5bff7fc03642329e46

11 years agoam edb95c3f: am 937cfa77: Merge "ZygoteInit: use correct header files."
Nick Kralevich [Fri, 1 Mar 2013 17:41:53 +0000 (17:41 +0000)]
am edb95c3f: am 937cfa77: Merge "ZygoteInit: use correct header files."

* commit 'edb95c3f3ca4e51ef0432af925b8f4330e6dae81':
  ZygoteInit: use correct header files.

11 years agoam f5276c16: Merge "installd: use correct header file."
Nick Kralevich [Fri, 1 Mar 2013 17:39:45 +0000 (09:39 -0800)]
am f5276c16: Merge "installd: use correct header file."

* commit 'f5276c16ad97d94f8773938012ae54f8c7ba450a':
  installd: use correct header file.

11 years agoam 937cfa77: Merge "ZygoteInit: use correct header files."
Nick Kralevich [Fri, 1 Mar 2013 17:39:42 +0000 (09:39 -0800)]
am 937cfa77: Merge "ZygoteInit: use correct header files."

* commit '937cfa77c464f7dc13f686dc8f9f4667a17e80d6':
  ZygoteInit: use correct header files.

11 years agowifi: Add delimiter flag into bss scan results request
Dmitry Shmidt [Fri, 1 Mar 2013 17:37:00 +0000 (09:37 -0800)]
wifi: Add delimiter flag into bss scan results request

Change-Id: I2989ef1ee884db6add0405f36b628701aa928f69
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 1 Mar 2013 16:55:13 +0000 (08:55 -0800)]
Import translations. DO NOT MERGE

Change-Id: I66270509422beeed4de4d5c7e94c62be82365a44
Auto-generated-cl: translation import

11 years agoMerge "installd: use correct header file."
Nick Kralevich [Fri, 1 Mar 2013 16:40:13 +0000 (16:40 +0000)]
Merge "installd: use correct header file."

11 years agoMerge "ZygoteInit: use correct header files."
Nick Kralevich [Fri, 1 Mar 2013 16:39:37 +0000 (16:39 +0000)]
Merge "ZygoteInit: use correct header files."

11 years agoDeclare VOICE_ASSIST intent
Bjorn Bringert [Fri, 1 Mar 2013 12:59:24 +0000 (12:59 +0000)]
Declare VOICE_ASSIST intent

Bug: 8289964
Change-Id: I241b5166a98a7a462691f0169bf1b6f4fe7b2e0f

11 years agoMerge "Restore the ability to track native Surface changes Bug #8230990" into jb...
Romain Guy [Fri, 1 Mar 2013 02:33:50 +0000 (02:33 +0000)]
Merge "Restore the ability to track native Surface changes Bug #8230990" into jb-mr2-dev

11 years agoRestore the ability to track native Surface changes
Romain Guy [Fri, 1 Mar 2013 02:13:54 +0000 (18:13 -0800)]
Restore the ability to track native Surface changes
Bug #8230990

ViewRootImpl needs to know when the native Surface objects changes
to recreate the EGL surface. A recent refactoring in Surface broke
the behavior of getGenerationId(). This simply restores the old
behavior (every change increments the generation ID by 1.)

Change-Id: Ife1df1ffb2ee7a373b8ebf2431192702ba10f344

11 years agoMerge "Avoid trying to draw invisible ShapeDrawables" into jb-mr2-dev
Chris Craik [Fri, 1 Mar 2013 01:16:43 +0000 (01:16 +0000)]
Merge "Avoid trying to draw invisible ShapeDrawables" into jb-mr2-dev

11 years agoAvoid trying to draw invisible ShapeDrawables
Chris Craik [Fri, 1 Mar 2013 01:05:12 +0000 (17:05 -0800)]
Avoid trying to draw invisible ShapeDrawables

This avoids work when a drawable is declared with @android:color/transparent

Change-Id: I1b6d3b22751e378be047a5538dfd4d4baab3c03a

11 years agoMerge "Allow loopback traffic in lockdown mode." into jb-mr2-dev
Jeff Sharkey [Fri, 1 Mar 2013 00:58:31 +0000 (00:58 +0000)]
Merge "Allow loopback traffic in lockdown mode." into jb-mr2-dev

11 years agoAllow loopback traffic in lockdown mode.
Jeff Sharkey [Fri, 1 Mar 2013 00:57:58 +0000 (16:57 -0800)]
Allow loopback traffic in lockdown mode.

Bug: 8245184
Change-Id: If993e3d6f5c7ce5970bfe701074c85b9245aa2aa

11 years agoZygoteInit: use correct header files.
Nick Kralevich [Fri, 1 Mar 2013 00:49:43 +0000 (16:49 -0800)]
ZygoteInit: use correct header files.

Don't define capget / capset when we already have definitions
of it in our header files.

Change-Id: Ia2d7e408879bd09019f99aef52acb63a7a243d48

11 years agoMerge "Tighten enforcement of file modes." into jb-mr2-dev
Jeff Sharkey [Fri, 1 Mar 2013 00:44:41 +0000 (00:44 +0000)]
Merge "Tighten enforcement of file modes." into jb-mr2-dev

11 years agoinstalld: use correct header file.
Nick Kralevich [Fri, 1 Mar 2013 00:43:23 +0000 (16:43 -0800)]
installd: use correct header file.

Change-Id: I035524b857a04f8400e96468310d88abf247e582

11 years agoMerge "Expose clatd commands to NetworkManagementService." into jb-mr2-dev
Lorenzo Colitti [Fri, 1 Mar 2013 00:15:41 +0000 (00:15 +0000)]
Merge "Expose clatd commands to NetworkManagementService." into jb-mr2-dev

11 years agoMerge "Support 3D rotations when drawing text" into jb-mr2-dev
Romain Guy [Fri, 1 Mar 2013 00:05:51 +0000 (00:05 +0000)]
Merge "Support 3D rotations when drawing text" into jb-mr2-dev

11 years agoSupport 3D rotations when drawing text
Romain Guy [Thu, 28 Feb 2013 20:15:35 +0000 (12:15 -0800)]
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

11 years agoMerge "Account for text alignment in Op bounds calculation" into jb-mr2-dev
Chris Craik [Fri, 1 Mar 2013 00:01:15 +0000 (00:01 +0000)]
Merge "Account for text alignment in Op bounds calculation" into jb-mr2-dev

11 years agoTighten enforcement of file modes.
Jeff Sharkey [Thu, 28 Feb 2013 23:57:36 +0000 (15:57 -0800)]
Tighten enforcement of file modes.

Bug: 8275867
Change-Id: I4da14f2dd0049aca69636999696c1f3c02b3b792

11 years agoMerge "Add support and better exceptions for Bitmaps with a null config." into jb...
Tim Murray [Thu, 28 Feb 2013 23:52:37 +0000 (23:52 +0000)]
Merge "Add support and better exceptions for Bitmaps with a null config." into jb-mr2-dev

11 years agoMerge "Fix javadoc build" into jb-mr2-dev
Jonathan Dixon [Thu, 28 Feb 2013 23:37:23 +0000 (23:37 +0000)]
Merge "Fix javadoc build" into jb-mr2-dev

11 years agoFix javadoc build
Jonathan Dixon [Thu, 28 Feb 2013 23:32:10 +0000 (15:32 -0800)]
Fix javadoc build

Change-Id: I99eb6713fb221e1a3a8e54d621038104913dc03a

11 years agoAdd support and better exceptions for Bitmaps with a null config.
Tim Murray [Thu, 28 Feb 2013 19:45:22 +0000 (11:45 -0800)]
Add support and better exceptions for Bitmaps with a null config.

Bug: 8263427
Change-Id: I4181402e4739c6a40591f1e1416fca98643ecc57

11 years agoMerge "Fix docs bug." into jb-mr2-dev
Stephen Hines [Thu, 28 Feb 2013 22:29:54 +0000 (22:29 +0000)]
Merge "Fix docs bug." into jb-mr2-dev

11 years agoFix docs bug.
Stephen Hines [Thu, 28 Feb 2013 22:23:00 +0000 (14:23 -0800)]
Fix docs bug.

Change-Id: I8c69963b339d703757bf1cd8f43161175783566d

11 years agoMerge "Unify normal and overlay action bar layouts." into jb-mr2-dev
Dianne Hackborn [Thu, 28 Feb 2013 22:14:47 +0000 (22:14 +0000)]
Merge "Unify normal and overlay action bar layouts." into jb-mr2-dev

11 years agoMerge "Deprecate various WebView related methods" into jb-mr2-dev
Jonathan Dixon [Thu, 28 Feb 2013 22:11:36 +0000 (22:11 +0000)]
Merge "Deprecate various WebView related methods" into jb-mr2-dev

11 years agoMerge "Reorganize OpenGL renderer tests" into jb-mr2-dev
Romain Guy [Thu, 28 Feb 2013 21:10:51 +0000 (21:10 +0000)]
Merge "Reorganize OpenGL renderer tests" into jb-mr2-dev

11 years agoReorganize OpenGL renderer tests
Romain Guy [Thu, 28 Feb 2013 21:08:34 +0000 (13:08 -0800)]
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

11 years agoDeprecate various WebView related methods
Jonathan Dixon [Mon, 25 Feb 2013 20:29:33 +0000 (12:29 -0800)]
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

11 years agoAccount for text alignment in Op bounds calculation
Chris Craik [Thu, 28 Feb 2013 19:25:39 +0000 (11:25 -0800)]
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

11 years agoMerge "Initial version of BLE support for Bluedroid" into jb-mr2-dev
Matthew Xie [Thu, 28 Feb 2013 18:43:32 +0000 (18:43 +0000)]
Merge "Initial version of BLE support for Bluedroid" into jb-mr2-dev

11 years agofix issue when replacement bitmap is larger than original.
Derek Sollenberger [Thu, 28 Feb 2013 16:18:50 +0000 (11:18 -0500)]
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

11 years agoExpose clatd commands to NetworkManagementService.
Lorenzo Colitti [Thu, 28 Feb 2013 07:16:03 +0000 (16:16 +0900)]
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

11 years agoam 08a551b4: am f132ac4f: am ac6a76d2: am f19dd2b5: am 1c7b442a: Merge "Doc change...
Dirk Dougherty [Thu, 28 Feb 2013 03:03:07 +0000 (03:03 +0000)]
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.

11 years agoam f132ac4f: am ac6a76d2: am f19dd2b5: am 1c7b442a: Merge "Doc change: update \'multi...
Dirk Dougherty [Thu, 28 Feb 2013 03:00:16 +0000 (19:00 -0800)]
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.

11 years agoam ac6a76d2: am f19dd2b5: am 1c7b442a: Merge "Doc change: update \'multiple apks...
Dirk Dougherty [Thu, 28 Feb 2013 02:57:34 +0000 (18:57 -0800)]
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.

11 years agoam f19dd2b5: am 1c7b442a: Merge "Doc change: update \'multiple apks\' criteria in...
Dirk Dougherty [Thu, 28 Feb 2013 02:56:03 +0000 (18:56 -0800)]
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.

11 years agoam 1c7b442a: Merge "Doc change: update \'multiple apks\' criteria in filters doc...
Dirk Dougherty [Thu, 28 Feb 2013 02:54:18 +0000 (18:54 -0800)]
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.

11 years agoMerge "Doc change: update 'multiple apks' criteria in filters doc." into jb-mr1-dev
Dirk Dougherty [Thu, 28 Feb 2013 02:51:15 +0000 (02:51 +0000)]
Merge "Doc change: update 'multiple apks' criteria in filters doc." into jb-mr1-dev

11 years agoDoc change: update 'multiple apks' criteria in filters doc.
Dirk Dougherty [Wed, 27 Feb 2013 23:53:37 +0000 (15:53 -0800)]
Doc change: update 'multiple apks' criteria in filters doc.

Change-Id: I8504f5e019758946d567d4391c1a875dead236c5
Bug: 8277558

11 years agoMerge "Fake accessibility service used by UiAutomation not destroyed." into jb-mr2-dev
Svetoslav [Thu, 28 Feb 2013 02:33:05 +0000 (02:33 +0000)]
Merge "Fake accessibility service used by UiAutomation not destroyed." into jb-mr2-dev

11 years agoFake accessibility service used by UiAutomation not destroyed.
Svetoslav [Thu, 28 Feb 2013 02:24:28 +0000 (18:24 -0800)]
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

11 years agoUnify normal and overlay action bar layouts.
Dianne Hackborn [Tue, 26 Feb 2013 22:53:55 +0000 (14:53 -0800)]
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

11 years agoInitial version of BLE support for Bluedroid
Ganesh Ganapathi Batta [Tue, 5 Feb 2013 23:28:33 +0000 (15:28 -0800)]
Initial version of BLE support for Bluedroid

The API classes are hidden for now. Will unhide after API console
approval.
Change-Id: I8283dd562fd6189fdd15c866ef2efb8bbdbc4109

11 years agoam 38471f9e: am 49c03cc8: am 65b7d5a4: am dc9e84bd: am d346b311: Merge "docs: add...
Scott Main [Thu, 28 Feb 2013 01:40:07 +0000 (01:40 +0000)]
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

11 years agoam 49c03cc8: am 65b7d5a4: am dc9e84bd: am d346b311: Merge "docs: add MTK usb driver...
Scott Main [Thu, 28 Feb 2013 01:35:30 +0000 (17:35 -0800)]
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

11 years agoam 65b7d5a4: am dc9e84bd: am d346b311: Merge "docs: add MTK usb driver info" into...
Scott Main [Thu, 28 Feb 2013 01:30:21 +0000 (17:30 -0800)]
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

11 years agoam dc9e84bd: am d346b311: Merge "docs: add MTK usb driver info" into jb-mr1-dev
Scott Main [Thu, 28 Feb 2013 01:28:12 +0000 (17:28 -0800)]
am dc9e84bd: am d346b311: Merge "docs: add MTK usb driver info" into jb-mr1-dev

* commit 'dc9e84bdab03af490e457093d33a329de2a49638':
  docs: add MTK usb driver info

11 years agoam d346b311: Merge "docs: add MTK usb driver info" into jb-mr1-dev
Scott Main [Thu, 28 Feb 2013 01:25:45 +0000 (17:25 -0800)]
am d346b311: Merge "docs: add MTK usb driver info" into jb-mr1-dev

* commit 'd346b311cabbcf4d7d4654984efddd47cdf8a3fc':
  docs: add MTK usb driver info

11 years agoMerge "docs: add MTK usb driver info" into jb-mr1-dev
Scott Main [Thu, 28 Feb 2013 01:22:57 +0000 (01:22 +0000)]
Merge "docs: add MTK usb driver info" into jb-mr1-dev

11 years agoMerge "Properly scale text" into jb-mr2-dev
Romain Guy [Thu, 28 Feb 2013 01:05:33 +0000 (01:05 +0000)]
Merge "Properly scale text" into jb-mr2-dev

11 years agoWhen scanning a single file, take .nomedia into account
Marco Nelissen [Thu, 28 Feb 2013 00:16:11 +0000 (16:16 -0800)]
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

11 years agoRemove obsolete target-densitydpi documentation
Jonathan Dixon [Thu, 28 Feb 2013 00:42:48 +0000 (16:42 -0800)]
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

11 years agoProperly scale text
Romain Guy [Wed, 27 Feb 2013 03:10:14 +0000 (19:10 -0800)]
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

11 years agoMerge "Correct sub-hairline tessellation threshold" into jb-mr2-dev
Chris Craik [Wed, 27 Feb 2013 23:48:16 +0000 (23:48 +0000)]
Merge "Correct sub-hairline tessellation threshold" into jb-mr2-dev

11 years agoMerge "Fix T-junctions in layers' generated meshes" into jb-mr2-dev
Chris Craik [Wed, 27 Feb 2013 23:47:54 +0000 (23:47 +0000)]
Merge "Fix T-junctions in layers' generated meshes" into jb-mr2-dev

11 years agoCorrect sub-hairline tessellation threshold
Chris Craik [Wed, 27 Feb 2013 23:43:26 +0000 (15:43 -0800)]
Correct sub-hairline tessellation threshold

Change-Id: Id868d41a36db5b4daa762d84b6329f9c31916bce

11 years agoam 99fd8c21: am 74d4638e: am a44583c1: am 8e4e5549: am d9019dd2: Doc change: Mention...
Dirk Dougherty [Wed, 27 Feb 2013 22:51:12 +0000 (22:51 +0000)]
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.

11 years agoam 74d4638e: am a44583c1: am 8e4e5549: am d9019dd2: Doc change: Mention ratings in...
Dirk Dougherty [Wed, 27 Feb 2013 22:49:52 +0000 (14:49 -0800)]
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.

11 years agoam a44583c1: am 8e4e5549: am d9019dd2: Doc change: Mention ratings in app stats intro...
Dirk Dougherty [Wed, 27 Feb 2013 22:47:12 +0000 (14:47 -0800)]
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.

11 years agoam 8e4e5549: am d9019dd2: Doc change: Mention ratings in app stats intro, mention...
Dirk Dougherty [Wed, 27 Feb 2013 22:45:04 +0000 (14:45 -0800)]
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.

11 years agoam d9019dd2: Doc change: Mention ratings in app stats intro, mention proguard in...
Dirk Dougherty [Wed, 27 Feb 2013 22:43:01 +0000 (14:43 -0800)]
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.

11 years agoDoc change: Mention ratings in app stats intro, mention proguard in pub checklist...
Dirk Dougherty [Wed, 27 Feb 2013 22:11:52 +0000 (14:11 -0800)]
Doc change: Mention ratings in app stats intro, mention proguard in pub checklist, align terminology wrt native platform filtering.

Change-Id: I9bba5b8ffb7da40083904f6f471e99fd4c98d63d
Bug: 8033688
Bug: 8277558

11 years agoMerge "Draw text drop shadows even when the text color is transparent" into jb-mr2-dev
Romain Guy [Wed, 27 Feb 2013 22:16:22 +0000 (22:16 +0000)]
Merge "Draw text drop shadows even when the text color is transparent" into jb-mr2-dev

11 years agoMerge "Don't increment the paint's generation ID when drawing bitmaps" into jb-mr2-dev
Romain Guy [Wed, 27 Feb 2013 22:08:31 +0000 (22:08 +0000)]
Merge "Don't increment the paint's generation ID when drawing bitmaps" into jb-mr2-dev

11 years agoFix T-junctions in layers' generated meshes
Chris Craik [Wed, 27 Feb 2013 22:03:19 +0000 (14:03 -0800)]
Fix T-junctions in layers' generated meshes

bug:4128442

Currently we fix T-junctions for hardware layers, and for
Canvas.saveLayer if the transform isn't rectAsRect. Ideally, hardware
layers should lazily re-generate T-junction free geometry if the
transform becomes non-rectAsRect

Depends on frameworks/native change:
https://googleplex-android-review.googlesource.com/#/c/277668/
which adds Region::createTJunctionFreeRegion()

Change-Id: Ice75b4a1a4459ff835059ea81d70f7d1563fd96d

11 years agoDraw text drop shadows even when the text color is transparent
Romain Guy [Wed, 27 Feb 2013 21:50:45 +0000 (13:50 -0800)]
Draw text drop shadows even when the text color is transparent

This matches Skia's behavior.

Change-Id: Ibf0a52611f5801cfa68169f66ab0ec06f256600f

11 years agoam 7f3a53a4: am 7b69e401: Merge "Fix starting window memory leak"
Dianne Hackborn [Wed, 27 Feb 2013 20:09:27 +0000 (20:09 +0000)]
am 7f3a53a4: am 7b69e401: Merge "Fix starting window memory leak"

* commit '7f3a53a447d40db36f8f0c2b4c8c7305c5dd4429':
  Fix starting window memory leak

11 years agoam 14d0ab55: am de3c20bc: Merge "Track stack memory in MemoryInfo."
Ian Rogers [Wed, 27 Feb 2013 20:09:25 +0000 (20:09 +0000)]
am 14d0ab55: am de3c20bc: Merge "Track stack memory in MemoryInfo."

* commit '14d0ab55e983d314128bb7b3293023f4a237d991':
  Track stack memory in MemoryInfo.

11 years agoam 7b69e401: Merge "Fix starting window memory leak"
Dianne Hackborn [Wed, 27 Feb 2013 20:07:01 +0000 (12:07 -0800)]
am 7b69e401: Merge "Fix starting window memory leak"

* commit '7b69e401769fb7a864990f3d732c6a7e8d7ec2f8':
  Fix starting window memory leak

11 years agoam de3c20bc: Merge "Track stack memory in MemoryInfo."
Ian Rogers [Wed, 27 Feb 2013 20:06:58 +0000 (12:06 -0800)]
am de3c20bc: Merge "Track stack memory in MemoryInfo."

* commit 'de3c20bcb546e50980a642b72c1e8353e5bd2cdc':
  Track stack memory in MemoryInfo.

11 years agoMerge "Fix starting window memory leak"
Dianne Hackborn [Wed, 27 Feb 2013 19:57:08 +0000 (19:57 +0000)]
Merge "Fix starting window memory leak"

11 years agoDon't increment the paint's generation ID when drawing bitmaps
Romain Guy [Wed, 27 Feb 2013 19:53:12 +0000 (11:53 -0800)]
Don't increment the paint's generation ID when drawing bitmaps

When the renderer draws a bitmap as part of a display list with an
alpha < 1.0f, the paint is temporarily modified to alter the opacity
of the bitmap. This has the side effect of increasing the paint's
generation ID counter which can break paint caching.

Change-Id: I5055d059ad1639829fa50af3d946e296c4dab877

11 years agoMerge "Track stack memory in MemoryInfo."
Ian Rogers [Wed, 27 Feb 2013 19:47:15 +0000 (19:47 +0000)]
Merge "Track stack memory in MemoryInfo."

11 years agoMerge "round subpixels up to next integer in measureText DO NOT MERGE" into jb-mr2-dev
Victoria Lease [Wed, 27 Feb 2013 19:39:13 +0000 (19:39 +0000)]
Merge "round subpixels up to next integer in measureText DO NOT MERGE" into jb-mr2-dev

11 years agoround subpixels up to next integer in measureText DO NOT MERGE
Victoria Lease [Tue, 26 Feb 2013 19:18:42 +0000 (11:18 -0800)]
round subpixels up to next integer in measureText DO NOT MERGE

A common source of layout bugs we're seeing these days involves the
output of measureText() being fed into StaticLayout's constructor.
measureText() returns subpixel-accurate values, but StaticLayout only
takes integral bounds, resulting in the subpixel portion of the
bounds being truncated. This leaves StaticLayout with insufficient
space to layout the text that was just measured, causing all manner
of unexpected line breaks.

This could be causing issues elsewhere, as well. Until our text
pipeline is fully subpixel-perfect, it's best that measureText
guarantee that the value it returns will be sufficient to contain
the text, even if cast to int.

Cherry-pick of Ib84947f0d0a1229287f5b19b99e7efd40f5317f7

Bug: 8164205
Change-Id: I69795ba5770112c0a3d0e752158076a8d1646b1a

11 years agoTrack stack memory in MemoryInfo.
Ian Rogers [Wed, 27 Feb 2013 18:57:13 +0000 (10:57 -0800)]
Track stack memory in MemoryInfo.

In /proc/pid/maps the main stack is identified as "[stack]". In Linux 3.4
thread stacks are identified as "[stack:<tid>]" where <tid> is the thread ID of
the thread using that stack. Add support in MemInfo's otherStats to track
memory being used by the stack.

Add sanity check on the length of the otherStats array.
Add detail messages to two null pointer exceptions.

Bug: 8265251

Change-Id: I2b228b147da9bdc5c7a4d825dfc628fcc7923927