478 Commits

Author SHA1 Message Date
Justin Koh
f1596064d3 Add RobotoCondensed-Light to build.
Add RobotoCondensed-Light to build so that apps don't all need to include their
own copy.
Bug: 13087110

Change-Id: I55973a4ba2a68858b79271519a0ecc9c54f6b31e
2014-03-25 13:19:02 -07:00
Michael Wright
ed28fc89e3 Utilize new Android LED constants. DO NOT MERGE
Also, have EventHub manage game controllers' player LEDs

Change-Id: Ic7dba19ad236a3c7d1aff5d3f938bd239b98d51d
2014-03-11 14:52:18 -07:00
Zhihai Xu
74f36d3189 am c48c9626: am 82ec1442: Merge "DO NOT MERGE Revert "Revert "Add PLAY and PAUSE keycodes and remove PLAY_PAUSE keycode.""" into klp-dev
* commit 'c48c9626bd2eb91aab33a034baf139aa2b92671d':
  DO NOT MERGE Revert "Revert "Add PLAY and PAUSE keycodes and remove PLAY_PAUSE keycode.""
2014-03-11 17:43:56 +00:00
Zhihai Xu
7434fa31d8 DO NOT MERGE Revert "Revert "Add PLAY and PAUSE keycodes and remove PLAY_PAUSE keycode.""
This reverts commit 371427b53c70d1a71012de404c29187fe303a22a.

bug:12099469
Change-Id: I497832b54856a9909fc8651ee67555e02e0e763e
2014-03-10 10:58:14 -07:00
Jeff Brown
6212a49a94 Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.
These new keys behave in similarly to KEYCODE_POWER but do not
simply toggle between awake and asleep states.

Sleep puts the device to sleep if it is awake.
Wakeup wakes up the device if it is asleep.

Bug: 12938999
Change-Id: I260fb918cc858882fe06fa880910df5763a76c5d
2014-03-07 14:02:55 -08:00
Michael Wright
dd9f7cb294 Add Odie KL file.
Change-Id: I74cc90a3c66e876db51da8f9fd8ced3bac373032
2014-03-05 17:47:54 -08:00
Michael Wright
bdffc3ad05 Revert Japanese special case fallback keys.
Reverts commits 4567e40eb04589d211af82f2dcb16cb3955c605e and
a977707d6e7006d11cfde045f187e777b31b9e04, which added special case fallbacks
for game controllers in the Japanese locale.

Bug: 12923922
Change-Id: I229126e589e11fb5de86772ef9c59d09723af941
2014-02-26 15:43:48 -08:00
Glenn Kasten
34262cdfc5 Replace keyboard sounds with latest (softer) design
Make AudioPackage8 (N7 v1) and AudioPackage9 (N10) more like
AudioPackage12_48 (N5).

Bug: 11158758
Change-Id: I55052218f62159fd90efb21be19e19509eb11afe
2013-11-13 09:17:46 -08:00
Glenn Kasten
8a0d133cd7 Merge "Make AudioPackage11 (N7 v2) more like AudioPackage12_48 (N5)" into klp-dev 2013-11-12 18:40:42 +00:00
Jean-Michel Trivi
0623a1bc76 Fix Tethys asset
When played on a device with MBDRC or on headphones, flaws in this
 asset become apparent: hiss throughout the sound, and positive
 true-peak on the first attack on the right channel.
This new version has reduced noise through substraction of the
 noise print at the end, and fadeout to silence. The asset is
 encoded with a 3dB headroom and a slight EQ.

Bug 11077919

Change-Id: I73ab91ca7118afd382e15a4673c332353294470e
2013-11-08 17:41:35 -08:00
Glenn Kasten
2f6965c2a4 Make AudioPackage11 (N7 v2) more like AudioPackage12_48 (N5)
Replace keyboard and lock sounds with latest (softer) design.
Bug: 11158758

Change-Id: Ib02a0cbdecaaf7618f8806f84bc896912821b5f4
2013-11-08 09:34:16 -08:00
Glenn Kasten
14aa1ed0f4 Make AudioPackage10 (N4) more like AudioPackage12_48 (N5)
Replace keyboard and lock sounds with latest (softer) design.

Bug: 11158758
Change-Id: Ic40d53207be8b23fdafb3ac0c0852744950c79ec
2013-11-08 00:36:20 +00:00
Matthew Xie
371427b53c Revert "Add PLAY and PAUSE keycodes and remove PLAY_PAUSE keycode."
This reverts commit 7a863b4bdae1d01d4ac972fe8ff8968bbfed6709.

bug 11325212
Change-Id: I8b50aec4ae39894a854583a74bda4db3445d3d67
2013-11-01 13:49:20 -07:00
Roozbeh Pournader
6a0ef07e1f Change yMax of Roboto fonts from 2146 to 2163
This is needed so that other UI fonts don't clip, since
they have been designed assuming that a yMax of at least
2163 is available to them.

The change is achieved by modifying an invisible tiny
square that already existed at the extrema of the the glyph
for U+FFFD REPLACEMENT CHARACTER that was already the
tallest glyph in the fonts.

Bug: 10699356
Change-Id: Ib03ea071b7a82066cacf2b3ae9769db0c449a479
2013-10-24 18:50:25 -07:00
Victoria Lease
60a641d2e4 remove U+261d from MTLmr3m.ttf
This codepoint is covered by NotoColorEmoji.ttf, and MTLmr3m is
shadowing it.

Bug: 11177194
Change-Id: I827f58bcae4c9b4849034fa85608087b1e786f25
2013-10-14 09:29:11 -07:00
Marco Nelissen
d983ba5cac Add PowerManager method to assign blame to a single uid
Currently used by audioflinger to account for recording wakelocks.
b/10985160

Change-Id: I18fc8487f2a197bf02b5269a4bcae9e75b6c2207
2013-10-03 08:49:36 -07:00
Daniel Sandler
4e6f752f23 Put soundpooled sounds in the right place.
Bug: 10846839
Change-Id: I5318c2d54ea0e25fa74bbafc35fb4f7a2883b351
2013-09-20 00:27:01 -04:00
Daniel Sandler
1816375ff7 Merge "New sounds for K." into klp-dev 2013-09-19 14:52:07 +00:00
Daniel Sandler
dcbdd3b420 New sounds for K.
AudioPackage12 uses the new sounds (specifically the default
versions at 44.1kHz); device-specific makefiles can elect to
use the 48k versions instead by including
AudioPackage12_48.mk.

Bug: 9454760
Change-Id: If714fc4b98f6700163f08c92a6376f28f9616382
2013-09-18 23:09:58 -04:00
Victoria Lease
4ce0931ffd restore coverage lost in NotoColorEmoji transition
The following codepoints were previously provided by AndroidEmoji,
but are no longer present in our fallback chain. This commit restores
them by resurrecting a subset version of AndroidEmoji.ttf:

 U+25AB WHITE SMALL SQUARE
 U+25FB WHITE MEDIUM SQUARE
 U+25FC BLACK MEDIUM SQUARE
 U+25FD WHITE MEDIUM SMALL SQUARE
 U+25FE BLACK MEDIUM SMALL SQUARE
 U+2600 BLACK SUN WITH RAYS
 U+26AA MEDIUM WHITE CIRCLE
 U+26AB MEDIUM BLACK CIRCLE
 U+2757 HEAVY EXCLAMATION MARK SYMBOL
 U+2934 ARROW POINTING RIGHTWARDS THEN CURVING UPWARDS
 U+2935 ARROW POINTING RIGHTWARDS THEN CURVING DOWNWARDS
 U+2B05 LEFTWARDS BLACK ARROW
 U+2B06 UPWARDS BLACK ARROW
 U+2B07 DOWNWARDS BLACK ARROW
 U+2B1B BLACK LARGE SQUARE
 U+2B1C WHITE LARGE SQUARE
 U+2B50 WHITE MEDIUM STAR
 U+2B55 HEAVY LARGE CIRCLE
 U+303D PART ALTERNATION MARK

These characters see regular use in kaomoji constructions (and
elsewhere), and it really wouldn't do to lose them.

Bug: 10144988
Change-Id: I72b541aad01bc5ccac829be44ed259c461724142
2013-09-18 15:30:32 -07:00
Glenn Kasten
0f3e1487b2 Merge "Remove obsolete assets from target /system/media/video/" into klp-dev 2013-09-14 00:07:44 +00:00
Victoria Lease
54769862ff NotoColorEmoji.ttf is the new AndroidEmoji.ttf
Bug: 10144988
Change-Id: I04ebb86e283b752c43597b5f908f5c28f7806ee1
2013-09-13 14:11:58 -07:00
Glenn Kasten
db8c1655ea Remove obsolete assets from target /system/media/video/
These were previously used for background replacement effect, but it seems
like they aren't needed any more and just take up space in filesystem.

Change-Id: I0782ac0c8f109e4f28e9f43c20d30dc6ccd82ef7
2013-09-13 10:27:40 -07:00
Victoria Lease
36d4cc8d2b include Padauk in fallback chain
Bug: 10625246
Change-Id: I32530a992beeafe2ee16da36f0dc0a752c647cc6
(cherry picked from commit 5d34e4d679e6237b0d075177d1e365161c684445)

Conflicts:
	data/fonts/fallback_fonts.xml
2013-09-11 09:52:29 -07:00
Michael Wright
7b4f60deb2 Merge "Special case game controller fallback keys for Japan" into klp-dev 2013-09-07 02:04:20 +00:00
Victoria Lease
a680b17fb4 Merge "add NotoSansSymbols to fallback chain" into klp-dev 2013-09-06 19:40:00 +00:00
Victoria Lease
6527604ae7 add NotoSansSymbols to fallback chain
Bug: 10639804
Change-Id: I56fcdd980c2b8c2a4d631e93cbc3252d125c197d
2013-09-05 16:11:56 -07:00
Michael Wright
37ad207edc Fix broken copy of kl/kcm/idc files to system image
Bug: 10633915
Change-Id: I244b85dc92d50bf8bdcfdf0fe32556eff8c5d279
2013-09-05 15:27:32 -07:00
Victoria Lease
531dfc4573 DroidSans -> NotoSans for {Devanagari,Tamil,Thai}
Bug: 7672029
Change-Id: I3b7278841ea1934b459f972d5acd99277e8f6db8
2013-09-05 13:13:58 -07:00
Justin Koh
217ecacd18 Merge "Add keypress invalid to all AudioPackage mk files." into klp-dev 2013-09-05 17:06:14 +00:00
Michael Wright
9f8c2d229f Merge "Fix keymap build dependencies and variable name collisions" into klp-dev 2013-09-04 22:37:05 +00:00
Victoria Lease
e57d117410 Merge "add Noto Sans Khmer and Lao" into klp-dev 2013-09-04 15:34:57 +00:00
Justin Koh
0dc6733e3f Add keypress invalid to all AudioPackage mk files.
Add keypress invalid to all AudioPackage mk files.
Bug: 10571332

Change-Id: I3999b124a97869da567200d3588087a9fdc1b8d8
2013-09-03 12:58:43 -07:00
Michael Wright
18e14c75e3 Fix keymap build dependencies and variable name collisions
Change-Id: I06e67ddc97429ae9c3d04143934c3f8233fcd22f
2013-09-03 12:27:18 -07:00
Jeff Sharkey
9c104ab454 Remove deprecated ACCESS_DRM permission.
The permission no longer exists, so don't assign it to media.

Bug: 9967611
Change-Id: I5e11fcfc265310cbc3c2a8812a13e68b717fa476
2013-09-03 12:04:39 -07:00
Victoria Lease
79d8f06ae7 add Noto Sans Khmer and Lao
Bug: 7672029
Change-Id: Ie17018222939c097e98a16762ec4ff4bef4e1836
2013-08-30 14:03:36 -07:00
Michael Wright
4567e40eb0 Special case game controller fallback keys for Japan
Bug: 10306633
Change-Id: I647fc5286678ddd85599a00e68e2fd70c2c3db49
2013-08-26 12:27:37 -07:00
Jeff Sharkey
02e4d16ed9 Add GIDs to packages.list, update SD card perms.
Write supplementary GIDs to packages.list for lower-level system
components to parse.

WRITE_EXTERNAL_STORAGE also implies sdcard_r GID. Switch to always
enforce READ_EXTERNAL_STORAGE permission. Update permission docs to
mention new behavior.

Change-Id: I316ba4b21beebb387ac05c80980ae9b38235b37d
2013-08-12 20:31:36 -07:00
Victoria Lease
a0cbcd509f prototype colour emoji font
Bug: 9577689
Change-Id: Ia92460280fa00fc6849cfa8aa41ca06ae5866b4a
2013-08-07 15:46:16 -07:00
Michael Wright
2c126204a5 Remove incorrect keymapping
Turns out Snakebytes produce all 0s for their vendor / product IDs. This
somehow got the vendor / product ID of an international apple keyboard, which
will break them. Unfortunately, this also means we cannot map Snakebyte
controllers at all.

Relevant bug: https://code.google.com/p/android/issues/detail?id=58202

Change-Id: I59e134f8d1eb059fdf6823e65d6ce5387428029e
2013-07-29 13:54:46 -07:00
Jean-Michel Trivi
f40a0535ac am a8f7659a: am f65c9189: am bbc9a62a: Cleaner Tejat notification in Audio Package 11
* commit 'a8f7659aba2c9233fb61ae34dfc0d7477dc0ae91':
  Cleaner Tejat notification in Audio Package 11
2013-07-19 13:42:39 -07:00
Eino-Ville Talvala
f889c84f42 Merge "Camera: Remove camera gid from apps with camera permission." 2013-07-18 18:51:33 +00:00
Justin Koh
cacfe69b68 Add FX_KEYPRESS_INVALID constant to AudioManager.
Add FX_KEYPRESS_INVALID constant to AudioManager. This is a sound which should
play if the user tries to click or press on an element which is disabled.

Change-Id: Idd8953abeddd1afb51f7f190f9fb612ef672defa
2013-07-18 10:46:19 -07:00
Jean-Michel Trivi
bbc9a62a71 Cleaner Tejat notification in Audio Package 11
Add a reworked version of "Tejat", at 48kHz.
 The original asset is "/data/sounds//notifications/wav/Deneb.wav".
Use this new version in Audio Package 11 under its original name.

Bug 9900161

Change-Id: I4d7c73715db4e52f5c89aeca726f8b314e0895d5
2013-07-17 15:38:57 -07:00
Eino-Ville Talvala
b8dd91a6b2 Camera: Remove camera gid from apps with camera permission.
This gid is not needed by camera-using apps, since all camera access
is mediated by the camera service, which does not depend on gid for
permission checks.

Bug: 9904186
Change-Id: I859e6cabc905af9d98e2b09f5bbad086b5eb2b26
2013-07-17 22:00:02 +00:00
Dave Burke
846b6f8df5 am 17486b97: am ed8f94fc: Merge "Fix up device sounds." into jb-mr2-dev
* commit '17486b974940e7f129e74d89b7f8fb0473115943':
  Fix up device sounds.
2013-05-28 22:59:24 -07:00
Dave Burke
fbdb7d25de Fix up device sounds.
Bug: 9179812
Change-Id: Ie86287487830c06f38bcc5c0e8bab3da225d6bbf
2013-05-28 21:44:29 -07:00
Michael Wright
d351180667 Include key maps based on file name
Rather than keeping a curated list where it's easy to miss things, just pick up
all of the possible key layouts, key character maps and input device configs in
framework/base/data/keyboards based on filename.

Change-Id: Iefa8eca491dcb6913e5b12bfda7096b6a5fedf18
(cherry picked from commit 9f5a6ee489f89c93491beef9bf64475fd2bfb0dd)
2013-05-14 00:05:05 +00:00
Michael Wright
275d6915e5 Add DPad keys to Playpad
Change-Id: If274aa7e9d5e4988cf613ea9a16584c413ded8dd
2013-04-26 15:06:38 -07:00
Michael Wright
fb8df2356a Fix keylayouts to use BACK instead of incorrect BUTTON_BACK.
Fix duplicate keys in a couple of the onza controllers.  Also, add them to the
Makefile so they actually get included in the build.

Bug: 8292749
Change-Id: I8246155f84d0c3c75b21e37fb579227fda76e197
2013-04-23 15:54:21 -07:00