20020 Commits

Author SHA1 Message Date
Fabrice Di Meglio
e4231461f4 Fix bug #2246815 Error popups on EditText should span the width of the screen instead of the width of the EditText field
Part 2

- use "textview_error_popup_default_width" as a dimension resource instead of a basic constant

Change-Id: Ieb89fc416105716ab491749a82390a7e784b1755
2011-09-08 18:15:50 -07:00
Fabrice Di Meglio
33438be008 Fix bug #2246815 Error popups on EditText should span the width of the screen instead of the width of the EditText field
- cap the popup to 240 (Validated with UX team)

Change-Id: I2923825a19b7c79fa0d1233300f42e10bdda8df7
2011-09-08 17:19:04 -07:00
Fabrice Di Meglio
e3238c9805 Merge "Code cleaning" 2011-09-07 16:46:24 -07:00
Adam Powell
8fc54f9b28 Fix build
Change-Id: I9efe13a7647088402c6759399a96de7831df964b
2011-09-07 16:43:53 -07:00
Fabrice Di Meglio
2b04cef9b4 Code cleaning
- removing CharCount TextDirectionHeuristic references

Change-Id: I8cdc03b0d7bd610c7b8224073ffedd89b8953c63
2011-09-07 16:37:13 -07:00
Adam Powell
b63d3c3aed Merge "Empty implementations of new ActionBar methods." 2011-09-07 16:18:35 -07:00
Fabrice Di Meglio
b6e43268f9 Merge "Hide RTL related APIs" 2011-09-07 16:14:41 -07:00
Adam Powell
0145322e82 Empty implementations of new ActionBar methods.
Makes mocks happy!

Change-Id: Ib69dd3b3e0d62e2d1301103d8e3dfcec5e9b03ab
2011-09-07 16:13:36 -07:00
Fabrice Di Meglio
2273b1e4ea Hide RTL related APIs
Change-Id: Idda458fcdebe7afeb9b95e328e552fcbc7939157
2011-09-07 16:06:49 -07:00
Mathias Agopian
66bd5e98ec Merge "improve the gyroscope javadoc" 2011-09-07 15:58:39 -07:00
Mathias Agopian
ad7f33a29c improve the gyroscope javadoc
change the sample code to something more useful and more
correct.

Change-Id: Ia81f86a2f409edbb395405ababae307663824cb9
2011-09-07 15:56:03 -07:00
John Reck
606ce48ba2 Merge "Register to receive onTrimMemory callbacks" 2011-09-07 15:47:30 -07:00
Adam Powell
35b38c044f Merge "Fix bug 5258435 - ActionBar.setBackgroundDrawable" 2011-09-07 15:31:08 -07:00
Chet Haase
a7e88d688b Merge "Add end functionality to LayoutTransition" 2011-09-07 14:59:52 -07:00
Adam Powell
f88b915567 Fix bug 5258435 - ActionBar.setBackgroundDrawable
Fix this call to work properly and add methods for setting
split/stacked bar backgrounds to match existing styleable elements.

Change-Id: I8c6b1c598af1110f84a9098683d8e0226daf2e27
2011-09-07 14:55:47 -07:00
Fabrice Di Meglio
4147abcd84 Merge "Fix bug #5252977 TextView selection handles appearing in a weird state" 2011-09-07 14:54:55 -07:00
Wu-cheng Li
cb58757d2f Merge "Unhide camera video snapshot supported API." 2011-09-07 14:53:45 -07:00
Irfan Sheriff
1a58dce0cc Merge "Add feature definition for Wi-Fi Direct" 2011-09-07 14:50:32 -07:00
Chet Haase
36d3b9ddc4 Merge "Clarify AnimationSet docs and behavior" 2011-09-07 14:40:29 -07:00
John Reck
d5417040be Merge "OnTrimMemory plumbing" 2011-09-07 14:26:47 -07:00
John Reck
34a676bd08 Register to receive onTrimMemory callbacks
Bug: 5269460

Change-Id: Ic2429af1ba0b6e86157f6ba16d420d10c17920e5
2011-09-07 13:41:17 -07:00
John Reck
faa42dbede OnTrimMemory plumbing
Bug: 5269460

Change-Id: I012e2eb077c3671b856d0163de6b10ad7bd4d577
2011-09-07 13:16:58 -07:00
Christopher Tate
da7caf0a3c Merge "Fix backup-agent timeouts" 2011-09-07 12:05:24 -07:00
Irfan Sheriff
45b8b46499 Add feature definition for Wi-Fi Direct
Bug: 5267396
Change-Id: I4f61b0afd1466420ab951f6d74ec444036772b21
2011-09-07 11:51:48 -07:00
Wu-cheng Li
4c454d82b6 Unhide camera video snapshot supported API.
bug:5187868
Change-Id: Idefde8746012c8ef504f3e3020e3fe1256c60860
2011-09-08 02:32:20 +08:00
Adam Powell
36a97e4030 Fix bug 5228657 - Input method window rendered with titlebar
Use the correct Holo-based IME theme for IMEs targeting >= 11 and < ICS.

Change-Id: Id154a927ab8439c357dc44996155f92414e2c876
2011-09-07 11:27:49 -07:00
Chet Haase
d56c695175 Add end functionality to LayoutTransition
This new hidden API is called by ViewRootImpl when there is a pending
transition but the parent window is not visible.

Change-Id: Idd6a0959b391fae542e675e8740b6a16f8963678
2011-09-07 10:51:00 -07:00
Kristian Monsen
727e6ba5df Merge "Fix for bug 5100096 Repeated Security Waring" 2011-09-07 09:56:50 -07:00
Narayan Kamath
ddca4708b6 Merge "Fix two TTS bugs." 2011-09-07 05:53:14 -07:00
Narayan Kamath
a65c62acab Fix two TTS bugs.
(a) Fix a null pointer exception, caused by a race condition
between stop / start calls.
(b) Fix a deadlock observed when multiple apps call stop() when
an item from one of those apps is currently being processed.

bug:5253061

Change-Id: I78533aecfda028588ce6aedb041009bc0a6f4620
2011-09-07 11:38:18 +01:00
Chet Haase
3791dc9b1c Merge "Fix issue with LayoutTransition on non-visible windows." 2011-09-06 22:36:13 -07:00
Chet Haase
61158c621d Fix issue with LayoutTransition on non-visible windows.
There's a problem with how LayoutTransition cleans up after itself
when the target view is in a Window that is not on the screen.
The quick fix is to always start (and therefore properly end and clear)
transitions, regardless of whether the window is in the tree.

Change-Id: I23f4f4f04176f3943e5c6e1d78acba0190a96930
2011-09-06 22:19:45 -07:00
Adam Powell
7211dbabc5 Merge "Bug 5249855 - Add support for content descriptions on action bar tabs" 2011-09-06 21:50:56 -07:00
Adam Powell
94e56ef3b8 Bug 5249855 - Add support for content descriptions on action bar tabs
Add API support for supplying content descriptions on action bar tabs.
This helps accessibility in cases where no title text is shown.

Change-Id: I8fdc4c2f2b279871b9f24b0b16e5167879b22741
2011-09-06 21:23:59 -07:00
Winson Chung
9a355fbb0d Merge "Updating javadoc for StackView constructors (4554433)" 2011-09-06 19:41:46 -07:00
Fabrice Di Meglio
03e4d64587 Fix bug #5252977 TextView selection handles appearing in a weird state
- a remove of a listener was missing as dismis() and hide() need to
share the same semantics

Change-Id: I01dc5a971324d0aa0942e365d5302d93a1a51a16
2011-09-06 19:08:51 -07:00
Winson Chung
abc8b50a26 Updating javadoc for StackView constructors (4554433)
Change-Id: I084c9535f9be4ae4e3942828d3b624d28eae4b06
2011-09-06 18:44:21 -07:00
Gilles Debunne
0046199dab Merge "Fix "out of bound exception" when the span has prefix." 2011-09-06 17:51:10 -07:00
Gilles Debunne
d486bd2789 Merge "Fix several issues with the "EasyEditSpan"." 2011-09-06 17:42:31 -07:00
Kristian Monsen
9041d9254e Fix for bug 5100096 Repeated Security Waring
Only giving the host to SslError.

Change-Id: I6112643cf25293348ff20193e67da5f52063ffa2
2011-09-07 01:37:02 +01:00
Ben Komalo
8e147b2937 Merge "Expose getting encryptstate through IMountService" 2011-09-06 17:14:52 -07:00
Romain Guy
2b72d93ce3 Merge "Don't destroy a window's buffers when moving it" 2011-09-06 17:02:43 -07:00
Romain Guy
f21c9b0f52 Don't destroy a window's buffers when moving it
Change-Id: Ib08608373ae4299639c1b157421ba633e4293446
2011-09-06 17:01:05 -07:00
Luca Zanolin
1564fc7c7e Fix several issues with the "EasyEditSpan".
- The easy edit span was displayed twice when in extracted mode. The orignal TextView now checks if it is in extra mode, and if so it does not display any pop-up
- The easy edit span was displayed before the view was layout causing the application to crash.

New feature:

- the span is automatically hidden after a timeout

I also renamed all the fields and classes to "EasyEdit...". There were still some field/class using an old name.

Bug: 5255363
Bug: 5247453
Bug: 5246997

Change-Id: Ic9bf05d2525e2df9017c91344a687e8cb9105417
2011-09-07 00:01:28 +01:00
Fabrice Di Meglio
c6fc20a91b Merge "Fix bug #5262565 Need to remove CharCount TextDirectionHeuristics" 2011-09-06 15:12:25 -07:00
Romain Guy
fe1aafe4ac Merge "Prevent crash in View.createSnapshot if getResources() returns null Bug #5260241" 2011-09-06 15:03:06 -07:00
Romain Guy
c529d8d8c7 Prevent crash in View.createSnapshot if getResources() returns null
Bug #5260241

Change-Id: I90b6d5a8961a6b7b50603a9f59a6e39093646bd4
2011-09-06 15:01:39 -07:00
Luca Zanolin
2346e0117d Fix "out of bound exception" when the span has prefix.
Change the behavior of the highlight marking the "suggested text" and not the differences.

Bug: 5252699
Change-Id: I4c7e9fc9bac81da8b5f643990b86a336363d7968
2011-09-06 22:56:59 +01:00
Chet Haase
c861bd778b Clarify AnimationSet docs and behavior
Two problems fixed here:
- The docs for AnimationSet were too vague and incorrect: some properties of
Animation (such as duration) are pushed from the AnimationSet down to its children, as
the current docs say. Some other properties (such as repeatCount) are ignored. Other
properties (such as startOffset) apply to the Set itself, but not to the children.
Fix: clarify this behavior for each of the properties.
- The behavior for XML resources was just busted. We would set the various properties
(e.g., duration) and then forget that we did so, since we reset the flags that marked
their existence after we loaded the resource. In fact, the duration property was
always being reset to 0, regardless of what it was set to in the xml resource.
Fix: Make it work they way it always should have: respect the values read from the XML
resource and make them behave the same way they do when set at runtime.

Change-Id: I07d68876d2259105dc5a359501d5c656ecfaa8e5
2011-09-06 14:14:29 -07:00
Svetoslav Ganov
2f8dbf5722 Merge "Increasing the tap radius for the handle in MultiWaveView to improve accessibility" 2011-09-06 14:08:48 -07:00