21299 Commits

Author SHA1 Message Date
Martijn Coenen
20fe5378d7 Make sure initial activity state is correct.
Change-Id: Ic6199b42e59afa06a0f38f866e2924b84cd234b3
2012-04-05 11:10:29 -07:00
Nick Pelly
1d7e906233 First cut at Bluetooth Beam
Change-Id: I37e5759515ff8779095b6d8adf5ad9c456fa8529
2012-04-04 14:08:23 -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
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
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
George Mount
55cd3b85f3 Don't show keyboard on focus change.
Bug 6270400
 Webkit change: I1f06b7220e22665f5932928855c81eca6534bf2f

Change-Id: I2aa65b405b3a394b55821a4d688afeb22244c2c7
2012-04-02 10:29:12 -07:00
Michael Jurka
e6c966caa3 Merge "Add frame counter to dumpGfxInfo" 2012-04-02 09:45:36 -07:00
Daniel Sandler
0424716328 Merge "Show action buttons in expanded notifications." 2012-04-02 05:27:03 -07:00
Daniel Sandler
96fd7c1c1a Show action buttons in expanded notifications.
Any notification with at least one action will now have an
expanded form by default. BigPicture/BigText can have
actions, too, of course.

Change-Id: I6f54cac65d9a9f335d8038c2105cd2c674f991ff
2012-03-30 22:18:06 -04:00
Dianne Hackborn
61d6c8ca49 Merge "Add new feature to let apps layout over status bar / system bar." 2012-03-30 17:36:32 -07:00
Fabrice Di Meglio
4a5268857e Fix layout params resolution
- dont need to check if any parent as getResolvedLayoutDirection() is handling this case

Change-Id: I915b4a72e38d072005e47d3c5a3f63febbef6e60
2012-03-30 15:56:48 -07:00
Michael Kolb
7784d151c1 Merge "Prevent message being sent twice in onSavePassword" 2012-03-30 15:38:28 -07:00