Use the layout xml attribute splitMotionEvents="true" or the ViewGroup
method setMotionEventSplittingEnabled(true) to enable motion event
splitting. Rules for splitting are as follows:
* Splitting is enabled per ViewGroup. When splitting is enabled any
MotionEvent dispatched to that ViewGroup can potentially be split
into several and dispatched to children independently.
* Each pointer is assigned a target child view when the ACTION_DOWN or
ACTION_POINTER_DOWN event is received. That will be the pointer's
target until it goes up, the target returns false from onTouchEvent,
or the MotionEvents are intercepted.
* Multiple pointers may be assigned to the same target. All pointer
data sent to a target are bundled into a single MotionEvent. Child
views do not need to be aware that splitting has occurred.
Change-Id: I993f838e2f6b455da9812f4742a016dfcd1c4cc9
This patch provides all of the plumbing but only provides the error event,
used when we fail to connect to the device's sensors. Connection to the
sensors is coming in a later patch.
Change-Id: I322297d70570425b19917712e63e815651ceacc2
the beginning and end of the stack)
-> Wrapping children of AdapterViewAnimator in a
FrameLayout to uphold the Adapter contract (ie.
don't modify the Adapter's views.)
-> Fixed clipping problem in StackViews with padding
Change-Id: I83b02b5fdfd687838346e0bcb5dc30c033cd0cb8
Prior to this change layers would clip their content incorrectly. They would
also not apply alpha properly.
Change-Id: Id7b3aaa7dbdc51de68fe050e64458f68e40503fd
Merge commit 'a2527055f8e3106fe70feeee10ae0c4ddc6596e9'
* commit 'a2527055f8e3106fe70feeee10ae0c4ddc6596e9':
Document that autoFocus must be called in auto and macro mode.
Merge commit '0899e8bc9dc44249d6be016bed71a9ecee56f132'
* commit '0899e8bc9dc44249d6be016bed71a9ecee56f132':
Fix up handling of null fields in DownloadManager.
Merge commit 'f2af87b39b294a197b9a7aaa611a14cfcd669a16' into gingerbread-plus-aosp
* commit 'f2af87b39b294a197b9a7aaa611a14cfcd669a16':
Making sure the draw time is measured.
Merge commit 'c86960236d5b2095c87bf46de2400a905acabee2' into gingerbread-plus-aosp
* commit 'c86960236d5b2095c87bf46de2400a905acabee2':
Document that autoFocus must be called in auto and macro mode.
Merge commit 'baf3869b88ab4e31f792dbe08f61725bc3619ea8' into gingerbread-plus-aosp
* commit 'baf3869b88ab4e31f792dbe08f61725bc3619ea8':
Fix up handling of null fields in DownloadManager.
Merge commit 'f996ed9f2e4a992e5d884077a15dcc23a8d90c44' into gingerbread-plus-aosp
* commit 'f996ed9f2e4a992e5d884077a15dcc23a8d90c44':
Make vCard importer/exporter aware of multi-byte parameters.
This makes the zoom animation much more smooth. With previous dynamic
viewport, the animation jumps because of viewport adjustment and big
screen.
Also the viewport width is changed from 800 to 1040 to better suit
the tablet device. It's the middle point of 1280 and 800.
The text reflow re-alignment for non-double-tap zoom is disabled for
tablet, since most of the time the reflow has no effect.
issue: 2919307
Change-Id: I74493df6408291c24ef8511512d7ed0b81bf507a
Bug: 2582455
A corresponding webkit change eliminates the rest of the calls
to change the active and focused state of the focus controller.
Change-Id: I18868b7480ba5daae71375d109d5a721ecf22b4d
These APIs need to be public to allow integration
with Focus, which is unbundled.
The design document can be found here: http://goto/android-gal-integration
Change-Id: I14e749e485e301e8af5a657cc798e581dec21394
sJavaBridge may not exist by the time onWindowFocusChanged is called.
To avoid an NPE, just static methods that modify a global field.
JWebCoreJavaBridge is a global object anyway so using a static field
will be fine. To avoid any garbage collection issues, store the
WebView in a WeakReference.
Bug: 2894682
Change-Id: I73de9237ddbbdc55841a9b2639437e26856439c8
This depends on a kernel patch that implements read(2)
in the ashmem driver.
Bug http://b/issue?id=2595601
Change-Id: Ie3b10aa471aada21812b35e63954c1b2f0a7b042