416 Commits

Author SHA1 Message Date
Michael Wright
1df477acf6 Add initial plumbing for brightness keys
Change-Id: I595e8a25e6c245e4b22f06df9a8acdbb75e4b041
2013-02-01 16:29:59 -08:00
Doug Zongker
58395e71ce am 9c4ba4fe: am b616f0c2: add android.permission.LOOP_RADIO for access to loop radio device
# Via Android Git Automerger (1) and Doug Zongker (1)
* commit '9c4ba4fe752b131b01aa402389c96eb8f24764b8':
  add android.permission.LOOP_RADIO for access to loop radio device
2013-01-29 17:09:03 -08:00
Doug Zongker
9c4ba4fe75 am b616f0c2: add android.permission.LOOP_RADIO for access to loop radio device
# Via Doug Zongker
* commit 'b616f0c239ad61f818741909821b86aceff60b60':
  add android.permission.LOOP_RADIO for access to loop radio device
2013-01-29 17:01:01 -08:00
Doug Zongker
b616f0c239 add android.permission.LOOP_RADIO for access to loop radio device
Change-Id: I811d70fa67aa758122678809f32b8aade42ced0f
2013-01-29 10:39:13 -08:00
Glenn Kasten
d35d3687c7 Merge "Turn off execute bit for ordinary media files" 2012-12-17 12:12:40 -08:00
Jeff Brown
ace7404de8 resolved conflicts for merge of d7337fb9 to master
Change-Id: I51dedcc5ee521e62ad6101c0b09e4f881b8c4bf0
2012-12-11 15:21:02 -08:00
Jeff Brown
d7337fb97a am 3781523b: am eaae7d97: Merge "Play a tone when wireless charging begins." into jb-mr1.1-dev
* commit '3781523becbb2d576761c2701763ff3588294a97':
  Play a tone when wireless charging begins.
2012-12-11 14:19:41 -08:00
Jeff Brown
84e2756c0f Play a tone when wireless charging begins.
Only plays a tone if the battery level is below 95% which
is the same heuristic used when determining whether to turn
the screen on.

Use new low battery and wireless charging sounds on Mako.

Bug: 7371658
Change-Id: Ia4527ec398d024ee418a4287e1fcbf0ec83bcc24
2012-12-11 12:55:03 -08:00
Raph Levien
454ff49293 am 8a3def6e: am 0da0d337: am a7acb4b9: Merge "Fix for bug 7467609 Bad rendering of Telugu text" into jb-mr1.1-dev
* commit '8a3def6ef9d6c16e25ba4927f5b23081e8dd0cc8':
  Fix for bug 7467609 Bad rendering of Telugu text
2012-12-05 12:23:42 -08:00
Raph Levien
5fa2cad162 am 4cd6cef3: am 70463dca: am 49ed5da3: Merge "Reorder tone mark and nikhahit in DroidSansThai.ttf" into jb-mr1.1-dev
* commit '4cd6cef3af43d688d75b33c646fc158e837debd0':
  Reorder tone mark and nikhahit in DroidSansThai.ttf
2012-12-05 12:23:23 -08:00
Raph Levien
8a3def6ef9 am 0da0d337: am a7acb4b9: Merge "Fix for bug 7467609 Bad rendering of Telugu text" into jb-mr1.1-dev
* commit '0da0d337752ea153fb0e9f5d73512060ff007f6d':
  Fix for bug 7467609 Bad rendering of Telugu text
2012-12-04 16:35:16 -08:00
Raph Levien
4cd6cef3af am 70463dca: am 49ed5da3: Merge "Reorder tone mark and nikhahit in DroidSansThai.ttf" into jb-mr1.1-dev
* commit '70463dca7de2843908523348d6f97f075efe9632':
  Reorder tone mark and nikhahit in DroidSansThai.ttf
2012-12-04 16:34:59 -08:00
Raph Levien
a7acb4b9cd Merge "Fix for bug 7467609 Bad rendering of Telugu text" into jb-mr1.1-dev 2012-12-04 15:21:08 -08:00
Raph Levien
ab815a701e Fix for bug 7467609 Bad rendering of Telugu text
This change moves Telugu back before the fallback font. Previously it
had been moved to after it because it contained incorrect mappings of a
number of characters, including U+2212 and U+FFFD. These fonts have now
been fixed. When placed after the Droid Sans Fallback font, the glyph
count for complex script shaping exceeded the 2^16 limit, causing
incorrect rendering.

This patch depends on the fix for the Lohit-Telugu font.

Change-Id: Ib1bc665a246c4ad65a0dea1c261df5696b440344
2012-12-04 14:33:45 -08:00
Raph Levien
f408bf847a Reorder tone mark and nikhahit in DroidSansThai.ttf
Fix for bug 6630331.

This is a workaround for a shortcoming in the Thai shaper in Harfbuzz.
De facto (but not documented) shaping rules dictate that a tone mark
followed by a SARA AM should be rendered with the NIKHAHIT below the
tone mark, rather than above it as would be indicated by a
straightforward interpretation of the GSUB and GPOS rules. This patch
adds an additional substitution of the form MAI THO + SARA AM ->
NIKHAHIT + MAI THO + SARA AA. The three tone marks affected are MAI EK,
MAI THO, and MAI CHATTAWA, based on an usage analysis of the Thai
dictioary included in ICU.

When we upgrade to harfbuzz-ng, we can revert this workaround.

Change-Id: I209ed094e7c89ea7f6fd6e983d37e396c6da1f64
2012-11-30 15:59:18 -08:00
Guang Zhu
dc0b84b129 am e9019d90: am dbcdb1a8: am a9c0bb4a: Merge "grant shell user EXPAND_STATUS_BAR permission" into jb-mr1.1-dev
* commit 'e9019d90a3eed0dae98d5502e386212e56a92267':
  grant shell user EXPAND_STATUS_BAR permission
2012-11-16 14:13:48 -08:00
Guang Zhu
e9019d90a3 am dbcdb1a8: am a9c0bb4a: Merge "grant shell user EXPAND_STATUS_BAR permission" into jb-mr1.1-dev
* commit 'dbcdb1a854b155605fe69dc47b8f6e4e441c817d':
  grant shell user EXPAND_STATUS_BAR permission
2012-11-16 14:12:19 -08:00
Guang Zhu
ef48662876 grant shell user EXPAND_STATUS_BAR permission
Bug: 7555251
Change-Id: I68cebb26bcee060c56e124941f3ea9289ab2b3bf
2012-11-15 19:49:42 -08:00
Glenn Kasten
3766755665 Turn off execute bit for ordinary media files
Change-Id: Idbb4f793307d4e1c4af289f855bd4a1a781722db
2012-11-15 15:34:43 -08:00
Kenny Root
7b172a49a9 am 58ed5d74: am 768d9e1a: Merge "Correct executable bit for source files"
* commit '58ed5d748c0b9b64845975ef5844ad313de7c3f6':
  Correct executable bit for source files
2012-11-07 13:08:25 -08:00
Kenny Root
58ed5d748c am 768d9e1a: Merge "Correct executable bit for source files"
* commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04':
  Correct executable bit for source files
2012-11-07 11:52:12 -08:00
Kenny Root
3a084af2e9 Correct executable bit for source files
Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
2012-11-07 10:27:31 -08:00
Glenn Kasten
ee5668cf50 Audio assets at 48000 Hz
Bug: 7397767
Change-Id: If62c2219adf61f0c1b2115a83b7394d76829c028
2012-10-23 16:34:21 -07:00
Eric Laurent
ef2faae5af reduce camera sound volume.
Reduce new video start and stop sounds volume to
match camera shutter sound volume.

Bug 7377030.

Change-Id: Ic42b36f063006da30dd870fa5ed9c8c5361aa043
2012-10-22 16:26:14 -07:00
Eric Laurent
f526e1e048 New camera sounds
Added new camera shutter, video start and video stop sounds.

Bug 7377030.

Change-Id: If2215042fe812280122de40fb6de31c1541adb0c
2012-10-18 19:03:20 -07:00
Raph Levien
cd31db60ee Update Arabic fonts to remove Rial ligature
This patch fixes bug 7309211 [ar][fa] Riyal ligature mistakenly on in
Android Arabic fonts

It also fixes a number of other problems in the normal (non-system ui)
versions of the Naskh fonts, similar to the changes applied for the fix
to bug 6872613, and makes those fonts more consistent with the system ui
version.

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

Thanks to Roozbeh for the updated font data.

Change-Id: I29aecba2ea62853a8ed3181c023c62a09e800def
2012-10-17 09:47:00 -07:00
Justin Ho
8c8596e8e7 Merge "Add new tablet sound set Bug: 7351672" into jb-mr1-dev 2012-10-16 10:28:38 -07:00
Justin Ho
5d7c089cab Update alarm sounds and tune some ringtones
Bug: 7351672
Bug: 5502770
Bug: 7312457

Change-Id: Iea0d674431b0fabbf7e9c4b30d9f08a6235cdc64
2012-10-16 09:12:19 -07:00
Justin Ho
81314ae077 Add new tablet sound set
Bug: 7351672

Change-Id: I9228d3f87729862f94727f99a179538551449881
2012-10-16 08:59:30 -07:00
Isaac Katzenelson
8f2e74b075 New alarm ringtones
Bug: 7299078

Adding 2 new sound files, replacing 3 more.
Added a new makefile with the 2 new files.

Change-Id: I417dd6cfe8ae575fcb2cefbe4fd7f59b762c708b
2012-10-11 19:55:53 -07:00
Dave Burke
2882fc0f02 Add new ringtones/notifications for Occam.
Bug: 7312457
Change-Id: Id3a3a25d412b4f1441067e0d86d2bf30e10dd1b7
2012-10-11 12:10:41 -07:00
Justin Ho
26bf1a7c75 Merge "Revert "Updating Roboto fonts with updated Cyrillic glyphs and fixes to tabular numerals. Bug:7198855,7070912"" into jb-mr1-dev 2012-10-05 12:18:26 -07:00
Justin Ho
f4037ff4b7 Merge "Revert "Updated Roboto fonts with correct T comma accent encoding"" into jb-mr1-dev 2012-10-05 12:15:16 -07:00
Justin Ho
3aeeaaf7b7 Revert "Updating Roboto fonts with updated Cyrillic glyphs and fixes to tabular numerals. Bug:7198855,7070912"
This reverts commit 0baa38065a0e3912f03e930fdda2e22f4a1a8c64

Change-Id: I716db7239f21e9b65ab2557135726778768064ba
2012-10-05 10:50:14 -07:00
Justin Ho
f07b5a5a46 Revert "Updated Roboto fonts with correct T comma accent encoding"
This reverts commit 439b85ef9d9248c616ec474662edcd885618977c

Change-Id: I53ce11b21401402f68896cd211d5781414596361
2012-10-05 10:45:01 -07:00
Matthew Xie
d21b483904 Merge "Add multi user support for bluetooth" into jb-mr1-dev 2012-10-04 23:21:34 -07:00
Matthew Xie
fca9d63635 Add multi user support for bluetooth
Create a BLUETOOTH_STACK permission to share between all users of
Bluetooth apk. Bluetooth Manager binds to apk of current user
bug 6925422

Change-Id: I2df5546e977c2d77bc66d97d12479d933826922a
2012-10-04 18:35:42 -07:00
Christian Robertson
439b85ef9d Updated Roboto fonts with correct T comma accent encoding
Updated Roboto fonts fixing issue where Tcommaaccent and Tcedilla
characters were encoded improperly (their values were switched). This
patch addresses bug 7198855 and bug 7070912. Original was mistakenly
submitted to master but should be applied to jb-mr1-dev instead.

Also, this commit reverts the addition of RobotoCondensed-Light and its
italic, for which we don't have any build file or XML metadata support.

Change-Id: If1c592474f1f7199e98bb98edf4de6466b43fa51
2012-10-04 18:01:14 -07:00
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