4140 Commits

Author SHA1 Message Date
Dianne Hackborn
dd79ae6b72 Merge "Add infrastructure for accessing "unstable" content providers." into jb-dev 2012-05-09 18:30:23 -07:00
Dianne Hackborn
652b6d1e59 Add infrastructure for accessing "unstable" content providers.
We have an API and some stuff that purports to this, but no real
implementation yet.

Change-Id: I93555440014a50fdf79fa3f65318d90fb82265b4
2012-05-09 18:18:40 -07:00
Dianne Hackborn
78fd4a14dd Merge "Remove auto-brightness adjustment knob." into jb-dev 2012-05-09 18:03:12 -07:00
Jeff Brown
b3e9ee2379 Merge "Deprecate certain AbstractCursor fields." into jb-dev 2012-05-09 17:35:18 -07:00
Irfan Sheriff
c12a244632 Merge "Use Map for DnsSd TXT record" into jb-dev 2012-05-09 16:37:11 -07:00
Dianne Hackborn
518a3d82f7 Remove auto-brightness adjustment knob.
Not yet ready for release.

Change-Id: I75bc87f35af47c6baac1f26953d8bf3e38062c92
2012-05-09 16:30:49 -07:00
Irfan Sheriff
527ba07b63 Use Map for DnsSd TXT record
Bug: 6434844
Change-Id: I767077585f501b46026ed34ec3e778d3e53209cc
2012-05-09 16:25:00 -07:00
Svetoslav Ganov
e4abc512aa Remove activation gestures form reported and add a touch explore requesting flag.
1. Delegating activation gestures has several issues that we should
   decide how to handle if possible before allowing an accessibility
   service to take over them:

   A) It is needed that every view than can be clicked or long pressed on
      reacts to such as a response to calling performClick and performLongPress
      which is not necessary true since the view may watch the touch
      events and do its own click long click detection. As a result it may
      be possible that there are view a user cannot interact with in
      touch exploration mode but can if not in that mode.

   B) Clicking or long pressing on a different location in a view may yield
      different results, for example NumberPicker. Ideally such views have
      to implement AccessibilityNodeProvide which provider handles correctly
      the request for click long press on virtual nodes. Some apps however
      just fire different hover accessibility events when the user is over
      a specific semantic portion of the view but do not provide virtual
      nodes. Hence, a user will not be able to interact with such semantic
      regions but the system can achieve that by sending the click/long click
      at the precise location in the view that was last touch explored.

2. Adding a flag on accessibility service info to request explore by touch
   mode. There is no need to put the device in this mode if node of the currently
   enabled accessibility services supports it. Now the problem is inverted and
   the service has to explicitly state its capability.

3. Fixing a bug where includeImportantViews was ignored for automation
   services.

Change-Id: I3b29a19f24ab5e26ee29f974bbac2197614c9e2a
2012-05-09 16:17:20 -07:00
Dave Burke
2ed09ea41f Merge "GFX api cleanup 2 of 2" into jb-dev 2012-05-09 15:07:26 -07:00
Jeff Brown
7873d5b3ff Deprecate certain AbstractCursor fields.
Bug: 6353797
Change-Id: I52b67f35c867378849ceb77356d0065161157ac9
2012-05-09 14:32:14 -07:00
Irfan Sheriff
0280e9cf8f am 1a11e33b: am 9669a0ce: Merge "API review fixes" into jb-dev
* commit '1a11e33b91daeed22eef42936233e0751e56f4b8':
  API review fixes
2012-05-09 14:09:20 -07:00
Irfan Sheriff
9669a0ce57 Merge "API review fixes" into jb-dev 2012-05-09 14:04:04 -07:00
Andreas Huber
610ac933fc am 039495d3: am ea86b36f: Merge "Remove SEEK_CLOSEST constant from MediaExtractor, its implementation makes no" into jb-dev
* commit '039495d3dc19b96e3953fde81b74c44d0ac5c2f0':
  Remove SEEK_CLOSEST constant from MediaExtractor, its implementation makes no
2012-05-09 13:27:03 -07:00
Andreas Huber
ea86b36f80 Merge "Remove SEEK_CLOSEST constant from MediaExtractor, its implementation makes no" into jb-dev 2012-05-09 13:20:32 -07:00
Irfan Sheriff
22af38c526 API review fixes
- Remove the notion of channel from an application perspective
- Remove the use of DnsSd as part of API and add a protocol type to allow
future extensions
- Use the listener object as a handler for stop and unregister operations. Also,
we now allow multiple active discovery operations.
- Remove init/deinit operations in favour of setting up construction

Bug:6434844
Change-Id: Id15521d571aac9c4053d81184ad66dfc54f636de
2012-05-09 11:48:42 -07:00
Andreas Huber
f86374adec Remove SEEK_CLOSEST constant from MediaExtractor, its implementation makes no
sense for the java API.

Change-Id: I3f2eabb5ca5ffb6c1f03141bfd303310111e8774
related-to-bug: 6276111
2012-05-09 11:32:51 -07:00
Stephen Hines
3db194e9e0 am 218c0899: am 794db6cb: Merge "GFX api cleanup 1.5 of 2" into jb-dev
* commit '218c0899bdea2395f1fe56e1eecc108b633e0da6':
  GFX api cleanup 1.5 of 2
2012-05-09 10:49:44 -07:00
Stephen Hines
794db6cbac Merge "GFX api cleanup 1.5 of 2" into jb-dev 2012-05-09 10:26:36 -07:00
Svetoslav Ganov
fc93c0cadf am 939a0908: am 2aaa6bbd: Merge "Renaming the constants for activation and long press." into jb-dev
* commit '939a09089f7b0950fb21aa9c70ce48aadcb4c81f':
  Renaming the constants for activation and long press.
2012-05-09 10:10:54 -07:00
Jason Sams
ef63d09411 am 0916b463: am 48250c27: Merge "GFX api cleanup 1 of 2" into jb-dev
* commit '0916b463598a99400840c5d55a443bee2446b626':
  GFX api cleanup 1 of 2
2012-05-09 10:10:45 -07:00
Stephen Hines
eb39c4bafa am 9d05bd8c: am 1d56afc6: Merge "Revert "Deprecate"" into jb-dev
* commit '9d05bd8c67b6c01436bfdde13ef9fe61cf9f33e9':
  Revert "Deprecate"
2012-05-09 10:09:50 -07:00
Svetoslav Ganov
2da197dff2 am aecb9b59: am 59f3f585: Merge "Add performAccessibilityAction to AccessibilityDelegate." into jb-dev
* commit 'aecb9b59e6c9e9a864bf4b302f978fb950df09ff':
  Add performAccessibilityAction to AccessibilityDelegate.
2012-05-09 10:09:44 -07:00
Svetoslav Ganov
eacfff7f47 am c2f5e797: am 6704c233: Merge "AccessibilityNodeInfo for visible views should reported." into jb-dev
* commit 'c2f5e797506fbc4235d4940846f3e2110e67daa6':
  AccessibilityNodeInfo for visible views should reported.
2012-05-09 10:09:32 -07:00
Jeff Brown
8fd851709f am a394efa3: am 947f1c8d: Merge "Move CancellationSignal to android.os package." into jb-dev
* commit 'a394efa33531ce36c432872ec56ad0c93a9999e7':
  Move CancellationSignal to android.os package.
2012-05-09 10:09:20 -07:00
Jeff Brown
7a8c867d09 am 05f5976a: am 9cc5e767: Merge "Hide SET_KEYBOARD_LAYOUT permissions." into jb-dev
* commit '05f5976abe6c13f47e1923503814bdc0cac76aed':
  Hide SET_KEYBOARD_LAYOUT permissions.
2012-05-09 10:08:35 -07:00
Svetoslav Ganov
4833ca2903 am 755b2146: am b2ee0d57: Merge "Text traversal at various granularities." into jb-dev
* commit '755b2146735c15deb0eb611430a7da1e363d82a1':
  Text traversal at various granularities.
2012-05-09 10:08:03 -07:00
Jason Sams
d4ca991098 GFX api cleanup 2 of 2
Change-Id: Ie928b8ee7d31fcaa26fcad9a2548581bb8395a61
2012-05-08 19:02:07 -07:00
Jason Sams
e619de6a4e GFX api cleanup 1.5 of 2
Change-Id: Ib31332ae0b7a6059d4971ea616089cd382ef6895
2012-05-08 18:40:58 -07:00
Svetoslav Ganov
2aaa6bbd53 Merge "Renaming the constants for activation and long press." into jb-dev 2012-05-08 18:21:02 -07:00
Jason Sams
65c80f8247 GFX api cleanup 1 of 2
Change-Id: Ib85784c18b1647e51f1d7cf2a4c956d17e1d2e3c
2012-05-08 17:30:26 -07:00
Svetoslav Ganov
87bd0dccf7 Renaming the constants for activation and long press.
1. We will have a double tap to activate an item and
   tap and hold to perform a long press.

Change-Id: Ibd9d8774e5a4693d8868d1128e55a82ff0c3a80b
2012-05-08 14:29:33 -07:00
Stephen Hines
1d56afc6ac Merge "Revert "Deprecate"" into jb-dev 2012-05-08 14:25:49 -07:00
Svetoslav Ganov
59f3f5853c Merge "Add performAccessibilityAction to AccessibilityDelegate." into jb-dev 2012-05-08 12:52:57 -07:00
Svetoslav Ganov
6704c23339 Merge "AccessibilityNodeInfo for visible views should reported." into jb-dev 2012-05-08 11:32:20 -07:00
Philip Milne
3ed259a43c am 2a52d26c: am 7bb66c9c: Hide optical bounds feature for JB.
* commit '2a52d26c0b917de8b1e4d20ebad87b9b3825f6ca':
  Hide optical bounds feature for JB.
2012-05-08 11:32:06 -07:00
Jeff Brown
947f1c8db0 Merge "Move CancellationSignal to android.os package." into jb-dev 2012-05-08 10:51:12 -07:00
Jeff Brown
a7771df369 Move CancellationSignal to android.os package.
Bug: 6427830
Change-Id: I39451bb1e1d4a8d976ed1c671234f0c8c61658dd
2012-05-07 20:06:46 -07:00
Jeff Brown
9cc5e7678d Merge "Hide SET_KEYBOARD_LAYOUT permissions." into jb-dev 2012-05-07 19:29:55 -07:00
Jeff Brown
507f5586fb Hide SET_KEYBOARD_LAYOUT permissions.
Bug: 6427036
Change-Id: Idbb442ad8071b2ca4acf247b135c7aba0830cf70
2012-05-07 19:06:06 -07:00
alanv
8eeefefc84 Add performAccessibilityAction to AccessibilityDelegate.
Change-Id: I43dff2ced959af5d8a9ce9ed18858a6e74cb35c6
2012-05-07 18:42:31 -07:00
Svetoslav Ganov
0a1bb6dffc AccessibilityNodeInfo for visible views should reported.
1. AccessibilityNodeInfos for visible views should always
   be reported and the clients should be able to check
   whether that node info is shown to the user. For example,
   focus search may return a node that is not on the screen
   and the accessibility layer may decide to give it focus
   which scroll the source view in the screen.

bug:6421991

Change-Id: Idc1fd8512dda767abe802aacedb0c69582e6fc2a
2012-05-07 18:22:59 -07:00
Svetoslav Ganov
b2ee0d5767 Merge "Text traversal at various granularities." into jb-dev 2012-05-07 17:54:31 -07:00
Svetoslav Ganov
6d17a936f7 Text traversal at various granularities.
1. Implementing text content navigation at various granularities.
   For views that have content description but no text the
   content description is the traversed at character and word
   granularities. For views that inherit from TextView the
   supported granularities are character, word, line, and page.

bug:5932640

Conflicts:

	core/java/android/view/View.java

Conflicts:

	core/java/android/view/View.java

Change-Id: I66d1e16ce9ac5d6b49f036b17c087b2a7075e4c0
2012-05-07 17:31:52 -07:00
Stephen Hines
9c9ad3f8c2 Revert "Deprecate"
This reverts commit a0c2eb27b408660b02fa248943166d6c7e447908.

Conflicts:

	api/current.txt
	graphics/java/android/renderscript/Element.java
	graphics/java/android/renderscript/Script.java

Change-Id: I3c8fa62b12da95b3dbc842b5284dbed65d3cf963
2012-05-07 15:34:29 -07:00
Philip Milne
7bb66c9cae Hide optical bounds feature for JB.
Change-Id: I1fe38e9c64515acd550baa930ebc0af4c139bf40
2012-05-07 11:42:57 -07:00
Dianne Hackborn
c77218e6b0 am 25fc66b8: am 7bfa1457: Merge "Finish up issue #6249094: Display permissions based on relevance to private data" into jb-dev
* commit '25fc66b898a35796af65ec7e3eb9b1584588e063':
  Finish up issue #6249094: Display permissions based on relevance to private data
2012-05-06 17:55:04 -07:00
Dianne Hackborn
7bfa14570e Merge "Finish up issue #6249094: Display permissions based on relevance to private data" into jb-dev 2012-05-06 17:49:53 -07:00
Dianne Hackborn
99222d212f Finish up issue #6249094: Display permissions based on relevance to private data
Added bitmaps for permission group icons.  We had to pick either
icons for a dark or light background, and it had to be light for
settings, so the installer theme has gone back to dark.

Tweaked the permission groups to match the icons.

Redid the group priorities to make them correct (they were written
with higher priorities being less important).

Fixed bug where priority was not being used for system apps.

Change-Id: Ia3d3f0c1614a11b4cfd11682ce9e6c9f87d75c06
2012-05-06 17:45:13 -07:00
Svetoslav Ganov
475fc46842 am 9879659a: am 2551e5a1: Merge "API REVIEW: android.view.accessibility" into jb-dev
* commit '9879659a1cbfe404c725df1e57ff92f151bf65bc':
  API REVIEW: android.view.accessibility
2012-05-06 14:59:51 -07:00
Svetoslav Ganov
2551e5a1d9 Merge "API REVIEW: android.view.accessibility" into jb-dev 2012-05-06 14:53:27 -07:00