summaryrefslogtreecommitdiffstats
path: root/core/java/android
Commit message (Collapse)AuthorAgeFilesLines
* Read "qtaguid" network stats, refactor templates.Jeff Sharkey2011-06-189-85/+408
| | | | | | | | | | | | | | | | Teach NMS to read qtaguid stats from kernel, but fall back to older stats when kernel doesn't support. Add "tags" to NetworkStats entries to support qtaguid. To work around double-reporting bug, subtract tagged stats from TAG_NONE entry. Flesh out stronger NetworkTemplate. All NetworkStatsService requests now require a template, and moved matching logic into template. Record UID stats keyed on complete NetworkIdentitySet definition, similar to how interface stats are stored. Since previous UID stats didn't have iface breakdown, discard during file format upgrade. Change-Id: I0447b5e7d205d73d28e71c889c568e536e91b8e4
* Merge "Notify policy listeners about metered ifaces."Jeff Sharkey2011-06-174-31/+30
|\
| * Notify policy listeners about metered ifaces.Jeff Sharkey2011-06-174-31/+30
| | | | | | | | | | | | | | | | | | | | Currently, kernel definition of metered networks is applied at the interface level. This change maintain list of those metered ifaces and notifies policy listeners, like ConnectivityService. (This gives us a consistent picture of when a network would be blocked.) Bug: 4601393 Change-Id: I277d5ca96ab967a1c1c3f1da8f9587557cd6d74c
* | Merge "Invisible views can't start animations"Chet Haase2011-06-171-1/+5
|\ \
| * | Invisible views can't start animationsChet Haase2011-06-171-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The invalidation logic was broken for invisible views, causing a problem when an animation was set to start on an invisible view (to fade it in), but the view would not propagate the invalidation event that would trigger the start of the animation rendering. Fix: reset the DRAWN flag when a view becomes invisible to allow the invalidation logic to work as intended. Change-Id: Ibf49c6e8b39506a92a6e5f45cb8a12626ae4f931
* | | Merge "Fix rendering issue with paths when the stroke width is 0"Romain Guy2011-06-171-2/+2
|\ \ \
| * | | Fix rendering issue with paths when the stroke width is 0Romain Guy2011-06-171-2/+2
| | | | | | | | | | | | | | | | Change-Id: I5d8ac23dc69e9e17df4ef6b5195186b5207e2524
* | | | Merge "Pass width/height specs in the standard way when measuring children."Philip Milne2011-06-172-44/+37
|\ \ \ \
| * | | | Pass width/height specs in the standard way when measuring children.Philip Milne2011-06-172-44/+37
| | |/ / | |/| | | | | | | | | | Change-Id: I127b206cb677f8a09990b6852c98023d6c97112d
* | | | Merge "Fix typo in docs link"RoboErik2011-06-171-1/+1
|\ \ \ \
| * | | | Fix typo in docs linkRoboErik2011-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I411d250629b828d07dd7adbdb20da71f0c4722f2
* | | | | Merge "Implement remaining infrastructure for user disabling apps."Dianne Hackborn2011-06-173-1/+42
|\ \ \ \ \
| * | | | | Implement remaining infrastructure for user disabling apps.Dianne Hackborn2011-06-173-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If8135eb0e27ec36f8f159eb7b6397add7acd0299
* | | | | | Merge "Add docs for Calendars table"RoboErik2011-06-171-13/+106
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Add docs for Calendars tableRoboErik2011-06-171-13/+106
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I4e445f730a4330f7c570efadb3051d28ca050402
* | | | | | Merge "Inform the InputMethodManager that a focused view has been attached."Amith Yamasani2011-06-171-0/+4
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Inform the InputMethodManager that a focused view has been attached.Amith Yamasani2011-06-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables new fragments or views that have a focused EditText to register the view with the input method framework as the served view. Change-Id: I260439223b56626f2e57bd778bbe5194ed44e361
* | | | | | Merge "Add API for auto-complete ranking improvement."Daisuke Miyakawa2011-06-171-3/+0
|\ \ \ \ \ \
| * | | | | | Add API for auto-complete ranking improvement.Daisuke Miyakawa2011-06-151-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - primary account (3510087) - per-method ranking (4371572) Primary account enables to ContactsProvider to prioritize email addresses associated with the account. Per-method ranking enables ContactsProvider to get feedback from applications about usage per method instead of that per person. Both should be available for unbundled applications. Bug: 3510087 Bug: 4371572 Change-Id: Icb01415317a7dbb6538804181b06bd973af6205c
* | | | | | | Merge "Make textZoom public"John Reck2011-06-171-3/+6
|\ \ \ \ \ \ \
| * | | | | | | Make textZoom publicJohn Reck2011-06-171-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deprecate textSize (enum based) in favor of textZoom (percentage based) Change-Id: Ibb4c25b461bcb57e5c2cdf709485d255db20a43c
* | | | | | | | Merge "ICS updates to notification layouts."Daniel Sandler2011-06-171-5/+5
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | |
| * | | | | | | ICS updates to notification layouts.Daniel Sandler2011-06-171-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Of note: 1. There is no "X" (veto) button anymore. (Well, there is, but it's offscreen so it should still be available to assistive devices.) Users can use "Clear all" or the new swipe-to-veto gesture to clear notifications. 2. As a consequence of #1, your layout goes all the way to the right edge of the notifications panel again. Enjoy the extra space! 3. The numeric bubble in the notification icon is now capped at "999+" like it is in the expanded notification view. (Note that this involves a couple of new public framework resources: one to indicate the number beyond which the substitution string will be used, and one specifying a localizable substitution string.) Bug: 4651514 Bug: 4686329 Bug: 4501990 Change-Id: I0e6bdb6aec4fe5bfc927eb1aba955d444a9414ec
* | | | | | | | Merge "Change includeMarginsInAlignment flag to aligmentMode property."Philip Milne2011-06-171-40/+78
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | |
| * | | | | | | Change includeMarginsInAlignment flag to aligmentMode property.Philip Milne2011-06-161-40/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also: . Change getInteger() to getInt(). . Conditionally compile, Paint() allocation and initialization. . Correct spelling mistake in javadoc. Change-Id: I00438a717e635a3917c5324f56063dce2e6041e8
* | | | | | | | hide CalendarMetaDataColumnsRoboErik2011-06-171-2/+4
| |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | Change-Id: I248b608cfdac51b8fe2ccc36fa1701c3f1915849
* | | | | | | Merge "Add textZoom setting"John Reck2011-06-171-8/+41
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Add textZoom settingJohn Reck2011-06-171-8/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaces the limited textSize (enum) with a more flexible textZoom (percent) Change-Id: I443757841910f5cbe1c9078166361d1686005f14
* | | | | | | Merge "Fix IP address cleanup on network disconnect"Irfan Sheriff2011-06-171-0/+5
|\ \ \ \ \ \ \
| * | | | | | | Fix IP address cleanup on network disconnectIrfan Sheriff2011-06-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We used to bring down the interface on network disconnect which would in turn clean up all the IP addresses. The interface bringup/shutdown is now handled by wpa_supplicant. Add netd interface for clearing all IP addresses Bug: 4676254 Change-Id: I7e24c0ab2e4a412b8d61e9c33ce028966913aaf6
* | | | | | | | Merge "Mention device policay manager in Camera.open javadoc."Wu-cheng Li2011-06-171-1/+3
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | |
| * | | | | | | Mention device policay manager in Camera.open javadoc.Wu-cheng Li2011-06-171-1/+3
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | bug:4185309 Change-Id: I733654a0be1953851dac7686c9c38e7af8f1d73a
* | | | | | | Merge "Update GridLayout constructors to properly handle DEBUG=true"Jim Miller2011-06-161-7/+6
|\ \ \ \ \ \ \
| * | | | | | | Update GridLayout constructors to properly handle DEBUG=trueJim Miller2011-06-161-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a case where the grid layout debugging wasn't showing. Change-Id: I28b2754d2d824731e24126300bc501ae2e379ee4
* | | | | | | | Dialog-o-rama!Adam Powell2011-06-161-1/+1
| |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New styling for Holo dialogs. Now 76% easier for apps to create dialog-based layouts! (Less tricky padding and margin rules) Cancelable AlertDialogs now are canceled when the user touches outside. Dialogs in landscape mode will try not to fill the width of the screen. Change-Id: I621b5a19780883ee703a8492510451b480a0b8cc
* | | | | | | Merge "resolved conflicts for merge of 872a1e79 to master"Dianne Hackborn2011-06-164-2/+44
|\ \ \ \ \ \ \
| * \ \ \ \ \ \ resolved conflicts for merge of 872a1e79 to masterDianne Hackborn2011-06-164-2/+44
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I50253b22f181729d4e748970acf1a3ad868ccd74
| | * \ \ \ \ \ \ am 9a73c4d3: am 2f04883f: SDK only: integrate new sample code, deprecating ↵Dianne Hackborn2011-06-164-2/+44
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | along the way. * commit '9a73c4d3a9c7ce02f80b078ca9ba5106234ecd9c': SDK only: integrate new sample code, deprecating along the way.
| | | * \ \ \ \ \ \ am 2f04883f: SDK only: integrate new sample code, deprecating along the way.Dianne Hackborn2011-06-164-2/+44
| | | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '2f04883ff880966d63d1aa4a1c7b05e497cfcc58': SDK only: integrate new sample code, deprecating along the way.
| | | | * | | | | | | SDK only: integrate new sample code, deprecating along the way.Dianne Hackborn2011-06-164-2/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new support library features and sample code for switching between fragments using a TabHost now eliminates the utility of the TabActivity class, so deprecate it. This also means there is no longer any use in ActivityGroup or LocalActivityManager. Yay. Also fix up things so the new support API demos are included in the documentation. Change-Id: I4f073b82787f32560ba1fa5b6a23746ecc8aecdc
* | | | | | | | | | | Merge "Prevent TweetDeck from crashing."Romain Guy2011-06-161-9/+12
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | |
| * | | | | | | | | | Prevent TweetDeck from crashing.Romain Guy2011-06-161-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I964d9152010060c3a2698cdb6c22ac21da1af8b0
* | | | | | | | | | | Merge "Adds more docs to classes in CalendarContract"RoboErik2011-06-161-8/+50
|\ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Adds more docs to classes in CalendarContractRoboErik2011-06-161-8/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I73d93a6a823100394a707e6b85de40fc6e242c03
* | | | | | | | | | | Merge "Update getLayoutDirectionFromLocale() for using ICU"Fabrice Di Meglio2011-06-161-11/+2
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Update getLayoutDirectionFromLocale() for using ICUFabrice Di Meglio2011-06-161-11/+2
| | |_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - now relying on ICU.getScript() and ICU.addLikelySubtags() for getting the locale script - clean unit tests imports Change-Id: Icdc45fa78490d1e2dde0e83bca0feea8aa205cdf
* | | | | | | | | | | Merge "Fix crash in ViewPropertyAnimator for unparented view."Chet Haase2011-06-161-2/+2
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Fix crash in ViewPropertyAnimator for unparented view.Chet Haase2011-06-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mechanism for removing possible earlier animations should call removeCallbacks on the view, not on the (possibly null) handler of the view. Change-Id: I76c6f0bea5e009be9197a6e49e9360ed9ef1a9cb
* | | | | | | | | | | | Merge "Add DroidDocs to Events class"RoboErik2011-06-161-1/+97
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / | |/| | | | | | | | / / | |_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | |
| * | | | | | | | | | Add DroidDocs to Events classRoboErik2011-06-161-1/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I85b14e8a553a1bc160d05a9f076d4aea77e9a39f