352 Commits

Author SHA1 Message Date
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
Jeff Brown
2786b312d3 Move keymaps from sdk/emulator/keymaps.
Change-Id: Ia10992a5988641b338cb4a50f57deadd5188a5e2
2011-01-25 19:08:04 -08: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
Jim Miller
ae115191cb Merge "Fix 3148496: Update LockScreen clock to use new font." 2010-12-17 18:04:48 -08:00
Jim Miller
4e659135fd Fix 3148496: Update LockScreen clock to use new font.
Change-Id: I8a4133f633bd3927de75010099e29ad847f3f671
2010-12-17 17:53:02 -08:00
Jaikumar Ganesh
7a863b4bda Add PLAY and PAUSE keycodes and remove PLAY_PAUSE keycode.
Change-Id: I0b17bea189c90fcacff42e182e9e47ef179c28ca
2010-12-16 16:24:15 -08:00
Justin Ho
df36b55681 Merge "Integrating updated alert sounds, and new audio manifest for trygon" 2010-12-08 14:55:00 -08:00
Justin Ho
80e826e544 Integrating updated alert sounds, and new audio manifest for trygon
Change-Id: If7a77e33aad0785946cfe200698f9e05de774a9b
2010-12-08 12:30:42 -08:00
Jeff Brown
49ed71db42 Add support for fallback keycodes.
This change enables the framework to synthesize key events to implement
default behavior when an application does not handle a key.
For example, this change enables numeric keypad keys to perform
their associated special function when numlock is off.

The application is informed that it is processing a fallback keypress
so it can choose to ignore it.

Added a new keycode for switching applications.

Added ALT key deadkeys.

New default key mappings:
- ESC -> BACK
- Meta+ESC -> HOME
- Alt+ESC -> MENU
- Meta+Space -> SEARCH
- Meta+Tab -> APP_SWITCH

Fixed some comments.
Fixed some tests.

Change-Id: Id7f3b6645f3a350275e624547822f72652f3defe
2010-12-07 17:35:26 -08:00
Jeff Brown
9065504a63 Improve support for external keyboards.
Use Vendor ID, Product ID and optionally the Version to
locate keymaps and configuration files for external devices.

Moved virtual key definition parsing to native code so that
EventHub can identify touch screens with virtual keys and load
the appropriate key layout file.

Cleaned up a lot of old code in EventHub.

Fixed a regression in ViewRoot's fallback event handling.

Fixed a minor bug in FileMap that caused it to try to munmap
or close invalid handled when released if the attempt to map
the file failed.

Added a couple of new String8 conveniences for formatting strings.

Modified Tokenizer to fall back to open+read when mmap fails since
we can't mmap sysfs files as needed to open the virtual key
definition files in /sys/board_properties/.

Change-Id: I6ca5e5f9547619fd082ddac47e87ce185da69ee6
2010-12-02 16:01:32 -08:00
Jeff Brown
47e6b1b5ee Support non-orientation aware keyboards and other devices.
Fixed a bug with dpad keys on external keyboards being rotated
according to the display orientation by adding a new input device
configuration property called "keyboard.orientationAware".

Added a mechanism for overriding the key layout and key character
map in the input device configuration file using the new
"keyboard.layout" and "keyboard.characterMap" properties.

Also added "trackball.orientationAware", "touch.orientationAware" and
"touch.deviceType" configuration properties.

Rewrote the configuration property reading code in native code
so that it can be used by EventHub and other components.

Added basic support for installable idc, kl, and kcm files
in /data/system/devices.  However, there is no provision for
copying files there yet.

Disabled long-press character pickers on full keyboards so that
key repeating works as expected.

Change-Id: I1bd9f0c3d344421db444e7d271eb09bc8bab4791
2010-11-30 17:15:49 -08:00
Justin Ho
b6ac282eae Adding new ringtones and notifications
Change-Id: I2f59c1e5ef723e370165fc35c40a31df0ab0ee9f
2010-11-30 10:58:56 -08:00
Jeff Brown
d49c347921 Tweak key layouts.
Change-Id: I19777ec4e5d0a5485cfe2a44a15e2b0680557d08
2010-11-25 15:02:36 -08:00
Jeff Brown
42e514b0d1 Merge "Port Emulator keymaps." 2010-11-23 15:51:27 -08:00
Jeff Brown
061cf75884 Port Emulator keymaps.
Also added a validation tool for keymaps (not currently integrated
into the build system but getting there).

This change brings back Android.mk with the intent that it will
be used to validate keymaps in a later change.

Added some missing keys that are present on phones.

Bug: 3215210
Bug: 3225421
Change-Id: Id817c6e2215164616942c51a42752915d9ceacd3
2010-11-23 15:26:48 -08:00
Justin Ho
aff153d5a3 Adding new gingerbread notifications and ringtones to master
Change-Id: I5489606fa98dc78c0b864b95a98def41ce6d1f67
2010-11-22 09:33:21 -08:00
Justin Ho
5e5c2a199a am 80381ab4: Merge "DO NOT MERGE - Updated ringtones for Crespo, fixing looping problem" into gingerbread
* commit '80381ab4ed44bd69c3e3464a848ca15851365b03':
  DO NOT MERGE - Updated ringtones for Crespo, fixing looping problem
2010-11-18 15:06:51 -08:00
Justin Ho
9b14d1d52a DO NOT MERGE - Updated ringtones for Crespo, fixing looping problem
Change-Id: Id5947197bdb6599bb7a3a15ab1e1a9541a4d31b2
2010-11-18 15:02:18 -08:00
Jeff Brown
6b53e8daa6 Added support for full PC-style keyboards.
BREAKING CHANGE: Redesigned the key character map format to
accomodate full keyboards with more comprehensive suite of modifiers.
Old key character maps will not work anymore and must be updated.
The new format is plain text only and it not compiled to a binary
file (so the "kcm" tool will be removed in a subsequent check-in).

Added FULL keyboard type to support full PC-style keyboards.

Added SPECIAL_FUNCTION keyboard type to support special function
keypads that do not have any printable keys suitable for typing
and only have keys like HOME and POWER

Added a special VIRTUAL_KEYBOARD device id convention that maps
to a virtual keyboard with a fixed known layout.  This is designed
to work around issues injecting input events on devices whose
built-in keyboard does not have a useful key character map (ie.
when the built-in keyboard is a special function keyboard only.)

Modified several places where events were being synthesized
to use the virtual keyboard.

Removed support for the "qwerty" default layout.
The new default layout is "Generic".  For the most part "qwerty"
was being used as a backstop in case the built-in keyboard did
not have a key character map (probably because it was a special
function keypad) and the framework needed to be able to inject
key events anyways.  The latter issue is resolved by using the
special VIRTUAL_KEYBOARD device instead of BUILT_IN_KEYBOARD.

Added the concept of a key modifier behavior so that
MetaKeyKeyListener can distinguish between keyboards that use
chorded vs. toggled modifiers.

Wrote more robust key layout and key character map parsers
to enable support for new keyboard features and user installable
key maps.

Fixed a bug in InputReader generating key ups when keys
are released out of sequence.

Updated tons of documentation.

Currently QwertyKeyListener is being used for full keyboards
with autotext and capitalization disabled.  This mostly works
but causes some problems with character pickers, etc.
These issues will be resolved in subsequent changes.

Change-Id: Ica48f6097a551141c215bc0d2c6f7b3fb634d354
2010-11-18 09:49:03 -08:00
Justin Ho
b9d3e35907 am 868889fb: Merge "DO NOT MERGE - Updated ringtones from pdx (v3) - Quickly fixing distortion at highest volume setting by adjusting gain. Proper fix should be via media stack/hardware." into gingerbread
* commit '868889fb4175979ef9aa505fc746bf616f54ed10':
  DO NOT MERGE - Updated ringtones from pdx (v3) - Quickly fixing distortion at highest volume setting by adjusting gain. Proper fix should be via media stack/hardware.
2010-11-15 09:13:16 -08:00
Justin Ho
868889fb41 Merge "DO NOT MERGE - Updated ringtones from pdx (v3) - Quickly fixing distortion at highest volume setting by adjusting gain. Proper fix should be via media stack/hardware." into gingerbread 2010-11-15 09:10:33 -08:00