Alan Viverette
cb4a489fd1
am 4ecb5fb2: am 82bdfcfa: Update docs for Window.setElevation(), apply changes immediately automerge: 71922de
...
* commit '4ecb5fb288fd9994e7b2ec0091fbbcdc81f69526':
Update docs for Window.setElevation(), apply changes immediately
2015-01-13 20:33:02 +00:00
Wale Ogunwale
3c0e7e908f
am 00c85656: am 42b0d10a: am 1ea6afe1: Merge "Don\'t allow windows with invalid types to be added." into lmp-mr1-dev
...
* commit '00c8565614d3555e723ff3d8dad3af92d69d81ea':
Don't allow windows with invalid types to be added.
2015-01-13 20:32:07 +00:00
Alan Viverette
4ecb5fb288
am 82bdfcfa: Update docs for Window.setElevation(), apply changes immediately automerge: 71922de
...
* commit '82bdfcfadc17b8467a0e3c50843997e7957a9452':
Update docs for Window.setElevation(), apply changes immediately
2015-01-13 02:24:11 +00:00
Alan Viverette
82bdfcfadc
Update docs for Window.setElevation(), apply changes immediately
...
automerge: 71922de
* commit '71922de6c8e407ff24bb1a500cb53bb1a647c758':
Update docs for Window.setElevation(), apply changes immediately
2015-01-13 02:16:32 +00:00
Alan Viverette
71922de6c8
Update docs for Window.setElevation(), apply changes immediately
...
BUG: 18983689
Change-Id: I471104092d6296dc0ba2689da96783be088fbce8
2015-01-12 16:14:02 -08:00
Wale Ogunwale
00c8565614
am 42b0d10a: am 1ea6afe1: Merge "Don\'t allow windows with invalid types to be added." into lmp-mr1-dev
...
* commit '42b0d10a83dae285a3d3af9911aa35a90db203d0':
Don't allow windows with invalid types to be added.
2015-01-12 22:22:05 +00:00
Wale Ogunwale
42b0d10a83
am 1ea6afe1: Merge "Don\'t allow windows with invalid types to be added." into lmp-mr1-dev
...
* commit '1ea6afe1234b04de0f5b3f9ac5802b1c6d42e8ac':
Don't allow windows with invalid types to be added.
2015-01-12 22:15:58 +00:00
Wale Ogunwale
74bf065e43
Don't allow windows with invalid types to be added.
...
Bug: 18950225
Change-Id: Ia7ead72d036c7628e0a97f8fe9fef2a35525e4df
2015-01-12 14:01:25 -08:00
Chet Haase
5058c38a31
Add backgroundColor getter to View
...
Change-Id: I3a75169a2e91ec712fb1db4d130089a1261fc66b
2015-01-09 10:00:22 -08:00
Alan Viverette
2d4c476aca
Merge "Fix accessibility delegation"
2015-01-08 00:07:25 +00:00
Alan Viverette
a54956a0bc
Fix accessibility delegation
...
Ensures that delegate code is run last. Previously, calling the super
method from an accessibility delegate set on a widget would only run
code in the widget's parent. Next, the delegate code would run. Finally,
the widget's code would run. As a result, the widget code would override
any data supplied by the delegate.
By moving all overridden code to internal methods, we ensure that the
call chain for super includes the widget's parent code followed by the
widget's code. The delegate code will always run last.
BUG: 17641433
Change-Id: Ib9d403156c1fc4fb04f65f3c126d1277a44b3740
2015-01-07 16:05:02 -08:00
Alan Viverette
c5b95c20b6
Fix date picker color handling, expose StateSet utils in more places
...
Enabled use of color selectors for the day number text, which lets us
use the "activated" text color and push the selection background
opacity up to 100%. Also ensures the selector circle stays within the
bounds of the selected day.
BUG: 18864682
Change-Id: Ia36ea748f83e13683a1de8ac1a259d353578d61a
2015-01-07 13:57:12 -08:00
Chris Craik
a609028451
Merge "Make DisplayListRenderer inherit from Canvas, merge JNI"
2015-01-05 23:31:30 +00:00
Tom Hudson
8dfaa49042
Make DisplayListRenderer inherit from Canvas, merge JNI
...
Incrementally unify the upper layers for Skia and HWUI.
Remove redundant code from GLES20Canvas.java; instead
use inherited mNativeCanvasWrapper and superclass method
definitions.
Moves some unrelated SkPaint utility functions from Renderer
to new utils/PaintUtils.
bug: 15672762
Change-Id: I4ddd4214b8e9eeb95289d054ef423f2542bb5fa5
2015-01-05 15:25:41 -08:00
Filip Gruszczynski
2b37034c57
am 8117eda6: am 8c6b59f4: Merge "Add system api for disabling touch events in wallpaper behind the window." into lmp-mr1-dev
...
automerge: 62ab1ca
* commit '62ab1caa384fb17329891fbc24c959c7850e16c3':
Add system api for disabling touch events in wallpaper behind the window.
2015-01-05 22:59:09 +00:00
Filip Gruszczynski
62ab1caa38
am 8117eda6: am 8c6b59f4: Merge "Add system api for disabling touch events in wallpaper behind the window." into lmp-mr1-dev
...
* commit '8117eda6f18a4d388a12ab0af318c95b86280084':
Add system api for disabling touch events in wallpaper behind the window.
2015-01-05 22:56:09 +00:00
Filip Gruszczynski
8117eda6f1
am 8c6b59f4: Merge "Add system api for disabling touch events in wallpaper behind the window." into lmp-mr1-dev
...
* commit '8c6b59f46da3e65ce157fe40a08f1c1fbba3e1c2':
Add system api for disabling touch events in wallpaper behind the window.
2015-01-05 22:50:29 +00:00
Filip Gruszczynski
8c6b59f46d
Merge "Add system api for disabling touch events in wallpaper behind the window." into lmp-mr1-dev
2015-01-05 22:46:14 +00:00
Alan Viverette
8a3323adc8
am bde76419: am 1f3f47b3: Merge "Avoid double-translating View background" into lmp-mr1-dev
...
automerge: 4d41e49
* commit '4d41e49f39322ae5ceee375e515636e29ed2dfbc':
Avoid double-translating View background
2015-01-05 22:40:24 +00:00
Alan Viverette
4d41e49f39
am bde76419: am 1f3f47b3: Merge "Avoid double-translating View background" into lmp-mr1-dev
...
* commit 'bde76419c1c30aa574f8bc7b3f09f2029e080b83':
Avoid double-translating View background
2015-01-05 22:38:57 +00:00
Alan Viverette
bde76419c1
am 1f3f47b3: Merge "Avoid double-translating View background" into lmp-mr1-dev
...
* commit '1f3f47b3680547dbb764db173e02d833e12d65a2':
Avoid double-translating View background
2015-01-05 22:32:10 +00:00
Alan Viverette
b15703c9b4
Avoid double-translating View background
...
Reverse-translate the canvas before passing to Drawable.draw() so that
we don't double-apply the drawable's translation.
BUG: 18904688
Change-Id: I8450de9b240ddeae887b4e1003c0608da814a001
2015-01-05 14:20:42 -08:00
Filip Gruszczynski
fe56835934
Add system api for disabling touch events in wallpaper behind the window.
...
Bug: 18721756
Change-Id: I40b749a9916536d52042e5dd49a23575bedad754
2015-01-05 12:57:19 -08:00
Svetoslav
64e5f085a7
am 72da9ed8: am e5ea48a7: Fix a race in accessibility manager.
...
automerge: 1261ee8
* commit '1261ee87a8c781c949d8fbbe4c7990963f5a3155':
Fix a race in accessibility manager.
2014-12-29 18:32:28 +00:00
Svetoslav
1261ee87a8
am 72da9ed8: am e5ea48a7: Fix a race in accessibility manager.
...
* commit '72da9ed8867a3b3d6a9ae829b9a0ae526c16915c':
Fix a race in accessibility manager.
2014-12-29 18:30:47 +00:00
Svetoslav
72da9ed886
am e5ea48a7: Fix a race in accessibility manager.
...
* commit 'e5ea48a7fe295a2815bab57f2e870901ce48b312':
Fix a race in accessibility manager.
2014-12-29 18:23:54 +00:00
Svetoslav
e5ea48a7fe
Fix a race in accessibility manager.
...
The accessibility manager has APIs for clients to observe changes
in accessibility, touch exploration, and high contrast states. The
notification of the listeners has to be done with no lock held but
in an attempt to do that the code was incorrectly iterating over
the copy on write collection.
bug:18840784
Change-Id: I6803ff1657fbf6b0cc7936671d5bbdebb5cbf6bb
2014-12-29 09:40:46 -08:00
Kris Giesing
0dd962db3e
Merge "Fix minor spelling and grammar errors in public JavaDoc"
2014-12-19 23:56:44 +00:00
Svet Ganov
be2fba6232
am f64d26fc: am e130d6c1: Merge "Remove a bad heuristic when determining click location for accessibility." into lmp-mr1-dev
...
automerge: 19ecc78
* commit '19ecc7847faf0f6800c342eab806358d68b610c1':
Remove a bad heuristic when determining click location for accessibility.
2014-12-19 22:44:52 +00:00
Svet Ganov
19ecc7847f
am f64d26fc: am e130d6c1: Merge "Remove a bad heuristic when determining click location for accessibility." into lmp-mr1-dev
...
* commit 'f64d26fce002019f390b4f9f37c8edf965c362c5':
Remove a bad heuristic when determining click location for accessibility.
2014-12-19 22:43:30 +00:00
Svet Ganov
f64d26fce0
am e130d6c1: Merge "Remove a bad heuristic when determining click location for accessibility." into lmp-mr1-dev
...
* commit 'e130d6c14ae2d4a6f703ef452a7e5741d84936a0':
Remove a bad heuristic when determining click location for accessibility.
2014-12-19 22:36:56 +00:00
Svet Ganov
257ffbda60
Remove a bad heuristic when determining click location for accessibility.
...
As a bride-gap solution to click on partially covered views in accessibility
mode we compute a point on the screen where to send a down/up event pair.
A heuristic we used was that if the action target is covered by a view that
that has a touch listener we consider the target obscured by the one with
the listener. However, this generates false positives, for example the target
is covered by a view that observers touches for scrolling but not clicking.
bug:18782023
Change-Id: I31ff34011d45667f1eddda47373ec00e4a23dbf6
2014-12-19 11:59:21 -08:00
Alan Viverette
33e3cdab5b
Allow theme attributes in <include> tag, fix <tag> context
...
BUG: 17658979
Change-Id: I79a55ee53bff5ea6efb04997973a9aa810ff0950
2014-12-17 15:43:29 -08:00
Alan Viverette
acf874112a
Merge "Revert "Allow theme attributes in <include> tag, fix <tag> context""
2014-12-17 18:56:50 +00:00
Alan Viverette
a9783bffcc
Revert "Allow theme attributes in <include> tag, fix <tag> context"
...
This reverts commit 866180198a .
Change-Id: Ia77131bf78b53a4360c7fc36d295994119c296cc
2014-12-17 18:56:32 +00:00
Kris Giesing
8b6216d314
Fix minor spelling and grammar errors in public JavaDoc
...
b/18777215
Change-Id: I2403db4fb94144f0a71243c6b74076482defc9a4
2014-12-16 17:23:15 -08:00
Alan Viverette
b910bd7615
Merge "Allow theme attributes in <include> tag, fix <tag> context"
2014-12-16 18:01:26 +00:00
Alan Viverette
866180198a
Allow theme attributes in <include> tag, fix <tag> context
...
BUG: 17658979
Change-Id: I1896ef88ee850f665c7cbbec522e1942897f91e9
2014-12-15 16:58:19 -08:00
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