182093 Commits

Author SHA1 Message Date
Svet Ganov
ff9b2525db am 34123f1c: Merge "Accessibility: ignore children of a view with node provider." into lmp-mr1-dev
* commit '34123f1ce83e39a5a6045b1a90a148cd4c514e7e':
  Accessibility: ignore children of a view with node provider.
2015-02-06 21:51:15 +00:00
Svet Ganov
41daba0052 am 060bca74: Merge "Accessibility: Handle a missed case when clicking focused views." into lmp-mr1-dev
* commit '060bca7444b8bf34fa95a6a71daf72fa8a85d78e':
  Accessibility: Handle a missed case when clicking focused views.
2015-02-06 21:51:11 +00:00
Svet Ganov
34123f1ce8 Merge "Accessibility: ignore children of a view with node provider." into lmp-mr1-dev 2015-02-06 21:49:02 +00:00
Svet Ganov
060bca7444 Merge "Accessibility: Handle a missed case when clicking focused views." into lmp-mr1-dev 2015-02-06 21:46:25 +00:00
Chris Craik
117bdbcfa3 Glop ColorFilter & VertexBuffer support, initial enable
Enables Glop rendering for supported Rects and VertexBuffers
Also removes unused Query object

Change-Id: Ibe227bc362685a153159f75077664f0947764e06
2015-02-06 13:42:25 -08:00
Jason Monk
12271e2201 Merge "Remove dead/obsolete carrier label code" 2015-02-06 21:34:01 +00:00
Alan Viverette
d525762a18 Merge "Update colored button styling" 2015-02-06 20:54:45 +00:00
Yin-Chia Yeh
956c52b5a0 Camera2: doc update for HAL3.3 tonemapping change
Codegen doc change.

Change-Id: Idd5185767c177f3179e5833be3f42357a5ead25f
2015-02-06 12:53:31 -08:00
Svet Ganov
55bdb10c16 Accessibility: ignore children of a view with node provider.
A view that has an accessibility node provider should not have real children
since the provider is responsible to generate the node infos for the subtree
rooted at its hosting view. This is how the APIs are designed to work. However,
it is a common mistake and if this occurs the accessibility services
introspecting the screen get into an infinite loop.

The framework now does not add the real children of a view with a node provider
to the list of accessibility children. If the developer wants them exposed they
have to do that via the provider APIs as per contract.

bug:19297093

Change-Id: I1b01b1e4a85e1c397886fcd2506b434beb063687
2015-02-06 12:41:21 -08:00
Bryce Lee
a7e8717eb4 am 53b9fbd1: Expose userActivityTimeout through @SystemApi getter/setter.
automerge: 2820911

* commit '28209111cc74e05fb6caa3d5b1756e57639247a4':
  Expose userActivityTimeout through @SystemApi getter/setter.
2015-02-06 20:20:47 +00:00
Bryce Lee
28209111cc am 53b9fbd1: Expose userActivityTimeout through @SystemApi getter/setter.
* commit '53b9fbd1610b6d3deb837dab34fd309d515f6385':
  Expose userActivityTimeout through @SystemApi getter/setter.
2015-02-06 20:18:40 +00:00
Bryce Lee
53b9fbd161 Expose userActivityTimeout through @SystemApi getter/setter.
This reverts commit 0dad5720902fad041bc8e2221953aab6dd1d2d8f.
System api documentation is not updated under PDK builds.

Change-Id: I851bcd66e0b764265e69ac104d5604bf316d5d10
2015-02-06 12:06:34 -08:00
Jason Monk
c366060792 Remove dead/obsolete carrier label code
Change-Id: I97563150fb4284f8e6b2b1e2aaf5fcd392b4c6cf
2015-02-06 15:02:39 -05:00
Bryce Lee
404a1327e9 am 13c70441: Merge "Revert "Expose userActivityTimeout through @SystemApi getter/setter."" into lmp-mr1-modular-dev
automerge: a20e430

* commit 'a20e430d0ab8c65e392491b6d299a821c4bed50e':
  Revert "Expose userActivityTimeout through @SystemApi getter/setter."
2015-02-06 19:45:54 +00:00
Bryce Lee
a20e430d0a am 13c70441: Merge "Revert "Expose userActivityTimeout through @SystemApi getter/setter."" into lmp-mr1-modular-dev
* commit '13c7044186b90f7f63e7a17996222edfb18460f5':
  Revert "Expose userActivityTimeout through @SystemApi getter/setter."
2015-02-06 19:42:38 +00:00
Bryce Lee
13c7044186 Merge "Revert "Expose userActivityTimeout through @SystemApi getter/setter."" into lmp-mr1-modular-dev 2015-02-06 19:35:43 +00:00
Bryce Lee
0dad572090 Revert "Expose userActivityTimeout through @SystemApi getter/setter."
This reverts commit 40a0ee65f269cffa7d3fb0646bd987a69df5c2d0.

Change-Id: Ida1a40db25643f97e82d517bcf147f23e4a3a0fe
2015-02-06 19:35:33 +00:00
Bryce Lee
6531290d54 am 4a88acfc: Merge "Make THEATER_MODE_ON a System API." into lmp-mr1-modular-dev
automerge: a566973

* commit 'a5669730d0910d278fbff062c700cc43ae3c9c39':
  Make THEATER_MODE_ON a System API.
2015-02-06 19:13:03 +00:00
Bryce Lee
9cd324d158 am 4cccd58e: Merge "Expose userActivityTimeout through @SystemApi getter/setter." into lmp-mr1-modular-dev
automerge: 7b5f9cd

* commit '7b5f9cde6ac6d949d0227eb47aa2c5de4aea71d9':
  Expose userActivityTimeout through @SystemApi getter/setter.
2015-02-06 19:11:36 +00:00
Bryce Lee
a5669730d0 am 4a88acfc: Merge "Make THEATER_MODE_ON a System API." into lmp-mr1-modular-dev
* commit '4a88acfcc30544fa3424020b1c071d2954a47cb2':
  Make THEATER_MODE_ON a System API.
2015-02-06 19:09:32 +00:00
Bryce Lee
7b5f9cde6a am 4cccd58e: Merge "Expose userActivityTimeout through @SystemApi getter/setter." into lmp-mr1-modular-dev
* commit '4cccd58e4219ff1e974db201e064c85063dd262f':
  Expose userActivityTimeout through @SystemApi getter/setter.
2015-02-06 19:09:28 +00:00
Bryce Lee
4a88acfcc3 Merge "Make THEATER_MODE_ON a System API." into lmp-mr1-modular-dev 2015-02-06 19:05:45 +00:00
Bryce Lee
4cccd58e42 Merge "Expose userActivityTimeout through @SystemApi getter/setter." into lmp-mr1-modular-dev 2015-02-06 19:05:22 +00:00
Scott Kennedy
a1c14fe945 Merge "Make setOn[Long]ClickListener() take a @Nullable argument" 2015-02-06 18:55:19 +00:00
Dianne Hackborn
28fbf95fc2 Merge "First quick implementation of auto assist data." 2015-02-06 18:45:05 +00:00
Dianne Hackborn
a7bb6fbeab First quick implementation of auto assist data.
Introduce new AssistData class that contains all data
the framework automatically generates for assist.  Currently
populated with a very simple tree structure representing
the app's view hierarchy.

Reworked how we populate the class name for accessibility
info, so this is provided through a new method call on View
that subclasses can override.  This method is also used
to populate the class name in AssistData.

Change-Id: Ibd0acdc8354727d4291473283b5e4b70894905dc
2015-02-06 10:42:44 -08:00
Alan Viverette
523ef90a7f Update colored button styling
Change-Id: Idf31a31cb2e049a6e2dc002271c560315b441dfc
2015-02-06 10:26:00 -08:00
Svet Ganov
0a2cceebd5 Accessibility: Handle a missed case when clicking focused views.
The clicking logic was missing the case where a child of the accessibility
focused view reacts to the injected down up events for clicking. This
results of a whole class of views being non-interactive. Now if an event
is targeting accessibility focus and the dispatching view group has this
focus, we clear the flag before dispatching to children, so they can
handle the event rather ignoring it becuase they are not accessibility
focused.

bug:19252492

Change-Id: I6ac25bb7a50b35bb638ca4bfb9fc4198d08c2d4d
2015-02-06 10:23:33 -08:00
Neil Fuller
0b1b82473d am 022cf57f: am a08934cf: am f789d45b: Merge "Avoid static initialization of Layout from TextUtils" into lmp-mr1-dev
automerge: c63efbd

* commit 'c63efbd928cc14e32fe19b2dec41d15ffc584182':
  Avoid static initialization of Layout from TextUtils
2015-02-06 17:52:57 +00:00
Neil Fuller
c63efbd928 am 022cf57f: am a08934cf: am f789d45b: Merge "Avoid static initialization of Layout from TextUtils" into lmp-mr1-dev
* commit '022cf57f82e40a103c4a48c083a59d7fa4936668':
  Avoid static initialization of Layout from TextUtils
2015-02-06 17:51:05 +00:00
Neil Fuller
022cf57f82 am a08934cf: am f789d45b: Merge "Avoid static initialization of Layout from TextUtils" into lmp-mr1-dev
* commit 'a08934cf54e3120d5019839a4b6d553b3364e8d1':
  Avoid static initialization of Layout from TextUtils
2015-02-06 17:44:49 +00:00
Neil Fuller
a08934cf54 am f789d45b: Merge "Avoid static initialization of Layout from TextUtils" into lmp-mr1-dev
* commit 'f789d45b24acc3745ccc97adb687502d488404f6':
  Avoid static initialization of Layout from TextUtils
2015-02-06 17:37:32 +00:00
Neil Fuller
d950ad034c Avoid static initialization of Layout from TextUtils
This works around a bug in standalone (e.g. non-Zygote)
runtimes when a device is attached to a host that is running
DDM.

There is a race condition:

When the runtime receives a HELLO from DDM it calls
TextUtils.isEmpty().

Calling any TextUtils methods statically initializes
Layout. Layout has dependencies on other classes, which in
turn have dependencies on native methods that are not always
registered when the call takes place. Registration and DDM
handling are done in separate threads.

This is not a fix, merely a workaround until the race can
be resolved.

Bug: 18081539
(cherry-picked from commit d29bdb266d54b4551f42776bb790e80147a279d0)

Change-Id: Id0d8578eab9e59d479a7c1b2e7ea1890ac0c8de6
2015-02-06 17:34:37 +00:00
Neil Fuller
f789d45b24 Merge "Avoid static initialization of Layout from TextUtils" into lmp-mr1-dev 2015-02-06 17:30:47 +00:00
Kenny Guy
d22517a708 am b6332fd2: am 70fb0ab4: am 8debf213: Merge "Fix mangled javadoc for setPermittedInputMethods." into lmp-mr1-dev
automerge: afca061

* commit 'afca06105c1344dade61ec5812bf605b11de0f1c':
  Fix mangled javadoc for setPermittedInputMethods.
2015-02-06 16:44:42 +00:00
Chong Zhang
78264e1d39 am 1836f6b8: am eceae03f: am 6cad6513: Merge "reset col position to 1 on row PAC" into lmp-mr1-dev
automerge: c71d0cc

* commit 'c71d0ccfc7fa1d088d41b3ed43d84bb82e3e4d10':
2015-02-06 16:43:11 +00:00
Alan Viverette
07975da378 am bbde1213: am 80b381c0: am 9a166c7d: Merge "Mutate scroll bar drawables" into lmp-mr1-dev
automerge: c9dff4b

* commit 'c9dff4bd042382073c298e00a301e9c7383e35ee':
2015-02-06 16:41:08 +00:00
Kenny Guy
afca06105c am b6332fd2: am 70fb0ab4: am 8debf213: Merge "Fix mangled javadoc for setPermittedInputMethods." into lmp-mr1-dev
* commit 'b6332fd21a97b846015693684cee9e2af3381f0a':
  Fix mangled javadoc for setPermittedInputMethods.
2015-02-06 16:37:11 +00:00
Chong Zhang
c71d0ccfc7 am 1836f6b8: am eceae03f: am 6cad6513: Merge "reset col position to 1 on row PAC" into lmp-mr1-dev
* commit '1836f6b8f3f34ad31acc04f861c380b186e52193':
2015-02-06 16:36:50 +00:00
Alan Viverette
c9dff4bd04 am bbde1213: am 80b381c0: am 9a166c7d: Merge "Mutate scroll bar drawables" into lmp-mr1-dev
* commit 'bbde12138c748fbe136db5fa9f101ccb9c52ab7b':
2015-02-06 16:36:31 +00:00
Kenny Guy
b6332fd21a am 70fb0ab4: am 8debf213: Merge "Fix mangled javadoc for setPermittedInputMethods." into lmp-mr1-dev
* commit '70fb0ab44e1b8d56f2cbe33d73afd3897c7584d1':
  Fix mangled javadoc for setPermittedInputMethods.
2015-02-06 15:37:53 +00:00
Kenny Guy
70fb0ab44e am 8debf213: Merge "Fix mangled javadoc for setPermittedInputMethods." into lmp-mr1-dev
* commit '8debf21357477083a716275e2a32cb7169d42c47':
  Fix mangled javadoc for setPermittedInputMethods.
2015-02-06 15:28:21 +00:00
Kenny Guy
8debf21357 Merge "Fix mangled javadoc for setPermittedInputMethods." into lmp-mr1-dev 2015-02-06 15:22:23 +00:00
Narayan Kamath
7869f4c9a3 Merge "Fix breakages in update-api." 2015-02-06 13:31:02 +00:00
Narayan Kamath
0d9ada9fdd Fix breakages in update-api.
doc-comment-check was failing because a couple of javadoc comments
didn't fully qualify R.java's classname where required.

Change-Id: Id0445827e438fd4c1d6e4e9793a00a6cc9f59d3c
2015-02-06 13:14:41 +00:00
Neil Fuller
d29bdb266d Avoid static initialization of Layout from TextUtils
This works around a bug in standalone (e.g. non-Zygote)
runtimes when a device is attached to a host that is running
DDM.

There is a race condition:

When the runtime receives a HELLO from DDM it calls
TextUtils.isEmpty().

Calling any TextUtils methods statically initializes
Layout. Layout has dependencies on other classes, which in
turn have dependencies on native methods that are not always
registered when the call takes place. Registration and DDM
handling are done in separate threads.

This is not a fix, merely a workaround until the race can
be resolved.

Bug: 18081539
Change-Id: If1bd3de6597bc93da381c8f86dacf40156449561
2015-02-06 10:29:54 +00:00
Elliott Hughes
b222f6c5ba am ae0bee53: am 81b84311: Merge "Fix clang build."
automerge: cf657ad

* commit 'cf657ad46cab1c9124665e9afa6f2a89d33bba41':
  Fix clang build.
2015-02-06 05:52:05 +00:00
Elliott Hughes
cf657ad46c am ae0bee53: am 81b84311: Merge "Fix clang build."
* commit 'ae0bee53b84d4ffda84270852ace1841e13f5db8':
  Fix clang build.
2015-02-06 05:50:01 +00:00
Elliott Hughes
ae0bee53b8 am 81b84311: Merge "Fix clang build."
* commit '81b8431173837fe9ea21990948d6af30809fb056':
  Fix clang build.
2015-02-06 05:43:15 +00:00
Elliott Hughes
81b8431173 Merge "Fix clang build." 2015-02-06 05:37:33 +00:00