OSDN Git Service

android-x86/frameworks-base.git
11 years agoMerge "Permit null adapters in Spinners" into jb-mr2-dev
Adam Powell [Wed, 10 Apr 2013 22:17:31 +0000 (22:17 +0000)]
Merge "Permit null adapters in Spinners" into jb-mr2-dev

11 years agoMerge "Don't draw synchronously in onResume()" into jb-mr2-dev
Mathias Agopian [Wed, 10 Apr 2013 21:40:43 +0000 (21:40 +0000)]
Merge "Don't draw synchronously in onResume()" into jb-mr2-dev

11 years agoam 0b6162e1: am 3f156d73: am 12ee56aa: am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL...
Joe Fernandez [Wed, 10 Apr 2013 21:30:17 +0000 (14:30 -0700)]
am 0b6162e1: am 3f156d73: am 12ee56aa: am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs

* commit '0b6162e148db58ff8f8a5f0a3422933cd0005216':
  docs: OpenGL Dev Guide, fix bug: 6104328

11 years agoam 3f156d73: am 12ee56aa: am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide...
Joe Fernandez [Wed, 10 Apr 2013 21:28:15 +0000 (14:28 -0700)]
am 3f156d73: am 12ee56aa: am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs

* commit '3f156d7331a0932755cea431b5c681f451055fdf':
  docs: OpenGL Dev Guide, fix bug: 6104328

11 years agoam 12ee56aa: am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 610432...
Joe Fernandez [Wed, 10 Apr 2013 21:24:51 +0000 (14:24 -0700)]
am 12ee56aa: am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs

* commit '12ee56aaad5614e010edd24f41654b6ab135492c':
  docs: OpenGL Dev Guide, fix bug: 6104328

11 years agoam 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb...
Joe Fernandez [Wed, 10 Apr 2013 21:22:36 +0000 (14:22 -0700)]
am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs

* commit '5f27b4860b67ac35b8089c244c89832689a8297a':
  docs: OpenGL Dev Guide, fix bug: 6104328

11 years agoam 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs
Joe Fernandez [Wed, 10 Apr 2013 21:20:31 +0000 (14:20 -0700)]
am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs

* commit '53bbb4ff4970c52619a78c54da6356f2b5aeb2a7':
  docs: OpenGL Dev Guide, fix bug: 6104328

11 years agoMerge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs
Joe Fernandez [Wed, 10 Apr 2013 21:17:21 +0000 (21:17 +0000)]
Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs

11 years agoMerge "Fix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats...
Dianne Hackborn [Wed, 10 Apr 2013 21:15:15 +0000 (21:15 +0000)]
Merge "Fix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats" into jb-mr2-dev

11 years agoMerge "Stop marking gamepads as keyboards" into jb-mr2-dev
Michael Wright [Wed, 10 Apr 2013 21:14:27 +0000 (21:14 +0000)]
Merge "Stop marking gamepads as keyboards" into jb-mr2-dev

11 years agoMerge "Instrument views inflation in systrace" into jb-mr2-dev
Romain Guy [Wed, 10 Apr 2013 21:07:09 +0000 (21:07 +0000)]
Merge "Instrument views inflation in systrace" into jb-mr2-dev

11 years agoFix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats
Dianne Hackborn [Wed, 10 Apr 2013 19:50:12 +0000 (12:50 -0700)]
Fix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats

Bluetooth GID was wrong and pointless and dumb and now gone.

Change-Id: Ibde563ef0c10c6d316428e1e683b013005b934d4

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Wed, 10 Apr 2013 19:36:55 +0000 (19:36 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoDon't draw synchronously in onResume()
Mathias Agopian [Wed, 10 Apr 2013 19:33:15 +0000 (12:33 -0700)]
Don't draw synchronously in onResume()

this could cause a dead-lock if the applicaltion's draw
implementation blocks until something happenson the main
ui thread.

note: we're still doing this synchronous draw in onWindowResize() because
that's what the previous implementation did. Technically, it has the
same problem.

Bug: 8586305
Change-Id: I782568289cc9419346aeea73775d86faa28b3058

11 years agoSkip apps without launch intent.
Maxim Siniavine [Wed, 10 Apr 2013 18:57:57 +0000 (11:57 -0700)]
Skip apps without launch intent.

If an app from the apk cannot be launched then skip it in compatibility
test, rather than generate a null pointer exception.

Change-Id: I252031f249bfe25282b10394889ab8c5506cabcf

11 years agoMerge "Make download manager tests more reliable." into jb-mr2-dev
Maxim Siniavine [Wed, 10 Apr 2013 18:47:28 +0000 (18:47 +0000)]
Merge "Make download manager tests more reliable." into jb-mr2-dev

11 years agoInstrument views inflation in systrace
Romain Guy [Wed, 10 Apr 2013 18:42:44 +0000 (11:42 -0700)]
Instrument views inflation in systrace

Change-Id: If3cd80bc430893c701432f165b4c1f5943a4143c

11 years agoam 7104fda4: am 915ece10: am 33702b8f: am 09810499: am 26a5305f: add a little more...
Scott Main [Wed, 10 Apr 2013 18:40:15 +0000 (11:40 -0700)]
am 7104fda4: am 915ece10: am 33702b8f: am 09810499: am 26a5305f: add a little more information to hierarchy view intro

* commit '7104fda428133e9ddfd859644b7cc6bef7479c4d':
  add a little more information to hierarchy view intro

11 years agoMerge "Add GC thread to RSGL." into jb-mr2-dev
Tim Murray [Wed, 10 Apr 2013 18:37:34 +0000 (18:37 +0000)]
Merge "Add GC thread to RSGL." into jb-mr2-dev

11 years agoam 915ece10: am 33702b8f: am 09810499: am 26a5305f: add a little more information...
Scott Main [Wed, 10 Apr 2013 18:36:30 +0000 (11:36 -0700)]
am 915ece10: am 33702b8f: am 09810499: am 26a5305f: add a little more information to hierarchy view intro

* commit '915ece10b42d6f45ce9b7317fe94f3e845403ee1':
  add a little more information to hierarchy view intro

11 years agoam 33702b8f: am 09810499: am 26a5305f: add a little more information to hierarchy...
Scott Main [Wed, 10 Apr 2013 18:31:37 +0000 (11:31 -0700)]
am 33702b8f: am 09810499: am 26a5305f: add a little more information to hierarchy view intro

* commit '33702b8fd66b74fc291a96659327b3bdd4e81ba0':
  add a little more information to hierarchy view intro

11 years agoPermit null adapters in Spinners
Adam Powell [Wed, 10 Apr 2013 18:27:08 +0000 (11:27 -0700)]
Permit null adapters in Spinners

Bug 8538144

Change-Id: I83f0ae78ce15f46827fb721cd0df1972b7d9d198

11 years agoAdd GC thread to RSGL.
Tim Murray [Wed, 10 Apr 2013 18:19:54 +0000 (11:19 -0700)]
Add GC thread to RSGL.

bug 8585185

Change-Id: I06df29c3be831d6cd53fa8913ba3731f29c137d1

11 years agoam 09810499: am 26a5305f: add a little more information to hierarchy view intro
Scott Main [Wed, 10 Apr 2013 18:14:14 +0000 (11:14 -0700)]
am 09810499: am 26a5305f: add a little more information to hierarchy view intro

* commit '09810499650868eeaf3eff8fbd7cb8d538d75bf9':
  add a little more information to hierarchy view intro

11 years agoam 26a5305f: add a little more information to hierarchy view intro
Scott Main [Wed, 10 Apr 2013 18:10:23 +0000 (11:10 -0700)]
am 26a5305f: add a little more information to hierarchy view intro

* commit '26a5305f6638ccb221473866ae6188a0e34111f3':
  add a little more information to hierarchy view intro

11 years agoMerge "Fix Contacts animation jank" into jb-mr2-dev
Chet Haase [Wed, 10 Apr 2013 17:48:53 +0000 (17:48 +0000)]
Merge "Fix Contacts animation jank" into jb-mr2-dev

11 years agoMerge "Reduce duration of rotation xfade animation." into jb-mr2-dev
Dianne Hackborn [Wed, 10 Apr 2013 17:48:20 +0000 (17:48 +0000)]
Merge "Reduce duration of rotation xfade animation." into jb-mr2-dev

11 years agoMerge "Defer RS cache creation until a ScriptC is built." into jb-mr2-dev
Stephen Hines [Wed, 10 Apr 2013 17:17:50 +0000 (17:17 +0000)]
Merge "Defer RS cache creation until a ScriptC is built." into jb-mr2-dev

11 years agoadd a little more information to hierarchy view intro
Scott Main [Wed, 10 Apr 2013 16:51:41 +0000 (09:51 -0700)]
add a little more information to hierarchy view intro

Change-Id: I19f31a098d43e6bfcd575585732df5ec26f9bd2d

11 years agoMerge "Handle seek requests in AudioService" into jb-mr2-dev
Jean-Michel Trivi [Wed, 10 Apr 2013 16:29:18 +0000 (16:29 +0000)]
Merge "Handle seek requests in AudioService" into jb-mr2-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 10 Apr 2013 16:08:43 +0000 (09:08 -0700)]
Import translations. DO NOT MERGE

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

11 years agoFix Contacts animation jank
Chet Haase [Wed, 10 Apr 2013 14:43:29 +0000 (07:43 -0700)]
Fix Contacts animation jank

The last frame of an animation stays stuck on the screen for a couple of frames.
Specifically, the "Quick Contact" animation that animates the picture
closed (fades/scales it away) animates all the way to the end... then hangs there
briefly before being taken down.

The problem is a rendering bug where we correctly detect that a DisplayList
has nothing to draw (since the last frame is completely transparent, alpha==0),
but incorrectly ignore the fact that we cleared the transparent-background
window prior to not-drawing that DisplayList. When we detect that there's
nothing to draw, we don't bother swapping buffers. So even though we drew
the right thing (clearing the buffer), we didn't actually post the buffer to the
screen.

This change factors in both the clear and the draw to decide when to swap buffers.

Issue #8564865 Quick contact close animation jank redux

Change-Id: Ib922cff88a94f025b62f7461c1a29e96fe454838

11 years agoMerge "Ensure that a canvas is always backed by some form of SkDevice." into jb-mr2-dev
Derek Sollenberger [Wed, 10 Apr 2013 12:11:14 +0000 (12:11 +0000)]
Merge "Ensure that a canvas is always backed by some form of SkDevice." into jb-mr2-dev

11 years agoRewrite touch navigation dpad synthesis.
Jeff Brown [Wed, 10 Apr 2013 08:03:19 +0000 (01:03 -0700)]
Rewrite touch navigation dpad synthesis.

The new implementation more accurately tracks the velocity
of flings and takes care to avoid obvious discontinuities.
The main goal is for a fling to appear to be a linear
extension of the movement already in progress.  The minimum
fling velocity is set to ensure that flings appear to be
fairly smooth despite being discretized.

Use sequences of repeated key events instead of individual
down/up events to represent continuous motions in one
direction which can be helpful for stopping flings at boundaries
such as when flinging the cursor position within a text view.

Compute the movement thresholds based on the physical
size of the touch pad, if known.  If not known, we assume a
nominal size.

Support stopping flings with a tap just like we do for
normal touch events elsewhere in the framework.

Moved the detection of ASSIST swipes into the InputReader
where it belongs.  These swipes must be detected globally
to ensure consistent behavior across the all applications.

Added a custom protocol in EventHub to enable input device
drivers to override the timestamp of the following events
in a packet.  This change enables input device drivers
that have a better idea of when an input event was actually
generated to pass this information to the input system.
Particularly useful with uinput.

Bug: 8583760
Change-Id: I8ef4e827804786d549cfaa00793a2b9dd0fda465

11 years agoAdd touchnavigation to input debugging command.
Jeff Brown [Wed, 10 Apr 2013 03:13:12 +0000 (20:13 -0700)]
Add touchnavigation to input debugging command.

Bug: 8583760
Change-Id: I9b150133e3d9ca9fe970550f5c0d7c18e6c7b558

11 years agoSplit up the event synthesis code by source.
Jeff Brown [Wed, 10 Apr 2013 00:46:25 +0000 (17:46 -0700)]
Split up the event synthesis code by source.

The goal is to better encapsulate this code to make it easier
to maintain and to facilitate some upcoming changes.

Some of the variables have been renamed but the logic is unchanged.

Bug: 8583760
Change-Id: I45501f7dabebcb938e42c386291d615d088a4c8c

11 years agoDefer RS cache creation until a ScriptC is built.
Stephen Hines [Wed, 10 Apr 2013 06:51:56 +0000 (23:51 -0700)]
Defer RS cache creation until a ScriptC is built.

Bug: 8582926
Change-Id: If017f41382f023f8f6ddd78ba198402d427c95f8

11 years agoMerge "Fix docs with deprecated resize1D" into jb-mr2-dev
Jason Sams [Wed, 10 Apr 2013 05:17:29 +0000 (05:17 +0000)]
Merge "Fix docs with deprecated resize1D" into jb-mr2-dev

11 years agoMerge "Add liblog" into jb-mr2-dev
Ying Wang [Wed, 10 Apr 2013 05:16:14 +0000 (05:16 +0000)]
Merge "Add liblog" into jb-mr2-dev

11 years agoFix docs with deprecated resize1D
Jason Sams [Wed, 10 Apr 2013 05:08:40 +0000 (22:08 -0700)]
Fix docs with deprecated resize1D

Change-Id: Id1774e1e8be1c1600efaa535cf330e659addb703

11 years agoAdd liblog
Ying Wang [Wed, 10 Apr 2013 04:54:12 +0000 (21:54 -0700)]
Add liblog

Bug: 8580410
Change-Id: I746aa8258866508c3a725d0773faf4518096548f

11 years agoMerge "Implement RS GC worker thread." into jb-mr2-dev
Jason Sams [Wed, 10 Apr 2013 04:21:01 +0000 (04:21 +0000)]
Merge "Implement RS GC worker thread." into jb-mr2-dev

11 years agoMerge "Cleanup Allocation and add 3D copies." into jb-mr2-dev
Jason Sams [Wed, 10 Apr 2013 04:19:13 +0000 (04:19 +0000)]
Merge "Cleanup Allocation and add 3D copies." into jb-mr2-dev

11 years agoMerge "Integrate inverted menu panel assets" into jb-mr2-dev
Adam Powell [Wed, 10 Apr 2013 02:30:32 +0000 (02:30 +0000)]
Merge "Integrate inverted menu panel assets" into jb-mr2-dev

11 years agoIntegrate inverted menu panel assets
Adam Powell [Wed, 10 Apr 2013 02:18:50 +0000 (19:18 -0700)]
Integrate inverted menu panel assets

Add assets for menu panels when holo menus appear above their anchor
rather than below.

Bug 7049080

Change-Id: I7803f9414c2b2cb96274bf062adeccfc302a0d43

11 years agoMerge "rework GLSurfaceView so it can use the choreographer" into jb-mr2-dev
Mathias Agopian [Wed, 10 Apr 2013 02:03:06 +0000 (02:03 +0000)]
Merge "rework GLSurfaceView so it can use the choreographer" into jb-mr2-dev

11 years agoMerge "Fix a monkey bug with AbsListView data set observers" into jb-mr2-dev
Adam Powell [Wed, 10 Apr 2013 01:35:22 +0000 (01:35 +0000)]
Merge "Fix a monkey bug with AbsListView data set observers" into jb-mr2-dev

11 years agorework GLSurfaceView so it can use the choreographer
Mathias Agopian [Thu, 4 Apr 2013 00:28:14 +0000 (17:28 -0700)]
rework GLSurfaceView so it can use the choreographer

GLSurfaceView will now automatically use the Choreographer to
schedule render updates on VSYNC. This happens only in
RENDERMODE_CONTINUOUSLY.

GLSurfaceView was rewriten to use a Looper and a HandlerThread
instead of a custom thread.

The basic mode of operation is unchanged, however the implementation
is largely different.

Removed support for older GPUs which had a limited number of contexts.

Bug: 8485730

Change-Id: I7b270f7ad7bb1259e858429054b1c8c9cc159dc6

11 years agoFix a monkey bug with AbsListView data set observers
Adam Powell [Wed, 10 Apr 2013 00:46:15 +0000 (17:46 -0700)]
Fix a monkey bug with AbsListView data set observers

Several conditions can cause an AbsListView's data set observer to be
removed and nulled out. If for some reason the view receives duplicate
onDetachedFromWindow events this could cause AbsListView to attempt to
unregister a null observer. Skip this unregister process if this
happens.

Bug 7088152

Change-Id: Ib0c630d1ee598640512023e4ef158f01e3ed474d

11 years agoMerge "Fix crash bug with mismatched iface names" into jb-mr2-dev
Robert Greenwalt [Wed, 10 Apr 2013 00:08:01 +0000 (00:08 +0000)]
Merge "Fix crash bug with mismatched iface names" into jb-mr2-dev

11 years agoMerge "Fix for ActionBar#setSelectedNavigationItem() in collapsed tab mode" into...
Adam Powell [Tue, 9 Apr 2013 23:40:12 +0000 (23:40 +0000)]
Merge "Fix for ActionBar#setSelectedNavigationItem() in collapsed tab mode" into jb-mr2-dev

11 years agoUpdate function comment for getAllCellInfo
Wink Saville [Tue, 9 Apr 2013 23:19:27 +0000 (16:19 -0700)]
Update function comment for getAllCellInfo

Bug: 8235566
Change-Id: Iae9b11480605d5302ee45601d1357fc07f9bd3e1

11 years agoImplement RS GC worker thread.
Tim Murray [Tue, 9 Apr 2013 21:33:32 +0000 (14:33 -0700)]
Implement RS GC worker thread.

Bug 8579360

Change-Id: I98a5509b68e592bcbb4958f2ca72c236a22910b5

11 years agoCleanup Allocation and add 3D copies.
Jason Sams [Tue, 9 Apr 2013 22:59:24 +0000 (15:59 -0700)]
Cleanup Allocation and add 3D copies.

bug 8567058

Change-Id: Ib05ff3de851bccfea1531ca6c1801153632a2a85

11 years agoMerge "Add FW support for CellInfo RIL commands." into jb-mr2-dev
Wink Saville [Tue, 9 Apr 2013 22:50:00 +0000 (22:50 +0000)]
Merge "Add FW support for CellInfo RIL commands." into jb-mr2-dev

11 years agoMerge "Add APIs for application-generated systrace events" into jb-mr2-dev
Jamie Gennis [Tue, 9 Apr 2013 22:30:52 +0000 (22:30 +0000)]
Merge "Add APIs for application-generated systrace events" into jb-mr2-dev

11 years agoMake download manager tests more reliable.
Maxim Siniavine [Tue, 9 Apr 2013 22:04:17 +0000 (15:04 -0700)]
Make download manager tests more reliable.

Use larger files in tests. Using small files fails because downloads
complete too quickly. Using files that are too large fails because
downloads take too long.

Change-Id: I0786ece21e0acffa09dd8d85abf70ec4cde5e477

11 years agoHandle seek requests in AudioService
Jean-Michel Trivi [Tue, 9 Apr 2013 18:10:18 +0000 (11:10 -0700)]
Handle seek requests in AudioService

AudioService handles seek requests to RemoteControlClients.
Discard old or unprocessed seek requests when handling a new one.
Update javadoc for OnPlaybackPositionUpdateListener interface.

bug 8120740

Change-Id: Id17c2852b24d4b8af85e472a177484b98cfeba05

11 years agoMerge "Change the dither texture's swizzling" into jb-mr2-dev
Romain Guy [Tue, 9 Apr 2013 21:18:45 +0000 (21:18 +0000)]
Merge "Change the dither texture's swizzling" into jb-mr2-dev

11 years agoAdding public api support for finding contact changes.
Chiao Cheng [Wed, 20 Mar 2013 23:54:06 +0000 (16:54 -0700)]
Adding public api  support for finding contact changes.

DeletedContacts holds a log of deleted contacts which will be pruned
after a certain amount of time.

A timestamp field has been added to contacts so clients can query
for changes.

Bug: 8182147
Change-Id: Ic6e56e567892712da3c3941400dfb3ddc565aaac

11 years agoFix for ActionBar#setSelectedNavigationItem() in collapsed tab mode
Adam Powell [Tue, 9 Apr 2013 20:57:22 +0000 (13:57 -0700)]
Fix for ActionBar#setSelectedNavigationItem() in collapsed tab mode

Make sure the selected item is properly propagated to the collapsed
spinner.

Bug 6754308

Change-Id: Iaa4e331b00106b31c5984980d33e3ac88853ae4d

11 years agoEnsure that a canvas is always backed by some form of SkDevice.
Derek Sollenberger [Tue, 9 Apr 2013 20:36:55 +0000 (16:36 -0400)]
Ensure that a canvas is always backed by some form of SkDevice.

bug: 8518884
Change-Id: Id6c597179878ce5b938c00422e88bef5f12e2e1f

11 years agoMerge "Hide PlusinsEnabled/PluginsPath methods" into jb-mr2-dev
Jonathan Dixon [Tue, 9 Apr 2013 20:09:28 +0000 (20:09 +0000)]
Merge "Hide PlusinsEnabled/PluginsPath methods" into jb-mr2-dev

11 years agoAdd APIs for application-generated systrace events
Jamie Gennis [Mon, 25 Mar 2013 21:18:25 +0000 (14:18 -0700)]
Add APIs for application-generated systrace events

This change adds new APIs to enable applications to generate custom Systrace
begin/end events.  Application-generated events use the ATRACE_APP_TAG tag,
which is enabled only if either the application has declared itself debuggable
in its manifest or ro.debuggable is set to 1 on the device.

Change-Id: I311d09e2e6ed1a30f5ffa84907f250e11cc0d48d

11 years agoMerge "Turn back on global proxy support." into jb-mr2-dev
Robert Greenwalt [Tue, 9 Apr 2013 18:15:06 +0000 (18:15 +0000)]
Merge "Turn back on global proxy support." into jb-mr2-dev

11 years agoam 405c6e2d: am d3724e02: am 2568d7f0: am 0bf013fd: am f417fc4a: fix xml error in...
Scott Main [Tue, 9 Apr 2013 17:50:29 +0000 (10:50 -0700)]
am 405c6e2d: am d3724e02: am 2568d7f0: am 0bf013fd: am f417fc4a: fix xml error in sample

* commit '405c6e2d656b628262ff3e3d0b79f58a46c839ec':
  fix xml error in sample

11 years agoam d3724e02: am 2568d7f0: am 0bf013fd: am f417fc4a: fix xml error in sample
Scott Main [Tue, 9 Apr 2013 17:47:50 +0000 (10:47 -0700)]
am d3724e02: am 2568d7f0: am 0bf013fd: am f417fc4a: fix xml error in sample

* commit 'd3724e02d898b66a5b94cf0f2d3bbfaec5295b32':
  fix xml error in sample

11 years agoam 2568d7f0: am 0bf013fd: am f417fc4a: fix xml error in sample
Scott Main [Tue, 9 Apr 2013 17:43:38 +0000 (10:43 -0700)]
am 2568d7f0: am 0bf013fd: am f417fc4a: fix xml error in sample

* commit '2568d7f0cb9ee568309a0347805a12b9e771b689':
  fix xml error in sample

11 years agoam 0bf013fd: am f417fc4a: fix xml error in sample
Scott Main [Tue, 9 Apr 2013 17:41:03 +0000 (10:41 -0700)]
am 0bf013fd: am f417fc4a: fix xml error in sample

* commit '0bf013fdbd11a18c010147aed5899034172feb9a':
  fix xml error in sample

11 years agoam f417fc4a: fix xml error in sample
Scott Main [Tue, 9 Apr 2013 17:38:18 +0000 (10:38 -0700)]
am f417fc4a: fix xml error in sample

* commit 'f417fc4a4f6aa577e0af08776825aa4569638f51':
  fix xml error in sample

11 years agoMerge "Kill processes when permissions are revoked." into jb-mr2-dev
Dianne Hackborn [Tue, 9 Apr 2013 17:38:00 +0000 (17:38 +0000)]
Merge "Kill processes when permissions are revoked." into jb-mr2-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Tue, 9 Apr 2013 17:34:24 +0000 (17:34 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agofix xml error in sample
Scott Main [Tue, 9 Apr 2013 17:29:00 +0000 (10:29 -0700)]
fix xml error in sample

Change-Id: I59ca15028c52e0be081f4e65308f88e06115f7fd

11 years agoChange the dither texture's swizzling
Romain Guy [Tue, 9 Apr 2013 02:45:40 +0000 (19:45 -0700)]
Change the dither texture's swizzling

This is a more elegant way to sample from a float alpha texture.
Instead of sampling from the red channel in the fragment shader
we can set the alpha channel swizzle to redirect it to the
red channel. This lets us sample from the alpha channel in the
fragment shader and get the correct value.

Change-Id: I95bbf7a82964e1bf42c0fee1b782b6bdbbcef618

11 years agoMerge "Update Droid Serif" into jb-mr2-dev
Raph Levien [Tue, 9 Apr 2013 17:10:56 +0000 (17:10 +0000)]
Merge "Update Droid Serif" into jb-mr2-dev

11 years agoMerge "Fix [-] buttons in the notification builder test." into jb-mr2-dev
Daniel Sandler [Tue, 9 Apr 2013 14:34:19 +0000 (14:34 +0000)]
Merge "Fix [-] buttons in the notification builder test." into jb-mr2-dev

11 years agoFix [-] buttons in the notification builder test.
Daniel Sandler [Tue, 9 Apr 2013 05:20:02 +0000 (01:20 -0400)]
Fix [-] buttons in the notification builder test.

(Broken by change I9fae5a4a).

Bug: 8564511
Change-Id: I0d5b65e6678018630c812c5616e9b3f068029e66

11 years agoMerge "Fix janky icon fade-in animation in Recents" into jb-mr2-dev
Michael Jurka [Tue, 9 Apr 2013 06:04:35 +0000 (06:04 +0000)]
Merge "Fix janky icon fade-in animation in Recents" into jb-mr2-dev

11 years agoKill processes when permissions are revoked.
Dianne Hackborn [Tue, 9 Apr 2013 05:28:59 +0000 (22:28 -0700)]
Kill processes when permissions are revoked.

Some permissions are associated with gids, so we need to
kill any running processes if their permission is revoked.
We will do this for any permission being revoked, since
the association between gids and permissions can change
over time.

Change-Id: Ieb7408e032539c4f21eb089d65a7a7e6c289f010

11 years agoStop marking gamepads as keyboards
Michael Wright [Tue, 9 Apr 2013 01:01:29 +0000 (18:01 -0700)]
Stop marking gamepads as keyboards

Change-Id: I0ba49aa3235b2e0a50405cf6d68632e268fe4183

11 years agoFix tests build.
Ying Wang [Tue, 9 Apr 2013 02:02:01 +0000 (19:02 -0700)]
Fix tests build.

Change-Id: I24d65c18018a8d6df6fa3414306fc0d586d4cfa2

11 years agoFix janky icon fade-in animation in Recents
Michael Jurka [Mon, 8 Apr 2013 22:44:00 +0000 (15:44 -0700)]
Fix janky icon fade-in animation in Recents

Change-Id: I15d2274add8903820dac3da0fa47c9e54f6ec97d

11 years agoFix crash bug with mismatched iface names
Robert Greenwalt [Tue, 9 Apr 2013 01:02:02 +0000 (18:02 -0700)]
Fix crash bug with mismatched iface names

The copied-to LinkProperties needs the same iface name as the copied from.
Since we were copying into an empty LP this was trivial, but I
changed the params to tighten up this contract - don't want to
accidentally change an LP's iface name when we shouldn't.

bug:8569797
Change-Id: I5f88826e37271a0549c14d004bb2f16983b950e6

11 years agoMerge "Change dropbox tag for native crashes." into jb-mr2-dev
Eric Rowe [Tue, 9 Apr 2013 00:11:51 +0000 (00:11 +0000)]
Merge "Change dropbox tag for native crashes." into jb-mr2-dev

11 years agoMerge "Fix trackball interpretation of precision." into jb-mr2-dev
Jeff Brown [Tue, 9 Apr 2013 00:00:38 +0000 (00:00 +0000)]
Merge "Fix trackball interpretation of precision." into jb-mr2-dev

11 years agoMerge "Queues, queues, queues and input." into jb-mr2-dev
Jeff Brown [Mon, 8 Apr 2013 23:59:24 +0000 (23:59 +0000)]
Merge "Queues, queues, queues and input." into jb-mr2-dev

11 years agoFix trackball interpretation of precision.
Jeff Brown [Mon, 8 Apr 2013 23:44:19 +0000 (16:44 -0700)]
Fix trackball interpretation of precision.

The trackball to dpad synthesis was using the MotionEvent's precision
field to determine a threshold for movement but the calculations
involved did not actually make sense for any value of precision
less than 2.0.  This worked fine before since the InputReader
hardcodes the trackball's precision to 6.

Injected trackball events may have a different precision which can
result in the thresholds being set inappropriately.  For example,
it was not possible to move focus by one unit at a time when
the precision was set to 1.0.

The old code was probably using precision as a way to set a
threshold based on the trackball moving by some minimum number
of physical ticks, in this case 2.  But the code will work just
as well if we set an absolute threshold based on distance
traveled given that the input system is already expected to
normalize the trackball movements before delivering them to the
application.

So stop using precision.

Bug: 8473020
Change-Id: I3c6f7fb1b507f8cf5608b47550e7345fea3352fa

11 years agoMerge "Add support for common encryption" into jb-mr2-dev
Marco Nelissen [Mon, 8 Apr 2013 23:39:29 +0000 (23:39 +0000)]
Merge "Add support for common encryption" into jb-mr2-dev

11 years agoHide PlusinsEnabled/PluginsPath methods
Jonathan Dixon [Fri, 8 Mar 2013 01:20:08 +0000 (17:20 -0800)]
Hide PlusinsEnabled/PluginsPath methods

These have been deprecated since API level 8 / 9. Plugins are deprecated
overall now, so there's no requirement for apps to call these any more.

Change-Id: I1a27557644238477df00979f9badc9aab0a526c6

11 years agoTurn back on global proxy support.
Robert Greenwalt [Sat, 6 Apr 2013 00:14:19 +0000 (17:14 -0700)]
Turn back on global proxy support.

This reverts 138626.

Bug:8557674
Change-Id: I7b117d313c424d75bdeeea507541a96342f256f0

11 years agoMerge "Check outInfo is not null" into jb-mr2-dev
Kenny Root [Mon, 8 Apr 2013 23:10:50 +0000 (23:10 +0000)]
Merge "Check outInfo is not null" into jb-mr2-dev

11 years agoCheck outInfo is not null
Kenny Root [Mon, 8 Apr 2013 23:05:00 +0000 (16:05 -0700)]
Check outInfo is not null

Only call keystore if outInfo is not null

Bug: 8568820
Change-Id: I24ab625ad02b8510da489911064453de642b6748

11 years agoMerge "Fix off by one in ListView's upward focus traversal" into jb-mr2-dev
Michael Wright [Mon, 8 Apr 2013 22:57:01 +0000 (22:57 +0000)]
Merge "Fix off by one in ListView's upward focus traversal" into jb-mr2-dev

11 years agoMerge "Amend getOverlay() docs for SurfaceView/TextureView" into jb-mr2-dev
Chet Haase [Mon, 8 Apr 2013 22:53:11 +0000 (22:53 +0000)]
Merge "Amend getOverlay() docs for SurfaceView/TextureView" into jb-mr2-dev

11 years agoQueues, queues, queues and input.
Jeff Brown [Fri, 5 Apr 2013 06:04:03 +0000 (23:04 -0700)]
Queues, queues, queues and input.

Redesigned how ViewRootImpl delivers input events to views,
the IME and to native activities to fix several issues.

The prior change to make IME input event delegation use
InputChannels failed to take into account that InputMethodManager
is a singleton attached to the main looper whereas UI may be
attached to any looper.  Consequently interactions with the
InputChannel might occur on the wrong thread.  Fixed this
problem by checking the current thread and posting input
events or callbacks to the correct looper when necessary.

NativeActivity has also been broken for a while because the
default event handling logic for joysticks and touch navigation
was unable to dispatch events back into the native activity.
In particular, this meant that DPad synthesis from touch navigation
would not work in any native activity.  The plan is to fix
this problem by passing all events through ViewRootImpl as usual
then forwarding them to native activity as needed.  This should
greatly simplify IME pre-dispatch and system key handling
and make everything more robust overall.

Fixed issues related to when input events are synthesized.
In particular, added a more robust mechanism to ensure that
synthetic events are canceled appropriately when we discover
that events are no longer being resynthesized (because the
application or IME is handling or dropping them).

The new design is structured as a pipeline with a chain of
responsibility consisting of InputStage objects.  Each InputStage
is responsible for some part of handling each input event
such as dispatching to the view hierarchy or to the IME.
As a stage processes an input event, it has the option of
finishing the event, forwarding the event to the next stage
or handling the event asynchronously.  Some queueing logic
takes care to ensure that events are forwarded downstream in
the correct order even if they are handled out of order
by a given stage.

Cleaned up the InputMethodManager singleton initialization logic
to make it clearer that it must be attached to the main looper.
We don't actually need to pass this looper around.

Deleted the LatencyTimer class since no one uses it and we have
better ways of measuring latency these days using systrace.

Added a hidden helper to Looper to determine whether the current
thread is the indicated Looper thread.

Note: NativeActivity's IME dispatch is broken by this patch.
This will be fixed later in another patch.

Bug: 8473020
Change-Id: Iac2a1277545195a7a0137bbbdf04514c29165c60

11 years agoAdd FW support for CellInfo RIL commands.
Wink Saville [Fri, 5 Apr 2013 22:03:31 +0000 (15:03 -0700)]
Add FW support for CellInfo RIL commands.

Bug: 8235566
Change-Id: I7ad7dabc4b6c38bfba4461b08e6e30d0eb9efea1

11 years agoChange dropbox tag for native crashes.
Eric Rowe [Mon, 8 Apr 2013 22:00:27 +0000 (15:00 -0700)]
Change dropbox tag for native crashes.

Change-Id: Id2738fc758c3d144e5fdd2c7f1c8617dad129338

11 years agoMerge "Implement event logging for intent firewall" into jb-mr2-dev
Ben Gruver [Mon, 8 Apr 2013 21:40:26 +0000 (21:40 +0000)]
Merge "Implement event logging for intent firewall" into jb-mr2-dev

11 years agoFix off by one in ListView's upward focus traversal
Michael Wright [Mon, 8 Apr 2013 21:37:01 +0000 (14:37 -0700)]
Fix off by one in ListView's upward focus traversal

Bug: 7985315
Change-Id: Ic67c8e346d6b51a5cfb05cc7d0c2b145b591b2db

11 years agoMerge "Remove the sender package filter from the intent firewall" into jb-mr2-dev
Ben Gruver [Mon, 8 Apr 2013 21:36:37 +0000 (21:36 +0000)]
Merge "Remove the sender package filter from the intent firewall" into jb-mr2-dev