summaryrefslogtreecommitdiffstats
path: root/data
Commit message (Collapse)AuthorAgeFilesLines
...
* Add keylayout for Asus GamepadMichael Wright2014-09-231-0/+42
| | | | | Bug: 17627642 Change-Id: I9dd76bbc3ea0493d5a54479ef4dc94c520e35433
* Merge "Add material camera_click sound" into lmp-devJason Monk2014-09-1813-17/+17
|\
| * Add material camera_click soundJason Monk2014-09-1813-17/+17
| | | | | | | | | | Bug: 17281234 Change-Id: I3f9a7592cfe8171fcae44ea075bf7faafaa482fe
* | Remove Rhodi keylayoutMichael Wright2014-09-161-42/+0
|/ | | | | | | | | Looks like Broadcom re-used the Rhodi PID since we never shipped. Remove the keylayout so we don't accidentally use it for other devices. Bug: 17504946 Change-Id: Ia11ad40f8ba7d49f82e7f68d881cf7c9bfafcb37
* Map KEY_VOICECOMMAND to KEYCODE_VOICE_ASSISTMichael Wright2014-09-051-0/+1
| | | | | | | This is to simplify Project Watson requirements and enable USB Audio to easily implement similar functionality to the Watson headsets. Change-Id: Idd0a0cd6c6ba4a977090fb338d9241046f0380e6
* Merge "Update soundscape for L, using classic names." into lmp-devDan Sandler2014-08-2864-12/+8
|\
| * Update soundscape for L, using classic names.Dan Sandler2014-08-2864-12/+8
| | | | | | | | | | | | | | (partial revert of commit 7348f744) Bug: 15725449 Change-Id: Ic1a038c906deab035f96caed42fc16c59d459965
* | Merge "New weight-aware font config" into lmp-devRaph Levien2014-08-272-2/+26
|\ \ | |/ |/|
| * New weight-aware font configRaph Levien2014-08-262-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parse new fonts.xml config file, and resolve weight selection based on the base weight of the font (as defined by a weight alias specified in the config file) and the requested bold flag. This change improves the appearance of bold spans for alternate weights of Roboto. In addition, this patch enables weight selection for fallback fonts. For example, if an additional font with a weight of 100 is added to the Hebrew font family in the fallback list, then requesting "sans-serif-thin" would select that font for Hebrew text. Bug: 14538154 Change-Id: I99a04fad4f7bf01c75726e760d42735dd9003496
* | Update soundscape for LAdrian Roos2014-08-2680-19/+94
|/ | | | | Bug: 15725449 Change-Id: I8c1033b24a50a61185d042bd6d214d7a3407ccbe
* Merge "Compress miscellaneous fonts." into lmp-devSascha Prueter2014-08-209-0/+0
|\
| * Compress miscellaneous fonts.Roozbeh Pournader2014-08-159-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fonts are passed through Noto's identity subsetter at https://code.google.com/p/noto/source/browse/nototools/subset.py?r=bdd10822706b which keeps the same functionality, but compresses tables, removes unreachable glyphs, converts post table to version 3.0, etc. Additionally, the DroidSansFallback fonts and MotoyaLMaru are passed through fontcrunch. The build footprint of the non-extended font profile is reduced by 546KB. Bug: 15348046 Change-Id: I66777a0efeb98da6007091548a6ee847ecb4ea1f
* | Play "device trusted" sound when onTrustInitiatedByUser firesAdrian Roos2014-08-1816-3/+16
|/ | | | | Bug: 16840500 Change-Id: I73fbe5c2cff665ccb637abb9039d57f377d9df53
* Copy fonts.xml to /system/etcRaph Levien2014-08-111-1/+2
| | | | | | | | | This patch actually copies the new font config file to the /system/etc directory on the device, where frameworks and apps will be able to read it. Bug: 14538154 Change-Id: I53a932210763b718f469d80cc92816edf4e5b14e
* Add new fonts.xmlRaph Levien2014-08-071-0/+233
| | | | | | | | | | | This adds a new configration file for fonts with several more features, most notably the ability to specify numeric weights for fonts in a family, and specify aliases for weights. This will help help choose an appropriate font for a "bold" weight request, rather than just applying auto-bolding. Bug: 14538154 Change-Id: Ib4d54d66a0c68b7d46e665d7cd94e97b72468e95
* Fix GSUB ccmp rule to use non-spacing marks.Roozbeh Pournader2014-08-0118-0/+0
| | | | | | | | | | | | | | | | | The fonts are updated to upstream version 2.001047. The previous version had buggy ccmp rules that were mistakenly replacing sequences such as A` <U+0041, U+0060> with À <U+00C0>. The new fonts replace those with corrected rules that use combining accents instead, such as U+0300 COMBINING GRAVE ACCENT instead of U+0060 GRAVE. Also, a GSUB rule that mistakenly replaced aʾ <U+0061, U+02BE> with ẚ <U+1E9A> is removed, and U+2117 SOUND RECORDING COPYRIGHT that was missing from the Thin and Thin Italic fonts is added to them. Bug: 16727859 Bug: 16719701 Change-Id: Ibd0a63ea3f51992c0e56fb255e68352915cc6c3a
* Re-remove AndroidEmoji.ttf.Roozbeh Pournader2014-07-311-0/+0
| | | | | | | It was mistakenly re-added in 6feb729b686b902be2520a91281e1a000c055da2. Change-Id: I99a41ed8e6f1975e9808d8063e594fbb996d4334 (cherry picked from commit a7d8d7bfa75b283588aacae16cce78f6161acce9)
* Crunch Roboto and fix its digits to have the same width.Roozbeh Pournader2014-07-3119-0/+0
| | | | | | | | | | | | | | | | | Update to upstream version 2.001045, which adds fontcrunch to the font production process and fixes a problem with uneven digit widths. Should fix https://code.google.com/p/android-developer-preview/issues/detail?id=330. The font footprint is reduced by 705KB, most of it due to the crunching, but also by using a newer version of fonttools that removes extra unnecessary paddings from the glyf table. Bug: 15348046 Bug: 16296048 Bug: 16299966 Change-Id: I838711916f8c47db011cfe889b232e60e6f1aa0c (cherry picked from commit 6feb729b686b902be2520a91281e1a000c055da2)
* Fix the glyph for U+3A34 in DroidSansFallbackFull.ttf.Roozbeh Pournader2014-07-251-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | The old glyph had its right part using a wrong component. The right component was available in the font. The following script was used to fix the issue: from fontTools import ttLib from nototools import subset font = ttLib.TTFont('DroidSansFallbackFull.ttf', lazy=False) glyf_table = font['glyf'] glyph = glyf_table['uni3A34'] for component in glyph.components: if component.glyphName == 'glyph45821': component.glyphName = 'glyph30895' glyph.recalcBounds(glyf_table) font.save('DroidSansFallbackFull.ttf-fixed') subset.subset_font( 'DroidSansFallbackFull.ttf-fixed', 'DroidSansFallbackFull.ttf-subset') The font footprint is reduced by 12KB mostly due to removing unneeded glyph paddings. Bug: 15149504 Change-Id: I914ec89435caadbeaa321e10fb0848f181fef667
* Do not include DroidSansFallback on EXTENDED_FONT_FOOTPRINT builds.Roozbeh Pournader2014-07-241-16/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The build file is modified to hang non-module fonts on DroidSansMono instead, now that a device may not have DroidSansFallback. Also, some cleanup is done to make the rules clearer and keep usages near definitions. The support for following character will disappear from the extended profiles because of this change: U+202A LEFT-TO-RIGHT EMBEDDING U+202B RIGHT-TO-LEFT EMBEDDING U+202C POP DIRECTIONAL FORMATTING U+202D LEFT-TO-RIGHT OVERRIDE U+F95A 讀 CJK COMPATIBILITY IDEOGRAPH-F95A U+F9F3 麟 CJK COMPATIBILITY IDEOGRAPH-F9F3 U+10400 𐐀 DESERET CAPITAL LETTER LONG I U+10428 𐐨 DESERET SMALL LETTER LONG I U+1044D 𐑍 DESERET SMALL LETTER ENG U+1044E 𐑎 DESERET SMALL LETTER OI U+1044F 𐑏 DESERET SMALL LETTER EW The first four are not needed, as HarfBuzz makes sure they are rendered as invisible, the two CJK compatibility characters have canonnical decompositions to unified ideographs already supported in included Noto Sans CJK fonts, and the Deseret letters were only in DroidSansFallback for testing purposes. Change-Id: Ibb7fa61dc851710ba14c3944281e228bd2e4f5b2
* Remove unused fonts.Roozbeh Pournader2014-07-245-0/+0
| | | | | | | | Remove various fonts that are not used by any build: Droid Kufi (replaced by Noto Naskh), Droid Sans (symlinked to Roboto), and Droid Sans Japanese (replaced by Motoya). Change-Id: Iefb056810f3c9386a311f1c7d617d76050eb7ffe
* Fix BCP47 language tags in fallback_fonts.xmlRaph Levien2014-07-101-2/+2
| | | | | | | | The BCP47 tag we use for selecting Simplified vs Traditional Chinese is Hans and Hant. This patch uses those tags in fallback_fonts.xml rather than country names, which weren't getting matched. Change-Id: I97e1da7b86e8fe8f026365146393304a5ab74443
* Remove the monochrome AndroidEmoji font.Roozbeh Pournader2014-07-094-8/+1
| | | | | | | | | All characters are now supported in other fonts in the fallback chain: U+303D is supported in Noto Color Emoji, everything else is supported in the subsettd Noto Sans Symbols. Bug: 15777351 Change-Id: Ibf4bbffbfdddfa9e0f08ceff96c835ffeb3e555d
* Re-enable Motoya in the extended font builds.Roozbeh Pournader2014-07-071-2/+0
| | | | | | | | The font is now included in all non-smaller font builds, as opposed to the previous "not smaller but not extended either" builds. This is in sync with not including Noto Sans Japanese in the extended build. Change-Id: Id0f79bc1de714ac876a601c4867a55b6dbfc820c
* Subset Droid Sans Fallback to remove duplicate coverage.Roozbeh Pournader2014-07-072-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes all characters that are already supported by either Roboto or the expanded Noto Sans Symbols font. The Droid Sans Fallback fonts are also passed through the fonttools subsetter to recompress the tables and convert the post table to version 3.0. This change reduces the size of the files by about 270KB each. The following characters are removed: 0021..007E, 00A0..00A1, 00A4, 00A7..00A8, 00AA..00AB, 00AD..00B4, 00B6..00BF, 00C6, 00D0, 00D7..00D8, 00DE..00E1, 00E6, 00E8..00EA, 00EC..00ED, 00F0, 00F2..00F3, 00F7..00FA, 00FC, 00FE, 0101, 0111, 0113, 011B, 0126..0127, 012B, 0131..0133, 0138, 013F..0142, 0149..014B, 014D, 0152..0153, 0166..0167, 016B, 01C0..01C3, 01CE, 01D0, 01D2, 01D4, 01D6, 01D8, 01DA, 01DC, 021A..021B, 0250..02B2, 02B4, 02B7, 02BB..02BC, 02C7..02CD, 02D0..02D1, 02D8..02DB, 02DD..02DE, 02E0, 02E4, 0300..0301, 0303..0304, 0306, 0308, 030A..030B, 030F..0334, 0339..033D, 035C, 0361, 0391..03A1, 03A3..03A9, 03B1..03C1, 03C3..03C9, 0401, 0410..044F, 0451, 200C..2011, 2013..2016, 2018..2019, 201C..201D, 2020..2022, 2025..2027, 2030, 2032..2033, 2035, 203B..203C, 203E, 2047..2049, 2074, 207F, 2081..2084, 20A0..20B9, 2103, 2105, 2109, 2111, 2113, 2116, 2118, 211C, 2121..2122, 2126, 212B, 2133, 2135, 2153..2154, 215B..215E, 2160..216B, 2170..2179, 2190..2200, 2202..2203, 2205, 2207..2209, 220B..220C, 220F, 2211, 2215, 2217, 221A, 221D..2220, 2223, 2225, 2227..222C, 222E, 2234..2237, 223C..223D, 2245, 2248, 224C, 2252, 2260..2261, 2264..2267, 226A..226B, 226E..226F, 2282..2287, 2295, 2297, 2299, 22A5, 22BF, 22C5, 2308..230B, 2312, 23AF, 2460..24B5, 24D0..24E9, 2500..254B, 2550..2574, 2581..258F, 2592..2595, 25A0..25A1, 25A3..25AA, 25B2..25B3, 25B6..25B7, 25BA, 25BC..25BD, 25C0..25C1, 25C6..25C9, 25CB, 25CE..25D1, 25E2..25E6, 25EF, 2605..2606, 260E..260F, 261C, 261E, 2640, 2642, 2654..266A, 266C..266D, 266F, 2680..2685, 2701..2704, 2706..2709, 270C..2727, 2729..274B, 274D, 274F..2752, 2756, 2758..275E, 2761..2794, 2798..27AF, 27B1..27BE, 2985..2986, 3008..3009, FFFD Bug: 15348046 Change-Id: I1d4751b6f79a4c6de23910c983f2f09c9460b160
* Reduce Roboto's footprint by 1012KB.Roozbeh Pournader2014-07-0318-0/+0
| | | | | | | | | | | | | Update to Roboto version 2.000982, which reduces the footprint of the fonts by converting the 'post' table to version 3.0, removing extra cmap tables, removing unreachable glyphs, and compressing various tables by passing the fonts through the subsetter at: https://code.google.com/p/noto/source/browse/nototools/subset.py. The file size is reduced by 16%, changing from 6269KB to 5258KB. Bug: 15348046 Change-Id: I7daad0ebd30260674259bce37e374b6dc1298493
* am c91ee2f9: Merge "Add nameID 4 to AndroidEmoji" into lmp-preview-devDeepanshu Gupta2014-07-021-0/+0
|\ | | | | | | | | * commit 'c91ee2f9f42e6e443fec231d5090c9557af8be68': Add nameID 4 to AndroidEmoji
| * Add nameID 4 to AndroidEmojiDeepanshu Gupta2014-07-011-0/+0
| | | | | | | | | | | | | | The nameID 4 (Full font name) is required to load the fonts on a desktop Java VM. This change adds the nameID as "Android Emoji". Change-Id: I67d37f387776e667f45794d6d0372ec35d61b4d3
* | Update to extended Roboto fonts.Roozbeh Pournader2014-07-0118-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new fonts have complete coverage of Latin, Greek, and Cyrillic characters in Unicode 7.0, including combining marks and related punctuations. Various phonetic transcriptions and romanization systems are now supported, as well as several minority and historical langauges. A visible .notdef glyph has also been added. Bug: 2802862 Bug: 4673396 Bug: 6629748 Bug: 7503539 Bug: 10728157 Bug: 11199883 Bug: 14408876 Bug: 15734816 Change-Id: I7a4986bfbd710ec5cc80792a3f7598dae110e5f9
* | Add network access blocking when in battery save mode.Dianne Hackborn2014-07-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The network policy manager now monitors battery save mode and, when in battery save, uses its facility to block access to metered networks to block access to all networks. That is, it tells the network management service that all networks have an (infinite) quota, and puts various app uids to be restricted under quota interfaces as appropriate. This new network blocking needs a new facility to be able to white list apps, such as GmsCore. To do this, I refactored the package manager's permission configuration stuff into a separate SystemConfig class that can be used by others, and it now has a new tag to specify package names that should be white-listed for power save mode. These are retrieved by the network policy manager and used to build a whitelist of uids. The new general config files can now go in system/etc/config, though currently everything still remains in the permissions dir. Still left to be done is changing the semantics of what uids are allowed in this mode, to include all perceptable uids. (So that we can still do things like background music playback.) This will be done in a follow-on CL. Change-Id: I9bb7029f61dae62e6236da5ca60765439f8d76d2
* | Swap the chess king and queen glyphs in Droid Sans Fallback.Roozbeh Pournader2014-06-183-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Add Cherokee, Canadian Aboriginal Syllabics, and Yi fonts.Roozbeh Pournader2014-06-171-0/+15
| | | | | | | | | | Bug: 15708701 Change-Id: I1cdd26798ace5eec24d09b9b5b49eb943edacbe9
* | use Noto Sans CJK fonts for EXTENDED_FONT_FOOTPRINT buildsVictoria Lease2014-06-162-7/+33
| | | | | | | | | | Bug: 15569561 Change-Id: I1b8f1a9dde0a15d9bb2aa2bbe92e8c6a46d8dfc6
* | Add Roboto Black Italic.Roozbeh Pournader2014-06-114-0/+4
| | | | | | | | | | | | | | The fonts was missed during the update to Roboto v2. Bug: 15475947 Change-Id: I134138bff27bb651c91f966e20d90626172bba58
* | am eb77dfe1: Merge "Fix broken macStyle flags on Roboto-MediumItalic" into ↵Raph Levien2014-06-051-0/+0
|\ \ | |/ | | | | | | | | | | lmp-preview-dev * commit 'eb77dfe14d51243b78ac856b582d39cacc4cd9b9': Fix broken macStyle flags on Roboto-MediumItalic
| * Fix broken macStyle flags on Roboto-MediumItalicRaph Levien2014-06-051-0/+0
| | | | | | | | | | | | | | | | | | | | 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
* | am dfc40743: Merge "Revert ascent/descent/lineGap of Roboto to Roboto v1 ↵Raph Levien2014-06-0217-0/+0
|\ \ | |/ | | | | | | | | | | values" into lmp-preview-dev * commit 'dfc40743fda406614a2200a31e8a670b7fa46cd8': Revert ascent/descent/lineGap of Roboto to Roboto v1 values
| * Revert ascent/descent/lineGap of Roboto to Roboto v1 valuesRoozbeh Pournader2014-06-0217-0/+0
| | | | | | | | | | | | | | Everything else is left intact to minimize side effects. Bug: 15309595, 15330620 Change-Id: I7f10bc093423132b037403aa3abd9304d788f32e
* | Merge "Add layout for OnLive controller with USB adapter"Michael Wright2014-05-301-0/+35
|\ \ | |/ |/|
| * Add layout for OnLive controller with USB adapterMichael Wright2014-05-301-0/+35
| | | | | | | | Change-Id: Ie21ba6550f62eb4797e0e51104b99c2a4a7c44d7
* | Roboto v2Victoria Lease2014-05-2320-0/+28
|/ | | | | | | | 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
* Add KL file for Logitech F310Michael Wright2014-05-211-0/+36
| | | | Change-Id: I03f4fd74fb54571e2045b9289228150a348c994a
* update noto fontsVictoria Lease2014-05-1318-45/+63
| | | | | | | | 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
* am e8628797: am 09446329: am 52025796: Merge "Map KEY_APPSELECT to APP_SWITCH."Michael Wright2014-05-021-0/+2
|\ | | | | | | | | * commit 'e8628797833dfab1319d7a17f9ff465de760c633': Map KEY_APPSELECT to APP_SWITCH.
| * am 09446329: am 52025796: Merge "Map KEY_APPSELECT to APP_SWITCH."Michael Wright2014-05-021-0/+2
| |\ | | | | | | | | | | | | * commit '09446329b1afbbc8b56885e61ed66841b59532b2': Map KEY_APPSELECT to APP_SWITCH.
| | * am 52025796: Merge "Map KEY_APPSELECT to APP_SWITCH."Michael Wright2014-05-021-0/+2
| | |\ | | | | | | | | | | | | | | | | * commit '52025796cd264fd8ba3851c8e42fd5508366456a': Map KEY_APPSELECT to APP_SWITCH.
| | | * Map KEY_APPSELECT to APP_SWITCH.Olivier Gay2014-05-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iec801f2edfec9923aac088cb66663f64d62b3df6 Signed-off-by: Olivier Gay <ogay@logitech.com> Signed-off-by: Mathieu Meisser <mmeisser@logitech.com>
| | * | am 3ce2b57d: am 9404752d: Merge "Add casual/cursive/sans-serif-smallcaps ↵Victoria Lease2014-03-111-1/+28
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | font families." * commit '3ce2b57d15d4afe330b728c3175b8bfb89c6890a': Add casual/cursive/sans-serif-smallcaps font families.
* | | | Improve Gamepad fallbacks for text entry.Michael Wright2014-04-291-2/+2
| | | | | | | | | | | | | | | | Change-Id: Ia8b05730a9b41b93006e678aba2d182748e56083
* | | | Move key attribute information into KeyEvent.Michael Wright2014-04-285-39/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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