summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support for input devices that have vibrators.Jeff Brown2012-04-1315-7/+589
| | | | | | | | | | Added a getVibrator() method to InputDevice which returns a Vibrator associated with that input device. Its uses the same API as the system vibrator which makes it easy for applications to be modified to use one or the other. Bug: 6334179 Change-Id: Ifc7f13dbcb778670f3f1c07ccc562334e6109d2e
* Extract Vibrator implementation from interface.Jeff Brown2012-04-1311-88/+133
| | | | | | | | | | | | | | Moved the core logic of Vibrator into SystemVibrator, potentially allowing for the creation of other Vibrator subclasses. Fixed several places where we were creating new Vibrator instances unnecessarily instead of getting it from the Context. It is safe to make Vibrator abstract because its constructor was hidden from the SDK so it was not possible to subclass it. Bug: 6334179 Change-Id: I18ece6544c26a7efb2d5099f8346a10aef8a5e18
* Merge "Improve Paint.setTextLocale()"Fabrice Di Meglio2012-04-121-8/+21
|\
| * Improve Paint.setTextLocale()Fabrice Di Meglio2012-04-121-8/+21
| | | | | | | | Change-Id: Iffc9f8816f48dbd431b3b430a7c48f8d646703f3
* | Merge "Notify applications when input devices change."Jeff Brown2012-04-1217-220/+742
|\ \
| * | Notify applications when input devices change.Jeff Brown2012-04-1217-220/+742
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Pre-association service discovery support"Irfan Sheriff2012-04-1219-38/+2932
|\ \ \
| * | | Pre-association service discovery supportIrfan Sheriff2012-04-1219-38/+2932
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge "Fix bug 6330745 - internal fix for spinners"Adam Powell2012-04-121-1/+1
|\ \ \ \
| * | | | Fix bug 6330745 - internal fix for spinnersAdam Powell2012-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I2897ce5f41f9442714053675405296cab5296ac6
* | | | | Merge "Keep activities stopped while the lock screen is up."Dianne Hackborn2012-04-124-13/+98
|\ \ \ \ \
| * | | | | Keep activities stopped while the lock screen is up.Dianne Hackborn2012-04-124-13/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Merge "Bonjour fixes"Irfan Sheriff2012-04-123-55/+418
|\ \ \ \ \ \
| * | | | | | Bonjour fixesIrfan Sheriff2012-04-123-55/+418
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Change-Id: I1df1dc470bb42c84abc7e1a46bedf9f206910b65
* | | | | | Merge "Add documentation about clearing usage stats"Makoto Onuki2012-04-121-1/+7
|\ \ \ \ \ \
| * | | | | | Add documentation about clearing usage statsMakoto Onuki2012-04-121-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 5475575 Change-Id: Idee771a6b29dcd4870090cd1b5c72e126886fb47
* | | | | | | Merge "Editing fixes to ImageFormat documentation."Eino-Ville Talvala2012-04-121-17/+21
|\ \ \ \ \ \ \
| * | | | | | | Editing fixes to ImageFormat documentation.Eino-Ville Talvala2012-04-101-17/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I74738a65abc3abbb49825b16f4efe3ac2eb6d28e
* | | | | | | | Merge "Add Paint.setTextLocale()"Fabrice Di Meglio2012-04-123-0/+51
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | |
| * | | | | | | Add Paint.setTextLocale()Fabrice Di Meglio2012-04-123-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - will be used for better shaping CJK and other goodies Change-Id: If64945a337edd915f5ebb88f04b6fd18e92ca587
* | | | | | | | Merge "Add new Arabic font for SystemUI"Fabrice Di Meglio2012-04-126-8/+5
|\ \ \ \ \ \ \ \
| * | | | | | | | Add new Arabic font for SystemUIFabrice Di Meglio2012-04-126-8/+5
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - still work in progress - bug #5987379 Change-Id: I0a7f7437c9061eab0abc9d5979c947eb5511992a
* | | | | | | | Merge "Switch does not append its state text to accessibility node infos."Svetoslav Ganov2012-04-121-0/+11
|\ \ \ \ \ \ \ \
| * | | | | | | | Switch does not append its state text to accessibility node infos.Svetoslav Ganov2012-04-121-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | Merge "The new APIs for the bookmarks, history and images."John Reck2012-04-121-5/+186
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | The new APIs for the bookmarks, history and images.Tao Bai2012-04-121-5/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Private for now while the implementation is worked on, will expose later Change-Id: Id837b16d835491ae16ed686dd65c2a401d9591c6
* | | | | | | | | | Merge "Don't update TextureView's surface if the Layer doesn't exist"Romain Guy2012-04-121-1/+3
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Don't update TextureView's surface if the Layer doesn't existRomain Guy2012-04-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ifcc1a7a271f6c236a3aebd3726b7025348e64920
* | | | | | | | | | | Merge "NumberPicker not redrawn when current value is changed via an IME."Svetoslav Ganov2012-04-121-5/+2
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | NumberPicker not redrawn when current value is changed via an IME.Svetoslav Ganov2012-04-121-5/+2
| | |_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | Merge "Add missing support for Element.FONT()."Stephen Hines2012-04-123-1/+12
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Add missing support for Element.FONT().Stephen Hines2012-04-113-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id66676958cc41d934b7f01acd65916f6d777d355
* | | | | | | | | | | | Merge "Bump the interpreter stack size for the main thread."Elliott Hughes2012-04-121-0/+4
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Bump the interpreter stack size for the main thread.Elliott Hughes2012-04-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6315322 Change-Id: I8d84e7c2e0eeb5314530b8a8b141f44014b8c646
* | | | | | | | | | | | | Merge "Properly cache color state lists."Romain Guy2012-04-121-35/+16
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / / / | |/| | | | | | | | | | |
| * | | | | | | | | | | | Properly cache color state lists.Romain Guy2012-04-121-35/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clobbering the typed value's cookie with the alpha channel is not okay. Change-Id: Ia75481be06699b42f80eb4c59672c6cd6cf8c0a8
* | | | | | | | | | | | | Merge "Fix layer blending bug"Chet Haase2012-04-123-1/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Fix layer blending bugChet Haase2012-04-123-1/+10
| | |_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cached layers were sometimes retaining an obsolete blending value, causing artifacts where translucent objects were disappearing completely. Also, added extra tracing info for DisplayLists. Issue #6303668 Flickering views during SwipeHelper drag Change-Id: I66ce158652c4a3ed316040585b40b1744e1fad0c
* | | | | | | | | | | | | Merge "SpannableStringBuilder correctly broadcast span changes during replace"Gilles Debunne2012-04-121-76/+144
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | SpannableStringBuilder correctly broadcast span changes during replaceGilles Debunne2012-04-121-76/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 6331765 A call to replace was previously not sending any span modification to the attached span watchers. Change-Id: Ic9e4a8ac0210e422961adfb18e205d80531889fe
* | | | | | | | | | | | | | Merge "NumberPicker cannot fling in scrollable containers."Svetoslav Ganov2012-04-121-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | NumberPicker cannot fling in scrollable containers.Svetoslav Ganov2012-04-121-0/+2
| | |_|_|_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | | | Merge "NumberPicker truncates the edited value."Svetoslav Ganov2012-04-121-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | NumberPicker truncates the edited value.Svetoslav Ganov2012-04-121-1/+1
| |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | | | Merge "Unhiding J API's for Renderscript."Alex Sakhartchouk2012-04-1212-112/+141
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Unhiding J API's for Renderscript.Alex Sakhartchouk2012-04-1112-112/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8c2d43ccca94549bc6ca1a914106567ccc125503
* | | | | | | | | | | | | | | am 89c9a51e: am bd60a520: am 3d7f0cb3: Update header for forward compatibilityTeng-Hui Zhu2012-04-120-0/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '89c9a51ed8824e8188748841289807e18ed065cb': Update header for forward compatibility
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ am bd60a520: am 3d7f0cb3: Update header for forward compatibilityTeng-Hui Zhu2012-04-121-0/+4
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'bd60a52090553aef02d07e283c7f07de70837ad8': Update header for forward compatibility
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ am 3d7f0cb3: Update header for forward compatibilityTeng-Hui Zhu2012-04-121-0/+4
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '3d7f0cb3d9724eb4a45611127e0986538e838964': Update header for forward compatibility
| | | * | | | | | | | | | | | | | | Update header for forward compatibilityTeng-Hui Zhu2012-04-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Idf38142dc073dce14741e8da005e7d2eaf9242de