Tom Hudson
a5545d24c7
Merge "Remove status return from all uirenderer::Renderer functions"
2014-11-04 21:05:29 +00:00
Tom Hudson
107843de45
Remove status return from all uirenderer::Renderer functions
...
This moves the interface closer to android::Canvas. The only use of
return values was in the OpenGLRenderer subclass; that is replaced
with an internal dirty flag: returned from finish(), checked by
CanvasContext.
This is part of a series of CLs to refactor the Graphics JNI bindings.
BUG:15672762
R=djsollen@google.com ,ccraik@google.com
Change-Id: Ifd533eb8839a254b0d3a5d04fc5a2905afdfc89e
2014-11-04 15:49:44 -05:00
Alan Viverette
12a72ada52
am 954f2567: am 3fff156e: am 18b055e1: Merge "Pass surface insets from window attributes rather than params" into lmp-mr1-dev
...
* commit '954f2567f90f1fa8b3d3d7d0c426ebd35494e182':
Pass surface insets from window attributes rather than params
2014-11-04 19:45:08 +00:00
Alan Viverette
954f2567f9
am 3fff156e: am 18b055e1: Merge "Pass surface insets from window attributes rather than params" into lmp-mr1-dev
...
* commit '3fff156e13341b0bf818f83d2bb0e9404285dd0c':
Pass surface insets from window attributes rather than params
2014-11-04 19:40:08 +00:00
Alan Viverette
93cad8c4d4
Pass surface insets from window attributes rather than params
...
Params only gets set in certain situations, whereas the actual window
attributes always contain the correct surface insets.
BUG: 18214798
Change-Id: Ib5236ccf3f120b26c5abc8671bf29cb3dc269186
2014-11-04 11:27:19 -08:00
John Reck
d0f91ebaef
am 43973c9d: am 1787b4ea: Merge "Fix cancel crash" into lmp-mr1-dev automerge: 9280480
...
* commit '43973c9d732d74dec12e796fb40ae285c1687d6a':
Fix cancel crash
2014-11-03 18:41:39 +00:00
John Reck
43973c9d73
am 1787b4ea: Merge "Fix cancel crash" into lmp-mr1-dev
...
automerge: 9280480
* commit '928048040cb5cd205ff5e74f9393dca2371c519a':
Fix cancel crash
2014-11-03 18:32:20 +00:00
John Reck
1787b4ea43
Merge "Fix cancel crash" into lmp-mr1-dev
2014-11-03 18:27:41 +00:00
John Reck
55b46eff39
Fix cancel crash
...
Bug: 18059003
Change-Id: I579468fbd1645049f8fbe335faf4da1f2d3bb0a3
2014-11-03 10:00:33 -08:00
Adrian Roos
017c8dc878
am 1814f14c: am 808fe6f9: Merge "Fix colored status bar panning issues" into lmp-mr1-dev automerge: fcad9e1
...
* commit '1814f14c7d2ddfb0ccf0c8283bc7638059fc9af8':
Fix colored status bar panning issues
2014-11-03 15:53:57 +00:00
Adrian Roos
1814f14c7d
am 808fe6f9: Merge "Fix colored status bar panning issues" into lmp-mr1-dev
...
automerge: fcad9e1
* commit 'fcad9e17413da20db95a2cccbfc8641d2f30a4e6':
Fix colored status bar panning issues
2014-11-03 15:48:21 +00:00
Adrian Roos
808fe6f99f
Merge "Fix colored status bar panning issues" into lmp-mr1-dev
2014-11-03 15:44:08 +00:00
Svetoslav
e7d267e3d8
am eaaa38ae: am b1ecf0d7: Merge "Adding APIs to enable apps to influence accessibility traversal." into lmp-mr1-dev automerge: 97fcd2b
...
* commit 'eaaa38aea09e82fc557ebf0dd7fd02acfbfa1d59':
Adding APIs to enable apps to influence accessibility traversal.
2014-10-31 20:04:14 +00:00
Svetoslav
eaaa38aea0
am b1ecf0d7: Merge "Adding APIs to enable apps to influence accessibility traversal." into lmp-mr1-dev
...
automerge: 97fcd2b
* commit '97fcd2b5d15ed01b1ee27a30132e95b4733793cf':
Adding APIs to enable apps to influence accessibility traversal.
2014-10-31 19:58:57 +00:00
Svetoslav
b1ecf0d776
Merge "Adding APIs to enable apps to influence accessibility traversal." into lmp-mr1-dev
2014-10-31 19:53:32 +00:00
Alan Viverette
7bec21e627
am 1dfcd0cc: am e1f9f231: am 685a8770: Merge "Fix inset check in ThreadedRenderer" into lmp-mr1-dev
...
* commit '1dfcd0cc96d0cf50d81fe71101389a30e2bdbf2c':
Fix inset check in ThreadedRenderer
2014-10-31 00:43:33 +00:00
Alan Viverette
1dfcd0cc96
am e1f9f231: am 685a8770: Merge "Fix inset check in ThreadedRenderer" into lmp-mr1-dev
...
* commit 'e1f9f2311035177a91dd568c7ec9a821a76b9e24':
Fix inset check in ThreadedRenderer
2014-10-31 00:38:39 +00:00
Craig Mautner
585b0c3dc1
am 6a80527f: am 3bfd2b7b: am 159da3db: Merge "Add enter-animation-done callback for system windows" into lmp-mr1-dev
...
* commit '6a80527f617e603b3c4931ce88c7804d570de501':
Add enter-animation-done callback for system windows
2014-10-31 00:37:01 +00:00
Craig Mautner
6a80527f61
am 3bfd2b7b: am 159da3db: Merge "Add enter-animation-done callback for system windows" into lmp-mr1-dev
...
* commit '3bfd2b7b8fb83d47d4a624993c096e1f716df551':
Add enter-animation-done callback for system windows
2014-10-31 00:29:52 +00:00
Alan Viverette
5d53065849
am 349e93ea: am 65d792e4: am 10450405: Merge "Show scroll indicators in AlertDialog" into lmp-mr1-dev
...
* commit '349e93ea651b9153b7f7127c4f489a11df51b3aa':
Show scroll indicators in AlertDialog
2014-10-31 00:25:28 +00:00
Alan Viverette
349e93ea65
am 65d792e4: am 10450405: Merge "Show scroll indicators in AlertDialog" into lmp-mr1-dev
...
* commit '65d792e46cad687b2457ac4903cd489ec9dc77e6':
Show scroll indicators in AlertDialog
2014-10-31 00:14:38 +00:00
Alan Viverette
14d3b42d5a
am c2663dfd: am 0ab3e1df: am 4e7c562c: Merge "Update drawable state after updating tint list" into lmp-mr1-dev
...
* commit 'c2663dfdab293c233e230f637b8aaf4bc79bf8d0':
Update drawable state after updating tint list
2014-10-31 00:01:33 +00:00
Alan Viverette
9b0ac44b41
am b50a6f39: am baed009e: am 2d3443fc: Merge "Add setters for window elevation and clipToOutline properties" into lmp-mr1-dev
...
* commit 'b50a6f39ca8bafee342852de50029077be47334f':
Add setters for window elevation and clipToOutline properties
2014-10-31 00:01:21 +00:00
Alan Viverette
d99cbd96a6
am aff329f8: am 9b5a4e9d: am 66c0adcf: Merge "Ensure accessibility focus rect is drawn correctly" into lmp-mr1-dev
...
* commit 'aff329f867ef06f8caf86b60da2a14e7cec2f2bb':
Ensure accessibility focus rect is drawn correctly
2014-10-31 00:01:16 +00:00
Alan Viverette
843f1c1926
am 136974c0: am 19b1c266: am 8785a56c: Merge "Create translucent hardware renderer if surface insets are non-zero" into lmp-mr1-dev
...
* commit '136974c0668b05e9951f6f8c748d6cc42633eb39':
Create translucent hardware renderer if surface insets are non-zero
2014-10-31 00:01:11 +00:00
Svetoslav
6c70290ff0
Adding APIs to enable apps to influence accessibility traversal.
...
Accessibility focus is a token that can be put on any view and is
entirely controlled by accessibility services which decide whether
to put accessibility focus on a given view and what the traversal
strategy is.
Currently accessibility service use the view tree structure for
traversal which does not always reflect the logical order and the
user experience is sub-optimal. In such cases apps should be able
to influence how they are traversed for accessibility.
This change adds the notion of an accessibilty traversal order.
If a view has next in the traversal, an accessibility service has
to traverse the content of this view before traversing the content
next one.
This change will enable accessibility service to move away from
using the view tree and use spatial location of the content while
app developers can also influence the treversal order.
bug:17319923
Change-Id: Ib67ae4577f30b2c96575c71538dc1afdea08bfd3
2014-10-30 16:55:53 -07:00
Alan Viverette
c2663dfdab
am 0ab3e1df: am 4e7c562c: Merge "Update drawable state after updating tint list" into lmp-mr1-dev
...
* commit '0ab3e1df1de76f54296eefb1df05664950da8d2b':
Update drawable state after updating tint list
2014-10-30 23:44:49 +00:00
Alan Viverette
b50a6f39ca
am baed009e: am 2d3443fc: Merge "Add setters for window elevation and clipToOutline properties" into lmp-mr1-dev
...
* commit 'baed009eaeaacffef7cc0972517434451e357aef':
Add setters for window elevation and clipToOutline properties
2014-10-30 23:44:37 +00:00
Alan Viverette
aff329f867
am 9b5a4e9d: am 66c0adcf: Merge "Ensure accessibility focus rect is drawn correctly" into lmp-mr1-dev
...
* commit '9b5a4e9dafda3c9c5c62d3d7cf151f13c4126309':
Ensure accessibility focus rect is drawn correctly
2014-10-30 23:44:31 +00:00
Alan Viverette
136974c066
am 19b1c266: am 8785a56c: Merge "Create translucent hardware renderer if surface insets are non-zero" into lmp-mr1-dev
...
* commit '19b1c26622bd17165f2bb187fcddf036fd3f53cd':
Create translucent hardware renderer if surface insets are non-zero
2014-10-30 23:44:25 +00:00
Alan Viverette
685a8770c0
Merge "Fix inset check in ThreadedRenderer" into lmp-mr1-dev
2014-10-30 22:30:21 +00:00
Craig Mautner
159da3dba8
Merge "Add enter-animation-done callback for system windows" into lmp-mr1-dev
2014-10-30 22:12:31 +00:00
Craig Mautner
9c79504225
Add enter-animation-done callback for system windows
...
Existing hidden methods allow activities to be notified when their
windows have completed animating in. This change adds that capability
to system windows using a ViewTreeObserver callback since system
windows lack an activity token.
The first subsystem to use this is the UserSwitchingDialog which was
previously using a 250 msec timeout to dismiss the dialog. That
deadline was often missed leaving the user with no dialog on the
screen during the transition.
Fixes bug 16661752.
Change-Id: I70789e0d9c07112f275e76fb82850926305f290d
2014-10-30 14:43:18 -07:00
Alan Viverette
3aa1ffbc75
Fix inset check in ThreadedRenderer
...
BUG: 17729606
Change-Id: I9303a788968b424fd8ca27fe4bb99bab51ec34a7
2014-10-30 12:22:08 -07:00
Alan Viverette
104504053d
Merge "Show scroll indicators in AlertDialog" into lmp-mr1-dev
2014-10-30 00:18:32 +00:00
Alan Viverette
154c2c24dc
Show scroll indicators in AlertDialog
...
BUG: 16353356
Change-Id: I0307283751ccb23b9d85b0c36cb78b01243e70dd
2014-10-30 00:18:22 +00:00
Alan Viverette
4e7c562c43
Merge "Update drawable state after updating tint list" into lmp-mr1-dev
2014-10-29 22:20:18 +00:00
Alan Viverette
2d3443fc5a
Merge "Add setters for window elevation and clipToOutline properties" into lmp-mr1-dev
2014-10-29 22:05:11 +00:00
Alan Viverette
66c0adcfd4
Merge "Ensure accessibility focus rect is drawn correctly" into lmp-mr1-dev
2014-10-29 22:05:05 +00:00
Alan Viverette
79c067c54a
Add setters for window elevation and clipToOutline properties
...
These are available as XML attributes but were lacking setters. None
of the Window properties have getters, so just adding setters here.
BUG: 16847753
Change-Id: I9c032903e94b7f12125210bd73c911243612df69
2014-10-29 14:27:47 -07:00
Alan Viverette
d513379239
Update drawable state after updating tint list
...
BUG: 18155988
Change-Id: Ic536027a54c10b2082fbc22476530165b76e2c59
2014-10-29 19:46:54 +00:00
Alan Viverette
2b12b58f94
Create translucent hardware renderer if surface insets are non-zero
...
BUG: 18160604
Change-Id: Ie4483b9841bd91778659d83b154f69e777fa1dfc
2014-10-29 11:11:40 -07:00
Adrian Roos
0e7ae4efe8
Fix colored status bar panning issues
...
Bug: 17695293
Change-Id: I6a1267f8dff27e7b78ab312a71648ef16ab9483b
2014-10-29 16:37:29 +01:00
Alan Viverette
632af84924
Ensure accessibility focus rect is drawn correctly
...
Reverts previous change that draws it as part of View.draw() and ensures
that the display is always redrawn if a view has accessibility focus.
Correctly removes focus from views with accessibility focused ancestors.
Also reverts the focus indicator to use a solid line since the dotted
line looked janky.
BUG: 17675993
Change-Id: I25718334cc1ae1c2cd19d3c23af1c18c6a67504c
2014-10-28 20:57:47 +00:00
John Reck
a8f1bce008
am c7c8b069: Merge "Cleanup debug options" into lmp-mr1-dev automerge: b0aeaad automerge: 49a01fc
...
* commit 'c7c8b069407236bcc04c086912c73002d48419ef':
Cleanup debug options
2014-10-28 07:17:03 +00:00
Alan Viverette
b21e2e392b
am 7e79fd3e: Merge "Clean up some javadocs in Window.setFeature...()" into lmp-mr1-dev automerge: 253626b automerge: b64176b
...
* commit '7e79fd3ee2e9b1f27f20fec7eaa4353bbdf1bab2':
Clean up some javadocs in Window.setFeature...()
2014-10-28 07:16:51 +00:00
George Mount
5d0e36e692
am 8b92704f: am 03d5c6f5: Merge "Add resizeClip attribute to ChangeBounds." into lmp-mr1-dev automerge: 3437192
...
* commit '8b92704f021fa4f33fcac5a50442b2f5259d198b':
Add resizeClip attribute to ChangeBounds.
2014-10-28 07:15:34 +00:00
John Reck
c7c8b06940
Merge "Cleanup debug options" into lmp-mr1-dev automerge: b0aeaad
...
automerge: 49a01fc
* commit '49a01fc7dc8d2b9cc7591a94d19f3c209e470aea':
Cleanup debug options
2014-10-28 00:35:14 +00:00
Alan Viverette
7e79fd3ee2
Merge "Clean up some javadocs in Window.setFeature...()" into lmp-mr1-dev automerge: 253626b
...
automerge: b64176b
* commit 'b64176bd87e08bcb952d6c22eea7ffd9a8b6df62':
Clean up some javadocs in Window.setFeature...()
2014-10-28 00:32:19 +00:00
John Reck
b0aeaad442
Merge "Cleanup debug options" into lmp-mr1-dev
2014-10-27 23:27:30 +00:00