478 Commits

Author SHA1 Message Date
Justin Ho
b2eb0282ba Merge "Updating Roboto fonts with updated Cyrillic glyphs and fixes to tabular numerals. Bug:7198855,7070912" into jb-mr1-dev 2012-10-04 14:29:35 -07:00
Christian Robertson
24de605072 Updating AndroidClock font to match the Roboto thin style for time display.
The primary difference between the AndroidClock and Roboto-Thin fonts is that the new clock font defaults to variable width characters for better alignment on the lock screen.

Bug:7206207
Change-Id: I8509324510ce01d0a73ab1bb6b730b5d646a462c
2012-09-27 17:34:22 -07:00
Christian Robertson
0baa38065a Updating Roboto fonts with updated Cyrillic glyphs and fixes to tabular numerals. Bug:7198855,7070912
Change-Id: I652f234918b3f22ec25d120452a48dd1443184d9
2012-09-25 21:35:58 -07:00
Bart Sears
562c45cc84 Updated versions of DroidSansFallback
Latest versions of DroidSansFallback from Monotype.

The DroidSansFallback.ttf file has some additional glyphs and
glyph fixes (including a fix for bug 6723057 and will likely fix
bug 6629748).  It continues to cover Korean Hangul but does not
cover CJK Ext A (for space reasons on small system image devices).
The DroidSansFallbackFull.ttf file has the bug fixes listed and
also removes the Korean Hangul because we are now going to use
NanumGothic for Korean (NanumGothic.ttf is added in a separate
CL in the external/naver-fonts directory).

The falback_fonts.xml file has been modified to add NanumGothic.ttf
before DroidSansFallback.

Bug: 4531601
Bug: 6723057
Bug: 6629748
Change-Id: I670d33078b4a97c4eda00fc2323be187696e927a
2012-09-24 00:32:57 -07:00
Raph Levien
be456f2e81 Add Roboto Thin and Thin Italic fonts, as sans-serif-thin family
This change adds the Roboto Thin and Thin Italic font variants, which
are accessible through, for example, Typeface.create("sans-serif-thin",
Typeface.NORMAL).

The version checked in is Roboto_1.100150 as obtained from Christian.
The other fonts in the family should probably be rev'ed as well, but
that would be a separate change.

I verified that the fonts work, that they're thin, that kerning and
ligatures work, and that the "kern" table (redundant and bulky) is
missing.

This should close bug 7173069: Integrate roboto thin to support jb mr1
time displays

Change-Id: I5c950a1843675668b83c005234b44abbe924d9fe
2012-09-18 15:37:43 -07:00
Raph Levien
2f5bdb06e7 Fix for bug 6872613 Need to revert back to a less hacky Arabic Font
Roozbeh provided an updated Arabic system UI font which does positioning
properly (using the GPOS mechanism, which is now fully supported in text
rendering), as opposed to the old workaround of using GSUB combinations.
It contains the following additional fixes:

1. Removed the new glyphs and relevant table fields created by GPOS2GSUB
2. [Kept empty glyphs for ZWSP, ZWNJ, and ZWJ]
3. Fixed a wrong GSUB substitution for Urdu Seven
4. Fixed shaping of U+06C1 HEH GOAL
5. Fixed shaping of U+06BA NOON GHUNNA
6. Removed the Rial ligature from the GSUB table
7. Tightened the Alef-Lam-Lam-Heh ligature in the GSUB table which was
getting triggered too frequently

This change just checks in the above work. I did a sanity-check
verification that Arabic text still renders reasonably in the system UI,
but did not check the above cases carefully.

Change-Id: Ie5fb9fd78d21bbfcd62b86deb327a5a2ae9321c6
2012-09-12 15:53:26 -07:00
Dianne Hackborn
786b44046a Fix installing applications from non-primary users.
We also now send the correct broadcasts to each user.

You no longer need to be running the shell as root
to be able to create/remove users.

Also added some more man page material to the pm command, and
got rid of a bunch of showUsage() calls that now make error
messages completely buried because of how large the usage info
has become.

And the package manager now shows the user each historical broadcast
was sent to.

Change-Id: Iab42498e1352a0c023069139c80fc04d2d69ab4b
2012-08-27 15:16:33 -07:00
Billy Hewlett
ac1cbaf2e5 DO NOT MERGE Han Preference
Cherry-pick Ib5dd86950156c5a438f25c289acb839206bb455a from master.

Data: label MTLmr3m with "ja" locale attribute, fallback_fonts-ja.xml removed,
as we only need a single fallback font file
Code: Add locale and variant to TextLayoutCache.  Paint.java sets textLocale as
the language (for example, "ja") rather than the language/locale concatenated
(for example "ja_JP")

This checkin, along with Change-Id: Id8c91ae0be6cad8a7ef77a0cd5803676290986c1,
allows text view objects to set their locale dynamically and skia will use the
correct font for the locale.

Change-Id: Ieb60b0d7a39fcfef4f8ce90cd4f6065d33673710
2012-08-20 08:51:23 -07:00
Joe Onorato
bc11e52caf am 406ba831: am 5f61087e: Merge "Get rid of LOCAL_MODULE_TAGS := user"
* commit '406ba83154ba17921bc524c479d3339448306fc5':
  Get rid of LOCAL_MODULE_TAGS := user
2012-08-17 00:50:11 -07:00
Joe Onorato
406ba83154 am 5f61087e: Merge "Get rid of LOCAL_MODULE_TAGS := user"
* commit '5f61087e26013ea2623aecb1783c74a57a9fa49c':
  Get rid of LOCAL_MODULE_TAGS := user
2012-08-17 00:48:03 -07:00
Joe Onorato
0e462950d9 Get rid of LOCAL_MODULE_TAGS := user
Change-Id: I1c4e67f935a7c511cda9980f4475dfd0272617a5
2012-08-16 22:37:58 -07:00
Dianne Hackborn
b497a819b7 am f52dcf32: am da9754e8: Merge "Fix issue #6860828 Non-root shell can\'t grant permissions" into jb-dev
* commit 'f52dcf32f2fba7c89bbd127c22f2ee2b933915c6':
  Fix issue #6860828 Non-root shell can't grant permissions
2012-07-24 22:03:33 -07:00
Dianne Hackborn
4d5f968f41 Fix issue #6860828 Non-root shell can't grant permissions
That, plus a few other permissions.

Bug: 6860828
Change-Id: I69f0360471e4fd46e689388cd993e18c1e0bfb02
2012-07-23 11:46:32 -07:00
Victoria Lease
accf721ebd Merge "Demoted Lohit-Telugu.ttf in fallback lists." 2012-07-18 08:48:34 -07:00
Victoria Lease
2a41a2d4cc Demoted Lohit-Telugu.ttf in fallback lists.
Lohit-Telugu.ttf provides incorrect glyphs for U+FFBC-10007, masking
fonts later in the fallback chain that provide correct glyphs for
that range. I've temporarily demoted Lohit-Telugu in the fallback
order so that this does not happen, and appended a comment that
explains why. In the future, when we have our own Telugu font, we
can place that with the rest of the Indic fonts in the fallback list.

Bug: 6723057
Change-Id: I15fb06dcb7dd13289e226de01c36058134a1b7cb
2012-07-17 16:41:18 -07:00
fredc
0f42037eb7 Non persistent adapter service
Change-Id: Ib13d5c77416e58161df0e04d7a15ec0dddbde8b5

Conflicts:

	core/java/android/bluetooth/BluetoothInputDevice.java

Conflicts:

	core/java/com/android/internal/app/ShutdownThread.java
	services/java/com/android/server/SystemServer.java

Conflicts:

	services/java/com/android/server/SystemServer.java
	services/java/com/android/server/pm/ShutdownThread.java
2012-07-16 21:20:54 -07:00
Justin Ho
6ce20c4d4f am e7c08bcd: am 87f86e64: Merge "Replace AndroidEmoji.ttf for UI optimization" into jb-dev
* commit 'e7c08bcd48b5025370f5858ac0b4bfc22b50980e':
  Replace AndroidEmoji.ttf for UI optimization
2012-07-11 13:34:00 -07:00
Junichi Monma
514bdc3b6e Replace AndroidEmoji.ttf for UI optimization
Bug: 6785630
Change-Id: Ie236c59704138263831930e3682a7ee9ac2f84b1
2012-07-11 10:06:56 +09:00
Billy Hewlett
973835b264 Revert "Revert "Elegant fonts for Webkit, Compact fonts for Textview (Data)""
This reverts commit f49a19e96b721c89d4fe2f579f201b5c5ae86531
2012-06-21 09:57:57 -07:00
Billy Hewlett
f49a19e96b Revert "Elegant fonts for Webkit, Compact fonts for Textview (Data)"
This reverts commit be97f1458bc90619ad68859dfdd0cb5f74daaa4d
2012-06-21 09:45:05 -07:00
Billy Hewlett
be97f1458b Elegant fonts for Webkit, Compact fonts for Textview (Data)
Font files are marked with elegant or compact in attributes.
This is the data check for the code checkin with a similar title

Bug: 6649136
Change-Id: Ie246ae0cff55c1e76c0f32012a740547274e8221
2012-06-20 09:24:26 -07:00
Justin Ho
b633a039a0 Jelly Bean ringtone
Bug: 6619980

Change-Id: I717c66274d3efaafb0caa60204d311732c182268
2012-06-15 08:48:49 -07:00
Eino-Ville Talvala
708e6bc652 Remove Disco video from builds.
Bug: 6294985
Change-Id: Idde6148b94a55a27740f3b4f82c2038272f06628
2012-06-13 15:34:38 -07:00
Raph Levien
8325eee0c2 Merge "Workaround for bug 6609605: Hindi rendering regression in WebView" into jb-dev 2012-06-08 12:40:10 -07:00
Raph Levien
13f6e7c819 Workaround for bug 6609605: Hindi rendering regression in WebView
This patch changes the font data so that all anchor points are in
absolute coordinates, rather than relative to outline points. With
the workaround, we don't trigger the bug in the HarfBuzz/Skia
integration that causes incorrect outline point data to be read.

The font was prepared with FontForge. There's some risk of other
problems, but I tested the font fairly carefully and it looks fine.
(With a version prepared in TTX, the substitution of the different
width forms of the ivowelsigndeva got broken, likely due to a TTX
bug, as this seems to happen with roundtrip of unedited original).

Change-Id: I3f6fffce91c3ea0695e6005b051bcf4e9b6f6361
2012-06-08 10:17:23 -07:00
Christian Robertson
b7af8ad8d9 Fix for U+0449 (lowercase shcha) glyph in Roboto Light. Bug: 6609392
Change-Id: Id320c0c73275dfc06282c5c7eec79824d2062665
2012-06-06 17:55:32 -07:00
Keun young Park
087610198e add MINIMAL_FONT_FOOTPRINT configuration for PDK
- all non-latin fonts excluded
- symlink used to create additional fonts

Bug: 6540216

Change-Id: Id0909124dc1d71331bde3c5911c24eee5b1692a2
2012-06-06 14:21:37 -07:00
Jeff Brown
cf39bdf3df Add support for switching between multiple keyboard layouts.
Also show a notification when an external keyboard is connected
and does not have a keyboard layout selected yet.

Bug: 6405203
Change-Id: Id0ac6d83b3b381f8a236b2244a04c9acb203db3c
2012-05-20 14:56:22 -07:00
Raph Levien
d26e18bfe9 Add missing XML close tag. Fixes bug 6488238.
Change-Id: Ic1197d0b8bece1595626a92f025cb7ae7e96163d
2012-05-14 13:11:57 -07:00
Victoria Lease
f1b0c4e5c8 Merge "Add fallback fonts for Malayalam, Kannada, and Telugu scripts" into jb-dev 2012-05-11 16:52:00 -07:00
Fabrice Di Meglio
f8c1ce7a0d Fix bug #6480486 Zero width non-joiner and zero width joiner rendered weirdly
- add missing ZWS (uni200B), ZWNJ (uni200C), ZWJ (uni200D)

Change-Id: I2e70bbaa855a75e0172c375cfcbc8544325030da
2012-05-11 15:46:27 -07:00
Raph Levien
467ea51617 Add RobotoCondensed family and optimized Roboto Light.
This adds the Roboto Condensed family (with the name
sans-serif-condensed, for consistency with existing family names).

Change-Id: Ied2c509ebbb2b3b8637c659e62c9a821b6941eaa
2012-05-10 17:28:20 -07:00
Raph Levien
289c09aae5 Add Roboto Light and Light italic fonts, as sans-serif-light family
Change-Id: Ibbdd7a74f3731c8e9c9fe60ce04a179c081bc09c
2012-05-09 10:36:26 -07:00
Victoria Lease
c24de468ff Add fallback fonts for Malayalam, Kannada, and Telugu scripts
Bug: 6232193
Change-Id: If0ba9fd15560d2e5e91712b3f954f139d8c081b1
2012-05-08 11:01:09 -07:00
Victoria Lease
bd1844d272 Add Droid Devanagari/Tamil fonts.
These fonts are replacements for the Lohit Devanagari/Tamil fonts.
We need to fit Devanagari onto all builds, so we only provide a single,
regular-weight font there, but Tamil is omitted for SMALLER_FONT_FOOTPRINT
builds and gets UI/non-UI and Regular/Bold weight versions. The UI versions
of the fonts are used for UI/system display, and the non-UI versions are
used only by WebView.

Bug: 6318791
Change-Id: I50ff6ec4bb428c0ac30049273f03a94de05b0c4f
2012-05-07 11:50:13 -07:00
Fabrice Di Meglio
cf4284bce1 Update Arabic font for SystemUI
- bug #5987379 Need an Arabic font with metrics "compatible" with Roboto
- use the Alt version with GSUB optimizations

Change-Id: I4d8c62cab37a7b010abab602c39899084d347fdc
2012-05-04 15:14:58 -07:00
Steve Block
8a1da40523 Update DroidNashk to version 1.10
This is the latest drop (ver 1.10) of DroidNaskhShiftAlt.ttf from Monotype.

Bug: 5987379
Change-Id: I68a4dc89e3bb98e9d326eb9de196c1017503635b
2012-04-26 13:59:51 +01:00
Jeff Brown
80b2760332 Map KEY_SELECT to DPAD_CENTER.
Change-Id: If387be6b233db2222347e39e9edb3ad886e936a3
2012-04-25 18:35:46 -07:00
Jeff Brown
9a2bbf680e Improve handling of certain keyboard layout properties.
Automatically choose a default value for the 'number' property
based on the characters that the key can generate.

Don't generate any character when ctrl, alt or meta is
pressed unless the behavior exactly matches the modifier keys
that are pressed.

Simplified the basic keyboard layouts taking into account the
new features.

Bug: 6110399
Change-Id: Ibc0f0b50c2dcf3f962a33ac77c24d2993b77637d
2012-04-18 15:01:57 -07:00
Bart Sears
b285e83e26 Try out the latest SystemUI version of DroidNaskh
This is the latest drop (ver 1.00) of DroidNaskhShifAlt.ttf
from Monotype.  Checking it in so we can see if there is any
clipping.

Bug: 5987379
Change-Id: I25697e64c1643dc4d36fe4ff6a407549c1165d60
2012-04-17 18:25:16 -07:00
Jean-Baptiste Queru
f55e0dd969 Include ALL the audio packages
Change-Id: I4a7bedcaf8a9eccbabdfef4ebee46ee4e356b04e
2012-04-13 12:48:04 -07:00
Fabrice Di Meglio
276de3e1eb Add new Arabic font for SystemUI
- still work in progress
- bug #5987379

Change-Id: I0a7f7437c9061eab0abc9d5979c947eb5511992a
2012-04-12 16:40:56 -07:00
Russell Brenner
dedf1b2727 Merge "Add Japanese to fallback fonts" 2012-04-03 13:33:22 -07:00
Russell Brenner
1c097a9c21 Add Japanese to fallback fonts
On devices with adequate space, add MTLmr3m.ttf (Japanese) to the set
of fallback fonts. By default, DroidSansFallback (Chinese) is given
priority over MTLmr3m. If the locale is changed to Japanese, the
priority is reversed.

Bug: 6272763
Change-Id: I785a927d6dff0206aa9a670c51fdad76e219fc97
2012-04-03 10:01:16 -07:00
Yang Chuang
7511f9cd2f Add Japanese specific key codes.
These keys are specific to Japanese hardware keyboard which can be
used by input method.

Patch ported from AOSP, with the addition of EISU and KANA mappings.

Change-Id: I647473cdd257458e3b9d134b0fc623eae946c3e0
2012-04-02 15:19:45 -07:00
Colin Cross
6510b6e8a0 move hardware feature definitions
Move the hardware feature xml files from frameworks/base/data/etc
to frameworks/native/data/etc.

Change-Id: If7dc9d68c0c57516adb8e863b68c8252abd6014c
2012-03-26 16:28:49 -07:00
Russell Brenner
7b0b897c54 Improved comments for vendor fonts xml
Change-Id: I9dd7c8971df0a2862de316e096c1b6d60658814a
2012-03-22 09:55:54 -07:00
Russell Brenner
1f1bc8b12a Merge "Add notes about switching languages" 2012-03-14 16:15:42 -07:00
Russell Brenner
2b4b35c13a Add notes about switching languages
Fallback and vendor font configuration files now describe how to
customize font setup for Han languages (Chinese, Japanese, Korean).

Bug: 5873170
Change-Id: Id27cce9a6ba2b6ce61b221342dabdd1b40962933
2012-03-13 18:03:47 -07:00
Dianne Hackborn
7924512aa1 Add new READ_EXTERNAL_STORAGE permission.
Also adds some initial compatibility code for dealing with it.

Change-Id: I104bff11798349e4aaa6da9b7be787b257daa1bb
2012-03-12 15:07:31 -07:00