Commit Graph

20566 Commits

Author SHA1 Message Date
John Reck
26ed05119e am 5dd1916c: Merge "Fix text selection drawing on SW"
* commit '5dd1916c247f27284e4af8be5125633fddae6452':
  Fix text selection drawing on SW
2011-09-16 10:41:11 -07:00
John Reck
5dd1916c24 Merge "Fix text selection drawing on SW" 2011-09-16 10:39:16 -07:00
Mark Brophy
8784fde879 am 1d8cac89: Merge "Fix typo in SearchManager javadoc."
* commit '1d8cac89aa19fd34c22fff5f0678959f6b10aea7':
  Fix typo in SearchManager javadoc.
2011-09-16 05:51:11 -07:00
Mark Brophy
1d8cac89aa Merge "Fix typo in SearchManager javadoc." 2011-09-16 05:47:49 -07:00
Mark Brophy
de2ba4c868 Fix typo in SearchManager javadoc.
Change-Id: I40e1879779e51414f9a5b937209b9decbfb11693
2011-09-16 12:27:20 +01:00
Svetoslav Ganov
8893834f2b am fd4d90b8: am 4e3bee76: Merge "MiltiWaveView accessibility improvement." into ics-factoryrom
* commit 'fd4d90b8204d9a4e2ab8ce4974019b8d81287ad8':
  MiltiWaveView accessibility improvement.
2011-09-15 18:56:47 -07:00
Svetoslav Ganov
fd4d90b820 am 4e3bee76: Merge "MiltiWaveView accessibility improvement." into ics-factoryrom
* commit '4e3bee760a7f00e6ef3c89b937558df1ee6fcda0':
  MiltiWaveView accessibility improvement.
2011-09-15 18:54:15 -07:00
Svetoslav Ganov
2a671ac905 MiltiWaveView accessibility improvement.
Now hover events behave s motion events in touch exploration mode.
The use no longer needs to find the handle and tap + hold to engage.
It is enough to move on top of it.

Now the handle is engaged, i.e. can be dragged, when the user passes
on top of it for both accessibility enabled and disabled.

bug:5253968

Change-Id: If70b44cb6db8a38432216b46ecddefb3e2bc3825
2011-09-15 18:21:37 -07:00
Dianne Hackborn
59153f31c7 am 5adea623: Merge "Fix issue #5300880: setSystemUiVisibility() always triggers a surface reallocation"
* commit '5adea623ee62d811a7772fcd7a6dcea223d0c00d':
  Fix issue #5300880: setSystemUiVisibility() always triggers a surface reallocation
2011-09-15 17:11:39 -07:00
Dianne Hackborn
5adea623ee Merge "Fix issue #5300880: setSystemUiVisibility() always triggers a surface reallocation" 2011-09-15 17:09:01 -07:00
Fred Quintana
9d286aaf9a am 569584be: Merge "Add a generic account chooser/add account flow for apps."
* commit '569584be0e51ca6aceb53aa81b5ecac23d1ca55b':
  Add a generic account chooser/add account flow for apps.
2011-09-15 16:47:52 -07:00
Fred Quintana
569584be0e Merge "Add a generic account chooser/add account flow for apps." 2011-09-15 16:44:53 -07:00
Fred Quintana
89e063113c Add a generic account chooser/add account flow for apps.
The activity is launched as follows:
  Account account1 = new Account("account1@gmail.com", "com.google")
  Account account2 = new Account("account2@gmail.com", "com.google")
  ArrayList<Account> accounts = new ArrayList<Account>();
  accounts.add(account1);
  accounts.add(account2);
  String[] accountTypes = new String[]{"com.google", "com.android.exchange"};
  Bundle addAccountOptions = null;
  Intent intent = AccountManager.newChooseAccountIntent(account1, accounts,
    accountTypes, addAccountOptions);
  startActivityForResult(intent, 0);

Change-Id: I05a467bdc3552a2e39397b0182879351f4324389
2011-09-15 16:39:50 -07:00
Dianne Hackborn
4f59f8be0e Fix issue #5300880: setSystemUiVisibility() always triggers a surface reallocation
Change-Id: Ia0a9d8acba6b62ef095e4c615099466c52eec8e4
2011-09-15 15:27:59 -07:00
Adam Powell
833cf5c8c1 am 1451f182: Merge "Update docs for RelativeLayout to better explain its interpretation of gravity."
* commit '1451f1821d4842ae9c5d3d4c6b5dab82048c0676':
  Update docs for RelativeLayout to better explain its interpretation of gravity.
2011-09-15 15:05:02 -07:00
Adam Powell
1451f1821d Merge "Update docs for RelativeLayout to better explain its interpretation of gravity." 2011-09-15 15:02:55 -07:00
Gilles Debunne
b9532200bd am a0383f72: Merge "Bug 5319091: Completions delayed in AutoComplete in landscape"
* commit 'a0383f7212651c9508ad5fb56b1cd1216ceb8fe9':
  Bug 5319091: Completions delayed in AutoComplete in landscape
2011-09-15 14:53:57 -07:00
Gilles Debunne
a0383f7212 Merge "Bug 5319091: Completions delayed in AutoComplete in landscape" 2011-09-15 14:51:35 -07:00
Adam Powell
1fec24e0ff Update docs for RelativeLayout to better explain its interpretation of
gravity.

Change-Id: Ie52dc23458c73dfb7fdbf929b802f968ef905557
2011-09-15 14:49:19 -07:00
John Reck
57efcffc7f Fix text selection drawing on SW
Bug: 5312770
 Helps if you actually draw stuff...

Change-Id: I5ab8cd0726cac77a91fb476c7db0873132ba91d9
2011-09-15 13:52:38 -07:00
Svetoslav Ganov
1f711d7342 am 98c8b52b: Merge "TextView should report in an AccessibilityNodeInfo\'s text its hint if the View text is empty."
* commit '98c8b52b0ac7c108b03a5e73c1dcfb94a0a69868':
  TextView should report in an AccessibilityNodeInfo's text its hint if the View text is empty.
2011-09-15 13:26:36 -07:00
Svetoslav Ganov
3034943233 am 4c949365: Merge "CalendarView diregarding XML attributes."
* commit '4c94936511a1c045f53c9207dc9908f5c89b56e5':
  CalendarView diregarding XML attributes.
2011-09-15 13:26:33 -07:00
Gilles Debunne
4b37973b61 am 0fd7e087: Merge "Bug 5299484: Recipient address in to field is doubled when entering in landscape mode"
* commit '0fd7e087eb95ff3d41e7170e6a093f7d31c6b6d8':
  Bug 5299484: Recipient address in to field is doubled when entering in landscape mode
2011-09-15 13:26:21 -07:00
Svetoslav Ganov
98c8b52b0a Merge "TextView should report in an AccessibilityNodeInfo's text its hint if the View text is empty." 2011-09-15 13:11:44 -07:00
Svetoslav Ganov
4c94936511 Merge "CalendarView diregarding XML attributes." 2011-09-15 13:11:08 -07:00
Gilles Debunne
0fd7e087eb Merge "Bug 5299484: Recipient address in to field is doubled when entering in landscape mode" 2011-09-15 12:43:51 -07:00
Danielle Millett
86c32c0247 am 247d8b08: Merge "isPasswordEnabled and isPatternEnabled return true if used as backup method"
* commit '247d8b08b2618c33a4ec1be974829c033c9b909f':
  isPasswordEnabled and isPatternEnabled return true if used as backup method
2011-09-15 12:16:45 -07:00
Danielle Millett
247d8b08b2 Merge "isPasswordEnabled and isPatternEnabled return true if used as backup method" 2011-09-15 12:14:25 -07:00
Svetoslav Ganov
ab5a4057e7 TextView should report in an AccessibilityNodeInfo's text its hint if the View text is empty.
1. TextView was reporting only its text as the text of the emmited AccessibilityNodeInfo
   not using the hint if the text is empty which is inconsistent with the handling of
   accessibility events.

2. TextView was using the contentDescription in AccessibilityEvents if its
   text and hint are empyty. However, the content description is reported as
   a separate event property and it is incorrect to report it as the text.

bug:5129138

Change-Id: I1c9270459cb07650a0ec5181cc4a01993dde3b5c
2011-09-15 11:30:06 -07:00
Svetoslav Ganov
f1189e9a46 CalendarView diregarding XML attributes.
1. CalendarView was disregarding XMl attributes.

2. CalendarView was trying to set the current date
   to today without checking where today is between
   min and max date.

bug:5116456

Change-Id: Ie5a81826a3cd028f42e18a7985461fa283839171
2011-09-15 11:26:08 -07:00
John Reck
5540abcdef DO NOT MERGE Fix finalization
Bug: 5321358
 Destroy does run with this. Ideally we should get rid of the need
 to run this on the UI thread at all. GL destroy should instead
 take place when the view is detached or something like that.

 Cherry picked from master

Change-Id: I693ce83cd607186173d8cf58485c5df28004e52c
2011-09-15 11:08:00 -07:00
Gilles Debunne
d513e9746f Bug 5319091: Completions delayed in AutoComplete in landscape
The filtering is an async process. We need to re-update completion
when it is finished.

Changed loogic to mimic the way it was done in GB.

Change-Id: If49048d786b3b9529da55c7247e7ef5f3d0fc8b5
2011-09-15 11:03:56 -07:00
JP Abgrall
9929b03b4f am c35f98ee: Merge "NetworkManagement SocketTagger: Migrate QTagUid support to JNI."
* commit 'c35f98eeae051e05f7df9f6277031278e0aa4899':
  NetworkManagement SocketTagger: Migrate QTagUid support to JNI.
2011-09-15 10:49:44 -07:00
JP Abgrall
c35f98eeae Merge "NetworkManagement SocketTagger: Migrate QTagUid support to JNI." 2011-09-15 10:47:57 -07:00
John Reck
049d29caf1 am 6f4518f8: Merge "Fix finalization"
* commit '6f4518f88f5fe1ac8ca859e865d5275923b3ee02':
  Fix finalization
2011-09-15 10:45:35 -07:00
John Reck
6f4518f88f Merge "Fix finalization" 2011-09-15 10:42:25 -07:00
John Reck
cda9707167 Fix finalization
Bug: 5321358
 Destroy does run with this. Ideally we should get rid of the need
 to run this on the UI thread at all. GL destroy should instead
 take place when the view is detached or something like that.

Change-Id: I693ce83cd607186173d8cf58485c5df28004e52c
2011-09-15 10:01:37 -07:00
Kenny Root
2a3f0d375a am 04b08bdf: Merge "Be more forgiving in parsing verifier IDs"
* commit '04b08bdf19497c31abdef49100bfe471f8d104d6':
  Be more forgiving in parsing verifier IDs
2011-09-15 09:34:28 -07:00
Kenny Root
04b08bdf19 Merge "Be more forgiving in parsing verifier IDs" 2011-09-15 09:33:06 -07:00
JP Abgrall
98a4f7e7e1 NetworkManagement SocketTagger: Migrate QTagUid support to JNI.
* Instead of javaland trying to write commands to
   /proc/net/xt_qtaguid/ctrl
use the libcutils/qtaguid.c support via JNI.
* Get rid of tagToKernel() handled by qtaguid library.

Requires libcutils changes from c/132538/

Change-Id: I9de5b3fa4a596c56835024c6d376769a0eea7db1
2011-09-15 02:29:03 -07:00
Dianne Hackborn
162915eaa7 am df82905c: Merge "Update the public APIs for finding views by text to optionally use content description."
* commit 'df82905cf3ceb9192dc8087f934081f809d99bcf':
  Update the public APIs for finding views by text to optionally use content description.
2011-09-14 22:35:45 -07:00
Dianne Hackborn
df82905cf3 Merge "Update the public APIs for finding views by text to optionally use content description." 2011-09-14 22:33:54 -07:00
Jeff Sharkey
0205bbe695 am fc0ab4c0: Merge "Network stats flag to force complete poll."
* commit 'fc0ab4c065babdda912d0a1b9fce9ab59140482a':
  Network stats flag to force complete poll.
2011-09-14 21:46:06 -07:00
Jeff Sharkey
fc0ab4c065 Merge "Network stats flag to force complete poll." 2011-09-14 21:44:19 -07:00
Jeff Brown
1ac36b7729 am 93578af2: Merge "Velocity Tracker II: The Revenge of Velocity Tracker Bug: 5265529"
* commit '93578af23ecfb8f5b6001346d63c6214cdec5d17':
  Velocity Tracker II: The Revenge of Velocity Tracker Bug: 5265529
2011-09-14 21:29:11 -07:00
Jeff Brown
93578af23e Merge "Velocity Tracker II: The Revenge of Velocity Tracker Bug: 5265529" 2011-09-14 21:27:25 -07:00
satok
a260bfaeec am a0b1cc0f: Merge "Call onFinishInputView in onDestroy"
* commit 'a0b1cc0fb193805803cdd2b62dd0bd1e6607aa16':
  Call onFinishInputView in onDestroy
2011-09-14 21:14:48 -07:00
satok
a0b1cc0fb1 Merge "Call onFinishInputView in onDestroy" 2011-09-14 21:13:06 -07:00
Jeff Sharkey
991d1b1b3f Network stats flag to force complete poll.
Devices currently delay collecting UID stats during common operations
like global alerts to reduce parsing load.  Here we introduce a flag
to always collect UID and iface stats together to aid debugging.

Bug: 5321340
Change-Id: Ia8e1daf1a6f9d5f5cf1f64a04b6b6766ee965ab6
2011-09-14 19:47:05 -07:00
Svetoslav Ganov
ea515aeafa Update the public APIs for finding views by text to optionally use content description.
1. Added flags to the search method to specify whether to match text or
   content description or both.

2. Added test case for the seach by content description.

3. Updated the code in AccessibilityManager service to reflect the latest
   changes there so test automation service works - this is the fake
   service used for UI automation.

Change-Id: I14a6779a920ff0430e78947ea5aaf876c2e66076
2011-09-14 19:40:33 -07:00