107742 Commits

Author SHA1 Message Date
Winson Chung
eeb4ff4d13 Fixing issue where AppWidgetHost.onProvidersChanged() was not being called. (Bug 9270309)
Change-Id: I6cfb8e0c586fad7360a07f98e1280a954f62e5e1
2013-06-04 14:25:28 -07:00
Jeff Sharkey
51797ed706 Create missing Uids when recording network stats.
Bug: 5543387
Change-Id: I138c8d2f84e6fd737f2f6ef0945e75ca31256e3d
2013-06-04 14:09:31 -07:00
Baligh Uddin
c81085a320 Import translations. DO NOT MERGE
Change-Id: I455b359698e9bf43d7065374241783fa1f06faca
Auto-generated-cl: translation import
2013-06-04 12:03:53 -07:00
Romain Guy
f9f0016b1f Enable GPU pixel buffers on OpenGL ES 3.0 devices
Change-Id: I164d72ccd7a9bf6ae0e3f79dfef50083558937ba
2013-06-04 11:57:58 -07:00
Joe Malin
e3b8d7fdb1 am 36d0f946: am e9dff008: am 305cf97b: am 60776093: am 029099ff: am f4b21585: am 10d96950: DOC CHANGE: Clarify textIsSelectable in TextView
* commit '36d0f946adc83a9ffa5483556d263b719977da5d':
  DOC CHANGE: Clarify textIsSelectable in TextView
2013-06-04 11:17:16 -07:00
Scott Main
febfd26d10 am e125116f: am e4ef3849: Merge "javadoc cleanup for audioeffect" into jb-mr2-dev
* commit 'e125116fc8767ecf431c80f5659a8a90032acb97':
  javadoc cleanup for audioeffect
2013-06-04 11:17:14 -07:00
Chet Haase
08735185f8 Use ArrayMap instead of HashMap in transitions
The new ArrayMap class is more efficient for small collections.
Transitions use maps all over the place to collect/use property
values in setting up the transition animations. Changing to ArrayMap
should be more efficient, especially in terms of memory allocations
and GCs.

Issue #9276256 Transitions: Reduce memory allocations

Change-Id: I07b7d4ba68d5a207808eca11943aa3578fa90e3e
2013-06-04 10:44:40 -07:00
Joe Malin
36d0f946ad am e9dff008: am 305cf97b: am 60776093: am 029099ff: am f4b21585: am 10d96950: DOC CHANGE: Clarify textIsSelectable in TextView
* commit 'e9dff008adc7b6e565402ec61cd89fb3265a28bd':
  DOC CHANGE: Clarify textIsSelectable in TextView
2013-06-04 10:20:15 -07:00
Joe Malin
e9dff008ad am 305cf97b: am 60776093: am 029099ff: am f4b21585: am 10d96950: DOC CHANGE: Clarify textIsSelectable in TextView
* commit '305cf97ba7b927f49d3f52952c36cb5102699cc5':
  DOC CHANGE: Clarify textIsSelectable in TextView
2013-06-04 10:17:46 -07:00
Joe Malin
305cf97ba7 am 60776093: am 029099ff: am f4b21585: am 10d96950: DOC CHANGE: Clarify textIsSelectable in TextView
* commit '60776093a5569817040e2f65a17893a381906564':
  DOC CHANGE: Clarify textIsSelectable in TextView
2013-06-04 10:14:48 -07:00
Joe Malin
60776093a5 am 029099ff: am f4b21585: am 10d96950: DOC CHANGE: Clarify textIsSelectable in TextView
* commit '029099ff56b92201e10b2047e1ced675c8e9f964':
  DOC CHANGE: Clarify textIsSelectable in TextView
2013-06-04 10:12:09 -07:00
Joe Malin
029099ff56 am f4b21585: am 10d96950: DOC CHANGE: Clarify textIsSelectable in TextView
* commit 'f4b21585304781c61d00fa6a14a85fae60f6a50d':
  DOC CHANGE: Clarify textIsSelectable in TextView
2013-06-04 10:09:44 -07:00
Joe Malin
f4b2158530 am 10d96950: DOC CHANGE: Clarify textIsSelectable in TextView
* commit '10d96950c14ae647c2e8435178533cafc78e1afa':
  DOC CHANGE: Clarify textIsSelectable in TextView
2013-06-04 10:07:16 -07:00
Scott Main
e125116fc8 am e4ef3849: Merge "javadoc cleanup for audioeffect" into jb-mr2-dev
* commit 'e4ef3849c58225206fd5cba1b33c08968c5e6021':
  javadoc cleanup for audioeffect
2013-06-04 09:45:32 -07:00
Scott Main
e4ef3849c5 Merge "javadoc cleanup for audioeffect" into jb-mr2-dev 2013-06-04 16:42:23 +00:00
Chet Haase
9b80ca81a8 Optimize calls to Trace for animators
Previously, ValueAnimator would always call into the Trace class to
log start/end events. When the animator is an ObjectAnimator, this
call necessitated building a new String to capture the animated property
name. This fix puts the calls to Trace inside a check for isTagEnabled(),
to ensure that we only bother building the trace name when tracing is
actually enabled.

Change-Id: I56ef093f3b67b31a19c861f9d1e44a84341edf53
2013-06-04 09:37:38 -07:00
Joe Malin
10d96950c1 DOC CHANGE: Clarify textIsSelectable in TextView
Change-Id: Iddfdf7ed82ea3fa2a0160bda4a1e29ec8f815a2b
2013-06-04 09:34:54 -07:00
Chet Haase
aca7d39d08 Merge "Starting new transition cancels running transition" 2013-06-04 16:19:39 +00:00
Chet Haase
e9d32ea13e Starting new transition cancels running transition
The behavior of running a transition is janky and unpredictable,
when there is already a transition running on the same scene root.
Usually, the new transition simply jumps to the end values, or
jumps to the start values for that transition and animates from
there.

A better approach is to cancel any running transition first, the
start the new transition from that point.

Even better would be to blend old/new transitions, or at least adjust
the animation timing according to where/when the previous transition
stopped. In the meantime, this fix is at least better than the
previous approach of ignoring running transitions.

Change-Id: I4f5fabb55f6454f1e9d66589a9a7c36f9fc013fb
2013-06-04 08:46:42 -07:00
Xia Wang
840a8c741f am af19aef6: am ac561b8b: Merge "Add option to set frequency band" into jb-mr2-dev
* commit 'af19aef675013f804a5338e3500ad57b0aa2fc71':
  Add option to set frequency band
2013-06-03 21:28:24 -07:00
Xia Wang
af19aef675 am ac561b8b: Merge "Add option to set frequency band" into jb-mr2-dev
* commit 'ac561b8bdd52a6ac5e4f9b92f1033cd385f149d8':
  Add option to set frequency band
2013-06-03 21:26:21 -07:00
Xia Wang
ac561b8bdd Merge "Add option to set frequency band" into jb-mr2-dev 2013-06-04 04:23:29 +00:00
Dirk Dougherty
caa05bc1c3 am b74c3405: am e3e98bc9: am 59b77878: am 63c904c2: am 4c8caaa2: am 5ca78f59: am 8e307adc: Merge "Doc change: Add new developer video." into jb-mr1.1-docs
* commit 'b74c3405b6aad3222c3b8fcc65317f7c0da13695':
  Doc change: Add new developer video.
2013-06-03 19:26:03 -07:00
Dirk Dougherty
b74c3405b6 am e3e98bc9: am 59b77878: am 63c904c2: am 4c8caaa2: am 5ca78f59: am 8e307adc: Merge "Doc change: Add new developer video." into jb-mr1.1-docs
* commit 'e3e98bc966362dd1771ea0d47227223374ad3671':
  Doc change: Add new developer video.
2013-06-03 19:23:17 -07:00
Dirk Dougherty
e3e98bc966 am 59b77878: am 63c904c2: am 4c8caaa2: am 5ca78f59: am 8e307adc: Merge "Doc change: Add new developer video." into jb-mr1.1-docs
* commit '59b77878944f5012fd5a65fc1a845a053220a436':
  Doc change: Add new developer video.
2013-06-03 19:20:46 -07:00
Dirk Dougherty
59b7787894 am 63c904c2: am 4c8caaa2: am 5ca78f59: am 8e307adc: Merge "Doc change: Add new developer video." into jb-mr1.1-docs
* commit '63c904c2d7651089821c4760ab30b71e9000374e':
  Doc change: Add new developer video.
2013-06-03 19:19:20 -07:00
Dirk Dougherty
63c904c2d7 am 4c8caaa2: am 5ca78f59: am 8e307adc: Merge "Doc change: Add new developer video." into jb-mr1.1-docs
* commit '4c8caaa2ef6edc1898a5146cc15eb87c5997d35c':
  Doc change: Add new developer video.
2013-06-03 19:16:37 -07:00
Dirk Dougherty
4c8caaa2ef am 5ca78f59: am 8e307adc: Merge "Doc change: Add new developer video." into jb-mr1.1-docs
* commit '5ca78f5963e49b48896fa866aeb032a37ba15360':
  Doc change: Add new developer video.
2013-06-03 19:13:46 -07:00
Dirk Dougherty
5ca78f5963 am 8e307adc: Merge "Doc change: Add new developer video." into jb-mr1.1-docs
* commit '8e307adcf62c639d25c16f6071d458561ce4bef3':
  Doc change: Add new developer video.
2013-06-03 19:11:26 -07:00
Dirk Dougherty
8e307adcf6 Merge "Doc change: Add new developer video." into jb-mr1.1-docs 2013-06-04 02:08:21 +00:00
Dirk Dougherty
35592bd6be Doc change: Add new developer video.
Change-Id: I8af77ee439238133bedeb0396257058f4504f6f7
2013-06-03 19:05:16 -07:00
Chris Craik
7e8c03c0fe Support all formats for BitmapFactory.Options.inBitmap
bug:9194265

Instead of using custom code in skia to avoid allocations, use a
custom allocator that reuses the allocations from the inBitmap.

In order to avoid inconsistent state, the decode is done in a
separate bitmap and swapped into the existing native bitmap.

Eventually, we'd like to support inScaled=true completely avoiding
java allocations.

Change-Id: Ic4a2f2373b100a80a32c1cdebb7bcb726711c8a7
2013-06-03 18:14:44 -07:00
Scott Main
1d154187a9 javadoc cleanup for audioeffect
Change-Id: I87917309d1da6529e16d72ad2b4ec9ce04d10569
2013-06-03 17:34:29 -07:00
The Android Open Source Project
170c1434b3 am b18841b4: (-s ours) Reconcile with jb-mr2-release - do not merge
* commit 'b18841b442006b63a0c57527fdd6d16bc04e6644':
  Apply scan-always setting to initial wifi state.
2013-06-03 17:16:33 -07:00
Alan Viverette
cb25bd8c2b Prevent scroll views from sending duplicate onScrollChanged events.
Moves the call to onScrollChanged from onTouchEvent into onOverScrolled,
which ensures only one of scrollTo or onScrollChanged will be called in
a single execution.

Bug: 7584549
Change-Id: Ibccd98a30835efad75eb41bcdd4b136e1b8e0ddd
2013-06-03 17:10:44 -07:00
The Android Open Source Project
b18841b442 Reconcile with jb-mr2-release - do not merge
Change-Id: Ib4adc6b9ad37713ec04b6cacce5279e12395e3a6
2013-06-03 16:43:47 -07:00
Alan Viverette
b9fc4b879b Always draw dividers for footers and headers when explicitly enabled.
Treats headers and footers as "enabled" list items when header and footer
dividers are turned on. Also fixes incorrect drawing of dividers when
"stack from bottom" is enabled.

Bug: 7288159
Change-Id: Ibfc48841502a410357db04aaed01072703c7d36c
2013-06-03 16:42:22 -07:00
Chet Haase
90b8994470 Merge "Various fixes/cleanup in Scenes and Transitions" 2013-06-03 23:41:08 +00:00
Chet Haase
867a86613d Various fixes/cleanup in Scenes and Transitions
setDuration() wasn't handled correctly for TransitionGroup; it should
propagate the value to its children.

Also, videos with no ids were not being handled correctly. The transition code was
using the default id on those views (-1) to store start/end data about the view,
causing multiple non-id views to clobber values in the hashmaps. The correct approach
should be to ignore default id values - only store information about the view
instances, not about the unset ids.

Also, added a new test InterruptTest to be used to fix the current behavior of
not handling situations where new transitions start while old ones are still taking place.

Change-Id: I4e880bdbb33cc26d487bceb0d56e463e72f7621f
2013-06-03 16:37:05 -07:00
Romain Guy
a4b7965cc2 Merge "Replace HashMap with ArrayMap to remove unnecessary allocations" 2013-06-03 22:52:20 +00:00
Romain Guy
6876b4fb90 Replace HashMap with ArrayMap to remove unnecessary allocations
This change also fixes a race condition. If multiple UI threads are used
in a single process, RelativeLayouts could end up using the same nodes
in different windows, causing mayhem and headaches.

Change-Id: I9ba4a0bf05d44e1a1e7a82443d40c500c657cd7a
2013-06-03 15:40:52 -07:00
Romain Guy
36e337f971 Merge "Remove unnecessary lock to save 1 allocation per TextView" 2013-06-03 22:38:07 +00:00
Alan Viverette
74ded29bd1 Clear pressed state when moving outside list bounds.
Bug: 8724943
Change-Id: Ife40ad672c161fef76e62dfd3c7f7fb3b08c3648
2013-06-03 15:34:11 -07:00
Robert Greenwalt
b0a88e5716 Apply scan-always setting to initial wifi state.
Otherwise there's nothing to kick us into scanable modes unless
the user toggles wifi.

bug:9217455
Change-Id: I6460305e3f299646433546598412f817579cc805
2013-06-03 15:03:36 -07:00
Joe Malin
64f2227bbc am 8811154e: am 423f8a8c: am 2618ac55: am a37bda7b: am 468d82bb: am 6bf45dc7: am b6a35268: B9257437: Typo in javadoc for AccountManager
* commit '8811154e9369ff936c35f355034ec1f6aafa984e':
  B9257437: Typo in javadoc for AccountManager
2013-06-03 14:34:00 -07:00
Joe Malin
8811154e93 am 423f8a8c: am 2618ac55: am a37bda7b: am 468d82bb: am 6bf45dc7: am b6a35268: B9257437: Typo in javadoc for AccountManager
* commit '423f8a8c21ec4e702e72ffce27bb3b5481170bae':
  B9257437: Typo in javadoc for AccountManager
2013-06-03 14:31:21 -07:00
Joe Malin
423f8a8c21 am 2618ac55: am a37bda7b: am 468d82bb: am 6bf45dc7: am b6a35268: B9257437: Typo in javadoc for AccountManager
* commit '2618ac55a94a97e29abd9defa93dea30e067b4e4':
  B9257437: Typo in javadoc for AccountManager
2013-06-03 14:27:50 -07:00
Joe Malin
2618ac55a9 am a37bda7b: am 468d82bb: am 6bf45dc7: am b6a35268: B9257437: Typo in javadoc for AccountManager
* commit 'a37bda7b616452d0072b012cc7ae8fcae51e943f':
  B9257437: Typo in javadoc for AccountManager
2013-06-03 14:23:08 -07:00
Joe Malin
a37bda7b61 am 468d82bb: am 6bf45dc7: am b6a35268: B9257437: Typo in javadoc for AccountManager
* commit '468d82bb7150996c8b2b4228d0e8d031f74e304b':
  B9257437: Typo in javadoc for AccountManager
2013-06-03 14:20:45 -07:00
Romain Guy
31f0544293 Remove unnecessary lock to save 1 allocation per TextView
Change-Id: I4fb885c61b44e57b8abaf3beedf61aaab3ef5d71
2013-06-03 14:19:54 -07:00