Alan Viverette
3224f3530c
Merge "Clean up ViewStub inflation to ensure it has resources"
2014-12-15 23:18:14 +00:00
Alan Viverette
9ecb73c7d8
Don't force hardware acceleration for services on low-end GFX
...
BUG: 18732678
Change-Id: I136135a91296de3e7d4c089b61019a5395de4a5b
2014-12-15 13:40:28 -08:00
Alan Viverette
39a72dd207
Clean up ViewStub inflation to ensure it has resources
...
BUG: 18642716
Change-Id: I52be9d379672ef143cd385c78a8e0744225de4ae
2014-12-15 11:23:57 -08:00
Alan Viverette
4ae0d9045f
am 2f11125a: am 9973643b: Merge "Give accessibility delegate the first pass at handling ACTION_CLICK" into lmp-mr1-dev
...
automerge: 878a5a6
* commit '878a5a6cd7109183928b9b8b533f11347fd0591a':
Give accessibility delegate the first pass at handling ACTION_CLICK
2014-12-15 17:41:55 +00:00
Alan Viverette
878a5a6cd7
am 2f11125a: am 9973643b: Merge "Give accessibility delegate the first pass at handling ACTION_CLICK" into lmp-mr1-dev
...
* commit '2f11125a7186cc65713804c939a0e538538d9f35':
Give accessibility delegate the first pass at handling ACTION_CLICK
2014-12-15 17:38:25 +00:00
Alan Viverette
2f11125a71
am 9973643b: Merge "Give accessibility delegate the first pass at handling ACTION_CLICK" into lmp-mr1-dev
...
* commit '9973643bfc123fcc73803542ef8cb74e243907ce':
Give accessibility delegate the first pass at handling ACTION_CLICK
2014-12-15 17:31:36 +00:00
Alan Viverette
9973643bfc
Merge "Give accessibility delegate the first pass at handling ACTION_CLICK" into lmp-mr1-dev
2014-12-15 17:27:24 +00:00
Alan Viverette
cd305ae3ce
Give accessibility delegate the first pass at handling ACTION_CLICK
...
Delegation is broken for widgets, but this fixes the most egregious issue
where TextViews that are top-level list items weren't handling CLICK
actions correctly. This will still need work, since now the focus action
won't run, but it's an improvement.
BUG: 18736135
Change-Id: I808ef628198946cc87f13c53d6245cd162a1e517
2014-12-12 14:13:24 -08:00
Svet Ganov
103f52e1b2
am e608644a: am 7486bc1f: Merge "Fix an edge case in computing click location in accessibility mode." into lmp-mr1-dev
...
automerge: 1301446
* commit '1301446c01182b41c3f922121d21ed9b383cc4df':
Fix an edge case in computing click location in accessibility mode.
2014-12-12 21:05:01 +00:00
Svet Ganov
1301446c01
am e608644a: am 7486bc1f: Merge "Fix an edge case in computing click location in accessibility mode." into lmp-mr1-dev
...
* commit 'e608644a9f0fa54a05379c171814569816145801':
Fix an edge case in computing click location in accessibility mode.
2014-12-12 21:02:24 +00:00
Svet Ganov
e608644a9f
am 7486bc1f: Merge "Fix an edge case in computing click location in accessibility mode." into lmp-mr1-dev
...
* commit '7486bc1f5a8156e9b586ebb9c32ced218e668652':
Fix an edge case in computing click location in accessibility mode.
2014-12-12 20:54:38 +00:00
Svet Ganov
7486bc1f5a
Merge "Fix an edge case in computing click location in accessibility mode." into lmp-mr1-dev
2014-12-12 20:48:09 +00:00
Adam Powell
dd65a916c7
am 746079e2: am 9a0799cf: Merge "Have ViewGroups without a parent clip child visible rects to bounds" into lmp-mr1-dev
...
automerge: 097e383
* commit '097e3830cd33d1848da3f61a16866f2bbcb3b6d0':
Have ViewGroups without a parent clip child visible rects to bounds
2014-12-12 18:57:35 +00:00
Adam Powell
097e3830cd
am 746079e2: am 9a0799cf: Merge "Have ViewGroups without a parent clip child visible rects to bounds" into lmp-mr1-dev
...
* commit '746079e2ee516d1c7be62154992eda78e9f2ec28':
Have ViewGroups without a parent clip child visible rects to bounds
2014-12-12 18:49:37 +00:00
Adam Powell
746079e2ee
am 9a0799cf: Merge "Have ViewGroups without a parent clip child visible rects to bounds" into lmp-mr1-dev
...
* commit '9a0799cf6b7289b8127ffcb22291f5baf21b4035':
Have ViewGroups without a parent clip child visible rects to bounds
2014-12-12 18:43:38 +00:00
Svet Ganov
9fc96c5371
Fix an edge case in computing click location in accessibility mode.
...
In accessibility mode to click a view we computed a point where to send
down and up touch events. The logic that computes where to send the
events was not clipping the bounds of the child to these of the parent.
As a result we wrongly computed we can send the events in a location
of the child that is outside of its parent, thus the click having no
effect or clicking the wrong thing.
bug:18672945
Change-Id: If9c452e7e5b196f699db33d37dbc6775d5d1622a
2014-12-11 22:33:48 -08:00
Adam Powell
35da41e6c3
Have ViewGroups without a parent clip child visible rects to bounds
...
getChildVisibleRect was enhanced to obey the official contracts for
clipping children and clip to padding. Unfortunately this meant that
ViewGroups with no parent have no way of checking if they will be
clipped to their own bounds and therefore should clip a child rect.
Treat orphaned view subtrees as entities that clip to the root view
bounds to preserve prior CTS guarantees.
Bug 18642973
Change-Id: I9fcbeb0e92cd6715cd9184183d36889614ed0bed
2014-12-10 18:59:34 -08:00
Nick Kralevich
7668e78601
resolved conflicts for merge of 3bae94d7 to master
...
Change-Id: I381539b1494447d62290c492f2550840fe0b559c
2014-12-10 11:03:40 -08:00
John Reck
af878b91f9
am 389baa39: am 7d74cb6c: am 14c43689: Merge "Fix issue with RNA destruction mid-animation" into lmp-mr1-dev
...
* commit '389baa395125d5ae5aac3b9d2f98457dde09da26':
Fix issue with RNA destruction mid-animation
2014-12-09 23:49:22 +00:00
John Reck
3bae94d78e
resolved conflicts for merge of fe11126d to lmp-mr1-dev-plus-aosp
...
Change-Id: I60bf82ff71d9af0d80e7da8856efb4641c85885b
2014-12-09 15:38:38 -08:00
Svet Ganov
70acef7df4
am aad2ffe6: am 7f980d75: am 381a4236: Merge "When accessibility on cannot click on a view covered by a HorizontalScrollView" into lmp-mr1-dev
...
* commit 'aad2ffe67af43fcfc8784b57c0fb9fe4687c9d69':
When accessibility on cannot click on a view covered by a HorizontalScrollView
2014-12-09 23:20:02 +00:00
Svet Ganov
0213ac7cda
am 2dbd133c: am a91256bc: am e232d4a6: Merge "Clear clicked nodes from the accessibiliy cache." into lmp-mr1-dev
...
* commit '2dbd133c966a3b1acc51a9b645622667830c7e3e':
Clear clicked nodes from the accessibiliy cache.
2014-12-09 23:19:58 +00:00
John Reck
fe11126d23
am 4f1942d9: Merge "Teach AssetAtlas about more drawables" into lmp-mr1-dev
...
* commit '4f1942d999c60fd91cb826651b6d978d47a74321':
Teach AssetAtlas about more drawables
2014-12-09 23:18:08 +00:00
John Reck
4f1942d999
Merge "Teach AssetAtlas about more drawables" into lmp-mr1-dev
2014-12-09 23:12:42 +00:00
Alan Viverette
d3a0da9aac
am 5a50a8bc: am e615da7e: am f1792c42: Merge "Fix hotspot coordinate propagation in ViewGroup and AbsListView" into lmp-mr1-dev
...
* commit '5a50a8bcabdb2593b48b06854a7455318399b6d1':
Fix hotspot coordinate propagation in ViewGroup and AbsListView
2014-12-09 22:23:37 +00:00
John Reck
dad7d84c04
Teach AssetAtlas about more drawables
...
Bug: 18317479
Change-Id: I16868ee204d24af72af9a2efc987f7e9eb1d266b
2014-12-09 14:18:33 -08:00
John Reck
389baa3951
am 7d74cb6c: am 14c43689: Merge "Fix issue with RNA destruction mid-animation" into lmp-mr1-dev
...
* commit '7d74cb6c6139d42aad65fe1466ab4c5f8e029539':
Fix issue with RNA destruction mid-animation
2014-12-09 22:18:27 +00:00
John Reck
7d74cb6c61
am 14c43689: Merge "Fix issue with RNA destruction mid-animation" into lmp-mr1-dev
...
* commit '14c436897ca56800a3758008f0631c559a898967':
Fix issue with RNA destruction mid-animation
2014-12-09 22:08:42 +00:00
John Reck
c47c98be04
Fix issue with RNA destruction mid-animation
...
Bug: 18521508
Fix an issue where an RNA's native object was destroyed
before the java-side object was started
Change-Id: I487fb476e0ecdf7000515f4f7320e8cfbc50a52b
2014-12-09 12:35:12 -08:00
Svet Ganov
aad2ffe67a
am 7f980d75: am 381a4236: Merge "When accessibility on cannot click on a view covered by a HorizontalScrollView" into lmp-mr1-dev
...
* commit '7f980d7508cab2bc9c4f84e5ea15984e284dbbb7':
When accessibility on cannot click on a view covered by a HorizontalScrollView
2014-12-09 00:17:31 +00:00
Svet Ganov
2dbd133c96
am a91256bc: am e232d4a6: Merge "Clear clicked nodes from the accessibiliy cache." into lmp-mr1-dev
...
* commit 'a91256bc75e510a254d4e5c6e8d1df8391f20bba':
Clear clicked nodes from the accessibiliy cache.
2014-12-09 00:17:24 +00:00
Filip Gruszczynski
0b6ccb4102
am 5ae61a81: am f5d1cf0b: am 26af8c19: am 26b18771: Merge "Private Window flag to disable touch events in WallpaperService." into lmp-sprout-dev
...
* commit '5ae61a811afca4fa7ddca1e4693f0b84fd09a6dc':
Private Window flag to disable touch events in WallpaperService.
2014-12-09 00:17:18 +00:00
Svetoslav
f2cc4e95b5
am f477aeb3: am ed068f7c: am 3a0d878a: Ensure all events from a showing window are dispatched.
...
* commit 'f477aeb367f05a64a03ed09efc9e0a9d6f9a6ec2':
Ensure all events from a showing window are dispatched.
2014-12-09 00:16:48 +00:00
Svet Ganov
7f980d7508
am 381a4236: Merge "When accessibility on cannot click on a view covered by a HorizontalScrollView" into lmp-mr1-dev
...
* commit '381a423634a293d53f972a0ce4abd7fe7cf7d703':
When accessibility on cannot click on a view covered by a HorizontalScrollView
2014-12-09 00:07:06 +00:00
Svet Ganov
a91256bc75
am e232d4a6: Merge "Clear clicked nodes from the accessibiliy cache." into lmp-mr1-dev
...
* commit 'e232d4a6aadbd32cb80ffd0da9a5d164910b1b79':
Clear clicked nodes from the accessibiliy cache.
2014-12-09 00:07:01 +00:00
Svet Ganov
381a423634
Merge "When accessibility on cannot click on a view covered by a HorizontalScrollView" into lmp-mr1-dev
2014-12-08 21:28:19 +00:00
Svet Ganov
e232d4a6aa
Merge "Clear clicked nodes from the accessibiliy cache." into lmp-mr1-dev
2014-12-08 21:08:36 +00:00
Alan Viverette
5a50a8bcab
am e615da7e: am f1792c42: Merge "Fix hotspot coordinate propagation in ViewGroup and AbsListView" into lmp-mr1-dev
...
* commit 'e615da7eb74907c7df993009ba8137e6ddd4ac62':
Fix hotspot coordinate propagation in ViewGroup and AbsListView
2014-12-08 19:45:20 +00:00
Filip Gruszczynski
5ae61a811a
am f5d1cf0b: am 26af8c19: am 26b18771: Merge "Private Window flag to disable touch events in WallpaperService." into lmp-sprout-dev
...
* commit 'f5d1cf0b194147fae0aca2c2352b4843627ffc1e':
Private Window flag to disable touch events in WallpaperService.
2014-12-08 19:13:39 +00:00
Svetoslav
f477aeb367
am ed068f7c: am 3a0d878a: Ensure all events from a showing window are dispatched.
...
* commit 'ed068f7c3047b3775647a6023c6960a4fc535144':
Ensure all events from a showing window are dispatched.
2014-12-08 19:12:22 +00:00
Alan Viverette
e615da7eb7
am f1792c42: Merge "Fix hotspot coordinate propagation in ViewGroup and AbsListView" into lmp-mr1-dev
...
* commit 'f1792c4219fb341a59c4b90c0ce5dd6e0e7b87f0':
Fix hotspot coordinate propagation in ViewGroup and AbsListView
2014-12-08 18:47:46 +00:00
Alan Viverette
b942b6f15c
Fix hotspot coordinate propagation in ViewGroup and AbsListView
...
There was a weird disconnect between setPressed() and hotspot propagation
behavior. This makes hotspot propagation work like setPressed(). Also
fixes ripple animation during drag-to-open.
BUG: 18631557
BUG: 18593243
Change-Id: Id4adf5d815e4d426b4182aac4d0c780f04472ae4
2014-12-08 10:37:39 -08:00
Svet Ganov
0322100598
Clear clicked nodes from the accessibiliy cache.
...
Nodes that are clicked can change state as a result of a click,
e.g. a check box. The accessibility service may decide to get the
source node from the click event to probe its state and get a
cached state since the window content changed event is after the
click one. Therefore, we have to clear the state of the click
event's source from the cache to ensure the client can query the
latest state of that source.
bug:18625975
Change-Id: I9e339c2fdcf74f260bb8ad86b9b873f7ddd75f19
2014-12-05 16:52:31 -08:00
Svet Ganov
b3fa2787ea
When accessibility on cannot click on a view covered by a HorizontalScrollView
...
In accessibility mode we send down and up events activate a view. We will later
switch to accessibility actions but for now as a bridge-gap we compute a point on
the screen where to click for activating the view. The heuristic we use has edge
cases such as a view that handles all touch events but does not have any listeners.
In this case we do not ignore the target view's area covered by a view that handles
all touch events. As a result we click on the wrong target. While we cannot solve
this generically, in the case of standard components such as HorizontalScrollView
we can.
bug:18612258
Change-Id: If8482aac0d0ea53c5c90367d099d1b8d3a4559ed
2014-12-05 13:13:15 -08:00
Filip Gruszczynski
f5d1cf0b19
am 26af8c19: am 26b18771: Merge "Private Window flag to disable touch events in WallpaperService." into lmp-sprout-dev
...
* commit '26af8c197c17487ac0400a7a3310037e57eda2a0':
Private Window flag to disable touch events in WallpaperService.
2014-12-05 02:40:38 +00:00
Filip Gruszczynski
26af8c197c
am 26b18771: Merge "Private Window flag to disable touch events in WallpaperService." into lmp-sprout-dev
...
* commit '26b187711fdf6224e14df465a58f30f510011b49':
Private Window flag to disable touch events in WallpaperService.
2014-12-05 02:34:26 +00:00
Svetoslav
ed068f7c30
am 3a0d878a: Ensure all events from a showing window are dispatched.
...
* commit '3a0d878ab56475276c61d574af7651820a5cea5a':
Ensure all events from a showing window are dispatched.
2014-12-05 00:45:51 +00:00
Svetoslav
3a0d878ab5
Ensure all events from a showing window are dispatched.
...
Accessibility services may opt-in to introspect the interactive
windows on the screen. If window introspection is enabled there
is a case where some events from a showing window are received
before the updated window state from the window manager. Now the
window manager sends over the windows before notifying the app
for the focus change.
bug:18625996
Change-Id: Ic481e01efbe12dc92f090f799feeb236672fc7b3
2014-12-05 00:37:38 +00:00
John Reck
1022888d33
resolved conflicts for merge of 203c8171 to master
...
Change-Id: I256397410c261fae049bae4572f132235be1c5c9
2014-12-04 16:06:34 -08:00
Filip Gruszczynski
b8c0694ae8
Private Window flag to disable touch events in WallpaperService.
...
Change-Id: I18b46340f89cbea0b6daeb1efe9c31656f4e1a5d
2014-12-04 15:02:18 -08:00