523 Commits

Author SHA1 Message Date
Roozbeh Pournader
de0fe2daaf Swap the chess king and queen glyphs in Droid Sans Fallback.
Also remove the unused DroidSansFallbackLegacy.ttf.

Based on public bug report
https://code.google.com/p/android/issues/detail?id=71389.
The original glyphs were mistakenly swapped.

Following is the code that was run on the font:

import sys
from fontTools import ttLib
WHITE_KING = 0x2654
WHITE_QUEEN = 0x2655
BLACK_KING = 0x265A
BLACK_QUEEN = 0x265B
font_name = sys.argv[1]
font = ttLib.TTFont(font_name)
for table in font['cmap'].tables:
  cmap = table.cmap
  cmap[WHITE_KING], cmap[WHITE_QUEEN] = cmap[WHITE_QUEEN], cmap[WHITE_KING]
  cmap[BLACK_KING], cmap[BLACK_QUEEN] = cmap[BLACK_QUEEN], cmap[BLACK_KING]
font.save(font_name+'-fixed')

Bug: 15643969
Change-Id: Iacee3d72ef8146016e15828f051822460ae2ff4e
2014-06-18 18:15:22 -07:00
Roozbeh Pournader
1a8438a8bb Add Cherokee, Canadian Aboriginal Syllabics, and Yi fonts.
Bug: 15708701
Change-Id: I1cdd26798ace5eec24d09b9b5b49eb943edacbe9
2014-06-17 20:21:47 -07:00
Victoria Lease
f99c12cee5 use Noto Sans CJK fonts for EXTENDED_FONT_FOOTPRINT builds
Bug: 15569561
Change-Id: I1b8f1a9dde0a15d9bb2aa2bbe92e8c6a46d8dfc6
2014-06-16 14:10:03 -07:00
Roozbeh Pournader
e210ded9fc Add Roboto Black Italic.
The fonts was missed during the update to Roboto v2.

Bug: 15475947
Change-Id: I134138bff27bb651c91f966e20d90626172bba58
2014-06-11 15:37:02 -07:00
Raph Levien
ef7dfc08ba am eb77dfe1: Merge "Fix broken macStyle flags on Roboto-MediumItalic" into lmp-preview-dev
* commit 'eb77dfe14d51243b78ac856b582d39cacc4cd9b9':
  Fix broken macStyle flags on Roboto-MediumItalic
2014-06-05 20:08:55 +00:00
Raph Levien
d40f746b70 Fix broken macStyle flags on Roboto-MediumItalic
This is a fix for bug 15432929 "Seeing italics instead of bold"

The Roboto-MediumItalic font had macStyle of 3 (bold italic), which
caused it to be selected as a best match for a request of just bold.
This patch changes it to 2 (italic), leaving all else unchanged.

Change-Id: Ic28934904e11ca34cfede8429520d2d87aaf84cd
2014-06-05 10:24:33 -07:00
Raph Levien
88554f5f7d am dfc40743: Merge "Revert ascent/descent/lineGap of Roboto to Roboto v1 values" into lmp-preview-dev
* commit 'dfc40743fda406614a2200a31e8a670b7fa46cd8':
  Revert ascent/descent/lineGap of Roboto to Roboto v1 values
2014-06-02 18:08:19 +00:00
Roozbeh Pournader
a5fea19536 Revert ascent/descent/lineGap of Roboto to Roboto v1 values
Everything else is left intact to minimize side effects.

Bug: 15309595, 15330620
Change-Id: I7f10bc093423132b037403aa3abd9304d788f32e
2014-06-02 16:45:58 +00:00
Michael Wright
01101ff09d Merge "Add layout for OnLive controller with USB adapter" 2014-05-30 19:27:38 +00:00
Michael Wright
8111462d01 Add layout for OnLive controller with USB adapter
Change-Id: Ie21ba6550f62eb4797e0e51104b99c2a4a7c44d7
2014-05-30 12:27:00 -07:00
Victoria Lease
42460150cb Roboto v2
Fresh new revisions of our Roboto family of fonts, including family
aliases for sans-serif-medium and sans-serif-black. Enjoy!

Change-Id: I2337ccbd1767a7769deea885e0900f1ca4329779
Bug: 15170360
2014-05-23 11:25:47 -07:00
Michael Wright
725265a9c2 Add KL file for Logitech F310
Change-Id: I03f4fd74fb54571e2045b9289228150a348c994a
2014-05-21 15:39:24 -07:00
Victoria Lease
a08f0f8f45 update noto fonts
This commit represents a mass update of the Noto Fonts project, including
support for a number of new scripts, and a number of fonts being moved from
Droid to Noto versions.

Change-Id: I163076c2c2e622520c016d2086d59efe2cf464f3
2014-05-13 16:11:11 -07:00
Michael Wright
11ad0e8bac am e8628797: am 09446329: am 52025796: Merge "Map KEY_APPSELECT to APP_SWITCH."
* commit 'e8628797833dfab1319d7a17f9ff465de760c633':
  Map KEY_APPSELECT to APP_SWITCH.
2014-05-02 22:15:06 +00:00
Michael Wright
e862879783 am 09446329: am 52025796: Merge "Map KEY_APPSELECT to APP_SWITCH."
* commit '09446329b1afbbc8b56885e61ed66841b59532b2':
  Map KEY_APPSELECT to APP_SWITCH.
2014-05-02 19:20:01 +00:00
Michael Wright
09446329b1 am 52025796: Merge "Map KEY_APPSELECT to APP_SWITCH."
* commit '52025796cd264fd8ba3851c8e42fd5508366456a':
  Map KEY_APPSELECT to APP_SWITCH.
2014-05-02 19:16:16 +00:00
Olivier Gay
8840f1f13a Map KEY_APPSELECT to APP_SWITCH.
Change-Id: Iec801f2edfec9923aac088cb66663f64d62b3df6
Signed-off-by: Olivier Gay <ogay@logitech.com>
Signed-off-by: Mathieu Meisser <mmeisser@logitech.com>
2014-05-01 11:11:27 +02:00
Michael Wright
4642063d87 Improve Gamepad fallbacks for text entry.
Change-Id: Ia8b05730a9b41b93006e678aba2d182748e56083
2014-04-29 16:06:14 -07:00
Michael Wright
337d9d2edc Move key attribute information into KeyEvent.
This consolidates all of the information that was in the native
KeyEvent and the KeyLayout files into the managed KeyEvent class.

It also moves the definition for all of the key names to the native
side, rather than having them in both places.

Change-Id: I172e3b554e7eb52c79ae2ec406ef4332e8b25ffa
2014-04-28 14:33:40 -07:00
Tim Kilbourn
edad218f5a Add Fire TV remote key layout.
Change-Id: Ida72c48701bf0366f488f1c99ab17e0e5c45de78
2014-04-18 14:24:12 -07:00
Justin Koh
9a8afb1c3a am d89929db: am c635ef99: am ec5b6e87: Merge "Add RobotoCondensed-Light to build." into klp-modular-dev
* commit 'd89929db3e010eaa68d8f7c8227f95cdd4fb5179':
  Add RobotoCondensed-Light to build.
2014-03-25 21:36:39 +00:00
Justin Koh
c635ef999b am ec5b6e87: Merge "Add RobotoCondensed-Light to build." into klp-modular-dev
* commit 'ec5b6e8726a215ff912bbbf872b8bdf600a74e1e':
  Add RobotoCondensed-Light to build.
2014-03-25 21:13:53 +00:00
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
a54f852d3d am ed28fc89: Utilize new Android LED constants. DO NOT MERGE
* commit 'ed28fc89e3085a88c6bd8b4269988150f3eceb56':
  Utilize new Android LED constants. DO NOT MERGE
2014-03-11 23:16:25 +00: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
cb714ae68e am 74f36d31: am c48c9626: am 82ec1442: Merge "DO NOT MERGE Revert "Revert "Add PLAY and PAUSE keycodes and remove PLAY_PAUSE keycode.""" into klp-dev
* commit '74f36d31892d8fdfddbecc7bf3018aa3a190e5fb':
  DO NOT MERGE Revert "Revert "Add PLAY and PAUSE keycodes and remove PLAY_PAUSE keycode.""
2014-03-11 19:19:05 +00:00
Victoria Lease
544d696576 am 3ce2b57d: am 9404752d: Merge "Add casual/cursive/sans-serif-smallcaps font families."
* commit '3ce2b57d15d4afe330b728c3175b8bfb89c6890a':
  Add casual/cursive/sans-serif-smallcaps font families.
2014-03-11 18:28:41 +00: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
2901e0442a am 9e3de5f7: am 6f9f8e7a: am 01b5e765: Merge "Declare KEYCODE_SLEEP and KEYCODE_WAKEUP." into klp-modular-dev
* commit '9e3de5f70d77f7152b25fec6c27b73d037c1376d':
  Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.
2014-03-08 05:43:12 +00:00
Jeff Brown
6f9f8e7aad am 01b5e765: Merge "Declare KEYCODE_SLEEP and KEYCODE_WAKEUP." into klp-modular-dev
* commit '01b5e765e59c14cdfb62f1a8684e9116a46874d2':
  Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.
2014-03-07 23:39:12 +00: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
a6434b5e80 am 78e208ac: am 6b661fdc: am dd9f7cb2: Add Odie KL file.
* commit '78e208accebd68fd1dc634a57323cafa1143d6ed':
  Add Odie KL file.
2014-03-06 02:57:18 +00:00
Michael Wright
6b661fdcb6 am dd9f7cb2: Add Odie KL file.
* commit 'dd9f7cb2948af46047ab16d44c28a8f91948bdf5':
  Add Odie KL file.
2014-03-06 02:19:35 +00:00
Michael Wright
dd9f7cb294 Add Odie KL file.
Change-Id: I74cc90a3c66e876db51da8f9fd8ced3bac373032
2014-03-05 17:47:54 -08:00
Michael Wright
1f762b3490 am 9aa7c6e5: am e4a71792: am 4448f9d7: am c5dea68e: Merge "Revert Japanese special case fallback keys." into klp-dev
* commit '9aa7c6e583ac18d6c338af8d478512c4ab5293b4':
  Revert Japanese special case fallback keys.
2014-03-06 01:03:52 +00:00
Victoria Lease
4fa72e3574 am 533d300f: am 268088ee: am 3ce2b57d: am 9404752d: Merge "Add casual/cursive/sans-serif-smallcaps font families."
* commit '533d300f9a4ac98661affe1deb9dca72306ada2b':
  Add casual/cursive/sans-serif-smallcaps font families.
2014-03-04 00:04:22 +00:00
Victoria Lease
2b96157f92 Add casual/cursive/sans-serif-smallcaps font families.
Bug: 12384866
Change-Id: I7482d228279a63ea92cb605de314b2f7d0ad483f
2014-03-03 08:50:46 -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
Michael Wright
8a5dbac349 Remove Japanese button swap
Bug: 12923922
Change-Id: I4960d8189e751514a595823d7ed9b273e3ff8eb8
2014-02-14 13:20:58 -08:00
Zhihai Xu
c9eff80eca Merge "Revert "Revert "Add PLAY and PAUSE keycodes and remove PLAY_PAUSE keycode.""" 2014-01-10 17:44:22 +00:00
Michael Wright
fbefb93f26 Fix Rhodi KL file axes
Change-Id: Ifb779c7730ed4b69325bf57aa7629c663ee4cb5c
2014-01-08 15:40:14 -08:00
Zhihai Xu
5416022506 Revert "Revert "Add PLAY and PAUSE keycodes and remove PLAY_PAUSE keycode.""
This reverts commit 371427b53c70d1a71012de404c29187fe303a22a.

Change-Id: I497832b54856a9909fc8651ee67555e02e0e763e
2014-01-07 11:37:24 -08:00
Michael Wright
88d7a06508 Add Rhodi kl file
Change-Id: I950fd2df88b6100dce29e97fd1d9b292ed51fffe
2013-12-18 18:20:43 -08:00
Glenn Kasten
2a4768c735 KeypressInvalid_48k.ogg was 44.1 kHz previously
Command:
oggenc --resample 48000 -o ogg/KeypressInvalid_48k.ogg KeypressInvalid.wav

Change-Id: I862ba47f41eee8b6668cd45b9322f164fd652a7f
2013-11-19 16:40:06 -08:00
Glenn Kasten
62ca3a891d am c5f317e4: am 1b21665b: am c32d89f6: Merge "Replace keyboard sounds with latest (softer) design" into klp-dev
* commit 'c5f317e48e0406a0303eb1303cee4c5da2c6272d':
  Replace keyboard sounds with latest (softer) design
2013-11-13 18:48:20 -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
9cd7c61ffc am d3616c07: am adfbc5b2: am 8a0d133c: Merge "Make AudioPackage11 (N7 v2) more like AudioPackage12_48 (N5)" into klp-dev
* commit 'd3616c07f7a39efbf6a1e4c85ede57fe0214430f':
  Make AudioPackage11 (N7 v2) more like AudioPackage12_48 (N5)
2013-11-12 10:55:12 -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
51cf5c7310 am cb623a8d: am f99e8650: am fed822cb: Merge "Fix Tethys asset" into klp-dev
* commit 'cb623a8d44cfef63133c3c8d1d8a31aa48ba57d2':
  Fix Tethys asset
2013-11-11 20:51:54 -08:00