29500 Commits

Author SHA1 Message Date
Martijn Coenen
5b4a57973c Merge "Make sure initial activity state is correct." 2012-04-05 11:17:03 -07:00
Martijn Coenen
20fe5378d7 Make sure initial activity state is correct.
Change-Id: Ic6199b42e59afa06a0f38f866e2924b84cd234b3
2012-04-05 11:10:29 -07:00
Martijn Coenen
d9966c4c21 Merge "Patch to support MIFARE with SAK 0x01" 2012-04-05 09:37:11 -07:00
Daniel Sandler
cde8aae955 Fix crash in legacy notification construction path.
Bug: 6293584
Change-Id: I8c1c5162a2e9e3ebc5a6d3fed045c6c6a64b9bfd
2012-04-04 23:46:19 -04:00
Romain Guy
5ab92c0316 Merge "Make sure we clean up after ourselves" 2012-04-04 19:47:34 -07:00
Bart Sears
837d321290 Merge "Update WebSettings.PREVIOUS_VERSION" 2012-04-04 19:36:54 -07:00
Svetoslav Ganov
b39e509f43 Merge "Fixing broken clear focus behavior." 2012-04-04 19:01:13 -07:00
Romain Guy
edbca1285e Make sure we clean up after ourselves
Because of the mAdded=false statement a few lines above, a large section
of doDie() was not executed. Things would eventually get cleaned up
but it seems better to do it at the right time.

Change-Id: I1a2f3a8e05057dd7cd7205b6d3f9c145d6c0241d
2012-04-04 18:25:53 -07:00
Romain Guy
a393bedb6d Merge "Add a new OnDrawListener to ViewRoot" 2012-04-04 18:16:38 -07:00
Romain Guy
25eba5c502 Add a new OnDrawListener to ViewRoot
This can be used by app to efficiently listen for draw passes. This listener
is guaranteed to not generate any garbage unlike OnPreDrawListener.

Change-Id: Ida40d11a3f8a5d2617bafe722906ee5c9af48602
2012-04-04 17:59:11 -07:00
Daniel Sandler
48200b6f3f Merge "Chronometer support in Notifications." 2012-04-04 17:49: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
Martijn Coenen
f47fcf702c Merge "First cut at Bluetooth Beam" 2012-04-04 16:51:40 -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
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
Fabrice Di Meglio
d779412c58 Merge "Add View textAlignment" 2012-04-04 14:17:22 -07:00
Nick Pelly
1d7e906233 First cut at Bluetooth Beam
Change-Id: I37e5759515ff8779095b6d8adf5ad9c456fa8529
2012-04-04 14:08:23 -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
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
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
Irfan Sheriff
26d4452a08 Original DnsSd TxtRecord file
Change-Id: I4aa308a3b417d6bdce50567fb66c7119b048140a
2012-04-04 11:37:35 -07:00
Martijn Coenen
30bd284cca Merge "Add API for querying extended length APDU support." 2012-04-04 11:19:08 -07:00
Martijn Coenen
1899b73110 Merge "Document "disable default Beam" meta-data entry." 2012-04-04 11:12:52 -07:00
Martijn Coenen
854e077555 Document "disable default Beam" meta-data entry.
Change-Id: Icaa767ee37fcca08b1ff5143eb94cf8e66be840c
2012-04-04 10:48:04 -07:00
Martijn Coenen
fa98cf0573 Add API for querying extended length APDU support.
Bug: 5813943
Change-Id: Iffb415f318e095bde9ed6677b22613d210f8a39c
2012-04-04 10:43:06 -07:00
Chet Haase
5e63d99ca5 Merge "Enhanced frame profiling from gfxinfo" 2012-04-04 10:39:33 -07:00
Gilles Debunne
935a15ebed Merge "Removed spurious log about blinking cursor" 2012-04-04 10:14:13 -07:00
Gilles Debunne
cfbf0e0296 Removed spurious log about blinking cursor
Change-Id: I940c3847bb6e461178575480c82e7dd6739277cf
2012-04-04 10:12:05 -07:00
Chet Haase
09280606dc Enhanced frame profiling from gfxinfo
You can now set the max number of frames being tracked by the gfxinfo
profiling data by doing 'adb shell setprop hwui.profil.maxframes #'.
Also, running gfxinfo automatically resets the data so that any set of
frame data always starts from the beginning.

Change-Id: I87ae3fb4d580741a1b2fba75be4ec540de7c52a4
2012-04-04 07:49:06 -07:00
Jeff Sharkey
0f1c3af76b Hide Preference title when empty.
Change-Id: I1c1d73f5a4647657c7da65c72192fbac061fe259
2012-04-03 20:46:42 -07:00
Justin Koh
57978ed862 Persists the master mute volume setting.
Persists the master mute volume setting across reboots.

TESTED = runs on Tungsten.

Change-Id: I9628b9369ca528b22413f62a9e7d697bae61d8ac
2012-04-03 17:37:58 -07:00
Chet Haase
21aec19d30 Merge "Optimization of alpha with DisplayList properties" 2012-04-03 15:40:54 -07:00
Jim Miller
1533a87eef Merge "Fix 6247249: make sure label on tablets is "done" instead of "next"" 2012-04-03 15:24:51 -07:00
Fabrice Di Meglio
fde3f83cd2 Merge "Fix bug #6140391 Make RTL awareness as an opt-in into the AndroidManifest" 2012-04-03 14:45:53 -07:00
Chet Haase
db8c9a6a4d Optimization of alpha with DisplayList properties
Some views (such as ImageView and TextView) handle non-opaque alpha
values directly. This was originally an optimization, but we can handle it faster
in many cases without this optimization when DisplayList properties are enabled.
Basically, if a view has non-overlapping rendering, we set the alpha value directly
on the renderer (the equivalent of setting it on the Paint object) and draw each
primitive with that alpha value. Doing it this way avoids re-creating DisplayLists
while getting the same speedup that onSetAlpha() used to get pre-DisplayList properties.

Change-Id: I0f7827f075d3b35093a882d4adbb300a1063c288
2012-04-03 14:02:17 -07:00
Daisuke Miyakawa
fd007cb576 Merge "Shorten PRESSED_STATE_DURATION" 2012-04-03 14:00:58 -07:00
Michael Kolb
73975e06e3 Merge "Remove embedded titlebar rendering" 2012-04-03 13:02:28 -07:00
Daisuke Miyakawa
c19895f7ed Shorten PRESSED_STATE_DURATION
Bug: 6259150
Change-Id: Ic8b28295a7e97ca2885d074962f73d5f1bf980c6
2012-04-03 12:25:26 -07:00
Fabrice Di Meglio
59dfce8bda Fix bug #6140391 Make RTL awareness as an opt-in into the AndroidManifest
- introduce "supportsRtl" as a new application attribute in the AndroidManifest
- "supportsRtl" default value is FALSE (no RTL support)
- adapt the View layoutDirection and textDirection logic to take care of "supportsRtl" value

Change-Id: I5e4f9f576e14f35dedc6b0c29a7142c397f598e0
2012-04-03 11:43:20 -07:00