406 Commits

Author SHA1 Message Date
Dianne Hackborn
e22fe9331a Fix issue #4582417: Need to add new PackageManager...
...FEATURE_ constant for FAKE_MULTITOUCH in MR2

Change-Id: Ib6950d9dbdd58618aec593de7e0cf1c01b7d6ef9
2011-06-08 20:38:41 -07:00
Svetoslav Ganov
8643aa0179 Interrogation of the view hierarchy from an AccessibilityService.
1. Views are represented as AccessibilityNodeInfos to AccessibilityServices.

2. An accessibility service receives AccessibilityEvents and can ask
   for its source and gets an AccessibilityNodeInfo which can be used
   to get its parent and children infos and so on.

3. AccessibilityNodeInfo contains some attributes and actions that
   can be performed on the source.

4. AccessibilityService can request the system to preform an action
   on the source of an AccessibilityNodeInfo.

5. ViewAncestor provides an interaction connection to the
   AccessibiltyManagerService and an accessibility service uses
   its connection to the latter to interact with screen content.

6. AccessibilityService can interact ONLY with the focused window
   and all calls are routed through the AccessibilityManagerService
   which imposes security.

7. Hidden APIs on AccessibilityService can find AccessibilityNodeInfos
   based on some criteria. These API go through the AccessibilityManagerServcie
   for security check.

8. Some actions are hidden and are exposes only to eng builds for UI testing.

Change-Id: Ie34fa4219f350eb3f4f6f9f45b24f709bd98783c
2011-06-06 18:46:03 -07:00
Russell Brenner
724a39f606 Add Hebrew bold and regular font files
Change-Id: I5c4a011990a3132107b4d49bfee9a239f70dd32d
2011-06-01 14:58:31 -07:00
Jeff Brown
da97f16c5d am c5c7e047: am d0132e8e: Minor Alt-TAB / Recent Apps Dialog improvements. (DO NOT MERGE)
* commit 'c5c7e047d1a1c56ba55bdfea9391d1907f355dbc':
  Minor Alt-TAB / Recent Apps Dialog improvements. (DO NOT MERGE)
2011-05-25 14:46:25 -07:00
Jeff Brown
b9b9b3e271 am 6f37a7f9: am eea0aa25: Support primitive ALT-TAB style navigation using Recent Apps. (DO NOT MERGE)
* commit '6f37a7f9b6f83fbcc919dc452e72838623e8bb5d':
  Support primitive ALT-TAB style navigation using Recent Apps. (DO NOT MERGE)
2011-05-25 14:46:21 -07:00
Jeff Brown
c5c7e047d1 am d0132e8e: Minor Alt-TAB / Recent Apps Dialog improvements. (DO NOT MERGE)
* commit 'd0132e8e187ebf69bf4d2d6d0ef0027ff3f7a727':
  Minor Alt-TAB / Recent Apps Dialog improvements. (DO NOT MERGE)
2011-05-25 14:43:16 -07:00
Jeff Brown
6f37a7f9b6 am eea0aa25: Support primitive ALT-TAB style navigation using Recent Apps. (DO NOT MERGE)
* commit 'eea0aa25870d49e381567f09abbfb41de52a5a32':
  Support primitive ALT-TAB style navigation using Recent Apps. (DO NOT MERGE)
2011-05-25 14:43:13 -07:00
Jeff Brown
d0132e8e18 Minor Alt-TAB / Recent Apps Dialog improvements. (DO NOT MERGE)
Alt-TAB should have different semantics from the APP_SWITCH key
or long-press on HOME.  Accordingly, remove the fallback action
for Alt-TAB and initiate the task switching behavior directly
in the policy.

Modified RecentApplicationsDialog to be more precise about the
initial modifiers that it considers to be holding the dialog.

The dialog is now dismissed by a second press on the APP_SWITCH
key or by a second long press on HOME.

Change-Id: I07e72dc4e1f3cd8edaf357c1d49e79f60d6d1604
2011-05-25 14:37:15 -07:00
Jeff Brown
eea0aa2587 Support primitive ALT-TAB style navigation using Recent Apps. (DO NOT MERGE)
Change-Id: I0296a09519ba9417c208d197ebd996b586ee3daa
2011-05-25 14:37:15 -07:00
Jean-Baptiste Queru
f74782f6a1 am a49b2dbd: am a38762f3: am 7ae7d31c: Merge "MOTOYA changed two kinds of Japanese font files."
* commit 'a49b2dbdde52e20b6d590b35e209033229f5d82d':
  MOTOYA changed two kinds of Japanese font files.
2011-05-19 03:44:45 -07:00
Jean-Baptiste Queru
a49b2dbdde am a38762f3: am 7ae7d31c: Merge "MOTOYA changed two kinds of Japanese font files."
* commit 'a38762f340853cca5a07732c21e9fb816fd252b8':
  MOTOYA changed two kinds of Japanese font files.
2011-05-18 09:52:18 -07:00
Jean-Baptiste Queru
7ae7d31c2f Merge "MOTOYA changed two kinds of Japanese font files." 2011-05-18 09:24:40 -07:00
Mike Lockwood
c535f7f291 DO NOT MERGE Revert "Remove permission android.permission.WRITE_MEDIA_STORAGE"
We need this to allow MTP to access secondary external storage devices

This reverts commit 35a2ea2fbf156a503d1b0bc6ca7784e51e2462f4.

Conflicts:

	data/etc/platform.xml

Change-Id: Iaf9cf120217e8417d328a51db0d82be6835b0ff0
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-04 10:41:20 -04:00
Mike Lockwood
f60ba87f07 DO NOT MERGE Revert "Remove permission android.permission.WRITE_MEDIA_STORAGE"
We need this to allow MTP to access secondary external storage devices

This reverts commit 35a2ea2fbf156a503d1b0bc6ca7784e51e2462f4.

Conflicts:

	data/etc/platform.xml

Change-Id: I0b139a0f3b369c1080831a5b3a48f5d9a330b1bb
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-03 21:03:56 -04:00
Wink Saville
ec9b5d17af am ee081bf5: am 3ed0a1ec: Merge "IMS: Provide net_admin permission so that IPSec could be configured/used." into honeycomb-LTE
* commit 'ee081bf5ee936396a89d5bd2b29487047b260f49':
  IMS: Provide net_admin permission so that IPSec could be configured/used.
2011-05-03 16:36:36 -07:00
Ramesh Sudini
0e7b5a0287 IMS: Provide net_admin permission so that IPSec could be configured/used.
IMS configures the security database in kernel with keys generated from ISIM.

Change-Id: Iae9fb85f286ff2a627369d784a127bf7d4d8f4b3
2011-05-03 13:46:08 -07:00
Mike Lockwood
1e23db4c2f Revert "Remove permission android.permission.WRITE_MEDIA_STORAGE"
We need this to allow MTP to access secondary external storage devices

This reverts commit 35a2ea2fbf156a503d1b0bc6ca7784e51e2462f4.

Conflicts:

	data/etc/platform.xml

Change-Id: I9faf54526182a786a1c0ca1fd01a09baabca186d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-04-22 07:11:20 -07:00
Jeff Brown
5487500cf3 Minor Alt-TAB / Recent Apps Dialog improvements.
Alt-TAB should have different semantics from the APP_SWITCH key
or long-press on HOME.  Accordingly, remove the fallback action
for Alt-TAB and initiate the task switching behavior directly
in the policy.

Modified RecentApplicationsDialog to be more precise about the
initial modifiers that it considers to be holding the dialog.

The dialog is now dismissed by a second press on the APP_SWITCH
key or by a second long press on HOME.

Change-Id: Idf4d803f51103819057cb655ff3b770b7729e4be
2011-04-06 15:38:05 -07:00
yoshinaka
1afdb59680 MOTOYA changed two kinds of Japanese font files.
<The design image was changed to the full size>

From "U+FF10 fullwidth zero" to "U+FF19 fullwidth nine"

<Following characters were added>

"U+203C double exclamation poin","U+2047 double question mark","U+2048 question exclamation point"

"U+2049 exclamation question mark","U+261A Black left pointing index","U+261B Black right pointing index"

"U+261C White left pointing index","U+261D White up pointing index","U+261E White right pointing index"

"U+261F White down pointing index"

Change-Id: I1641926c13ce8e11fde794f5584119ad44607374
2011-04-06 17:32:00 +09:00
Jeff Brown
8c769cb9cc Support primitive ALT-TAB style navigation using Recent Apps.
Change-Id: I6dc774326c971826d160c82126fb39acb5b9124b
2011-03-29 17:26:44 -07:00
Bart Sears
35137d6696 am 6a19759c: Do Not Merge: Cherry-pick change I7667f9b8 to GingerBread
* commit '6a19759c0fae744e80c032ca3c23932e73e6d9d9':
  Do Not Merge: Cherry-pick change I7667f9b8 to GingerBread
2011-03-24 03:36:31 -07:00
Bart Sears
6a19759c0f Do Not Merge: Cherry-pick change I7667f9b8 to GingerBread
Update Droid Fonts

DroidSans-Bold.ttf
DroidSans.ttf
DroidSansMono.ttf
DroidSerif-Bold.ttf
DroidSerif-BoldItalic.ttf
DroidSerif-Italic.ttf
DroidSerif-Regular.ttf
 - Fix the Tcedilla glyphs

DroidSansFallback
 - Add Dingbat Symbols
 - Add Currency Symbols
 - Add International Phonetic Alphabet (IPA)
 - Add U+02BB Modifier letter turned comma
 - Add U+2011 Non-breaking hyphen

DroidSansArabic.ttf
 - Updated Arabic font
 - Added support for initial and medial forms of Persian (Farsi) yeh (glyphs U+FBFE and U+FBFF)

Bug: 4167128
Change-Id: Iec3e5b20c6dd54ff7cc5bef51dd5a05179d8d5a8
2011-03-23 18:20:45 -07:00
Bart Sears
573dfc26bc Update Droid Fonts
DroidSans-Bold.ttf
DroidSans.ttf
DroidSansMono.ttf
DroidSerif-Bold.ttf
DroidSerif-BoldItalic.ttf
DroidSerif-Italic.ttf
DroidSerif-Regular.ttf
 - Fix the Tcedilla glyphs

DroidSansFallback
 - Add Dingbat Symbols
 - Add Currency Symbols
 - Add International Phonetic Alphabet (IPA)
 - Add U+02BB Modifier letter turned comma
 - Add U+2011 Non-breaking hyphen

DroidSansArabic.ttf
 - Updated Arabic font
 - Added support for initial and medial forms of Persian (Farsi) yeh (glyphs U+FBFE and U+FBFF)

Bug: 3315583
Change-Id: I7667f9b83fff32a1d97adfbea9a4db5c4dccb160
2011-03-14 17:19:28 -07:00
Jeff Brown
9e8e40cb5f Recognize 3D joysticks. (DO NOT MERGE)
Change-Id: Idf7799ea90fa07677850d40ee1aec39220ded372
2011-03-09 18:30:28 -08:00
Jeff Brown
8529745b27 Joystick tweaks. (DO NOT MERGE)
Ensure that the joystick can always reach -1.0, 0.0 and 1.0 positions
even when noise filtering is applied.  (Bug: 3514510)

Add support for a few more standard axes.

Add additional mapping modes for axes.
Some axes are inverted from standard interpretation
or are actually intended to be split into two distict axes
such as left/right trigger controls or accelerator/brake.

Add key layout file for a G25 racing wheel and XBox 360 controller
to tweak behavior.  They work fine without them but the axis mappings
are not ideal.

Change-Id: I0fddd90309af4dc14d35f34fe99ed6e521c0b7c7
2011-03-04 19:12:41 -08:00
Jean-Michel Trivi
b163d068be Fix bug 3425610 Adjust Lock sound level
After the correction for the speaker output processing, the lock
 sound became almost inaudible. This new asset is louder.

Change-Id: I2232f307f647cafc8a5c6d5dd482833367a73c56
2011-03-02 18:33:30 -08:00
Mike Lockwood
b13581a9da am 1110748b: DO NOT MERGE: USB accessory support library
* commit '1110748b2df664f9c5066819c1f0616eae3394a7':
  DO NOT MERGE: USB accessory support library
2011-03-02 15:38:55 -08:00
Mike Lockwood
1110748b2d DO NOT MERGE: USB accessory support library
This provides a mechanism for developing applications to work with
USB accessories in versions of android prior to the introduction
of the android.hardware.UsbManager APIs.

Applications should link against the com.android.future.usb.accessory
library to use this support.

Change-Id: I0b61e20b63eec42c506f0895a0c9a439bdfdf7f5
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-02 15:23:41 -08:00
Mike Lockwood
7866be2b76 am 40bbf929: DO NOT MERGE: Backport USB accessory support to gingerbread
* commit '40bbf9295d5245d3917629ce15f7b37670aef1ac':
  DO NOT MERGE: Backport USB accessory support to gingerbread
2011-03-02 15:16:32 -08:00
Mike Lockwood
403af5c688 Merge "Combine the USB accessory support library with the platform feature" 2011-03-02 14:19:38 -08:00
Mike Lockwood
b547fc297f Combine the USB accessory support library with the platform feature
Also renamed the support library to com.android.future.usb.accessory.jar

Change-Id: Id6226991ce73f75dfedc497adf1c25bffb670243
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-02 13:59:56 -08:00
Mike Lockwood
40bbf9295d DO NOT MERGE: Backport USB accessory support to gingerbread
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-01 23:09:12 -08:00
JP Abgrall
8b40da3f0d Audio packages: Allow stripping down via MINIMAL_NEWWAVELABS=true
Allows builds to specific MINIMAL_NEWWAVE_LABS=true to reduce the number
of newwavelabs/*.ogg that are included to one for ringtones, one for notifications.

This fixes the passion-userdebug + EMMA_INSTRUMENT=true, when
  MINIMAL_NEWWAVELABS=true is also specified.

Change-Id: I310e64e770c9b36af6bd01326d8606e46e34df79
2011-03-01 18:20:39 -08:00
Mike Lockwood
2755531562 USB accessory support library
This provides a mechanism for developing applications to work with
USB accessories in versions of android prior to the introduction
of the android.hardware.UsbManager APIs.

Applications should link against the com.google.android.usb library
to use this support.

Change-Id: I48ff80467fd9a6667aa84a758eca754132f546b9
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-28 17:25:57 -08:00
Mike Lockwood
f4ca247158 Add platform features for USB host and USB accessory support.
Also removed config_hasUsbHostSupport framework resource, which is now obsolete.

Change-Id: I6f18cc1c4f68085de8b8363e1b5edff79aff404f
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-28 17:00:46 -08:00
Jeff Brown
6f2fba428c Add new axes for joysticks and mouse wheels.
Added API on InputDevice to query the set of axes available.
Added API on KeyEvent and MotionEvent to convert keycodes and axes
to symbolic name strings for diagnostic purposes.
Added API on KeyEvent to query if a given key code is a gamepad button.
Added a new "axis" element to key layout files to specify the
mapping between raw absolute axis values and motion axis ids.
Expanded the axis bitfield to 64bits to allow for future growth.
Modified the Makefile for keyboard prebuilts to run the keymap
validation tool during the build.
Added layouts for two game controllers.
Added default actions for game pad button keys.
Added more tests.
Fixed a bunch of bugs.

Change-Id: I73f9166c3b3c5bcf4970845b58088ad467525525
2011-02-19 05:23:10 -08:00
Jean-Michel Trivi
7d79721888 am d1f0947a: am c6a5dfd8: Merge "Fix bug 3425610 Reduce lock / unlock sound level" into honeycomb
* commit 'd1f0947a609c492b4e96b41aa1cf055bc7603220':
  Fix bug 3425610 Reduce lock / unlock sound level
2011-02-07 13:48:58 -08:00
Jean-Michel Trivi
5211339e1f am 03a9de05: am aa9c0273: Merge "Bug 3424058 increase IME key clicks by 7dB for spacebar and standard keys" into honeycomb
* commit '03a9de055203f49170400105d9b2a758ca5aecdd':
  Bug 3424058 increase IME key clicks by 7dB for spacebar and standard keys
2011-02-07 13:45:50 -08:00
Jean-Michel Trivi
d4a4680a23 am 11468815: am 23c907ca: Bug 3424058 Refix broken asset for "audible selection" sound effect
* commit '114688153f56b2bc6b17cbf81120a481408d6f81':
  Bug 3424058 Refix broken asset for "audible selection" sound effect
2011-02-07 13:43:30 -08:00
Justin Ho
1e29cc9676 am bf13e077: am e8d2b985: Merge "Scrubbing OGGs and updating all WAVs" into honeycomb
* commit 'bf13e0774e67f03433f5088a7d2c2fe6ee25e0c8':
  Scrubbing OGGs and updating all WAVs
2011-02-07 10:47:39 -08:00
Jean-Michel Trivi
c6a5dfd813 Merge "Fix bug 3425610 Reduce lock / unlock sound level" into honeycomb 2011-02-04 16:06:45 -08:00
Jean-Michel Trivi
e8c4731961 Fix bug 3425610 Reduce lock / unlock sound level
Loud enough to be heard, low enough not to wake up people next
 to you at night.

Change-Id: Idf34e5a333281fd2b21607d3e21ec4689e0624a6
2011-02-04 15:45:54 -08:00
Jean-Michel Trivi
8eb101c8bb Bug 3424058 increase IME key clicks by 7dB for spacebar and standard keys
Change-Id: Ic1ef9cfc9403ef3e100893a36a8a351a31d5253c
2011-02-04 11:42:41 -08:00
Jean-Michel Trivi
23c907cab8 Bug 3424058 Refix broken asset for "audible selection" sound effect
Reapply change 17f886563c7c2cbd28c3aeaf8b68d37c8e5105c0 to fix
 the issue where the "audible selection" sound effect is not heard

Change-Id: Id87a01379306a400546d15f96ad08160115c8878
2011-02-04 09:48:20 -08:00
Justin Ho
7e0f69db6c am b7fa0b65: am ef36255f: Merge "Revert "Sounds cleanup"" into honeycomb
* commit 'b7fa0b65d789464f67b00d5975a9bc26460ce63c':
  Revert "Sounds cleanup"
2011-02-03 18:09:00 -08:00
Justin Ho
2b413b1d2e am da75a283: am 205bdd4f: Merge "Sounds cleanup" into honeycomb
* commit 'da75a28304a026634e6583735e525c13a2040239':
  Sounds cleanup
2011-02-03 18:07:03 -08:00
Justin Ho
79cce9f445 am 7fbdc7f6: am 8138fc1f: Merge "Adding Iridium as a ringtone" into honeycomb
* commit '7fbdc7f6ecfff38693e4ca337984b591a8560574':
  Adding Iridium as a ringtone
2011-02-03 17:18:36 -08:00
Jean-Michel Trivi
2c7afbe15d am d1488c58: am 17f88656: Fix audible selection sound is not played
* commit 'd1488c588d796ee0d44235b11510327144be977a':
  Fix audible selection sound is not played
2011-02-03 17:14:44 -08:00
Justin Ho
30edaf2ba6 Scrubbing OGGs and updating all WAVs
Change-Id: Ia112f61ba1bd237d001b836d07fd4e0be3eef1b3
2011-02-03 13:56:38 -08:00
Daniel Sandler
c53867926e Revert "Sounds cleanup"
This reverts commit b04c57ba980793c43b79c9d889e94e3cd164e8ad.
2011-02-03 15:06:32 -05:00