74234 Commits

Author SHA1 Message Date
Scott Main
153f8fe420 docs: Android U: Displaying Bitmaps Efficiently
Change-Id: I749f6dd82438fc0902b892e9b918243fc0a826d3
2012-04-04 17:45:24 -07:00
Svetoslav Ganov
57cadf2a97 Fixing broken clear focus behavior.
1. In a prevous patch I fixed the issues when on clearing
   focus of the first focusable view the callback for
   gaining focus were called before the ones for losing
   focus. Since it cause some issues the patch was reverted
   and resubmitted. In this chaos some code was missed so
   tests are failing. Added the missing logic to give focus
   to the first focusable in the current touch mode when
   a view loses focus.

2. Removed clear focusForRemoval methid since it is a dup
   of unFocus();

Note: All focus tests now pass.

Change-Id: I06881d4b5a66fc5a33efca16a96f20207a7220d3
2012-04-04 17:24:09 -07:00
Trevor Johns
1f393b96cf am 655aff22: am e07b5850: Merge "Docs: Fixing typo in "Testing from Other IDEs" article" into ics-mr1
* commit '655aff22aad883131b72ad879ed18f1a11380dbe':
  Docs: Fixing typo in "Testing from Other IDEs" article
2012-04-04 16:55:57 -07:00
Trevor Johns
655aff22aa am e07b5850: Merge "Docs: Fixing typo in "Testing from Other IDEs" article" into ics-mr1
* commit 'e07b58506579085b62fde0771b74111b24aa27a0':
  Docs: Fixing typo in "Testing from Other IDEs" article
2012-04-04 16:52:53 -07:00
Trevor Johns
ac5ae52d13 am e07b5850: Merge "Docs: Fixing typo in "Testing from Other IDEs" article" into ics-mr1
* commit 'e07b58506579085b62fde0771b74111b24aa27a0':
  Docs: Fixing typo in "Testing from Other IDEs" article
2012-04-04 16:52:29 -07:00
Martijn Coenen
f47fcf702c Merge "First cut at Bluetooth Beam" 2012-04-04 16:51:40 -07:00
Trevor Johns
e07b585065 Merge "Docs: Fixing typo in "Testing from Other IDEs" article" into ics-mr1 2012-04-04 16:51:18 -07:00
Trevor Johns
41e6f351c6 Docs: Fixing typo in "Testing from Other IDEs" article
Fixing typo in Dev Guide article: 'android update-test-project'
should be 'android update test-project'.

Change-Id: Ie42a0b627d30d2a72fa081ca13bceaacdfd5aa03
http://developer.android.com/guide/developing/testing/testing_otheride.html
2012-04-04 16:38:28 -07:00
Bart Sears
4e2032b5fe Update WebSettings.PREVIOUS_VERSION
Now that we have released ICS MR1.1, update the PREVIOUS_VERSION
to 4.0.4.

Change-Id: I3c4d6abfa679f20776d2676c57af4c0347e41c7b
2012-04-04 16:13:26 -07:00
Chris Craik
7c8fd157da Merge "remove toast from animation benchmark" 2012-04-04 16:09:21 -07:00
Brian Muramatsu
72a9d3f449 Merge "Try Alternate Constructor for Single Method Tests" 2012-04-04 16:03:34 -07:00
Dianne Hackborn
f87d19621d Clean up status bar, system bar, navigation bar management.
The status bar and navigation bar are two completely separate
elements, with their own semantics.  The system bar now classifies
itself as a navigation bar, since that is really how it behaves.

This required rewriting the HDMI resizing code, so that it is
all done by PhoneWindowManager since that is what is responsible
for the size of the navigation bar (and thus now system bar).  This
actually gets rid of a fair amount of code, and means we can also
do the same thing for a pure navigation bar.

Likewise the system bar now has the navigation bar ability to be
hidden when requested by system UI flags.  To get the behavior
we want on Xoom, we only allow the nav bar to be hidden when it
will help provide a better aspect ratio for showing widescreen
videos.

Finally the nav/system bar now animates when hidden and shown.

Change-Id: Ie927154b68376a0b61802f99171ff56b8da92e7a
2012-04-04 16:00:45 -07:00
Gilles Debunne
ebd9a23817 Faster and simpler replace in SSB
The original method was adding a suspicious space that was eventually
removed with a series of 3 calls to change.

This should not be necessary. I have tested this with various gap
positions and lengths, for all replace cases I could think of.

The test can not be added to the CTS as it would need to expose the
internal resizeFor and moveGapTo methods.

Change-Id: I194457fbcfd758fa69a7f380665cfd5ae4d3f1d4
2012-04-04 15:52:38 -07:00
Justin Koh
75cf9e19a5 Fix the build.
Change-Id: Ibe818df8f360837688f12533cf0ac22ef89a8439
2012-04-04 15:27:37 -07:00
JP Abgrall
e94d763f69 unlock screen: enable DEBUG and track pattern start/cell progress.
- Turned on DEBUG.
- Added logging for pattern start, and for each cell.

This should help with debugging lockscreen not receiving input when turning
sleeping phone one

Bug: 6258051
Change-Id: Id95e167c2792e80925e8e41c0c624b5bdc222249
2012-04-04 15:11:42 -07:00
Fred Chung
b96785c197 am 37d51784: am f336b9fc: Merge "Updated sample app for Android Training class: Making Your App Location Aware." into ics-mr1
* commit '37d51784850bd6cd34c0291dcac7d3a06cf77407':
2012-04-04 14:56:40 -07:00
Roman Nurik
353befe29f am 8659a2d1: am fa840e2b: Merge "docs: Android Design: v3 update (settings, navigation)" into ics-mr1
* commit '8659a2d190acd1226ca8076681831963b169c963':
2012-04-04 14:56:37 -07:00
Justin Koh
5ac69a23e0 Merge "resolved conflicts for merge of bff6a514 to master" 2012-04-04 14:54:19 -07:00
Philip Milne
24fea55ebb Merge "Fix for bug 6104272." 2012-04-04 14:51:35 -07:00
Justin Koh
6a8096d7d5 resolved conflicts for merge of bff6a514 to master
Change-Id: I741d5ab8ed0ce25a27330ffb55ba210534d11c3d
2012-04-04 14:50:32 -07:00
Marco Nelissen
e313f721ad Store video width/height when scanning
b/5820120

Change-Id: If2faf554bbf49b341d2634915ba98c1efd70574e
2012-04-04 14:27:00 -07:00
Andreas Huber
038d1663e6 Merge "New Crypto JAVA class to facilitate decryption via MediaCodec." 2012-04-04 14:21:18 -07:00
Fabrice Di Meglio
d779412c58 Merge "Add View textAlignment" 2012-04-04 14:17:22 -07:00
Chris Craik
dc419d79fc remove toast from animation benchmark
Change-Id: I9ec2aa57fafbde5875c2f070fe4a33e4d33ee2ae
2012-04-04 14:15:59 -07:00
Nick Pelly
1d7e906233 First cut at Bluetooth Beam
Change-Id: I37e5759515ff8779095b6d8adf5ad9c456fa8529
2012-04-04 14:08:23 -07:00
Andreas Huber
8240d9239d New Crypto JAVA class to facilitate decryption via MediaCodec.
Change-Id: Ic4e395faa84f003793c2804f2badabab9e7f1034
related-to-bug: 6275919
2012-04-04 14:06:32 -07:00
Amith Yamasani
1da8f00a4c Merge "Embed layout padding in nine patch images" 2012-04-04 13:49:05 -07:00
Irfan Sheriff
5b86de1e6b Merge "Fix build" 2012-04-04 13:22:19 -07:00
Irfan Sheriff
fa291e6691 Fix build
Add missing file

Change-Id: I5ed1827e1183c37741675ce4d198d3e200c5fb94
2012-04-04 13:20:20 -07:00
Chia-chi Yeh
870085cce0 Merge "SIP: push the logic of finding local address down to SipSessionGroup." 2012-04-04 13:13:57 -07:00
Chia-chi Yeh
2dd9134c6b SIP: push the logic of finding local address down to SipSessionGroup.
This allows different accounts binding on different IP addresses,
such as one on IPv4 and another on IPv6.

Bug: 4169057
Change-Id: I0bb36669394c281330091673fa338adea8f782cd
2012-04-04 13:04:26 -07:00
Daniel Sandler
a2985ed309 Chronometer support in Notifications.
@hidden for now while we experiment with it in Phone.

Change-Id: Ib6ca3a8262f676d49d81e081a30c6d994c732a6b
2012-04-04 15:35:44 -04:00
Irfan Sheriff
689b741abc Merge "Add initial framework for DNS service discovery" 2012-04-04 12:34:52 -07:00
Irfan Sheriff
271cb5c0d4 Merge "Original DnsSd TxtRecord file" 2012-04-04 12:34:47 -07:00
Irfan Sheriff
227dde2be4 Merge "Fix key handling" 2012-04-04 12:29:26 -07:00
Irfan Sheriff
7d024d3724 Add initial framework for DNS service discovery
Change-Id: I53c0b7ebfd75e520ebb7553612f1aa8413b6b79b
2012-04-04 12:24:56 -07:00
Fabrice Di Meglio
9da0f8a5c4 Add View textAlignment
- fix bug #6163772
- use bits field and pack them as much as possible
- take care of "supportsRtl" flag from Manifest
- add visual unit tests

CTS unit tests in another CL

Change-Id: Ib77c4eb423854209af130688c5ef9977401a9c1c
2012-04-04 12:20:45 -07:00
Philip Milne
6c8ea06abf Fix for bug 6104272.
Add Java properties for those XML attributes that don't have getter/setter
pairs. Also, link existing methods to their XML attributes where the comments
were previously missing.

This CL is worth extra scruitiny: first because it's View, and secondly
because many of the new APIs depend on subtleties in the underlying implementations
that I'm not familiar with.

Also, please consider whether it is too much to deprecate getBackgroundDrawable().

Change-Id: I0f2641926d86e5f44b92a0057736f64b59d2e9b9
2012-04-04 12:16:02 -07:00
Amith Yamasani
ec4a50428d Embed layout padding in nine patch images
- Added a new custom PNG chunk that carries the layout padding ints.
- Extract the padding ticks from .9.png images and store in the chunk.
- Load the padding information at runtime into Bitmap and NinePatchDrawable.

- The new chunk is ordered first so that it doesn't cause a problem in older
  versions of the platform.

Bug: 6087201

Change-Id: I5de46167a1d44b3ec21065b0c165e594b1dc8399
2012-04-04 12:05:59 -07:00
Daniel Sandler
74e642bae0 Merge "Fix vertical alignment of notification contents." 2012-04-04 12:03:49 -07:00
Daniel Sandler
ea7593ce0f Fix vertical alignment of notification contents.
Change-Id: Ibbb237f1b892cb0605417cdef17a9e59316ecb1f
2012-04-04 15:00:55 -04:00
Craig Mautner
c3a6cf79e3 Merge "First separation of animation from AppWindowToken." 2012-04-04 12:00:48 -07:00
Craig Mautner
0048dc9d55 Merge "Move more items between layout and animate sides." 2012-04-04 11:58:50 -07:00
Craig Mautner
594316361d First separation of animation from AppWindowToken.
New class AppWindowAnimator pulls animation out of AppWindowToken.

Change-Id: Ic1ccb6ec2bf091f1f901fe3c20cbeb242376ae6b
2012-04-04 11:56:44 -07:00
Yoshihiko Ikenaga
b5e00bda40 Fix key handling
putListener() returns 0 when the argument is null. And The key value of listener
registered first is always 0. For this reason, if the p2p functions are called continuously
and first call is without listener and the second call is with listener, then the message
against first call wrongly pick up the second call's listener because the key value is
the same. In order to avoid this issue, we don't use 0 as the valid listener key.

Change-Id: I0cc960b2ad37f17cf7f528d839b39aa272b83670
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
2012-04-04 11:55:06 -07:00
Fred Chung
6153ddc8f1 am 2adda2d5: am 99b44fdc: am f336b9fc: Merge "Updated sample app for Android Training class: Making Your App Location Aware." into ics-mr1
* commit '2adda2d594954d338993f579503ab3e5f339ac8a':
  Updated sample app for Android Training class: Making Your App Location Aware.
2012-04-04 11:54:04 -07:00
Romain Guy
fda531c9e4 Merge "Disable AA lines vertex attrib arrays after rendering" 2012-04-04 11:53:28 -07:00
Fred Chung
7b5f48f48a am 624e02d6: am f336b9fc: Merge "Updated sample app for Android Training class: Making Your App Location Aware." into ics-mr1
* commit '624e02d6fdff70ef72653330cb233b2bf8c87fa6':
  Updated sample app for Android Training class: Making Your App Location Aware.
2012-04-04 11:51:45 -07:00
Fred Chung
2adda2d594 am 99b44fdc: am f336b9fc: Merge "Updated sample app for Android Training class: Making Your App Location Aware." into ics-mr1
* commit '99b44fdc87d3eac2feb17ab2409b0b66ca9333ba':
  Updated sample app for Android Training class: Making Your App Location Aware.
2012-04-04 11:51:12 -07:00
Fred Chung
99b44fdc87 am f336b9fc: Merge "Updated sample app for Android Training class: Making Your App Location Aware." into ics-mr1
* commit 'f336b9fce8b11c70b633bd71612544eaf2b9298b':
  Updated sample app for Android Training class: Making Your App Location Aware.
2012-04-04 11:48:01 -07:00