155 Commits

Author SHA1 Message Date
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
Justin Ho
205bdd4f89 Merge "Sounds cleanup" into honeycomb 2011-02-03 10:47:22 -08:00
Justin Ho
8138fc1ff3 Merge "Adding Iridium as a ringtone" into honeycomb 2011-02-03 10:21:17 -08:00
Justin Ho
b04c57ba98 Sounds cleanup
Change-Id: Ia669ea1f2efbae46290e4ea5f860cdd3671277b4
2011-02-03 08:34:33 -08:00
Justin Ho
a15157498a Adding Iridium as a ringtone
Change-Id: I2e5024b26acaa9eb4f1ea778265744983cb8914c
2011-02-03 08:02:43 -08:00
Jean-Michel Trivi
17f886563c Fix audible selection sound is not played
The asset for "Audible selections" is too short, 11ms, and isn't
 heard when this option is selected and the user clicks on buttons.
This change adds 100ms of silence at the end of this sound effect.

Change-Id: I59c712f141fe608eaa1406b6c1daa8b76646d161
2011-02-02 18:11:03 -08:00
Justin Ho
21e6156ba1 am f93d9c57: am 3d5b80cb: Merge "Low battery notification sound update, alarm sound update" into honeycomb
* commit 'f93d9c578b92b78fe0b06c98a8ecd9a072372a0d':
  Low battery notification sound update, alarm sound update
2011-02-02 08:16:52 -08:00
Justin Ho
a730db4882 Low battery notification sound update, alarm sound update
Change-Id: Id2eb48f4b2df6772b4d5b1c6b4eca57856baaaec
2011-02-02 08:06:27 -08:00
Justin Ho
1cf210e919 am 57aa5cbd: am 0a909a12: Merge "Updated notification and effects for Honeycomb Bug: 3389139" into honeycomb
* commit '57aa5cbda2028073eb38cab5a35caf358d2b4fb4':
  Updated notification and effects for Honeycomb Bug: 3389139
2011-02-01 13:25:26 -08:00
Justin Ho
ad440c9a3f Updated notification and effects for Honeycomb
Bug: 3389139

Change-Id: Ia23748568619bd48d13260e443e2fcd333cde3fc
2011-01-31 23:06:17 -08:00
Bart Sears
18d6704427 am 5a773713: am e3004e78: New DroidSansFallback font file from Ascender
* commit '5a7737138ec2536faa931df8059509fd36e2e63f':
  New DroidSansFallback font file from Ascender
2011-01-30 20:11:06 -08:00
Bart Sears
e3004e7867 New DroidSansFallback font file from Ascender
Bug: 3315583

1) IPA (U+0250-U+02AF)
2) Currency symbols
3) U+02BB MODIFIER LETTER TURNED COMMA
4) Non-breaking hyphen ("\u2011")
5) Jamo U+11xx mappings

Change-Id: Ie4dfc7677d0f63c89ed0e1f6506cd513ae45ffa9
2011-01-30 19:59:02 -08:00
Justin Ho
f6b16886b0 am ab865ba7: am 9371f703: Merge "New honeycomb sound set" into honeycomb
* commit 'ab865ba7735264afde777842b1b9946686521357':
  New honeycomb sound set
2011-01-28 19:24:10 -08:00
Justin Ho
5f3bbcf554 New honeycomb sound set
Change-Id: Iaf3062f57f613702ea946fdf65e02f6265342ad5
2011-01-28 19:15:23 -08:00
Dan Morrill
a905598b0b am d3939c09: am ed11f117: As of honeycomb, all touchscreen devices should also report faketouch.
* commit 'd3939c09dbfdff453855b9ff96025d42b71d9290':
  As of honeycomb, all touchscreen devices should also report faketouch.
2011-01-27 17:05:35 -08:00
Dan Morrill
ed11f117ff As of honeycomb, all touchscreen devices should also report faketouch.
Change-Id: Iddcdfc19868be1ed356bdd27f08646ccec14f97b
2011-01-27 16:47:24 -08:00
Jeff Brown
dc9988feec am f0ea11d7: am 8b557459: Merge "Fix emulator touchscreen." into honeycomb
* commit 'f0ea11d7128f3e654d91683ea6efe59ac714b9ef':
  Fix emulator touchscreen.
2011-01-26 10:50:30 -08:00
Jeff Brown
8b557459da Merge "Fix emulator touchscreen." into honeycomb 2011-01-26 10:46:29 -08:00
Jeff Brown
77ef8b5061 Fix emulator touchscreen.
Bug: 3393763
Change-Id: Ief16640344d61d283aac08ef4b53e85d7ee3c73f
2011-01-26 10:40:10 -08:00
Daniel Sandler
970e94cdd1 am f96e0eb4: am 66a9f48b: Merge "Wrong clock font in system bar. Whoops." into honeycomb
* commit 'f96e0eb49f7ed4f49a1a9ea3e256f1280851207e':
  Wrong clock font in system bar. Whoops.
2011-01-26 09:40:47 -08:00
Daniel Sandler
e378a7514b Wrong clock font in system bar. Whoops.
Bug: 3385564
Change-Id: I7231e9f7494bce436e93aed9793770cff40841a4
2011-01-26 11:46:01 -05:00
Daniel Sandler
11d43082c5 am c88b19fc: am 34430260: Merge "Fit and finish on status bar:" into honeycomb
* commit 'c88b19fcc847cc5249e88672337ae5879b0af338':
  Fit and finish on status bar:
2011-01-25 19:01:33 -08:00
Daniel Sandler
f844dc4fa8 Fit and finish on status bar:
- Clock color fixed. [3374581]
  - Clock vertically aligned. [3388224]
  - Clock uses system font assets now. [3385564]
  - Solid version of AndroidClock added to build. [3385564]
  - Extraneous background glow removed from notification panel.
  - Removed solid black background from notifications. [3388223]
  - Added background image behind large notification icons
    and increased large size to 64dip [3388434, 3384355]
  - Corrected size & leading of notification text [3388577]

Bug: 3374581
Bug: 3384355
Bug: 3385564
Bug: 3388223
Bug: 3388224
Bug: 3388434
Bug: 3388577
Change-Id: I8e443da5758deca412d1ce5944f887b35f6265ed
2011-01-25 16:46:43 -05:00
Jeff Brown
1df27c02ec am 1f26ea13: am 561a434b: Merge "Fix emulator trackball." into honeycomb
* commit '1f26ea1306a018a0d0eac2295a5ca235b9475d86':
  Fix emulator trackball.
2011-01-25 12:38:22 -08:00
Jeff Brown
561a434b97 Merge "Fix emulator trackball." into honeycomb 2011-01-25 12:33:50 -08:00
Jeff Brown
76646cef5f Fix emulator trackball.
Bug: 3369229
Change-Id: I97ce0ac664636224decb040c743704dfcbd90c81
2011-01-24 17:38:51 -08:00
Jim Miller
9f49df869d am a9222de2: am 935dedf6: Merge "Fix 3385152: Update lockscreen font." into honeycomb
* commit 'a9222de2fc6f52fb4657a91d6f12723b05cb948d':
  Fix 3385152: Update lockscreen font.
2011-01-24 17:35:29 -08:00
Jim Miller
2dbba00260 Fix 3385152: Update lockscreen font.
Change-Id: Ie72cded40cf408627d7a3deddd7b14c42528a1a0
2011-01-24 15:51:52 -08:00
Mike Lockwood
97d7e4c227 Make ACCESS_USB permission for applications to access USB devices:
- change from signatureOrSystem to normal
- no longer associate this permission with the "usb" unix group
- add to public API

Change-Id: I3be3a5d138719dd126ff0a798824a77f9ce79e24
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-22 15:56:09 -08:00
Jeff Brown
cb1404e456 Add joystick support to framework.
Change-Id: I95374436708752e1a9cff3f85c5b9bc3e0987961
2011-01-17 13:51:00 -08:00
Justin Ho
63be8dd178 Merge "Updated notification sounds for trygon" into honeycomb 2011-01-12 15:06:19 -08:00
Justin Ho
f9f66848c3 Updated notification sounds for trygon
Change-Id: Ibd253e409e588f2c3eeb1514d4f5ae31c62d373a
2011-01-12 14:12:08 -08:00
Mike Lockwood
35a2ea2fbf Remove permission android.permission.WRITE_MEDIA_STORAGE
Access to the /data/media directory is now restricted exclusively to the
sdcard daemon, so there is no longer a need for this permission.

Change-Id: Iea8400f0eee167df19cc231c502d251a364f98b3
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-12 12:48:13 -05:00
Jim Miller
d04980d6f4 Update AndroidClock font for LockScreen and tweak transparency.
Change-Id: I5e4e8cb67c0498105f3b3d87c68c44b85e5baf77
2011-01-10 21:18:26 -08:00
Mike Lockwood
10bc1114f3 Add separate permission and group for access to the MTP USB driver
Since the "usb" group and ACCESS_USB permission will be used by regular apps
to access USB devices in host mode, we need a separate permission for the
device side MTP driver.

Change-Id: Id03f7c4f3d2712c489b4b74cf17a72a182084501
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-10 08:54:34 -05:00
Jim Miller
d0fd007058 Fix 3298264: Update LockScreen DigitalClock with new font
This updates the font used to show the AM/PM indicator
as well as creating shared colors for DigitalClock components
in all LockScreen layouts.

Change-Id: I87fcba67b421660bddb9b10213ac62704a49b7b9
2010-12-21 22:58:02 -08:00