74647 Commits

Author SHA1 Message Date
Daniel Sandler
4dfbe83e1a Unhide some new Notification APIs.
Bug: 6318391
Change-Id: Ie51f373cc84d845fa4aababab702c115fcc9e2e5
2012-04-13 14:05:25 -04:00
John Reck
92bb93eba3 Merge "Remove an unnecessary sanity check" 2012-04-13 10:42:46 -07:00
Jeff Sharkey
10b6f68d48 Merge "Enforce READ_EXTERNAL on non-user builds." 2012-04-13 10:42:33 -07:00
John Reck
3f1679cba0 Remove an unnecessary sanity check
This is causing issues with MotionEvents built by various tools such
 as DRT. The check itself doesn't seem strictly necessary, and it is
 easier to remove the check than fix all the tools and tests

Change-Id: I74bf85307956b5858042fbe23f87ed2b87132f17
2012-04-13 10:21:16 -07:00
Craig Mautner
7358fbfeb2 Minor cleanups.
- Replace HashSet with ArrayList.
- Check for Watermark and SurfaceSession initialization once, not every
  time through layout.
- Move watermark rendering into animation.
- Add surface operation debugging.

Change-Id: I4b7e7c0b8d89d43c67a42753832f90b8632d4f5d
2012-04-13 10:01:32 -07:00
Ben Murdoch
f804ba131b Merge "Add support for HTML Media Capture "capture" attribute." 2012-04-13 06:06:50 -07:00
Jonathan Dixon
c2401d094a Merge "Add deprecated tag and note StrictMode violation" 2012-04-13 02:35:06 -07:00
Jonathan Dixon
b36584042e Merge "Hide the public constructors for singleton classes" 2012-04-13 02:35:00 -07:00
Jonathan Dixon
f2e103623b Merge "Decouple JsResult from the WebViewClassic impl" 2012-04-13 02:33:04 -07:00
Ben Murdoch
be716920e7 Add support for HTML Media Capture "capture" attribute.
Plumb the value of the "capture" attribute through the framework
down to the embedder.

Requires a change in WebKit
(I0a921be31fda79a43c05da4fe22d9c808d92709c)

and Browser (I38dfe2df043fdba1388384dbd3b5370737eb38e5).

Bug: 5771207

Change-Id: I494adc1274ca21ce8fe52a6c7b6b758217927e66
2012-04-13 10:09:14 +01:00
Wu-cheng Li
5573ac0149 Merge "Unhide camera autofocus move callback." 2012-04-13 01:03:57 -07:00
Jeff Sharkey
5d32e772b3 Enforce READ_EXTERNAL on non-user builds.
Enable default enforcement of READ_EXTERNAL_STORAGE on non-user
builds. Users can still explicitly enable enforcement in Settings.

Bug: 6131916
Change-Id: I7dc66b624ad252ed2a2ad3647f3ea85dda7f8e82
2012-04-12 23:29:14 -07:00
Fabrice Di Meglio
069c4f3f0c Merge "Improve Paint.setTextLocale()" 2012-04-12 19:07:57 -07:00
Jeff Brown
882735972e Merge "Notify applications when input devices change." 2012-04-12 18:55:57 -07:00
Jeff Brown
af9e8d3818 Notify applications when input devices change.
This change allows the InputManager to keep track of what input
devices are registered with the system and when they change.
It needs to do this so that it can properly clear its cache of
input device properties (especially the key map!) when changes
occur.

Added new API so that applications can register listeners for
input device changes.

Fixed a minor bug in EventHub where it didn't handle EPOLLHUP
properly so it would spam the log about unsupposed epoll events
until inotify noticed that the device was gone and removed it.

Change-Id: I937d8c601f7185d4299038bce6a2934fe4fdd2b3
2012-04-12 18:54:54 -07:00
Fabrice Di Meglio
029b633038 Improve Paint.setTextLocale()
Change-Id: Iffc9f8816f48dbd431b3b430a7c48f8d646703f3
2012-04-12 18:44:16 -07:00
Irfan Sheriff
d4fecc2567 Merge "Pre-association service discovery support" 2012-04-12 18:33:05 -07:00
Adam Powell
c8cbf5de76 Merge "Fix bug 6330745 - internal fix for spinners" 2012-04-12 18:23:03 -07:00
Dianne Hackborn
67ae551272 Merge "Keep activities stopped while the lock screen is up." 2012-04-12 18:18:45 -07:00
Adam Powell
af3631314f Fix bug 6330745 - internal fix for spinners
Change-Id: I2897ce5f41f9442714053675405296cab5296ac6
2012-04-12 18:14:12 -07:00
Irfan Sheriff
cbba37c609 Merge "Bonjour fixes" 2012-04-12 17:55:15 -07:00
Irfan Sheriff
21ba815332 Pre-association service discovery support
Add UPnp, Bonjour and vendor specific support for discovering services on
Wi-Fi direct before establishing a connection.

Change-Id: I1c1f3427180abdc80a4e682e713adc7f0326c5ef
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
2012-04-12 17:50:29 -07:00
Makoto Onuki
6c70ef1fb2 Merge "Add documentation about clearing usage stats" 2012-04-12 17:49:09 -07:00
Eino-Ville Talvala
ae9a5ca01f Merge "Editing fixes to ImageFormat documentation." 2012-04-12 17:48:58 -07:00
Fabrice Di Meglio
62901af52a Merge "Add Paint.setTextLocale()" 2012-04-12 17:37:44 -07:00
Fabrice Di Meglio
f98c8b32e8 Merge "Add new Arabic font for SystemUI" 2012-04-12 17:36:18 -07:00
Fabrice Di Meglio
517825f1a9 Add Paint.setTextLocale()
- will be used for better shaping CJK and other goodies

Change-Id: If64945a337edd915f5ebb88f04b6fd18e92ca587
2012-04-12 17:31:17 -07:00
Dianne Hackborn
ff5b158f69 Keep activities stopped while the lock screen is up.
Tell the activity manager when the lock screen is shown, so it
can keep itself (mostly) in sleep mode during this time, having
the foreground actvities remain in their stopped state.

Change-Id: I71c86d3298f23a98014d7ae36fd540c9df9a64e6
2012-04-12 17:26:55 -07:00
Svetoslav Ganov
7f97e54a15 Merge "Switch does not append its state text to accessibility node infos." 2012-04-12 17:20:12 -07:00
Svetoslav Ganov
78bcc15b6c Switch does not append its state text to accessibility node infos.
1. Switch was not populating the state on/off test in accessibility
   node infos. It apparently has two texts, the state one and the
   one it inherits from TextView.

bug:6213278

Change-Id: I9c6b1798a8b3230cfb6755cc5b088c320d991642
2012-04-12 17:17:24 -07:00
Makoto Onuki
b0d2299fb0 Add documentation about clearing usage stats
Bug 5475575

Change-Id: Idee771a6b29dcd4870090cd1b5c72e126886fb47
2012-04-12 17:12:11 -07:00
John Reck
11e07818d0 Merge "The new APIs for the bookmarks, history and images." 2012-04-12 16:59:32 -07:00
Romain Guy
41ffd86df1 Merge "Don't update TextureView's surface if the Layer doesn't exist" 2012-04-12 16:58:47 -07:00
Svetoslav Ganov
bc896be574 Merge "NumberPicker not redrawn when current value is changed via an IME." 2012-04-12 16:58:34 -07:00
Svetoslav Ganov
fac14f9731 NumberPicker not redrawn when current value is changed via an IME.
1. The NumberPicker scroll wheel was not updated upon value change
   via an IME as well as the picker was not redraws after the change.

bug:6291879

Change-Id: I5ba30df42e38cd06fa150328399eb4deeb0b683d
2012-04-12 16:57:18 -07:00
Stephen Hines
e267f5f2b0 Merge "Add missing support for Element.FONT()." 2012-04-12 16:45:00 -07:00
Fabrice Di Meglio
276de3e1eb Add new Arabic font for SystemUI
- still work in progress
- bug #5987379

Change-Id: I0a7f7437c9061eab0abc9d5979c947eb5511992a
2012-04-12 16:40:56 -07:00
Romain Guy
a8a2f97c10 Don't update TextureView's surface if the Layer doesn't exist
Change-Id: Ifcc1a7a271f6c236a3aebd3726b7025348e64920
2012-04-12 16:33:44 -07:00
Elliott Hughes
140af0c3ca Merge "Bump the interpreter stack size for the main thread." 2012-04-12 16:32:57 -07:00
Romain Guy
bc59bc355b Merge "Properly cache color state lists." 2012-04-12 16:31:51 -07:00
Tao Bai
b5f15e7fd9 The new APIs for the bookmarks, history and images.
Private for now while the implementation is worked on, will expose later

Change-Id: Id837b16d835491ae16ed686dd65c2a401d9591c6
2012-04-12 16:28:46 -07:00
Chet Haase
7e45fc0e6d Merge "Fix layer blending bug" 2012-04-12 16:25:52 -07:00
Romain Guy
5d911c3a95 Properly cache color state lists.
Clobbering the typed value's cookie with the alpha channel is not okay.

Change-Id: Ia75481be06699b42f80eb4c59672c6cd6cf8c0a8
2012-04-12 16:25:17 -07:00
Gilles Debunne
f6584a70e5 Merge "SpannableStringBuilder correctly broadcast span changes during replace" 2012-04-12 16:23:05 -07:00
Svetoslav Ganov
4a5af365af Merge "NumberPicker cannot fling in scrollable containers." 2012-04-12 16:22:34 -07:00
Svetoslav Ganov
83dc45c659 NumberPicker cannot fling in scrollable containers.
1. NumberPicker was not preventing its predecessor from
   intercepting touch events that are on top of it, hence
   it was not flingable in scrollable containres.

bug:5661117

Change-Id: I145f59b069f479935f551bc5e841f13468a6c676
2012-04-12 16:19:36 -07:00
Svetoslav Ganov
f6c8282cf3 Merge "NumberPicker truncates the edited value." 2012-04-12 16:07:04 -07:00
Alex Sakhartchouk
0e2c70112b Merge "Unhiding J API's for Renderscript." 2012-04-12 16:06:02 -07:00
Svetoslav Ganov
f7c83bc4d3 NumberPicker truncates the edited value.
1. NumberPicker aims to reach the specified max width and height.
   If the max width was not specified, the picker computes it by
   measuring the widest value it will show. However, the case for
   recognizing whether the max width is specified incorrect, hence
   the max width was never measured.

bug:6193549

Change-Id: If67352a651e8d4a1d060868c876316e1c0e9bd0b
2012-04-12 16:05:09 -07:00
Elliott Hughes
3f177d7c9a Bump the interpreter stack size for the main thread.
Bug: 6315322
Change-Id: I8d84e7c2e0eeb5314530b8a8b141f44014b8c646
2012-04-12 16:02:56 -07:00