1232 Commits

Author SHA1 Message Date
Jeff Brown
1957fd271f Merge "Add public API to Choreographer." into jb-dev 2012-05-21 18:32:26 -07:00
Jeff Brown
cae804901e Add public API to Choreographer.
The API allows applications to post FrameCallbacks that will
run on vsync and that are provided with the frame time.

Change-Id: Ieb39fcdd085ef8a57805b8f78e7a307f416ff21d
2012-05-21 18:15:29 -07:00
Romain Guy
abafe372ee am 6fa51de8: am 46a8b1ac: Merge "Remove unused, obsolete debug code" into jb-dev
* commit '6fa51de80bae65a93346ed18628010a0867607cc':
  Remove unused, obsolete debug code
2012-05-21 14:32:43 -07:00
Romain Guy
fc0c048ef4 am c301e78c: am 9579bf82: Merge "Gallery, we need to talk..." into jb-dev
* commit 'c301e78c78188803137e2b9abfa27cd0f1ffaff5':
  Gallery, we need to talk...
2012-05-21 14:27:40 -07:00
Romain Guy
13b907353f Remove unused, obsolete debug code
All these features have either been abandonned and left un-maintained
for years or can be replaced by systrace.

Change-Id: I42e4579a8078744047e5fe08a7a15254970b09bc
2012-05-21 13:29:06 -07:00
Dianne Hackborn
bad4c4bf71 am ccf4e2f7: am abe39277: Merge "Fix issue #6515427: Add android.hardware.television and fix..." into jb-dev
* commit 'ccf4e2f71b65ace6d55c1e8513dd60b1123805da':
  Fix issue #6515427: Add android.hardware.television and fix...
2012-05-21 12:43:35 -07:00
Jean-Michel Trivi
33cc232f74 am e215af22: am c79a9eac: Merge "New action and extra in RecognizerIntent for "hands free" voice search" into jb-dev
* commit 'e215af22bfbb1f1322be07f43f03183daca21e93':
  New action and extra in RecognizerIntent for "hands free" voice search
2012-05-21 12:42:46 -07:00
Dianne Hackborn
35013d0e8b Merge "DO NOT MERGE: Remove a few left-over layout direction things." into jb-dev 2012-05-18 18:04:11 -07:00
Dianne Hackborn
39af624f31 DO NOT MERGE: Remove a few left-over layout direction things.
Change-Id: Id66b171594af939df4716aa0e0baa25fe47eecee
2012-05-18 17:34:06 -07:00
Romain Guy
5a418c771d Gallery, we need to talk...
Change-Id: Ie4b62df03c27161565d303d11447e3d7ff3115c4
2012-05-18 17:09:53 -07:00
Dianne Hackborn
abe3927701 Merge "Fix issue #6515427: Add android.hardware.television and fix..." into jb-dev 2012-05-17 18:18:27 -07:00
Dianne Hackborn
0cf2c8a533 Fix issue #6515427: Add android.hardware.television and fix...
...logic for notouch in Configuration

Added new TELEVISION feature.

We now force the configuration to "television" if the TELEVISION
feature is set, and "notouch" if the TOUCHSCREEN feature is not set.

Also cleaned up documentation, deprecated some configurations that
are not used.

Change-Id: If1c7a284b580a8a66bda2a75f0c7fa841b3dc9b7
2012-05-17 18:11:14 -07:00
Jean-Michel Trivi
482c9bb390 New action and extra in RecognizerIntent for "hands free" voice search
New action and extra for android.speech.RecognizerIntent:
  ACTION_VOICE_SEARCH_HANDS_FREE
  EXTRA_SECURE

Change-Id: I1f390ede4f4087bae1781347bb211dc0a093e857
2012-05-17 15:43:40 -07:00
Dianne Hackborn
7ba90544d9 am a15ebaa2: am 79f5777d: Merge "A few odds and ends." into jb-dev
* commit 'a15ebaa25c93c750c22e80498c2415b2af0f2f3e':
  A few odds and ends.
2012-05-15 18:20:45 -07:00
Dianne Hackborn
e302a16235 A few odds and ends.
- Add documentation on "television" UI mode.
- Tweak new documentation and implementation around propagating
  URI grants through choosers.
- Add new activity launch flag for closing system dialogs.

Change-Id: I978c05f0dc3d16e1c55d43631828b9efa6335b19
2012-05-15 14:58:32 -07:00
Jeff Brown
179817387b am f4df93ce: am 2f095760: Rename kcm attribute to keyboardLayout.
* commit 'f4df93cec62861e3f185979612360c27dd80e043':
  Rename kcm attribute to keyboardLayout.
2012-05-14 07:47:52 -07:00
Jeff Brown
2f09576074 Rename kcm attribute to keyboardLayout.
Bug: 6478076
Change-Id: I7fc0d8eb36d03a628d070f8fd6ea1e1464b1a163
2012-05-11 12:32:56 -07:00
Raph Levien
2ab6568046 resolved conflicts for merge of a9cc30ce to master
Change-Id: I507bd7a4650f9a7bfe6a0ad7bb8dd4067adb6a8b
2012-05-11 10:43:39 -07:00
Raph Levien
75ef98f821 Merge "Add fontFamily XML attribute to select font family by string" into jb-dev 2012-05-11 09:31:22 -07:00
Dianne Hackborn
0ecbdb3c16 resolved conflicts for merge of ef9876a6 to master
Change-Id: Ib047baa2f6746f2a069ce9ff1be2d71c450a0932
2012-05-10 23:10:32 -07:00
Dianne Hackborn
fa61f0b2e2 JellyBean is now 4.1.
Change-Id: Ie37a7c4356d593010686d5dc7d6e715d30099e1e
2012-05-10 19:02:19 -07:00
Dianne Hackborn
50d9921502 am de888fec: am 255d1e15: Merge "Fix issue #6475693: OnSystemUiVisibilityChangeListener reporting..." into jb-dev
* commit 'de888fec6b7c2f2c9a32a7e9faf38083f67da4d8':
  Fix issue #6475693: OnSystemUiVisibilityChangeListener reporting...
2012-05-10 15:40:35 -07:00
Dianne Hackborn
255d1e1540 Merge "Fix issue #6475693: OnSystemUiVisibilityChangeListener reporting..." into jb-dev 2012-05-10 15:32:32 -07:00
Dianne Hackborn
cf67578c7f Fix issue #6475693: OnSystemUiVisibilityChangeListener reporting...
...incorrect visibility when the ActionBar overflow menu is opened

Don't report layout flags in system UI visibility callback.  Update
docs to reflect this.

Change-Id: Icfa411b5537de037cafbcac04991101e8b9138c4
2012-05-10 15:07:24 -07:00
Svetoslav Ganov
c69daa92bb Updating the APIs to fix the build.
Change-Id: I272fba007079fb67e0a37a89042e7b6e7fc5fbb6
2012-05-10 14:19:24 -07:00
Svetoslav Ganov
3ec2e1b94a 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

Conflicts:

	api/current.txt
2012-05-10 12:57:46 -07:00
Jesse Wilson
bb0018d060 am 36b6999b: am 822b72ef: Merge "Rename Uri.normalize() to Uri.normalizeScheme()." into jb-dev
* commit '36b6999bf12866679b80b03ada1f20f516b35904':
  Rename Uri.normalize() to Uri.normalizeScheme().
2012-05-10 12:46:00 -07:00
Svetoslav Ganov
86ba4aaa71 am 37fd7976: am a1dc761c: Adding scroll actions to accessibility node info.
* commit '37fd797699eb8e481d69f7f5a19cd05b8a5b7170':
  Adding scroll actions to accessibility node info.
2012-05-10 12:43:12 -07:00
Jesse Wilson
822b72efd8 Merge "Rename Uri.normalize() to Uri.normalizeScheme()." into jb-dev 2012-05-10 12:39:37 -07:00
Svetoslav Ganov
a1dc761c83 Adding scroll actions to accessibility node info.
1. Scrolling actions are crucial for enabling a gesture based
   traversal of the UI and specifically scrollable containers
   especially lists and anything backed by an adapter. Since
   accessibility focus can land only attached views, it cannot
   visit views for adapter items not shown on the screen.
   Auto scrolling the list as a result of putting access focus
   ot a list item does not work well since the user may get
   trapped in a long list. Adding an accessibility node provider
   to emit virtual views for one view before the first and one
   after the last is complex and suffers the limitation of trapping
   the user. Accessibility service need an explicit scroll actions
   which may be performed upon an explicit user action. Hence,
   the user is informed for the start/end of the visible part of
   the list and he makes a deliberate choice to scroll. This will
   benefit also people developing Braille devices since they can
   scroll the content without telling the user to stop using the
   Braille controller and take the device out of his pocket to scroll
   and go back to the Braille controller.

NOTE: Without these action large portions of the screen will be
    hard to access since users will have to touch and explore to
    find and scroll the list.

Change-Id: Iafcf54d4967893205872b3649025a4e347a299ed
2012-05-10 12:28:04 -07:00
Daniel Sandler
ba32499a68 am d634b77b: am a4487e1b: Merge "Clean up API docs for Notification." into jb-dev
* commit 'd634b77bbf838e92716d03879e77f203c86c2fc6':
  Clean up API docs for Notification.
2012-05-10 11:57:59 -07:00
Dianne Hackborn
5545e7b1c4 am a0c24917: am f4299bd1: Whoops forgot to add current.txt. :(
* commit 'a0c2491751949170884651c445c74a2e9946c973':
  Whoops forgot to add current.txt. :(
2012-05-10 11:39:18 -07:00
Dianne Hackborn
d41bf1a287 am 014afea3: am a482d366: Merge "Fixed typo in findAccessibilityFocus API." into jb-dev
* commit '014afea3cec7ff93d195753103478826796c310f':
  Fixed typo in findAccessibilityFocus API.
2012-05-10 11:39:14 -07:00
Dianne Hackborn
d293b4b339 am 1ccc8953: am e2c7e2ad: Merge "Add compression level key for FLAC encoding" into jb-dev
* commit '1ccc8953a0ef17076fc2f8088159556c70fbb9c5':
  Add compression level key for FLAC encoding
2012-05-10 11:38:59 -07:00
Dianne Hackborn
58d4f2e36f am e2e03913: am dd79ae6b: Merge "Add infrastructure for accessing "unstable" content providers." into jb-dev
* commit 'e2e0391389fce1a9fd9d5c5442ba1901b6d96211':
  Add infrastructure for accessing "unstable" content providers.
2012-05-10 11:38:52 -07:00
Dianne Hackborn
ba83ac0093 am e6f6cd69: am 78fd4a14: Merge "Remove auto-brightness adjustment knob." into jb-dev
* commit 'e6f6cd69ff683ec6663bf004a08edcaa456c7ea5':
  Remove auto-brightness adjustment knob.
2012-05-10 11:38:42 -07:00
Jeff Brown
44cc5dc7ae am 4830ab12: am b3e9ee23: Merge "Deprecate certain AbstractCursor fields." into jb-dev
* commit '4830ab12b46d88fb687bf4043b55c939ea06c6b7':
  Deprecate certain AbstractCursor fields.
2012-05-10 11:38:31 -07:00
Irfan Sheriff
29001bba2e am 43f863ba: am c12a2446: Merge "Use Map for DnsSd TXT record" into jb-dev
* commit '43f863bae6a6bafb4bd3eaf8715565ec74e89ca7':
  Use Map for DnsSd TXT record
2012-05-10 11:38:20 -07:00
Jesse Wilson
abc43ddd8a Rename Uri.normalize() to Uri.normalizeScheme().
Change-Id: I67839656c7c1c16a5376c9894d699d2bad3c7a5c
2012-05-10 14:31:17 -04:00
Daniel Sandler
d33b803b6b Clean up API docs for Notification.
Bug: 6427241
Bug: 6427245
Bug: 6427814
Change-Id: I91d741513e3b345d2b9f28ad0a1bf11b0a898076
2012-05-10 13:15:37 -04:00
Dave Burke
7054b486a3 am 7156645c: am 2ed09ea4: Merge "GFX api cleanup 2 of 2" into jb-dev
* commit '7156645c58d1489b87cf9ecf00cbb4d073d12534':
  GFX api cleanup 2 of 2
2012-05-10 09:33:30 -07:00
Raph Levien
d570e8987a Add fontFamily XML attribute to select font family by string
Change-Id: I0b649528d3d9888e3561a1a3907a6b6ee2e30238
2012-05-09 23:18:42 -07:00
Dianne Hackborn
f4299bd185 Whoops forgot to add current.txt. :(
Change-Id: I7efdd45cb9873866559c858c47d660deef06ce24
2012-05-09 21:58:50 -07:00
Dianne Hackborn
a482d36635 Merge "Fixed typo in findAccessibilityFocus API." into jb-dev 2012-05-09 21:40:00 -07:00
Dianne Hackborn
e2c7e2adc0 Merge "Add compression level key for FLAC encoding" into jb-dev 2012-05-09 21:38:57 -07:00
alanv
57aab75544 Fixed typo in findAccessibilityFocus API.
Change-Id: I3ca1448792a1b712f781c1bfa73823ca08ea3d39
2012-05-09 19:52:29 -07:00
Jean-Michel Trivi
08fb063f07 Add compression level key for FLAC encoding
Change-Id: Ic4c32694841b6f37ca44061d14bb81fc267696cc
2012-05-09 19:16:14 -07:00
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