108853 Commits

Author SHA1 Message Date
Baligh Uddin
cbc9afdcd5 Import translations. DO NOT MERGE
Change-Id: I3560b16b347b71c61ad1f723d444dbd056ee0d8f
Auto-generated-cl: translation import
2013-07-10 18:41:54 -07:00
Craig Mautner
fb20eb48aa Merge "Add convertToTranslucent to API." 2013-07-10 21:52:28 +00:00
Chet Haase
47e36c3cfe Merge "Fix minor transition bugs" 2013-07-10 20:00:15 +00:00
Kenny Root
3b4d69508a Merge "KeySetManager: convert comments to Javadoc" 2013-07-10 19:35:49 +00:00
Chet Haase
dc57d9dda5 Fix minor transition bugs
TransitionGroup.setDuration() was not propagating the new duration to
future child transitions correctly.

Also, Fade should restore a fully-opaque value when a transition ends, to prevent
the problem of mid-stream canceled transitions causing vie3ws to get stuck with partially
faded-in alpha values.

Issue #9755995 Transitions: TransitionGroup.setDuration() not handled correctly
Issue #9756655 Transitions: handle fading cancelation better

Change-Id: Id44569c6f4152a26ee382d04c30a2f035a1ebcf3
2013-07-10 12:14:54 -07:00
Adam Powell
0d21c220dd Merge "Fix ListMenuItemView regression from patch 8933efd49" 2013-07-10 19:07:15 +00:00
Chris Craik
a582d06486 Merge "Remove NearestImageView from CanvasCompare" 2013-07-10 19:06:41 +00:00
Adam Powell
c39451267b Fix ListMenuItemView regression from patch 8933efd49
Passing 'true' as the third parameter of LayoutInflater#inflate does
cause it to add the inflated view to the parent in a single step, but
it also changes the return value to be the root of the resulting
hierarchy after the add rather than the root of the inflated layout.

Return to adding the view to its parent as a separate step.

Bug 9754101

Change-Id: I7ca4c921993594931f5007af69d45e9ff06065df
2013-07-10 11:51:33 -07:00
Dianne Hackborn
8ce24f2a68 Merge "Add new location monitoring op, make some of app ops public." 2013-07-10 18:45:34 +00:00
Chet Haase
3b5f59dbb7 Merge "Remove unnecessary drawable code in CompoundButton" 2013-07-10 18:32:16 +00:00
Andy McFadden
e68720ee15 Merge "Minor fixes to android.graphics.Matrix" 2013-07-10 16:44:40 +00:00
Chet Haase
7df754e712 Remove unnecessary drawable code in CompoundButton
Some of the code in setButtonDrawable() was unnecessary, resetting
the button drawable state and then refreshing it. This caused many redundant
calls, which can add up, especially during inflation.

Change-Id: I873cf5eef697b5435a1b827cd68e5d836ee25124
2013-07-10 07:46:24 -07:00
Chris Craik
a2d519e03b Remove NearestImageView from CanvasCompare
Change-Id: I69b0539df704d80a34cc8f22096657210f5d78ad
2013-07-09 19:22:37 -07:00
Romain Guy
68389dee4e Merge "Unregister gralloc buffer immediately Bug #9406765" 2013-07-10 02:00:22 +00:00
Romain Guy
b2ed04a689 Unregister gralloc buffer immediately
Bug #9406765

Waiting for a GC to finalize the GraphicBuffer could cause ordering
issues

Change-Id: I7035a9eef52a6c3b44ab28f40a7b1fbdc83d2e20
2013-07-09 18:56:57 -07:00
Dianne Hackborn
1304f4ae32 Add new location monitoring op, make some of app ops public.
The new location monitoring op is to tell us when an application
is monitoring for any location changes.  It may be useful information
in addition to the more explicitly information about when location
data actually goes to the app.

Also make parts of AppOpsManager public for use by gcore.  It is
not available to third party apps.

Change-Id: Ib639f704258ffdd7f3acd7567350ed2539da628a
2013-07-09 18:17:27 -07:00
Andy McFadden
73b81e75df Minor fixes to android.graphics.Matrix
Tweaked equals() and finalize(), introduced trivial hashCode().

(Also picked up a handful of automatic trailing-space removals.)

Bug 9756081

Change-Id: I4639cf1e970a16179fa6c0d24785f4d0dfbe58ed
2013-07-09 16:45:20 -07:00
Craig Mautner
5eda9b3301 Add convertToTranslucent to API.
Rename convertToOpaque to convertFromTranslucent. Add the
counterpart to Activity.convertFromTranslucent() for returning from
opaque to a translucent Activity. The caller should wait until
TranslucentConversionListener.onTranslucentConversionComplete() is
called before actually changing the background to translucent.

Change-Id: Id04b026bcc4dd8bad9a33a7af126e1bb28fb9c03
2013-07-09 14:50:12 -07:00
Craig Mautner
607c6e2a56 Merge "Refactor ActivityThread cache - Baby step 1." 2013-07-09 20:25:16 +00:00
Vinit Deshapnde
ada2f7e17b Merge "Flush scan results et al after band change" 2013-07-09 19:20:24 +00:00
Amith Yamasani
235e817c80 Merge "Clean up any restrictions files that shouldn't be there." 2013-07-09 18:32:41 +00:00
Amith Yamasani
b82add27d0 Clean up any restrictions files that shouldn't be there.
Partially fixes the mess that was caused by #9681399

Change-Id: Iaabe15c87d1b002f0b2210b34adcc31b8fb4329c
2013-07-09 11:24:44 -07:00
Vinit Deshapnde
b8d116a580 Flush scan results et al after band change
This change flushes all bss data after a band change (because it
is potentially invalid). We do scan for new data just after we've
established connectivity on the new band.

Bug: 7053587

Change-Id: I8ab9d0bbc5c3f8f383c2b7868349634085cf94c1
2013-07-09 10:42:38 -07:00
Chris Wren
525b7c020b Merge "heads up notifications, v0.1" 2013-07-09 16:42:12 +00:00
Craig Mautner
88c0589969 Refactor ActivityThread cache - Baby step 1.
Introduce ResourcesManager and ResourcesKey as standalone classes.
Move DisplayMetrics and Resources HashMaps from ActivityThread to
ResourcesManager.

Change-Id: I20cc6c0dd1b74667354839e5ac9a660f4ee2d00d
2013-07-09 09:36:42 -07:00
Chris Wren
157026f820 heads up notifications, v0.1
1. re-name intruder alerts to heads up notifications
2. use interrupt for the verb form, instead of intrude
3. new policy: no full screen, high priority, screen on, not locked or dreaming
4. controlled by global setting, with an observer
5. only content view for now, expandable is a todo

to turn it on:
  adb  shell settings put global heads_up_enabled 1
calendar notifications (not pop-up) work well.

Change-Id: I253418c217d0a5cf81dc2fa001f4bad90fafcce5
2013-07-09 11:12:49 -04:00
Satoshi Kataoka
42e230cdb4 Merge "Consolidate InputMethodUtils" 2013-07-09 14:42:18 +00:00
Satoshi Kataoka
b282726d86 Consolidate InputMethodUtils
Change-Id: Ib5a5f3af8ea9eaaa81697d13c20abe28121e7373
2013-07-09 23:20:06 +09:00
Dianne Hackborn
8f5c69a75f Merge "More procstats work." 2013-07-09 01:45:22 +00:00
Scott Main
5bb3b739b7 am 5c949ee4: am 0ebc82fe: am 597d7040: am 61e1a650: am e4d65d24: am eceeaf11: add link to cloud backend blog post
* commit '5c949ee481f029fe6dc1c9b16ec1d917ba5df440':
  add link to cloud backend blog post
2013-07-08 18:24:42 -07:00
Scott Main
5c949ee481 am 0ebc82fe: am 597d7040: am 61e1a650: am e4d65d24: am eceeaf11: add link to cloud backend blog post
* commit '0ebc82fe79966882bf6cf798afa6c67e1fc7d196':
  add link to cloud backend blog post
2013-07-08 18:22:42 -07:00
Scott Main
0ebc82fe79 am 597d7040: am 61e1a650: am e4d65d24: am eceeaf11: add link to cloud backend blog post
* commit '597d7040309d86e366be7804238750ccc733a7ad':
  add link to cloud backend blog post
2013-07-08 18:20:40 -07:00
Scott Main
597d704030 am 61e1a650: am e4d65d24: am eceeaf11: add link to cloud backend blog post
* commit '61e1a650c032c1169c31aad7e0aed085c400327d':
  add link to cloud backend blog post
2013-07-08 18:18:26 -07:00
Scott Main
61e1a650c0 am e4d65d24: am eceeaf11: add link to cloud backend blog post
* commit 'e4d65d24c3d9b6ce286193c451b1e90fb2265215':
  add link to cloud backend blog post
2013-07-08 18:15:25 -07:00
Scott Main
e4d65d24c3 am eceeaf11: add link to cloud backend blog post
* commit 'eceeaf11467e53cbc7196695953d28ad896a3c6d':
  add link to cloud backend blog post
2013-07-08 18:13:19 -07:00
Dianne Hackborn
a4cc205ee8 More procstats work.
The historical data is now a more central part of the stats.
When a checkin happens, the data is not deleted, just marked
as checked in so we can continue to access it.

The default procstats dump is now a new "summary" mode that
shows a more useful set of data for all of the running processes.
By default the current and all committed states are shown; you
use "--current" to only show the current.  Use "--details" to
get the previous more detailed data (which now includes detailed
process data like the per-package data).

Also tweaked uid printing to be a little more compact.

Change-Id: I5414ea7c07134ebd5dc83f6f7b9f6e30151eda85
2013-07-08 18:06:24 -07:00
Scott Main
eceeaf1146 add link to cloud backend blog post
Change-Id: I38376ff9ceaa7338f03cdfe6cd1685efafa1a4e2
2013-07-08 17:29:22 -07:00
Kenny Root
2042e9df48 KeySetManager: convert comments to Javadoc
To help with development, change comments to Javadoc and adding some
links.

Change-Id: Id97febd978f14bace8242d8e0610b1166a13265b
2013-07-08 16:28:35 -07:00
The Android Open Source Project
ef50a1a0dd am 7c2ea974: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge
* commit '7c2ea974834b2aa3f416aff4962fdd7bbec8a51f':
2013-07-08 15:52:24 -07:00
Mathias Agopian
d19db9a7c4 Merge "be more robust with handling unknown sensors" 2013-07-08 22:48:37 +00:00
The Android Open Source Project
7c2ea97483 Reconcile with jb-mr2-zeroday-release - do not merge
Change-Id: Id0d9eb3205906b409e735546b988f43a3bdcc0ae
2013-07-08 15:33:43 -07:00
Mathias Agopian
b25c0efad2 be more robust with handling unknown sensors
- add support for new sensors (post 4.3)
- don't crash when encountering an unknown sensor type
- clean-up

Bug: 9683153
Change-Id: Iecd883e8a7d0297be1bd2bd4f00c5cc3ffcbccfe
2013-07-08 15:24:09 -07:00
Jean-Baptiste Queru
414b02380d resolved conflicts for merge of 9058a6c8 to master
Change-Id: I361773dac17a551dd7b4c0b0e4e649ddf7612d90
2013-07-08 15:02:41 -07:00
Jean-Baptiste Queru
0a84ca2b49 am 928e045f: am b8b94d9b: am 538bd4d8: Merge "Fixing missing internal link in document."
* commit '928e045f9aea3ee7c4edba1257e674f5a514435f':
  Fixing missing internal link in document.
2013-07-08 14:48:07 -07:00
Jean-Baptiste Queru
a2bbb9a7d1 am 6cd4281d: am 65ba6d11: am 1e7276ce: Merge "Fix typo in AlertController.java"
* commit '6cd4281dae6c1de0196f79c6c155f75602de64f6':
  Fix typo in AlertController.java
2013-07-08 14:48:04 -07:00
Scott Main
01bc125ce8 am 5bd3741d: am e17a0082: am 0f22b5c3: am 375d9f33: am b13f9eeb: am 9c35004e: add xxhdpi information to tablet checklist
* commit '5bd3741d5ba04ae3547393e7ee8a2d5183ba4e95':
  add xxhdpi information to tablet checklist
2013-07-08 14:44:25 -07:00
Jean-Baptiste Queru
9058a6c881 am 7e683ec6: am fa42e774: Merge "FastScroller: Fix to use appropriate index"
* commit '7e683ec6a53b1581671ce72782e7b25a0ae705d0':
  FastScroller: Fix to use appropriate index
2013-07-08 14:43:01 -07:00
Jean-Baptiste Queru
928e045f9a am b8b94d9b: am 538bd4d8: Merge "Fixing missing internal link in document."
* commit 'b8b94d9bb18bd693b77050414d82a3975268ad08':
  Fixing missing internal link in document.
2013-07-08 14:42:59 -07:00
Jean-Baptiste Queru
6cd4281dae am 65ba6d11: am 1e7276ce: Merge "Fix typo in AlertController.java"
* commit '65ba6d11e1f3ecf33a5b6e68ab8a6322e993b4d8':
  Fix typo in AlertController.java
2013-07-08 14:42:56 -07:00
Scott Main
5bd3741d5b am e17a0082: am 0f22b5c3: am 375d9f33: am b13f9eeb: am 9c35004e: add xxhdpi information to tablet checklist
* commit 'e17a0082f038edd10af7cf35de0ca599a5ccff78':
  add xxhdpi information to tablet checklist
2013-07-08 14:41:50 -07:00