376 Commits

Author SHA1 Message Date
Russell Brenner
b778f56b9a Replace DroidSansArabic with DroidKufi-Regular
Add new Kufi and Naskh fonts with regular and bold styles, replacing
Arabic (regular). Because of memory contraints, only Kufi-Regular is
currently being installed. The rest remain on standby for future use.

Change-Id: I75a3fb5777494e8bcd540d3603ab6390e44c5803
2011-07-19 14:25:32 -07:00
Russell Brenner
359d052a9a Include DroidSansEthiopic-Regular as fallback font
Font file was previously added to source tree with another CL:

    https://android-git.corp.google.com/g/117734

Change-Id: I03d33d1f6af950c57093efaf78f36a12bcf82689
2011-07-19 10:42:46 -07:00
Chet Haase
131fe17628 Merge "Read font info from system config files" 2011-07-15 14:32:21 -07:00
Chet Haase
c8f060c938 Read font info from system config files
This change adds new files in /system/etc: system_fonts.xml and
fallback_fonts.xml. The change also allows a third file to be added
by vendors in /vendor/etc/fallback_fonts.xml. These files, loaded at
boot time, mimic the logic that used to be in code, but which is
now configurable through editing these files, making the system more
flexible and easy to work with for us and vendors as future fonts
are added to the system.

Change-Id: I209f1ef08a5279b376b89a880241906387efd576
2011-07-15 12:06:35 -07:00
Justin Ho
e10917f41f Updated some effects and notifications
Change-Id: I9151a1ee6bf520199a17ec0d184f9d9af838b281
2011-07-15 08:48:03 -07:00
Jeff Sharkey
845678fcbf Merge "Permissions to protect bandwidth statistics." 2011-06-30 00:49:12 -07:00
Russell Brenner
ace263902e Merge "Add Hebrew bold and regular font files" 2011-06-29 16:16:42 -07:00
Bart Sears
fc9f9e4db5 Update DroidSansEthiopic to ver 1.03
1.03 changed the embedded name table and PostScript name to be
DroidSansEthiopic (it was DroidEthiopic) since we may eventually
add a DroidSerifEthiopic.

Change-Id: I8b0ba085bb7d2c33a52e786cd64122ef53825f5d
2011-06-26 16:26:57 -07:00
Bart Sears
621cbd3feb Add Droid Ethiopic fonts
Add the Ver 1.02 Droid Ethiopic fonts from Monotype.

Adding to git, but not adding them into the fonts.mk file (to copy
to production builds) until we have Fallback support for multiple
styles (i.e. Regular and Bold).

Change-Id: Id86d6006adf753940d7886dd9a2fd558e2fa2773
2011-06-23 13:27:20 -07:00
Jeff Sharkey
9e18fd1a72 Permissions to protect bandwidth statistics.
Introduces new "net_bw_stats" group which will protect reading
detailed bandwidth statistics from the kernel.  Also introduce
"net_bw_acct" group which will enable specific applications to
request that their network traffic be counted against other UIDs.

This change associates manifest permissions with the low-level GIDs.

Change-Id: If3fc28053afda201ff305d798a8878ff1f35b997
2011-06-22 10:15:32 -07:00
Bart Sears
c02fc922ff Merge "Latest drop of DroidSansFallback.ttf from Monotype" 2011-06-14 20:23:15 -07:00
Dianne Hackborn
711516d140 resolved conflicts for merge of 77fc8b80 to master
Change-Id: I014f9a886d6f05607d2a5d101ad2052a6841ee8d
2011-06-14 12:17:35 -07:00
Dianne Hackborn
77fc8b8066 am 6c0533f9: am c5193c62: Merge "Add new landscape and portrait orientation features." into honeycomb-mr2
* commit '6c0533f994e7991b3bd60cab48362e8e2e6d86f0':
  Add new landscape and portrait orientation features.
2011-06-14 11:40:06 -07:00
Dianne Hackborn
6c0533f994 am c5193c62: Merge "Add new landscape and portrait orientation features." into honeycomb-mr2
* commit 'c5193c6285d7094fb86dcb5cd56f44a3788af7c2':
  Add new landscape and portrait orientation features.
2011-06-14 11:36:05 -07:00
Dianne Hackborn
e289bff0ec Add new landscape and portrait orientation features.
Updates aapt to know about these.  Also updates aapt badging to:

- No longer crash due to the change to how we match unspecified
configuration resources.
- Report the new "smallest screen" supported screen configs.
- Infer old screen size buckets based on new smallest width attrs.
- Report all of the different labels and icons in an app.

Change-Id: I7376042b817391bd070f549cebbc7f03be4635c8
2011-06-14 11:23:52 -07:00
Bart Sears
7703d3c2da Latest drop of DroidSansFallback.ttf from Monotype
Update DroidSansFallback.ttf to ver 2.53.  This version contains
the following additional glyphs:
1) Currency: \u060B\u09F2\u09F3\u09FB\u0AF1\u0BF9\u17DB\u20B6-\u20B9
   \uA838\uFDFC
2) Geometric right arrow: \u25BA
3) CJK Ext A (about 6000 Simplified Chinese Glyphs)

Bug: 3315583
Bug: 4182541

Change-Id: I6c809626b02ef2fc0f07274b838434fb8cdf2bc2
2011-06-13 18:42:22 -07:00
Jean-Baptiste Queru
7af77b7a5e Make AllAudio really include all audio
Change-Id: I14aa532aa6e719d1f4d9e6a39870099553275a57
2011-06-10 14:18:37 -07:00
Dianne Hackborn
e6b03d0979 resolved conflicts for merge of 9dfd7d0a to master
Change-Id: I9fbee3209b7fe5c7b5b42b62309eb60dc49bf9e2
2011-06-09 18:39:37 -07:00
Dianne Hackborn
9dfd7d0a47 am 2d618e41: am e22fe933: Fix issue #4582417: Need to add new PackageManager...
* commit '2d618e415fa0ed8a1e7ac8d0ffe98cebdf6c208b':
  Fix issue #4582417: Need to add new PackageManager...
2011-06-08 21:41:55 -07:00
Dianne Hackborn
2d618e415f am e22fe933: Fix issue #4582417: Need to add new PackageManager...
* commit 'e22fe9331ad8a9f81470751fdeca7633f654cffa':
  Fix issue #4582417: Need to add new PackageManager...
2011-06-08 21:38:33 -07:00
Dianne Hackborn
e22fe9331a Fix issue #4582417: Need to add new PackageManager...
...FEATURE_ constant for FAKE_MULTITOUCH in MR2

Change-Id: Ib6950d9dbdd58618aec593de7e0cf1c01b7d6ef9
2011-06-08 20:38:41 -07:00
Svetoslav Ganov
8643aa0179 Interrogation of the view hierarchy from an AccessibilityService.
1. Views are represented as AccessibilityNodeInfos to AccessibilityServices.

2. An accessibility service receives AccessibilityEvents and can ask
   for its source and gets an AccessibilityNodeInfo which can be used
   to get its parent and children infos and so on.

3. AccessibilityNodeInfo contains some attributes and actions that
   can be performed on the source.

4. AccessibilityService can request the system to preform an action
   on the source of an AccessibilityNodeInfo.

5. ViewAncestor provides an interaction connection to the
   AccessibiltyManagerService and an accessibility service uses
   its connection to the latter to interact with screen content.

6. AccessibilityService can interact ONLY with the focused window
   and all calls are routed through the AccessibilityManagerService
   which imposes security.

7. Hidden APIs on AccessibilityService can find AccessibilityNodeInfos
   based on some criteria. These API go through the AccessibilityManagerServcie
   for security check.

8. Some actions are hidden and are exposes only to eng builds for UI testing.

Change-Id: Ie34fa4219f350eb3f4f6f9f45b24f709bd98783c
2011-06-06 18:46:03 -07:00
Russell Brenner
724a39f606 Add Hebrew bold and regular font files
Change-Id: I5c4a011990a3132107b4d49bfee9a239f70dd32d
2011-06-01 14:58:31 -07:00
Jeff Brown
da97f16c5d am c5c7e047: am d0132e8e: Minor Alt-TAB / Recent Apps Dialog improvements. (DO NOT MERGE)
* commit 'c5c7e047d1a1c56ba55bdfea9391d1907f355dbc':
  Minor Alt-TAB / Recent Apps Dialog improvements. (DO NOT MERGE)
2011-05-25 14:46:25 -07:00
Jeff Brown
b9b9b3e271 am 6f37a7f9: am eea0aa25: Support primitive ALT-TAB style navigation using Recent Apps. (DO NOT MERGE)
* commit '6f37a7f9b6f83fbcc919dc452e72838623e8bb5d':
  Support primitive ALT-TAB style navigation using Recent Apps. (DO NOT MERGE)
2011-05-25 14:46:21 -07:00
Jeff Brown
c5c7e047d1 am d0132e8e: Minor Alt-TAB / Recent Apps Dialog improvements. (DO NOT MERGE)
* commit 'd0132e8e187ebf69bf4d2d6d0ef0027ff3f7a727':
  Minor Alt-TAB / Recent Apps Dialog improvements. (DO NOT MERGE)
2011-05-25 14:43:16 -07:00
Jeff Brown
6f37a7f9b6 am eea0aa25: Support primitive ALT-TAB style navigation using Recent Apps. (DO NOT MERGE)
* commit 'eea0aa25870d49e381567f09abbfb41de52a5a32':
  Support primitive ALT-TAB style navigation using Recent Apps. (DO NOT MERGE)
2011-05-25 14:43:13 -07:00
Jeff Brown
d0132e8e18 Minor Alt-TAB / Recent Apps Dialog improvements. (DO NOT MERGE)
Alt-TAB should have different semantics from the APP_SWITCH key
or long-press on HOME.  Accordingly, remove the fallback action
for Alt-TAB and initiate the task switching behavior directly
in the policy.

Modified RecentApplicationsDialog to be more precise about the
initial modifiers that it considers to be holding the dialog.

The dialog is now dismissed by a second press on the APP_SWITCH
key or by a second long press on HOME.

Change-Id: I07e72dc4e1f3cd8edaf357c1d49e79f60d6d1604
2011-05-25 14:37:15 -07:00
Jeff Brown
eea0aa2587 Support primitive ALT-TAB style navigation using Recent Apps. (DO NOT MERGE)
Change-Id: I0296a09519ba9417c208d197ebd996b586ee3daa
2011-05-25 14:37:15 -07:00
Jean-Baptiste Queru
f74782f6a1 am a49b2dbd: am a38762f3: am 7ae7d31c: Merge "MOTOYA changed two kinds of Japanese font files."
* commit 'a49b2dbdde52e20b6d590b35e209033229f5d82d':
  MOTOYA changed two kinds of Japanese font files.
2011-05-19 03:44:45 -07:00
Jean-Baptiste Queru
a49b2dbdde am a38762f3: am 7ae7d31c: Merge "MOTOYA changed two kinds of Japanese font files."
* commit 'a38762f340853cca5a07732c21e9fb816fd252b8':
  MOTOYA changed two kinds of Japanese font files.
2011-05-18 09:52:18 -07:00
Jean-Baptiste Queru
7ae7d31c2f Merge "MOTOYA changed two kinds of Japanese font files." 2011-05-18 09:24:40 -07:00
Mike Lockwood
c535f7f291 DO NOT MERGE Revert "Remove permission android.permission.WRITE_MEDIA_STORAGE"
We need this to allow MTP to access secondary external storage devices

This reverts commit 35a2ea2fbf156a503d1b0bc6ca7784e51e2462f4.

Conflicts:

	data/etc/platform.xml

Change-Id: Iaf9cf120217e8417d328a51db0d82be6835b0ff0
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-04 10:41:20 -04:00
Mike Lockwood
f60ba87f07 DO NOT MERGE Revert "Remove permission android.permission.WRITE_MEDIA_STORAGE"
We need this to allow MTP to access secondary external storage devices

This reverts commit 35a2ea2fbf156a503d1b0bc6ca7784e51e2462f4.

Conflicts:

	data/etc/platform.xml

Change-Id: I0b139a0f3b369c1080831a5b3a48f5d9a330b1bb
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-03 21:03:56 -04:00
Wink Saville
ec9b5d17af am ee081bf5: am 3ed0a1ec: Merge "IMS: Provide net_admin permission so that IPSec could be configured/used." into honeycomb-LTE
* commit 'ee081bf5ee936396a89d5bd2b29487047b260f49':
  IMS: Provide net_admin permission so that IPSec could be configured/used.
2011-05-03 16:36:36 -07:00
Ramesh Sudini
0e7b5a0287 IMS: Provide net_admin permission so that IPSec could be configured/used.
IMS configures the security database in kernel with keys generated from ISIM.

Change-Id: Iae9fb85f286ff2a627369d784a127bf7d4d8f4b3
2011-05-03 13:46:08 -07:00
Mike Lockwood
1e23db4c2f Revert "Remove permission android.permission.WRITE_MEDIA_STORAGE"
We need this to allow MTP to access secondary external storage devices

This reverts commit 35a2ea2fbf156a503d1b0bc6ca7784e51e2462f4.

Conflicts:

	data/etc/platform.xml

Change-Id: I9faf54526182a786a1c0ca1fd01a09baabca186d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-04-22 07:11:20 -07:00
Jeff Brown
5487500cf3 Minor Alt-TAB / Recent Apps Dialog improvements.
Alt-TAB should have different semantics from the APP_SWITCH key
or long-press on HOME.  Accordingly, remove the fallback action
for Alt-TAB and initiate the task switching behavior directly
in the policy.

Modified RecentApplicationsDialog to be more precise about the
initial modifiers that it considers to be holding the dialog.

The dialog is now dismissed by a second press on the APP_SWITCH
key or by a second long press on HOME.

Change-Id: Idf4d803f51103819057cb655ff3b770b7729e4be
2011-04-06 15:38:05 -07:00
yoshinaka
1afdb59680 MOTOYA changed two kinds of Japanese font files.
<The design image was changed to the full size>

From "U+FF10 fullwidth zero" to "U+FF19 fullwidth nine"

<Following characters were added>

"U+203C double exclamation poin","U+2047 double question mark","U+2048 question exclamation point"

"U+2049 exclamation question mark","U+261A Black left pointing index","U+261B Black right pointing index"

"U+261C White left pointing index","U+261D White up pointing index","U+261E White right pointing index"

"U+261F White down pointing index"

Change-Id: I1641926c13ce8e11fde794f5584119ad44607374
2011-04-06 17:32:00 +09:00
Jeff Brown
8c769cb9cc Support primitive ALT-TAB style navigation using Recent Apps.
Change-Id: I6dc774326c971826d160c82126fb39acb5b9124b
2011-03-29 17:26:44 -07:00
Bart Sears
35137d6696 am 6a19759c: Do Not Merge: Cherry-pick change I7667f9b8 to GingerBread
* commit '6a19759c0fae744e80c032ca3c23932e73e6d9d9':
  Do Not Merge: Cherry-pick change I7667f9b8 to GingerBread
2011-03-24 03:36:31 -07:00
Bart Sears
6a19759c0f Do Not Merge: Cherry-pick change I7667f9b8 to GingerBread
Update Droid Fonts

DroidSans-Bold.ttf
DroidSans.ttf
DroidSansMono.ttf
DroidSerif-Bold.ttf
DroidSerif-BoldItalic.ttf
DroidSerif-Italic.ttf
DroidSerif-Regular.ttf
 - Fix the Tcedilla glyphs

DroidSansFallback
 - Add Dingbat Symbols
 - Add Currency Symbols
 - Add International Phonetic Alphabet (IPA)
 - Add U+02BB Modifier letter turned comma
 - Add U+2011 Non-breaking hyphen

DroidSansArabic.ttf
 - Updated Arabic font
 - Added support for initial and medial forms of Persian (Farsi) yeh (glyphs U+FBFE and U+FBFF)

Bug: 4167128
Change-Id: Iec3e5b20c6dd54ff7cc5bef51dd5a05179d8d5a8
2011-03-23 18:20:45 -07:00
Bart Sears
573dfc26bc Update Droid Fonts
DroidSans-Bold.ttf
DroidSans.ttf
DroidSansMono.ttf
DroidSerif-Bold.ttf
DroidSerif-BoldItalic.ttf
DroidSerif-Italic.ttf
DroidSerif-Regular.ttf
 - Fix the Tcedilla glyphs

DroidSansFallback
 - Add Dingbat Symbols
 - Add Currency Symbols
 - Add International Phonetic Alphabet (IPA)
 - Add U+02BB Modifier letter turned comma
 - Add U+2011 Non-breaking hyphen

DroidSansArabic.ttf
 - Updated Arabic font
 - Added support for initial and medial forms of Persian (Farsi) yeh (glyphs U+FBFE and U+FBFF)

Bug: 3315583
Change-Id: I7667f9b83fff32a1d97adfbea9a4db5c4dccb160
2011-03-14 17:19:28 -07:00
Jeff Brown
9e8e40cb5f Recognize 3D joysticks. (DO NOT MERGE)
Change-Id: Idf7799ea90fa07677850d40ee1aec39220ded372
2011-03-09 18:30:28 -08:00
Jeff Brown
8529745b27 Joystick tweaks. (DO NOT MERGE)
Ensure that the joystick can always reach -1.0, 0.0 and 1.0 positions
even when noise filtering is applied.  (Bug: 3514510)

Add support for a few more standard axes.

Add additional mapping modes for axes.
Some axes are inverted from standard interpretation
or are actually intended to be split into two distict axes
such as left/right trigger controls or accelerator/brake.

Add key layout file for a G25 racing wheel and XBox 360 controller
to tweak behavior.  They work fine without them but the axis mappings
are not ideal.

Change-Id: I0fddd90309af4dc14d35f34fe99ed6e521c0b7c7
2011-03-04 19:12:41 -08:00
Jean-Michel Trivi
b163d068be Fix bug 3425610 Adjust Lock sound level
After the correction for the speaker output processing, the lock
 sound became almost inaudible. This new asset is louder.

Change-Id: I2232f307f647cafc8a5c6d5dd482833367a73c56
2011-03-02 18:33:30 -08:00
Mike Lockwood
b13581a9da am 1110748b: DO NOT MERGE: USB accessory support library
* commit '1110748b2df664f9c5066819c1f0616eae3394a7':
  DO NOT MERGE: USB accessory support library
2011-03-02 15:38:55 -08:00
Mike Lockwood
1110748b2d DO NOT MERGE: USB accessory support library
This provides a mechanism for developing applications to work with
USB accessories in versions of android prior to the introduction
of the android.hardware.UsbManager APIs.

Applications should link against the com.android.future.usb.accessory
library to use this support.

Change-Id: I0b61e20b63eec42c506f0895a0c9a439bdfdf7f5
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-02 15:23:41 -08:00
Mike Lockwood
7866be2b76 am 40bbf929: DO NOT MERGE: Backport USB accessory support to gingerbread
* commit '40bbf9295d5245d3917629ce15f7b37670aef1ac':
  DO NOT MERGE: Backport USB accessory support to gingerbread
2011-03-02 15:16:32 -08:00
Mike Lockwood
403af5c688 Merge "Combine the USB accessory support library with the platform feature" 2011-03-02 14:19:38 -08:00