20120 Commits

Author SHA1 Message Date
Svetoslav Ganov
092bda57c4 NubmberPicker up/down arrows do not work.
bug:3490963

This is a bug I have introduced while fixing bug:3452868.

Change-Id: Ib2ee39d0c790d60d30bc10051d69f393672a006c
2011-02-26 22:18:41 -08:00
Jeff Brown
12511f64a0 Merge "Fix a regression matching intents when action doesn't matter." 2011-02-26 16:07:51 -08:00
Jeff Brown
239f77d20a Fix a regression matching intents when action doesn't matter.
Bug: 3482199
Change-Id: I0960e4396f4e71e9a3fc71146730030a52f96e9f
2011-02-26 16:03:48 -08:00
Jeff Brown
53ab993cd0 Merge "Log errors reading input channel from parcel." 2011-02-26 15:47:14 -08:00
Jeff Brown
02cafc9f6e Log errors reading input channel from parcel.
Bug: 3378634
Change-Id: I47908e48b8348f0366dcef545e828b65d99d81a6
2011-02-26 15:39:12 -08:00
Jeff Brown
d17247164b Make SHIFT+Backspace be forward delete.
Bug: 3416383
Change-Id: I8f20a6793abd15741aff222edcfe33f7019b9095
2011-02-26 14:58:04 -08:00
Jeff Brown
8f34567c71 Add scroll wheel support to TextView.
Change-Id: I6e4258c50b0d754dccf07266ff4b2abcbccd733a
2011-02-26 13:35:35 -08:00
Mike Lockwood
1b8956398b am 69e19ae1: DO NOT MERGE: KeyguardManager: Fix copy & paste error in isKeyguardLocked()
* commit '69e19ae15baa5785667dbf45c7a2d508e429099b':
  DO NOT MERGE: KeyguardManager: Fix copy & paste error in isKeyguardLocked()
2011-02-26 13:21:20 -08:00
Mike Lockwood
bbd460d76d am 6aea1154: DO NOT MERGE: KeyguardManager: Add isKeyguardLocked() and isKeyguardSecure()
* commit '6aea1154bae3a0935fdb9b09b2d91d9548232eb0':
  DO NOT MERGE: KeyguardManager: Add isKeyguardLocked() and isKeyguardSecure()
2011-02-26 13:21:05 -08:00
Mike Lockwood
69e19ae15b DO NOT MERGE: KeyguardManager: Fix copy & paste error in isKeyguardLocked()
BUG: 3402847

Change-Id: Ic731e49b43fa40df6f8b658d8620a99a85c346e6
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-26 14:32:22 -05:00
Mike Lockwood
6aea1154ba DO NOT MERGE: KeyguardManager: Add isKeyguardLocked() and isKeyguardSecure()
BUG: 3402847

Change-Id: I7cb199763e8d5386914b4c2173c9e1579b08674c
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-26 14:32:00 -05:00
Mike Lockwood
5053124827 KeyguardManager: Fix copy & paste error in isKeyguardLocked()
Change-Id: If5145e8483d3736d73698b3deb189f2253015543
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-26 11:23:49 -05:00
Jesse Wilson
15b07f4c6b Merge "Handle rename of LruCache.entryEvicted to entryRemoved" 2011-02-25 17:55:00 -08:00
Jeff Brown
42c5eec0ce Merge "Add support for mouse hover and scroll wheel." 2011-02-25 17:28:50 -08:00
Jesse Wilson
32c80a27da Handle rename of LruCache.entryEvicted to entryRemoved
Change-Id: I50e5a8d8c35c4431f42c7483172447ba0e4e125b
http://b/3461302
2011-02-25 17:28:41 -08:00
Jesse Wilson
affe40af3c Merge "Callback on any removal, not just evictions." 2011-02-25 17:15:44 -08:00
Jesse Wilson
7db1b40a03 Callback on any removal, not just evictions.
Don't hold locks while running create or remove callbacks. That gets a bit
ugly because it means a create could be unwanted by the time it returns.

Change-Id: I14b2b3ed41a446750f8ee5a7e35cb8d801c4ce6d
http://b/3461302
2011-02-25 17:06:34 -08:00
Jeff Brown
33bbfd2232 Add support for mouse hover and scroll wheel.
Dispatch ACTION_HOVER_MOVE and ACTION_SCROLL through the View
hierarchy as onGenericTouchEvent.  Pointer events dispatched
this way are delivered to the view under the pointer.  Non-pointer
events continue to be delivered to the focused view.

Added scroll wheel support to AbsListView, ScrollView,
HorizontalScrollView and WebView.  Shift+VSCROLL is translated
to HSCROLL as appropriate.

Added logging of new pointer events in PointerLocationView.

Fixed a problem in EventHub when a USB device is removed that
resulted in a long stream of ENODEV errors being logged until INotify
noticed the device was gone.

Note that the new events are not supported by wallpapers at this time
because the wallpaper engine only delivers touch events.

Make all mouse buttons behave identically.  (Effectively we only
support one button.)

Change-Id: I9ab445ffb63c813fcb07db6693987b02475f3756
2011-02-25 17:06:07 -08:00
Mathias Agopian
32a55cf66e Fix sp<> conversion operator / constructor
some of the conversion operators were not using the proper
pointer type when calling incStrong/decStrong, usually it
has no bad consequences, but for some implementation
of the ref-counted object it could lead to recording the wrong
owner id.

Change-Id: If574b9069b8a4cf6e0911a992c8f095aba799995
2011-02-25 16:20:52 -08:00
Dianne Hackborn
d752c3b3e6 Merge "Implement issue #3426299: Introduce application "stopped" state" 2011-02-25 16:15:27 -08:00
Chet Haase
53c7b1d544 Merge "ViewPropertyAnimator cancels prior animations" 2011-02-25 16:02:34 -08:00
Adam Cohen
54a351ed62 Merge "Adding framework support for resizable widgets" 2011-02-25 15:28:29 -08:00
Christopher Tate
e2ed9562fc Revert "Binder linkage no longer depends on JNI objrefs as persistent tokens"
This reverts commit c2d55dd89743c8a38deb809f3cdf1ad2d1dbac2b.
2011-02-25 15:18:53 -08:00
Gilles Debunne
4b2274fff5 Text selection mode is stopped when View is recycled in ListView
Change-Id: If09cef9485ccc35c53ad9c7a809c982e32da2f0e
2011-02-25 15:18:03 -08:00
Adam Cohen
d2e20de64b Adding framework support for resizable widgets
-> Added resizeMode to the widget xml
-> Fixed an unexposed bug in AppWidgetHost where
   minWidth and minHeight were never being converted
   from complex type to dp

Change-Id: Ibbc4fc6542d095623ac2a40694b6a3dbfeb279ad
2011-02-25 15:10:40 -08:00
Leon Scroggins
d529bfd1a4 No radio buttons on <select>
Bug:3369625

Change-Id: Ie0ce67ad041aff5e91e2353779b82a091fddb9b6
2011-02-25 18:08:46 -05:00
Gilles Debunne
e20a193754 OnScrollListener fix in AbsListView
Starting from a list at position 0 (first element displayed
at the top), touch and scroll down. The list cannot go further
down and the glow is displayed.

A connecter scrollListener will receive a FLING but will not
receive the IDLE after.

The reason is that the springback motion that should be started
at that point is not started because the overscroll distance is set to 0.

The fix is to report an IDLE state in that case.

Change-Id: I383babaf8412ee74d598efcf61e91cff44068c79
2011-02-25 14:54:11 -08:00
Dianne Hackborn
e7f972122d Implement issue #3426299: Introduce application "stopped" state
The package manager now keeps track of whether an application is
stopped.  There are new intent flags to control whether intent
filters in a stopped application will match the intent.  This is
currently used in one place, sending broadcasts, so that stopped
apps can not be launched due to background processes.

The package manager during first init makes sure no applications
are in the stopped state.  When new applications are installed,
that begin in the stopped state.  When the activity manager is
launching a component of an application, it ensures the application
is taken out of the stopped state.

The "force stop" button in manage applications will now put an
application back in to the stopped state; it can't go back out
of the stopped state until one of its components is launched by
the activity manager.

There will probably be a few more places where we need to filter
stopped applications out of intent matches, but doing this for
broadcast is a very big first step.

This also introduces a new broadcast that is sent to an application
after it is replaced with a new .apk.  But only if the app is not
in the stopped state.  This makes it a lot easier for developers to
implement code to get their application back in proper running shape
after an upgrade.

Finally another new broadcast is added that is sent to a package's
installer at the first time it is launched.  This allows the installer
to tell the package about it being installed only when it is first
actually used.

Change-Id: I589c53ff0e0ece868fe734ace4439c0d202dca2d
2011-02-25 14:46:27 -08:00
Gilles Debunne
cd59febcea AIOOB exception fix in TabWidget
Bug http://code.google.com/p/android/issues/detail?id=15005

The problem was not specific to the legacy theme. The code that first
measure the tab's width with no contraint was incorrectly using the
mImposedTabsWidth array which could not have the right size if a
child was added.

The first measure after a child is added should indeed crash. Could
be investigated. This fix is sure anyway.

Change-Id: I4c0594e92019aabc545619e874bdfd49ce69c90e
2011-02-25 14:34:20 -08:00
Winson Chung
541466f6d6 Merge "Fixing issue where RemoteViewsService.onDestroy() was never being called." 2011-02-25 14:30:37 -08:00
Jaikumar Ganesh
63a2e62a39 Merge "Unset device trust state before unpairing." 2011-02-25 14:25:16 -08:00
Jaikumar Ganesh
cc2c06656c Unset device trust state before unpairing.
a) Device is trusted.
b) Device is unpaired.
c) We need to set the trusted value before unpairing.

Else on the next pairing, the device will be trusted automatically
and we will not show the PBAP authentication dialog.

Change-Id: I8d7c962688885885d37be341e5494069294eb392
2011-02-25 14:16:27 -08:00
Winson Chung
84bbb02021 Fixing issue where RemoteViewsService.onDestroy() was never being called.
Change-Id: I15ad04eee18bc3e09d4846c7f2f2d2d8d168e518
2011-02-25 14:06:47 -08:00
Gilles Debunne
0277c17128 Merge "Code clean-up around ScrollView." 2011-02-25 13:48:19 -08:00
Gilles Debunne
05b5590281 Merge "Removed ViewTreeObserver in TextView when handles are hidden" 2011-02-25 13:47:37 -08:00
Samyeoul Choi
4b7c6fa2c0 am 350799b7: am 6c5d9a06: am 09223891: Crespo4G: Voicemail: Add \'config_telephony_...\' for Sprint
* commit '350799b72c3180e04ec91469509f6079c932b971':
  Crespo4G: Voicemail: Add 'config_telephony_...' for Sprint
2011-02-25 12:55:35 -08:00
Samyeoul Choi
350799b72c am 6c5d9a06: am 09223891: Crespo4G: Voicemail: Add \'config_telephony_...\' for Sprint
* commit '6c5d9a0622ed33be8549f8d4dcdf597b0dc499cf':
  Crespo4G: Voicemail: Add 'config_telephony_...' for Sprint
2011-02-25 12:51:51 -08:00
Svetoslav Ganov
bc006dc0aa am dc365a36: Merge "resolved conflicts for merge of 66edf2bb to honeycomb-plus-aosp" into honeycomb-plus-aosp
* commit 'dc365a36dac50bccc1411c37839513daec56d335':
  Use different version of CLDR data in DatePicker
2011-02-25 12:45:53 -08:00
Chet Haase
ba592d2003 ViewPropertyAnimator cancels prior animations
The initial approach of VPA was to cancel previous animations
on the same exact set of properties. This worked in most cases,
but if the new animation had a different set of properties
(like animating alpha, x, and y instead of just x and y), then
there was a possible artifact as the old animation continued to
run in the background and could show the button in the wrong
location as a result.

The new approach is to search all running animations for
a property when a new animation is requested on it and to
remove that property from the list of properties being animated
by that previous animation. The prior animations continue to
run, but will no longer update that property, which will now be
controlled solely by the new animation requested.

Change-Id: Ib35d54a5e91be0a1310725be6e2acbaa6ead4a4e
2011-02-25 12:44:42 -08:00
Svetoslav Ganov
dc365a36da Merge "resolved conflicts for merge of 66edf2bb to honeycomb-plus-aosp" into honeycomb-plus-aosp 2011-02-25 12:40:57 -08:00
Svetoslav Ganov
f114809031 resolved conflicts for merge of 66edf2bb to honeycomb-plus-aosp
Change-Id: I687ca9b7873890e3b30da16d5dde6b57ce92f0d6
2011-02-25 12:39:59 -08:00
Samyeoul Choi
6c5d9a0622 am 09223891: Crespo4G: Voicemail: Add \'config_telephony_...\' for Sprint
* commit '092238916fd5d10090c0bcad33644778a1f366e7':
  Crespo4G: Voicemail: Add 'config_telephony_...' for Sprint
2011-02-25 12:08:08 -08:00
Eric Fischer
0805d104cc Merge "Import revised translations." 2011-02-25 11:48:14 -08:00
Eric Fischer
a1a71260b7 Import revised translations.
Change-Id: I15bff66ef87f6c0b0ac381b18f1b98a9ed05f560
2011-02-25 11:30:10 -08:00
Samyeoul Choi
092238916f Crespo4G: Voicemail: Add 'config_telephony_...' for Sprint
'*86' which is set now as a default at CDMAPhone.java,
is default voicemail number for Verizon.
For Sprint, we use user's own number for voicemail.

So we add codes in CDMAPhone.java to use
'config_telephony_use_own_number_for_voicemail',
and use config.xml to set this value as false.
Then we overlay Sprint's own config.xml file to
override 'config_telephony_use_own_number_for_voicemail' as a true.

Change-Id: I110914bdfa9a79aaba89d3b80edbcf044e9aabee
2011-02-25 11:28:43 -08:00
Eric Fischer
040f61504a am 9967ce04: Merge "Import revised translations. DO NOT MERGE" into honeycomb
* commit '9967ce04572e916a5f68ae0f9345f13b35ec20b0':
  Import revised translations.  DO NOT MERGE
2011-02-25 11:11:13 -08:00
Gilles Debunne
2ed2eacd7e Code clean-up around ScrollView.
Change-Id: Ia110f30279a93c96741e9afbd93ed6231aa97ef1
2011-02-25 11:01:49 -08:00
Gilles Debunne
b7012e841c Removed ViewTreeObserver in TextView when handles are hidden
terminate method is no longer needed since handles are popupWindow
which have their own fade-out animations.

Change-Id: I8354f78ece2ffe9c098ef2f02f0d637fc4c813c0
2011-02-25 11:00:11 -08:00
Eric Fischer
0484786af7 Import revised translations. DO NOT MERGE
Change-Id: I75f16cb4c3d9a4caa1234a86fbba9cae6799d180
2011-02-25 10:47:43 -08:00
Fred Quintana
e3e5b0994e remove the code that clears the passwords when the sim
is replaced with a different one.

Bug: 3404577
Change-Id: I3149df7040dfc56e91544010ac56b5912964d925
2011-02-25 10:39:20 -08:00