433 Commits

Author SHA1 Message Date
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
Michael Wright
f9c2ada62f Standardize gamepad layouts on existing controllers
Bug: 8292749
Change-Id: I24bae8c9229125fcdd583d74b29f4334ddff782e
2013-04-17 18:00:06 -07:00
Raph Levien
98082fa98b Fix for bug 8574856 - bad metrics in Roboto Italic
The last update to Roboto Italic has a stray point in delta.alt with a
y value of -11299. This causes metrics to give too much vertical space
in some cases.

This is a "hot patch" fix, with the stray point deleted using TTX. We
want to fix the font upstream as well, but this should fix things in
the mean time.

Change-Id: I08edae96f69753b2d46dfc3fd1cc3b9176dcb5ad
2013-04-10 14:51:06 -07:00
Raph Levien
7cd7ad88bc Update Droid Serif
This patch updates the Droid Serif fonts to version 20130131. This
fixes bug 6180699 and should expand the range of combining marks
(e.g. Polytonic Greek, African, Canadian aboriginal languages)
significantly.

Change-Id: I31975d0b35f5164b2da9fd7a5df0474aaed3ed5c
2013-04-08 14:32:24 -07:00
Raph Levien
4296704208 Merge "Update Roboto to version 1.200311" into jb-mr2-dev 2013-04-05 23:53:21 +00:00
Raph Levien
e68d87e092 Update Roboto to version 1.200311
This updates Roboto to the latest version. This change should fix a
number of problems, including bug 7306377 (vietnamese o with horn), bug
6679075 (vietnamese u+1ee1), bug 7568194 (cyrillic yeru), and is also on
the critical path of bug 7291977 (t comma accent), bug 8278292 (E
ogonek) and likely others.

Change-Id: Ife3db2aec4784a54cfe0287b61eac8339c198c71
2013-04-03 16:26:12 -07:00
Jean-Baptiste Queru
9ce89835da Update list of all audio files.
This adds a script that can generate the list from the other
makefiles.

This also regenerates the list.

Bug: 6336895
Change-Id: If1546c4a3f5b1f0d7c3ca79d29383e9843b2a89d
2013-04-03 15:36:52 -07:00
Raph Levien
15b8c18503 Rename DroidNaskh UI font
Renames DroidNaskh-Regular-SystemUI to DroidNaskhUI-Regular to be
consistent with naming scheme for Noto fonts.

Change-Id: I3319ee5cd85360c85b0523bd932d461eb05d1b18
2013-03-29 16:13:36 -07:00
Raph Levien
6ff0bb6f5c Switch indic fonts to Noto
This change switches from the older (cibu and lohit) Indic fonts to
the new Noto fonts. All the new fonts come in both normal and bold
weights, and with system ui (more compact vertical metrics, to match
Roboto) variants as well as normal.

The fonts have been tested on a phone (Galaxy Nexus) and seem to work,
but should be more carefully evaluated by native speakers.

Change-Id: Ib0a10ee5a130bab258ff198e22b8304e00141073
2013-03-28 14:39:06 -07:00
Eino-Ville Talvala
788717ca59 Camera and MediaRecorder: Support AppOps
- Allow media processes to update AppOps state
- Pass package name to media services

Bug: 8181262
Change-Id: I115d39f0b306cb9eb7cd3d3e663c680b7322fd3f
2013-02-25 09:27:42 -08:00
Michael Wright
00e592272e Merge "Fix default behavior for gamepad buttons" 2013-02-15 01:47:38 +00:00
Michael Wright
0648d2c4ce Fix default behavior for gamepad buttons
Bug: 8183679
Change-Id: Iaac33979828f18b1b8b6b111cd07b029384519ec
2013-02-12 14:27:25 -08:00
Dianne Hackborn
514074fae8 App ops: cleanup, handle root and shell, perms.
Rework how the shell user is defined so that it is
associated with an actual apk, instead of being a free
roaming uid with special permissions assigned to it.
This allows us to correctly account for its operations
in app ops.

Implement a special case for the root user in app ops --
it is always allowed, always with the package name "root".

Add various code to take care of cleaning up package state
from app ops -- when packages are uninstalled, and during
boot if any packages currently being stored no longer exist.

Also fix a bug in the activity manager to correctly grant
permissions in all cases when onNewIntent() is being called.

Change-Id: Iae9f6d793ee48b93518c984ad957e46ae4582581
2013-02-11 15:33:48 -08:00
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