Commit Graph

30353 Commits

Author SHA1 Message Date
Jeff Sharkey
64d7a44a9f am db04cf57: Merge "Support optional values in ProcFileReader."
# Via Android (Google) Code Review (1) and Jeff Sharkey (1)
* commit 'db04cf57009ff88dc87c7b8a41df88f822d9a89b':
  Support optional values in ProcFileReader.
2013-01-31 23:06:11 -08:00
Svetoslav
739827f328 am 60a8fd8e: Merge "Update the JavaDoc for the new accessibility permissions"
# Via Android (Google) Code Review (1) and Svetoslav (1)
* commit '60a8fd8eda9280a06e0e38f3432df3a579070cdd':
  Update the JavaDoc for the new accessibility permissions
2013-01-31 22:59:08 -08:00
Jeff Brown
c7991fa1b5 am 1b0e29ae: Merge "Avoid redundant store into array list."
# Via Android (Google) Code Review (1) and Jeff Brown (1)
* commit '1b0e29aec6a9401c224f3fa3a5e05abc487e2e79':
  Avoid redundant store into array list.
2013-01-31 22:59:00 -08:00
Fabrice Di Meglio
32ceee97f6 am f8ce2b94: Merge "Fix progress bar and spinner in RTL mode"
# Via Android (Google) Code Review (1) and Fabrice Di Meglio (1)
* commit 'f8ce2b94df9f7fc2b6da104699c5958c6d8784f3':
  Fix progress bar and spinner in RTL mode
2013-01-31 22:58:57 -08:00
Jeff Sharkey
db04cf5700 Merge "Support optional values in ProcFileReader." 2013-02-01 02:29:43 +00:00
Jeff Sharkey
8e7b3b15f7 Support optional values in ProcFileReader.
When new values are added to proc files, we need to handle reading
them from both old and new kernels.  This change supports optionally
reading long values.  Tests to verify.

Bug: 7903145
Change-Id: I9fe250c0486c3cce3cf3d8624f01af01128d1191
2013-01-31 18:27:00 -08:00
Svetoslav
60a8fd8eda Merge "Update the JavaDoc for the new accessibility permissions" 2013-02-01 00:55:33 +00:00
Svetoslav
0ec0418c6e Update the JavaDoc for the new accessibility permissions
Change-Id: I1d52e848fec6c56cdb1f8ff66d07414dd2518086
2013-01-31 16:54:40 -08:00
Jeff Brown
1b0e29aec6 Merge "Avoid redundant store into array list." 2013-01-31 21:43:00 +00:00
Fabrice Di Meglio
f8ce2b94df Merge "Fix progress bar and spinner in RTL mode" 2013-01-31 19:28:37 +00:00
Fabrice Di Meglio
2b378cde41 Fix progress bar and spinner in RTL mode
Add "mirrorForRtl" property for ProgressBar (default is "false") and
use it accordingly to the following RTL rules:

- time still goes from left to right
- clocks still rotate clockwise

Change-Id: Ib91ce6ab341aa6097c0f43b13703174a2ee9ec70
2013-01-31 11:20:30 -08:00
Svetoslav
5a2f6bee86 am f48a2d30: Merge "Add accessibility actions for text editing."
# Via Android (Google) Code Review (1) and Svetoslav (1)
* commit 'f48a2d30c5d5f7c167310ff9ca1cd2310121be7c':
  Add accessibility actions for text editing.
2013-01-30 23:55:44 -08:00
Svetoslav
f48a2d30c5 Merge "Add accessibility actions for text editing." 2013-01-31 07:53:43 +00:00
Svetoslav
7c51284d80 Add accessibility actions for text editing.
Currently text editing is pretty hard (certain operations even
impossible) for a blind person. To address the issue this change
adds APIs that enable an accessibility service to perform basic
text editing operations such as copy, paste, cut, set selection,
extend selection while moving at a given granularity.

The new APIs enable an accessibility service to expose a gesture
driven efficient text editing facility.

bug:8098384

Change-Id: I82b200138a3fdf4c0c316b774fc08a096ced29d0
2013-01-30 23:47:17 -08:00
Svetoslav
62d595216b am ec695824: Merge "Remove "enhance web scripts" from settings and make it requested by plug-ins."
# Via Android (Google) Code Review (1) and Svetoslav (1)
* commit 'ec695824af7ab263eaae613b87f2c0b24f176f91':
  Remove "enhance web scripts" from settings and make it requested by plug-ins.
2013-01-30 21:40:20 -08:00
Svetoslav
ec695824af Merge "Remove "enhance web scripts" from settings and make it requested by plug-ins." 2013-01-31 03:16:59 +00:00
Jeff Brown
8f124842dd Avoid redundant store into array list.
Prevent possible NPE in case of a race condition
while fetching input devices by descriptor.

Change-Id: I68d0738386c6723d943e595f829981b0890c2b3a
2013-01-30 17:36:14 -08:00
Jeff Sharkey
199a2b57b0 am ed1ad7fa: Merge "Add wrapping support to IndentingPrintWriter."
# Via Android (Google) Code Review (1) and Jeff Sharkey (1)
* commit 'ed1ad7fadae1ed0fae2946dbe3e3ee9eea299bde':
  Add wrapping support to IndentingPrintWriter.
2013-01-30 16:40:57 -08:00
Jeff Sharkey
ed1ad7fada Merge "Add wrapping support to IndentingPrintWriter." 2013-01-31 00:37:34 +00:00
Jeff Sharkey
71cb446f01 Add wrapping support to IndentingPrintWriter.
When created with a wrapping width, any content longer than the
requested width will be wrapped onto additional lines.  This supports
use-cases like dumping lots of data with printPair().

Improve documentation and add tests to verify behavior.

Change-Id: Ibdfce198f0e69f4df7725544fd1cd02fa029c647
2013-01-30 16:35:35 -08:00
Romain Guy
0f72747c27 am 984add52: Merge "Return a copy of the read-only identity Matrix"
# Via Android (Google) Code Review (1) and Romain Guy (1)
* commit '984add522ed1b2ce351fc2ee5a9d478d9ee9312f':
  Return a copy of the read-only identity Matrix
2013-01-30 16:30:48 -08:00
Romain Guy
5370405db2 Return a copy of the read-only identity Matrix
An app trying to modify the returned matrix (despite what the
documentation says...) would crash when the matrix is identity.

Change-Id: I8aae06b712907085088fb9f0321352dd2c3462ac
2013-01-30 16:25:50 -08:00
Wink Saville
a1a2060a89 am d21e24bc: Merge "Cleanup StateMachine LogRec handling and get tests working."
# Via Android (Google) Code Review (1) and Wink Saville (1)
* commit 'd21e24bccec8309839a264da95c5dc1573fc65c3':
  Cleanup StateMachine LogRec handling and get tests working.
2013-01-30 12:10:03 -08:00
Dianne Hackborn
f5667b4612 am e918d2e5: Merge "Improve revoking access to content providers."
# Via Android (Google) Code Review (1) and Dianne Hackborn (1)
* commit 'e918d2e59db0c29127a672dc744413e4390b37d3':
  Improve revoking access to content providers.
2013-01-30 12:09:56 -08:00
Jeff Sharkey
888b15fbcc am 1410db83: Merge "Check text length when testing for newline."
# Via Android (Google) Code Review (1) and Jeff Sharkey (1)
* commit '1410db83f97bf69a1a461cc20fd6d5b7b0ef08c0':
  Check text length when testing for newline.
2013-01-30 12:09:52 -08:00
Wink Saville
d21e24bcce Merge "Cleanup StateMachine LogRec handling and get tests working." 2013-01-30 19:44:16 +00:00
Derek Sollenberger
2dbd185fd0 resolved conflicts for merge of c93c6aa5 to master-chromium
Change-Id: I51429ed5359355025f873ccab11bfabbbe772a46
2013-01-30 14:32:29 -05:00
Wink Saville
efcc3d3566 Cleanup StateMachine LogRec handling and get tests working.
Change-Id: I13107e846812b16f1c95be11626500dbd7a13b2a
2013-01-30 11:21:22 -08:00
Dianne Hackborn
e918d2e59d Merge "Improve revoking access to content providers." 2013-01-30 19:09:16 +00:00
Jeff Sharkey
1410db83f9 Merge "Check text length when testing for newline." 2013-01-30 19:03:33 +00:00
Jeff Sharkey
3029bf225c Check text length when testing for newline.
Also add tests to verify.

Bug: 8102140
Change-Id: I7e5dbff53caeb50bfa0fb4ea5dce73e3c742986a
2013-01-30 11:01:12 -08:00
Chris Craik
c93c6aa555 Merge "Object-based DisplayList recording" 2013-01-30 18:42:56 +00:00
Nick Kralevich
1de9023190 am cae3d9f0: ZygoteInit: more dead code cleanup
# Via Nick Kralevich
* commit 'cae3d9f0ab2756e3659efc7a08830d2d7b43a05e':
  ZygoteInit: more dead code cleanup
2013-01-30 10:10:43 -08:00
Nick Kralevich
cae3d9f0ab ZygoteInit: more dead code cleanup
ZYGOTE_FORK_MODE has been set to false since 2009, and the
code indicates that runForkMode() was "retained for reference only."
Remove this dead code. There will always be a reference to this code
in git.

Change-Id: Iddfdca8379fdc6521febea81e553de763b6f4fd0
2013-01-30 10:01:51 -08:00
Nick Kralevich
c906166161 am 4ec799d4: Merge "Remove dead code."
# Via Android (Google) Code Review (1) and Nick Kralevich (1)
* commit '4ec799d4c6de7e626363659508f21ee5c3c173aa':
  Remove dead code.
2013-01-30 10:00:48 -08:00
Nick Kralevich
4ec799d4c6 Merge "Remove dead code." 2013-01-30 17:57:45 +00:00
Nick Kralevich
ce35bf7934 am de3c6088: Merge "ZygoteConnection.java: Remove dead code --peer-wait"
# Via Android (Google) Code Review (1) and Nick Kralevich (1)
* commit 'de3c608864be0fece8a27ef9cca8fac8b5292f5b':
  ZygoteConnection.java: Remove dead code --peer-wait
2013-01-30 09:53:52 -08:00
Nick Kralevich
de3c608864 Merge "ZygoteConnection.java: Remove dead code --peer-wait" 2013-01-30 17:47:55 +00:00
Nick Kralevich
40779e50f0 Remove dead code.
Setting capabiltities is handled by dalvik. This code
is never called.

Change-Id: I903952c43cf60ea59ec954c9168a7604d05ccaf7
2013-01-30 09:29:15 -08:00
Nick Kralevich
468f6c15d2 ZygoteConnection.java: Remove dead code --peer-wait
The last caller of this option was removed in
system/core commit b94fd1abcbff1eacb8a2ad79c51de21ecf8f6d65

Change-Id: I9f3540c9e61b4a93038b43983fbb8badac08a2e3
2013-01-30 08:46:06 -08:00
Przemyslaw Szczepaniak
92af275cfd am 647abce5: Deprecate unused and implementation-specific parts of TTS API
# Via Android (Google) Code Review
* commit '647abce570f3afdd667e06e9ad71738efff0e8a8':
  Deprecate unused and implementation-specific parts of TTS API
2013-01-30 01:41:37 -08:00
Przemyslaw Szczepaniak
647abce570 Deprecate unused and implementation-specific parts of TTS API
Second changeset, first one was committed too hastily.

TTS Voice-data related API was originally written with
one engine in mind (pico sVox TTS). It exposes implementation
details that should be private to the engine implementation.

- Deprecating fields of ACTION_CHECK_TTS_DATA results that were
used by sVox language packs to find out location of voice data.
Those fields are TTS engine implementation details and should be
private:
EXTRA_VOICE_DATA_ROOT_DIRECTORY
EXTRA_VOICE_DATA_FILES
EXTRA_VOICE_DATA_FILES_INFO
- Deprecating fields of ACTION_CHECK_TTS_DATA request that are
providing unnescesary functionality (it can be easily done on client
side):
EXTRA_CHECK_VOICE_DATA_FOR
- Deprecating some of the return codes of ACTION_CHECK_TTS_DATA - they
are specific to sVox pico voice data and in all cases can be replaced
by CHECK_VOICE_DATA_FAIL result code.
CHECK_VOICE_DATA_BAD_DATA
CHECK_VOICE_DATA_MISSING_DATA
CHECK_VOICE_DATA_MISSING_VOLUME
- Changing semantics of ACTION_TTS_DATA_INSTALLED intent. It's now
more generic and covers any change of available voice data set (so, not only
adding languages, but also removing them should trigger broadcast. Adding and
removing features to existing locale (like embedded synthesis) should be marked
by broadcast as well).
- Deprecating its EXTRA_TTS_DATA_INSTALLED result field - client should discover
the change by running ACTION_CHECK_TTS_DATA intent.
- Making GetSampleText intent public again - it's used by most TTS engines to
provide unique demonstation data.
- Deprecating TextToSpeech.OnUtteranceCompletedListener - it was replaced
by UtteranceProgressListener in API level 15, but no one put deprecation tag
on it.

Change-Id: Ia58af7f218dc1568570712f435782d2003260e82
2013-01-30 09:37:05 +00:00
Dianne Hackborn
d7960d19c1 Improve revoking access to content providers.
Providers can now hook into the revoked query and insert
calls, and the default implementation of query is a little better.

Change-Id: I29592a579aaf4a98686c6cf43e57f73275c58922
2013-01-29 18:55:48 -08:00
Satoshi Kataoka
fc14e1c7a2 am da01da17: Merge "Do not turn on imes unexpectedly with unit tests"
# Via Android (Google) Code Review (1) and Satoshi Kataoka (1)
* commit 'da01da176d4798d293c90d6280ddc59c780baaa3':
  Do not turn on imes unexpectedly with unit tests
2013-01-29 18:45:36 -08:00
Satoshi Kataoka
da01da176d Merge "Do not turn on imes unexpectedly with unit tests" 2013-01-30 02:41:47 +00:00
Dianne Hackborn
6c9975b409 am e8ae8b89: Merge "Add GET_CONTENT protocol for allowing multiple selection."
# Via Android (Google) Code Review (1) and Dianne Hackborn (1)
* commit 'e8ae8b8982da37ca77bbaed8e98349d51dec824a':
  Add GET_CONTENT protocol for allowing multiple selection.
2013-01-29 15:59:49 -08:00
Dianne Hackborn
e8ae8b8982 Merge "Add GET_CONTENT protocol for allowing multiple selection." 2013-01-29 23:56:20 +00:00
Dianne Hackborn
9b771678ea am 7f54ffd0: Merge "Improve configuration of default preferred apps."
# Via Android (Google) Code Review (1) and Dianne Hackborn (1)
* commit '7f54ffd0296ce6008b5ea949796e60248a85e2d8':
  Improve configuration of default preferred apps.
2013-01-29 15:56:13 -08:00
Dianne Hackborn
7f54ffd029 Merge "Improve configuration of default preferred apps." 2013-01-29 23:43:20 +00:00
Dianne Hackborn
8a2ed1d7c0 Improve configuration of default preferred apps.
The file that defines default preferred apps is now more
robust.  It is no longer a raw dump of the package
manager settings, but instead a more general list of a
target activity and filter.  When reading it, the remaining
information (match value, set of potential matches) is
determined dynamically.

Change-Id: I0edc6e0d2ed3dd2a6e2238992f18f7fc1f51d8d4
2013-01-29 15:18:29 -08:00