49286 Commits

Author SHA1 Message Date
Brian Carlstrom
b440b90358 Merge "Adding KeyChain API and IKeyChainService" 2011-04-22 11:29:28 -07:00
Dianne Hackborn
dacea8ce50 Start work on simulating landscape/portrait when orientation is locked.
Not yet working, so turned off.

Also fix a bug where the display size configuration became inconsistent
after a configuration change -- we now figure out everything about the
display size when computing a new configuration.
2011-04-22 11:23:13 -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
Mike Lockwood
9df53fae3a MTP: Add extended operations to support in-place editing of files
MTP does not support partial writes of files (the entire file must be transferred at once).
This makes it impossible to implement a FUSE file system for MTP
with acceptable performance.
To fix this problem, this change adds extended MTP operations to allow
partial writes to files:

SendPartialObject - allows writing a subset of a file, or appending to the end of a file

TruncateObject - allows changing the size of a file

BeginEditObject - must be called before using SendPartialObject and TruncateObject

EndEditObject - commits changes to a file after it has been edited with SendPartialObject or TruncateObject

We also add GetPartialObject64, which is the same as GetPartialObject
but has a 64 bit offset rather than 32.

Change-Id: I4b110748b97ae05cdc8aab02ecdbbbeb263f7840
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-04-22 07:11:20 -07:00
Shyam Pallapothu
fb281f3ad7 Merge "Fix for issue 4133431 "Remove OSAL layer" in JNI part" 2011-04-21 19:59:17 -07:00
Adam Powell
45c515b0e9 Action bar work for phones
Tweak sizing and layouts for action bar on smaller devices. The action
bar's size is now partially dependent on form factor and orientation
to conserve screen space, especially in landscape mode.

Alter the max action menu items for smaller devices. Disallow text on
action menu items with a horizontal width of less than 480dp when an
icon is available.

Remove the "Done" text on the action mode close button. (TODO: get a
properly sized 9-patch resource for this - the current one has an
intrinsic width that is too large.)

When setting an action bar icon as a resource ID, the bar will attempt
to load a mipmapped resource that is the closest available for the
target size.

Change-Id: I2498c640666ade310fdd1d3a2078bd4000b392a2
2011-04-21 19:23:27 -07:00
Shyam Pallapothu
c0125dd4f1 Fix for issue 4133431 "Remove OSAL layer" in JNI part
Change-Id: I4d38454cdf32cb87dadeedcecd19261dd0b0b927
2011-04-21 19:13:56 -07:00
Svetoslav Ganov
ac84d3ba81 Touch exploration feature, event bubling, refactor
1. Added an Input Filter that interprets the touch screen motion
   events to perfrom accessibility exploration. One finger explores.
   Tapping within a given time and distance slop on the last exlopred
   location does click and long press, respectively. Two fingers close
   and in the same diretion drag. Multiple finglers or two fingers in
   different directions or two fingers too far away are delegated to
   the view hierarchy. Non moving fingers "accidentally grabbed the
   device for the scrren" are ignored.

2. Added accessibility events for hover enter, hover exit, touch
   exoloration gesture start, and end. Accessibility hover events
   are fired by the hover pipeline. An accessibility event is
   dispatched up the view tree and the topmost view fires it.
   Thus predecessors can augment the fired event. An accessibility
   event has several records and a predecessor can optionally
   modify, delete, and add such to the event.

3. Added onPopulateAccessibilityEvent and refactored the existing
   accessibility code to use it.

4. Added API for querying the currently enabled accessibility services
   by feedback type.

Change-Id: Iec03c6c3fe298de3f14cb6efdbb9b198cd531a0c
2011-04-21 18:33:52 -07:00
Scott Main
9f0df630fd am 66140cc1: am a2c180a0: am caf60ebd: am 48c187f9: docs: fix typo in 3.0 notes
* commit '66140cc1eadce6de4370d1078172e1a7eca6b919':
  docs: fix typo in 3.0 notes
2011-04-21 17:43:52 -07:00
Scott Main
66140cc1ea am a2c180a0: am caf60ebd: am 48c187f9: docs: fix typo in 3.0 notes
* commit 'a2c180a0dde842d76d75c8b22ee7db29b482757e':
  docs: fix typo in 3.0 notes
2011-04-21 17:42:25 -07:00
Scott Main
a2c180a0dd am caf60ebd: am 48c187f9: docs: fix typo in 3.0 notes
* commit 'caf60ebdbdf9769624f17395aabac4cf11ee130d':
  docs: fix typo in 3.0 notes
2011-04-21 17:39:30 -07:00
Scott Main
caf60ebdbd am 48c187f9: docs: fix typo in 3.0 notes
* commit '48c187f9cf2bcb51f446a5a62346f9ef5920c7f3':
  docs: fix typo in 3.0 notes
2011-04-21 17:36:40 -07:00
Fabrice Di Meglio
0a1413e4bf Clean getTextRunAdvances() APIs
- remove ICU reference in API names
- use a "reserved" int parameter to pass either "0" for Harfbuzz or "1" for "ICU"

Change-Id: I88b4f76feafd203a6999cd7349402fa36a9a4b2a
2011-04-21 17:36:26 -07:00
Dianne Hackborn
9a36549919 Merge "Fix bug in deciding which rotation to use for an orientation." 2011-04-21 17:34:22 -07:00
Dianne Hackborn
9d13264f6b Fix bug in deciding which rotation to use for an orientation.
Change-Id: Icc928c2188a5865035cafcdab2efd5bae3132b1f
2011-04-21 17:27:42 -07:00
Scott Main
48c187f9cf docs: fix typo in 3.0 notes
Change-Id: I0925a21b5eb53811736cfe04498917371c8bb67c
2011-04-21 17:22:54 -07:00
Gilles Debunne
67c1dff245 Merge "Extracted WordIterator class." 2011-04-21 17:20:58 -07:00
Mathias Agopian
5db1314192 Merge "Get rid of the "pid" parameter from createSurface" 2011-04-21 17:14:18 -07:00
Fabrice Di Meglio
b104800b6c Merge "TextLayout cache - update size and improve logging" 2011-04-21 16:27:56 -07:00
Dianne Hackborn
4c1f4f7144 Merge "Rework display size access." 2011-04-21 16:10:28 -07:00
Dianne Hackborn
041a3209c4 Merge "Remove config_caseSensitiveExternalStorage; no longer needed." 2011-04-21 16:07:04 -07:00
Jack Palevich
7c80244afb Fix typo in Matrix.mPerspective.
(Introduced by a copy-and-paste mistake when factoring out a common
expression. D'Oh!)

Change-Id: I5e97dde2d2f4564fc74ba69bfa4a2f9db44c8873
2011-04-21 15:46:27 -07:00
Fabrice Di Meglio
010d5c4e5b TextLayout cache - update size and improve logging
- set size to 256K
- add pid logging
- fix percent gain computation

Change-Id: Id6da4d606147294e05597022414531c346860f45
2011-04-21 15:33:50 -07:00
Dianne Hackborn
f50e54e64b Remove config_caseSensitiveExternalStorage; no longer needed.
Change-Id: Id51c9e05be21d8087359cf918081109ba325569a
2011-04-21 15:20:34 -07:00
Dianne Hackborn
44bc17c6b5 Rework display size access.
Applications now get the display size from the window manager.  No
behavior should be changed yet, this is just prep for some real
changes.

Change-Id: I2958a6660895c1cba2b670509600014e55ee9273
2011-04-21 15:17:52 -07:00
Jason Sams
b86a6ea41d Merge "Move TLS behind hal." 2011-04-21 15:12:25 -07:00
Jack Palevich
ef243092ab Merge "Add utility method Matrix.perspectiveM" 2011-04-21 15:11:36 -07:00
Jesse Wilson
05e37233aa Merge "Pool strings in JsonReader." 2011-04-21 14:55:37 -07:00
Jack Palevich
d793299e87 Add utility method Matrix.perspectiveM
Change-Id: Ic9d5e5d967bbc08acc524c5092ce61a1cdbfd360
2011-04-21 14:52:37 -07:00
Adam Powell
712079a63f Merge "Fix bug 4329016 - Refresh menus properly while in batch update mode" 2011-04-21 14:51:24 -07:00
Adam Powell
a86b350977 Fix bug 4329016 - Refresh menus properly while in batch update mode
Change-Id: Ia4a4feffb0a77a99e0b241c9cf1d737577d9154d
2011-04-21 14:49:23 -07:00
David Li
5036a05aca GLES2Dbg: noop - format & comment
Change-Id: Ibb36508181d4322e236b6595b28d253f282c36d7
Signed-off-by: David Li <davidxli@google.com>
2011-04-21 14:15:10 -07:00
Jesse Wilson
847cf342c9 Pool strings in JsonReader.
This yields a 10% improvement in parsing both Twitter and Google Reader
streams.

Change-Id: Ifc238777e929b5b3e9a4480098b315e418378f8b
http://b/3201883
2011-04-21 13:48:35 -07:00
Chet Haase
bf96c356c0 Merge "Enable anti-aliasing for hw-accelerated lines" 2011-04-21 11:52:59 -07:00
Chet Haase
5b0200bd47 Enable anti-aliasing for hw-accelerated lines
Draw anti-aliased lines with OpenGL by constructing a quad with
a border that fades out (to mimic fragment coverage).

Change-Id: Ib81a3e62d663acdf1b46b401ac4aa7ee9855cc7e
2011-04-21 11:47:05 -07:00
Jason Sams
be8ac6ace9 Move TLS behind hal.
Change-Id: I9e84acb3736bc98fa5fb0720bddb13a030285319
2011-04-21 11:46:50 -07:00
Scott Main
52c03d2cb9 am a23ae0d7: am 69ccfd7a: am ca7f30eb: am b8a57841: Merge "docs: add a little info to Configuration class description" into honeycomb
* commit 'a23ae0d7be890b7590a87891b894a30f25bbd3ef':
  docs: add a little info to Configuration class description
2011-04-21 10:59:33 -07:00
Scott Main
a23ae0d7be am 69ccfd7a: am ca7f30eb: am b8a57841: Merge "docs: add a little info to Configuration class description" into honeycomb
* commit '69ccfd7a29fc492c25dcb96dc74daf2e900118f5':
  docs: add a little info to Configuration class description
2011-04-21 10:57:10 -07:00
Scott Main
69ccfd7a29 am ca7f30eb: am b8a57841: Merge "docs: add a little info to Configuration class description" into honeycomb
* commit 'ca7f30ebb20dcf4c056f57a8c4ab3342cafaed83':
  docs: add a little info to Configuration class description
2011-04-21 10:55:20 -07:00
Scott Main
ca7f30ebb2 am b8a57841: Merge "docs: add a little info to Configuration class description" into honeycomb
* commit 'b8a57841316171d6db4311a65914720213516153':
  docs: add a little info to Configuration class description
2011-04-21 10:53:08 -07:00
Scott Main
b8a5784131 Merge "docs: add a little info to Configuration class description" into honeycomb 2011-04-21 10:51:14 -07:00
Andy McFadden
1cc1a41b5a Merge "Calendar DB upgrade" 2011-04-21 10:45:47 -07:00
Scott Main
26d047d4b7 am 6293801f: am fdf854cc: am 1ccfd8ed: am d155e1a2: docs: change ZTE usb driver link
* commit '6293801f419d67b425affe884166662ee248698b':
  docs: change ZTE usb driver link
2011-04-21 10:35:50 -07:00
Scott Main
6293801f41 am fdf854cc: am 1ccfd8ed: am d155e1a2: docs: change ZTE usb driver link
* commit 'fdf854cce521438bef666148453ff5f97e6f38e3':
  docs: change ZTE usb driver link
2011-04-21 10:26:50 -07:00
Scott Main
fdf854cce5 am 1ccfd8ed: am d155e1a2: docs: change ZTE usb driver link
* commit '1ccfd8ed7db0d6a8e9ac268baed060f0518cb4e5':
  docs: change ZTE usb driver link
2011-04-21 10:18:13 -07:00
Scott Main
1ccfd8ed7d am d155e1a2: docs: change ZTE usb driver link
* commit 'd155e1a2d8768e383824c565a5b4f5a7546960ea':
  docs: change ZTE usb driver link
2011-04-21 10:08:20 -07:00
Scott Main
d155e1a2d8 docs: change ZTE usb driver link
Change-Id: I8a7528094a565f846ceca456787de81c81ee39c9
2011-04-21 09:57:55 -07:00
Kenny Root
e5463ab6ed Merge "Make sure binder ioctl structs don't contain uninitialized values." 2011-04-21 08:12:56 -07:00
Kenny Root
b63572f9a6 Merge "Increment database version to 65" 2011-04-21 07:51:49 -07:00
Evgeniy Stepanov
594f3eec38 Make sure binder ioctl structs don't contain uninitialized values.
Change-Id: I8a678f91262417bb120e65e32c244ce1512b46c2
2011-04-21 14:37:15 +04:00