76749 Commits

Author SHA1 Message Date
Jeff Brown
2fd54c416b Merge "Improve animation timing." into jb-dev 2012-05-07 17:12:27 -07:00
Nick Pelly
b041f23026 Increase interval threshold below which we just leave the GPS on.
Hot TTTF is about 5 seconds, so don't cycle the GPS hardware until
the interval is 10 seconds.

Also add some more dumpsys logging.

Bug: 6367964
Change-Id: I39402fc61f34458a1639c8814610a02606a8eb79
2012-05-07 17:12:25 -07:00
Adam Powell
6392a3609c Merge "Fix misc. bugs in AbsListView smooth scrolling." into jb-dev 2012-05-07 17:10:42 -07:00
Colin Cross
401d93f0db Merge "Use libsuspend to trigger suspend" into jb-dev 2012-05-07 16:55:49 -07:00
Gilles Debunne
9c30855410 Fixed PIN display, including in Arabic.
Bug 5731093

Replace TextView by EditText to make it cleaner.
Had to force the text color, although the TextAppearance should
handle it. Maybe something is wrong with the theme.

Also added a hint for consistency.

Change-Id: Icd7170a0ef3757d0313e0799873f2dd375b02f2f
2012-05-07 16:55:32 -07:00
Jeff Brown
59bbef0cd7 Improve animation timing.
Detect when a vsync message was significantly delayed which may
indicate that a frame was skipped.  When this happens, update
the frame time to reflect the approximate start time of the
current frame instead of the start time of the frame that was
skipped a long time ago.

Removed an unnecessary call to getCurrentPlayTime() in the
animator framework.  The result was always zero and the call
just made the code confusing.

Bug: 6443611
Change-Id: I92b24f7ffd74c59b75a727b6bfc0bb51fc92a73a
2012-05-07 16:49:42 -07:00
Adam Powell
e69370e168 Fix misc. bugs in AbsListView smooth scrolling.
Handle the edge cases a bit better. Deal with padding. If a smooth
scroll begins, the list is empty, but a data change is pending, try
again on the next looper pass.

Bug 6453837
Bug 6434713

Change-Id: I53f22ebacdcbc5d981a6c8055c4fd3fc1ef140f6
2012-05-07 16:48:32 -07:00
John Wang
290e1c9396 Set provider name in airplane mode.
Set eriText to correct provider alpha during power_off state.

bug:5262482
Change-Id: Ic72aaf0465cde6934a2b46d4b9520627ac0ac335
2012-05-07 16:41:29 -07:00
John Reck
69adc539e2 Delay creating Java objects for WebHistoryItem
Bug: 6447632

Change-Id: Ia326f12d0b64ebed10b9647b78ff01a1916533d3
2012-05-07 16:40:51 -07:00
Anonymous Coward
ceb1b0bfae Add encryption parameters to package installation
Change-Id: Ic9f8ab9f8110f08bb3c00725cfce5b8ee7b766f3
2012-05-07 16:34:49 -07:00
Romain Guy
b999cc118f Remove ViewTreeObserver allocations
This change replaces CopyOnWriteArrayList with a custom CopyOnWriteArray.
The new CopyOnWriteArray only allocates when a concurrent modification
is detected. Only one loop can iterate over CopyOnWriteArray at any
given time and the class is not thread safe.

Change-Id: Ie67a1ec20ff095350bf3c5d4f87cdb231ad57221
2012-05-07 16:30:54 -07:00
Dianne Hackborn
eef6121618 am 8e11051a: Merge "Tweak anim API to automatically call Intent.setSourceBounds()." into jb-dev
* commit '8e11051a06b3362b7d7cda654f8dcb5ca3760494':
  Tweak anim API to automatically call Intent.setSourceBounds().
2012-05-07 16:15:25 -07:00
Dianne Hackborn
8e11051a06 Merge "Tweak anim API to automatically call Intent.setSourceBounds()." into jb-dev 2012-05-07 16:12:44 -07:00
Svetoslav Ganov
ca85879781 ActivityChooserModel does not handle package changes on the thread that created it.
1. The model is using a package monitor to observe changes in
   packages (adding/memoving/etc) to update its internal state
   for which it then notifies its clients. However, the monitor
   is called from a binder thread and the work has to be off
   handed on the thread that created the model. Hence, clients
   do not need to worry about using the the model from the UI
   thread since the change callback may touch the UI from
   another thread.

bug:6386152

Change-Id: I882a0f4104907f64de64a95ece585052bba457d6
2012-05-07 16:00:09 -07:00
Dianne Hackborn
d367ca88ee Tweak anim API to automatically call Intent.setSourceBounds().
Also don't retain the source bounds in recent tasks, since it
has no meaning there and it would be better when relaunching an
activity to have a new bounds set based on wherever it is now
being launched from.

Change-Id: Ia90c04ee98a888a7f725b038abe23d71e2b12800
2012-05-07 15:54:58 -07:00
Glenn Kasten
cceaf8d80d am ebd6016b: Merge "Add audio tag to systrace" into jb-dev
* commit 'ebd6016b8c6faf70b44283c59461023cda1ca6b0':
  Add audio tag to systrace
2012-05-07 15:48:43 -07:00
Glenn Kasten
ebd6016b8c Merge "Add audio tag to systrace" into jb-dev 2012-05-07 15:45:03 -07:00
Stephen Hines
9c9ad3f8c2 Revert "Deprecate"
This reverts commit a0c2eb27b408660b02fa248943166d6c7e447908.

Conflicts:

	api/current.txt
	graphics/java/android/renderscript/Element.java
	graphics/java/android/renderscript/Script.java

Change-Id: I3c8fa62b12da95b3dbc842b5284dbed65d3cf963
2012-05-07 15:34:29 -07:00
Dianne Hackborn
009e6e6b5e am bae365c1: Merge "Fix issue #6319312: Consecutive call to Activity\'s onCreate()/onResume()..." into jb-dev
* commit 'bae365c166538d5c2319bf42aaf1715a1fb749e7':
  Fix issue #6319312: Consecutive call to Activity's onCreate()/onResume()...
2012-05-07 15:14:50 -07:00
Dianne Hackborn
bae365c166 Merge "Fix issue #6319312: Consecutive call to Activity's onCreate()/onResume()..." into jb-dev 2012-05-07 15:12:33 -07:00
Dianne Hackborn
755c8bfbff Fix issue #6319312: Consecutive call to Activity's onCreate()/onResume()...
...without onPause() in between

There was a bug in the handling of "always finish activities" where we
would go through destroying activities while in the middle of updating
the activity stack.  This would result in the activity behind the
non-full-screen activity being created and then immediately destroyed,
which things were not expecting.

Change-Id: Idaa89089f7b1af7eb747d7b8f9f394beeb2d23fa
2012-05-07 15:06:09 -07:00
Fabrice Di Meglio
20dafa47b6 am d9aab543: Merge "Fix bug #6318791 Replace the Lohit Devanagari and Tamil with Droid versions" into jb-dev
* commit 'd9aab5432e48211b1b89410ec290db5d9c511bf3':
  Fix bug #6318791 Replace the Lohit Devanagari and Tamil with Droid versions
2012-05-07 14:54:23 -07:00
Victoria Lease
6f88f7647d am 7ca37df0: Merge "Add Droid Devanagari/Tamil fonts." into jb-dev
* commit '7ca37df0e4832dfa06f46850b0ddc80db4bc66dc':
  Add Droid Devanagari/Tamil fonts.
2012-05-07 14:54:21 -07:00
Fabrice Di Meglio
d9aab5432e Merge "Fix bug #6318791 Replace the Lohit Devanagari and Tamil with Droid versions" into jb-dev 2012-05-07 14:51:24 -07:00
Jim Miller
07e1f12350 am a482f942: Merge "Fix 6397736: Fix issue with MultiWaveView in incoming call screen." into jb-dev
* commit 'a482f942dae90211540c856664ca71ba29297309':
  Fix 6397736: Fix issue with MultiWaveView in incoming call screen.
2012-05-07 14:51:19 -07:00
Victoria Lease
7ca37df0e4 Merge "Add Droid Devanagari/Tamil fonts." into jb-dev 2012-05-07 14:51:16 -07:00
James Dong
0113855087 Fix an issue where the message queue fails to queue in the looper threads because they are not created.
o related-to-bug: 6293875

Change-Id: I03dbb2782bd90f88d1f8df086b8a529730afe5dc
2012-05-07 14:49:00 -07:00
Jim Miller
a482f942da Merge "Fix 6397736: Fix issue with MultiWaveView in incoming call screen." into jb-dev 2012-05-07 14:48:19 -07:00
Fabrice Di Meglio
6162876067 Fix bug #6318791 Replace the Lohit Devanagari and Tamil with Droid versions
- take care of ttf filename changes and regular/bold versions

Change-Id: Ib71d2537df16ff954cef9619c12d611948d19efe
2012-05-07 14:42:56 -07:00
Matthew Xie
87d7c1d740 am ac8a61b6: Merge "When turning off, broadcast STATE_OFF in the last HotOff state" into jb-dev
* commit 'ac8a61b6d47e737794b2aaeaf629d87e493413b8':
  When turning off, broadcast STATE_OFF in the last HotOff state
2012-05-07 14:41:41 -07:00
Jim Miller
72b26c1fa2 Fix 6397736: Fix issue with MultiWaveView in incoming call screen.
This fixes a bug where the incoming call screen sometimes had
misplaced icons. The code previously relied on an additional layout
pass that doesn't happen in the incoming call screen in some cases.

Change-Id: If7c39994c1bdadbd3e97f4b9ebb45f68893fd9bd
2012-05-07 14:39:31 -07:00
Matthew Xie
ac8a61b6d4 Merge "When turning off, broadcast STATE_OFF in the last HotOff state" into jb-dev 2012-05-07 14:38:42 -07:00
Jim Miller
8676726dcf am 06e8d664: Merge "Fix 6397736: Swipe up to search layout fixes" into jb-dev
* commit '06e8d6647db54aa76dda92a5a785737e66d262de':
  Fix 6397736: Swipe up to search layout fixes
2012-05-07 14:37:39 -07:00
Jim Miller
06e8d6647d Merge "Fix 6397736: Swipe up to search layout fixes" into jb-dev 2012-05-07 14:34:00 -07:00
Jeff Sharkey
83abfb3cab am 476b03b0: Merge "Handle silent ringtone, title without permission." into jb-dev
* commit '476b03b0c0d5cae4d1b114c6f80858d59ba36cad':
  Handle silent ringtone, title without permission.
2012-05-07 13:46:24 -07:00
Jeff Sharkey
476b03b0c0 Merge "Handle silent ringtone, title without permission." into jb-dev 2012-05-07 13:43:04 -07:00
Robert Greenwalt
d760beb735 am 2321301f: Merge "Bring up the ethernet interface when detected" into jb-dev
* commit '2321301fe75f945b002372d6d35c597191564452':
  Bring up the ethernet interface when detected
2012-05-07 13:42:53 -07:00
Robert Greenwalt
2321301fe7 Merge "Bring up the ethernet interface when detected" into jb-dev 2012-05-07 13:39:34 -07:00
Eric Fischer
3b08f16da2 am 7833e5f5: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit '7833e5f53228dd3f34c0f41550fea8564ed3222a':
  Import translations. DO NOT MERGE
2012-05-07 13:30:19 -07:00
Jeff Sharkey
1d8e5c5880 Handle silent ringtone, title without permission.
Silent ringtones have a valid Uri, but isn't openable by MediaPlayer,
so treat as no-op playback instead of throwing.  Also handle missing
permissions when resolving title.

Bug: 6448074, 6447538
Change-Id: I656675d7fc2e78a6ba05824e13bdd43193fcfdf2
2012-05-07 13:30:10 -07:00
Eric Fischer
26c2c6010b am 0253c059: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit '0253c05962027607e38d7f9c49be1174edf892c9':
  Import translations. DO NOT MERGE
2012-05-07 13:26:49 -07:00
Eric Fischer
7833e5f532 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-07 13:26:12 -07:00
Eric Fischer
0253c05962 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-07 13:25:09 -07:00
Chet Haase
48fa471742 am 4bbcae7e: Merge "Fix issue where scale-animating text would jump temporarily a few pixels" into jb-dev
* commit '4bbcae7eb80704d919d8115d523196798e208439':
  Fix issue where scale-animating text would jump temporarily a few pixels
2012-05-07 13:21:52 -07:00
Chet Haase
4bbcae7eb8 Merge "Fix issue where scale-animating text would jump temporarily a few pixels" into jb-dev 2012-05-07 13:20:00 -07:00
Craig Mautner
22135e46b1 am d8efe424: Merge "Change DimAnimator to reflect rotations." into jb-dev
* commit 'd8efe42496806b483bbacea28d2456e8b2eac4fb':
  Change DimAnimator to reflect rotations.
2012-05-07 13:13:26 -07:00
Craig Mautner
d8efe42496 Merge "Change DimAnimator to reflect rotations." into jb-dev 2012-05-07 13:10:08 -07:00
Marco Nelissen
7bd44d97f7 am b3482ffb: Merge "Fix crash when decoding bitmap" into jb-dev
* commit 'b3482ffbeee30650359e6ab8f3950a83e06963b4':
  Fix crash when decoding bitmap
2012-05-07 13:09:17 -07:00
Philip Milne
2a52d26c0b am 7bb66c9c: Hide optical bounds feature for JB.
* commit '7bb66c9cae7847e3d58f412a73d54ee5d4bcaba0':
  Hide optical bounds feature for JB.
2012-05-07 13:09:14 -07:00
Eric Fischer
b9f0cf1c73 Import translations. DO NOT MERGE
Change-Id: Icee68860c27c90d2ef41c0e29660fcda35ec658d
2012-05-07 13:07:46 -07:00