23068 Commits

Author SHA1 Message Date
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
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
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
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
Chet Haase
21aec19d30 Merge "Optimization of alpha with DisplayList properties" 2012-04-03 15:40:54 -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
Svetoslav Ganov
1663565739 Merge "Polish the Number/Date/Pickers per UX request." 2012-04-03 11:38:47 -07:00
Jeff Sharkey
7e84830442 Merge "Let ViewStub be used in RemoteViews." 2012-04-03 11:25:24 -07:00
Joe Fernandez
110414928a am c1a0e54d: am b459b619: am 945b7cb3: Merge "docs: Accessibility Dev Guide (subsumes Accessibility Best Practices)" into ics-mr1
* commit 'c1a0e54de12aee41163b84a25ea8dfc8b64304dc':
  docs: Accessibility Dev Guide (subsumes Accessibility Best Practices)
2012-04-03 10:11:59 -07:00
Joe Fernandez
c1a0e54de1 am b459b619: am 945b7cb3: Merge "docs: Accessibility Dev Guide (subsumes Accessibility Best Practices)" into ics-mr1
* commit 'b459b619b389f999564c3c526fe703e0c966ed9b':
  docs: Accessibility Dev Guide (subsumes Accessibility Best Practices)
2012-04-03 10:08:09 -07:00
Joe Fernandez
b459b619b3 am 945b7cb3: Merge "docs: Accessibility Dev Guide (subsumes Accessibility Best Practices)" into ics-mr1
* commit '945b7cb324f3bdfcf13efbe7bdf6a60f7163ed9a':
  docs: Accessibility Dev Guide (subsumes Accessibility Best Practices)
2012-04-03 10:04:54 -07:00
Michael Kolb
8116da5ff6 Remove embedded titlebar rendering
Bug: 5032345

During the zoom, the embedded titlebar doesn't get rendered
in the correct spot. Browser renders the titlebar differently
now, so the old code can be removed

Change-Id: I6affc9e6119dc17e89d15dad77e14e1cdf139662
2012-04-03 08:40:21 -07:00
Jeff Sharkey
b27b7a1524 Let ViewStub be used in RemoteViews.
Specifically, this carefully ensures that ViewStub.inflate() uses
the restricted LayoutInflater from RemoteViews, which has a filter
to enforce the @RemoteView annotation.

Bug: 2541651
Change-Id: I341aacbf6029cdd717a894eb084760c6ec224786
2012-04-02 21:32:45 -07:00
Svetoslav Ganov
fe41ce4ef9 Polish the Number/Date/Pickers per UX request.
1. Now the NumberPicker max height is a bit smaller.

2. The Time/Date picker add top and bottom margin to
   compensate for the shorter NumberPickers.

3. The Time/DatePicker dialogs have only "Done" button
   and tapping onside saves the current state.

bug:6277808

Change-Id: I4c5928debb1c3b7fe126d6cd6745e3c5eb980901
2012-04-02 21:20:14 -07:00
Jeff Brown
56bad16f02 Merge "Add Japanese specific key codes." 2012-04-02 17:08:13 -07:00
Chris Craik
b6a80077dc Merge "Allow fine-grained control over functors execution" 2012-04-02 17:07:21 -07:00
Chet Haase
8d56b0e1d2 Enabling DisplayList properties
An earlier commit fixed problems with enabling DisplayList properties.
This CL actually enables the properties.

Change-Id: I5c41d0c64e9241822af53eb367de0fed7d9608e0
2012-04-02 16:34:48 -07:00
Adam Cohen
78e2c336de Merge "Only preload items if they are within the valid range (issue 6265338, 6194161)" 2012-04-02 15:50:52 -07:00
Chet Haase
296a5b4018 Merge "Re-enable DisplayList properties." 2012-04-02 15:42:27 -07:00
Adam Cohen
4c99498620 Only preload items if they are within the valid range (issue 6265338, 6194161)
Change-Id: Ic2713b41ad545a004df1e06e4be9946d7336c4b3
2012-04-02 15:38:18 -07:00
Chet Haase
9420abd56a Re-enable DisplayList properties.
Re-enabling DisplayList properties last week caused some app
errors due to the way that some transforms were being handled (specifically,
those coming from the old Animations and ViewGroup's childStaticTransformation
field). This change pushes *all* transform/alpha data from View.draw() into
the view's DisplayList, making DisplayLists more encapsulated (and correct).

Change-Id: Ia702c6aae050784bb3ed505aa87553113f8a1938
2012-04-02 15:31:24 -07:00
Yang Chuang
7511f9cd2f Add Japanese specific key codes.
These keys are specific to Japanese hardware keyboard which can be
used by input method.

Patch ported from AOSP, with the addition of EISU and KANA mappings.

Change-Id: I647473cdd257458e3b9d134b0fc623eae946c3e0
2012-04-02 15:19:45 -07:00
Gilles Debunne
646a404df1 Merge "Refactoring SpannableStringBuilder" 2012-04-02 15:15:56 -07:00
Romain Guy
8f3b8e3299 Allow fine-grained control over functors execution
Adds non-drawing execution mode

Change-Id: I82f92cf1b9a3b9ff2ca6d7427c4e02b73e04e6bf
2012-04-02 15:15:07 -07:00
Tom Taylor
5a7a1db494 Merge "Fix deadlock in PDU code" 2012-04-02 15:14:13 -07:00
George Mount
a7a1d5f8da Merge "Don't show keyboard on focus change." 2012-04-02 12:51:13 -07:00
George Mount
20c19f47a1 Merge "Remove unused FORM_DID_BLUR hooks." 2012-04-02 12:50:44 -07:00
Tom Taylor
733e697776 Fix deadlock in PDU code
Bug 6257442

If PduPersister.load bails out early and throws an exception,
it will leave the uri it's working on in an updated-locked
state. With this change, the uri is removed from the updated
list in a finally clause. The other PDU function in
this file already does the correct thing.

Change-Id: I596bd46724282b245ddba109670f3cebd61ed57c
2012-04-02 11:58:41 -07:00
Brian Carlstrom
ac21af330d Merge "Add support for native library paths with instrumentation" 2012-04-02 11:52:22 -07:00
Gilles Debunne
b51036f72a Refactoring SpannableStringBuilder
Made TextWatcher notification process clearer by moving it to
a single place, with methods renamed.

Also reverts CL 177544: we cannot broadcast span chages just yet,
the layout has not been reflown. A future CL will change this
behavior to make sure span changes are correctly broadcasted.

Change-Id: I9ef88dce91dff5f5f45e2845d5b3f18f1c853de3
2012-04-02 11:33:22 -07:00
Fabrice Di Meglio
e0435a6c6a Merge "Fix layout params resolution" 2012-04-02 11:26:22 -07:00
George Mount
c3cbeddcb5 Remove unused FORM_DID_BLUR hooks.
Bug 6111763
 Webkit Change: I015e1a57e81e897c124af5d96ba76b4d07a381fc

Change-Id: I56a862a6c0f0d7799f4e935bb7f5103bb2edbb9b
2012-04-02 11:10:57 -07:00
Brian Carlstrom
d893a890c9 Add support for native library paths with instrumentation
(cherry picked from commit 8e658fd0415b3d6f44223c39a7e59a00cb0954aa)

Change-Id: Idb1e031d5deeea9305af8aacc17ae2d0d064dfc6
2012-04-02 11:04:59 -07:00