Commit Graph

732 Commits

Author SHA1 Message Date
Evan Charlton
e4fb6264d0 Merge "Invalidate the ProgressBar when changing animation states" 2010-06-07 10:49:13 -07:00
Evan Charlton
08e1473ca3 Invalidate the ProgressBar when changing animation states
When changing a ProgressBar from indeterminate to determinate, the display was
not being invalidated correctly and would freeze the progress bar.

Bug: 1296117
Change-Id: I2e0a9b76da919b5388f1dbc1c8f4b030355eb8ce
2010-06-07 10:38:53 -07:00
Adam Powell
a984b38df5 Fix doc build
Change-Id: Ia0425bc956540bbd5f16138ad182ae365bf1c85a
2010-06-04 14:20:10 -07:00
Adam Powell
c3fa6304c9 Added ListPopupWindow. Refactored AutoCompleteTextView and Spinner
(optionally) to use it. Added associated styles.

ListPopupWindow allows apps to present a popup window of options to
the user that will correctly dodge the IME if needed.

Change-Id: I509c6c45036856daab686a6edeb7a9de1e72eb0a
2010-06-04 12:18:16 -07:00
Kenny Root
c4a1a927a8 Merge "Fix alignment issues with RTL paragraphs." 2010-06-03 18:26:55 -07:00
Doug Felt
c982f60e98 Fix alignment issues with RTL paragraphs.
Also remove unused debugging code that depends on junit.
Remove trailing whitespace in changed code.

Change-Id: Ie02d1b8220c599a672ee6e91af0fba634e0f620c
2010-06-03 13:33:00 -07:00
Joe Onorato
fb1bd96ffb am ef5ce59a: am 18e69dfc: Checkpoint. Data structures for Notifications in place. 2010-06-02 22:38:43 -07:00
Joe Onorato
18e69dfc72 Checkpoint. Data structures for Notifications in place.
Change-Id: I146fb9bc1d349112541368e2c99a667821dfdf6e
2010-06-02 14:48:43 -07:00
The Android Open Source Project
76b704982a am 8f1259be: am b705eea7: am 1bd7597b: merge from open-source master 2010-06-02 09:06:34 -07:00
The Android Open Source Project
1bd7597b8c merge from open-source master
Change-Id: I8333e295ba6b6ed8e7658ecf3fbf1ebea3537aeb
2010-06-02 08:54:47 -07:00
Christian Mehlmauer
ef367529f9 Replaced raw string arguments for Context.getSystemService() with final Context variables
Change-Id: If5139a1526101292e5da557bfad3f4db80fb64a8
2010-05-31 23:08:30 +02:00
Adam Powell
e46c1e817c am 49551ca4: am 9a559970: am f67c874c: am 7e5e3745: Fix bug 2710825 - Prevent ExpandableListView from scrolling too far when expanding children. 2010-05-24 16:30:16 -07:00
Adam Powell
f67c874c07 am 7e5e3745: Fix bug 2710825 - Prevent ExpandableListView from scrolling too far when expanding children.
Merge commit '7e5e3745cf0103219a13071fbd488c3c01da85d9' into froyo-plus-aosp

* commit '7e5e3745cf0103219a13071fbd488c3c01da85d9':
  Fix bug 2710825 - Prevent ExpandableListView from scrolling too far when expanding children.
2010-05-24 16:23:53 -07:00
Adam Powell
7e5e3745cf Fix bug 2710825 - Prevent ExpandableListView from scrolling too far when expanding children.
Change-Id: I21b37647c5ad16e4f57fdda433e3b3ee2c7c83ad
2010-05-24 15:13:41 -07:00
Romain Guy
df36b0579e Prevent crash when changing adapter.
Bug #2697842

Change-Id: I3f94c7907c8881145638b9e9307458f1431d7e57
2010-05-19 21:16:02 -07:00
The Android Open Source Project
75095f693a am 34b1c116: am b39b0f32: am faf9a783: merge from open-source master 2010-05-19 08:44:59 -07:00
The Android Open Source Project
faf9a78363 merge from open-source master
Change-Id: I970684d917ea2024871b45abe532c52bb45673c6
2010-05-19 08:39:13 -07:00
The Android Open Source Project
39ccc0811f am 56d4bcd8: am 627356ce: am d6c0bb0f: merge from open-source master 2010-05-19 08:36:58 -07:00
The Android Open Source Project
d6c0bb0f0f merge from open-source master
Change-Id: I0598edad283a177a5ddcc30e20d2284503e6038e
2010-05-19 08:28:32 -07:00
Romain Guy
7a029da6d6 Merge "Text disappears when selecting text in text editor." 2010-05-19 00:01:55 -07:00
Jean-Baptiste Queru
7f6cf96cbf am 5942ccf0: am 9eb7a722: resolved conflicts for merge of f7fb5331 to kraken 2010-05-17 14:58:44 -07:00
Christian Mehlmauer
746a95ab71 Removed Calls to deprecated APIs
Change-Id: I3f9b6a8d3c8a050156a6cc7ea0eb9de33b82f79a
2010-05-17 21:16:20 +02:00
The Android Open Source Project
f7fb5331e5 merge from open-source master
Change-Id: Ia0201ec7be4c112569b8775429d1c9674eb3b661
2010-05-17 08:56:54 -07:00
Romain Guy
c4fee63301 Merge "Fixing indeterminate progress bar animation state." 2010-05-15 12:34:05 -07:00
David Sobreira Marques
52a35433cf Fixing indeterminate progress bar animation state.
When showing a progress bar instance more than once
it will not animate after the first time.

Change-Id: I5104c551d561755005e533f2ab5257454567bf71
Signed-off-by: David Sobreira Marques <dpsmarques@gmail.com>
2010-05-15 16:10:18 -03:00
Andrew Sapperstein
8d9db8e4c7 Added getNumColumns function to GridView.java.
Change-Id: I1cec19c77d0ee47278d93c6b0a112edae777e4e9
2010-05-13 17:45:50 -07:00
Romain Guy
743e25c914 Merge "Prevent possible leak in AbsListViews." 2010-05-13 14:06:59 -07:00
Romain Guy
82afc7b32b Prevent possible leak in AbsListViews.
This change unregisters a list's data observer from the adapter when the list
is detached from the window. The default data observer impl. is a non-static
inner class with a synthesized pointer to the list. Thus if an app keeps
the adapter around the list is also kept around. This can be a problem with
dialogs in particular.

Change-Id: Ia95a995d3f54b9caf1bbcd2c7239a0318511b08c
2010-05-13 14:03:09 -07:00
Doug Felt
f47d7405bb Modify Canvas drawText to run bidi and shape.
Adds drawTextRun as internal API on Canvas and GraphicsOperations.
Adds implementation to implementors of GraphicsOperations.

Adds state and API on Paint to control the bidi algorithm when used
by Canvas.  This API is currently hidden.

The drawText changes are incomplete since shaping is not yet available
in the native code.

Change-Id: I4368048aef9545df0953a349381771603e04b619
2010-05-12 18:50:02 -07:00
The Android Open Source Project
108817f3d8 am 8b270a7a: am 579e08e6: am f7896449: merge from open-source master 2010-05-05 18:16:31 -07:00
The Android Open Source Project
f78964490d merge from open-source master
Change-Id: Ia9e1f4e049f5870386ea29ddb6e3ef028ea918da
2010-05-05 15:57:42 -07:00
Nicholas Killewald
0ba2d4782c Fixed deserialization problem in DatePicker.
During onRestoreInstanceState for DatePicker, the internal
state of the widget is restored properly (thus setting the
internal year, month, and day), but the spinners aren't
visually updated to that state immediately. That is to say,
the internal state of the widget doesn't match the spinners
in that case, which can cause confusion.

Change-Id: I96d1a299d0ee159d41450470acb30a3bf6006d44
2010-05-04 11:48:22 -07:00
Adam Powell
8c2d5cf826 am 6bbb65e6: am 6483f6d5: am b40c42f1: Fix bug 2639949 - Don\'t stop a Scroller early 2010-04-28 19:45:04 -07:00
Adam Powell
b40c42f1ff Fix bug 2639949 - Don't stop a Scroller early
Change-Id: Ia827199a27d03289b6fa573dd6f2b13517943400
2010-04-28 16:36:37 -07:00
Jeff Hamilton
69e87f9b43 Fix a bug I introduced in CursorAdapter.
It will now properly register the content
observer when used with the auto requery
constructor and auto requery set to false.

Change-Id: I0f3995a2d5f1e27aaeab8c5f2f951fefc8a072e5
2010-04-22 11:26:06 -05:00
Viktor Yakovel
970a138c97 Text disappears when selecting text in text editor.
The problem appears when the user selects, copies and paste text
and then selects text again. The second time text is selected,
the copied text becomes visible in the text field.

Change-Id: Iae19d1659f58ad2e1c6f1a98bdef8bbedabd447f
2010-04-21 10:27:49 +02:00
Evan Millar
9a20aa74ca Clean up the fallback state of QuickContact
-Show the generic avatar by default, until otherwise set
-Add padding to the nobadge asset so that it will be square
-Remove states from the nobadge asset since it is not actionable

Change-Id: Ide7da78782a0db9047de52af6f9c1f654fc6a1b5
2010-04-14 16:45:07 -07:00
Romain Guy
1b2d7ec487 Merge "Ensure Gallery does not unselect the selected item after a layout. Bug #2573921" 2010-04-14 14:45:43 -07:00
Romain Guy
6691fcfbc8 Ensure Gallery does not unselect the selected item after a layout.
Bug #2573921

Change-Id: I5c39881f541835fe5515b35a9f12761a8a2c1b8b
2010-04-14 14:43:18 -07:00
Steve Howard
16bd9372ee Hide zoom buttons when a view gets hidden, i.e. by a TabHost
When a View uses a ZoomButtonsController, it needs to explicitly hide
the zoom controls when it gets hidden itself, such as when it's within
a TabHost.  Add a note to the javadoc to do this via
onVisibilityChanged(), and update WebView to follow the instructions.

Thanks to Ross Levinsky for discovering and tracking this one down.

Bug: 2582718
Change-Id: Ia0c9ea4efcb29eb1f321be54f3d8ae1e056df6b7
CC: rosslevinsky@google.com
2010-04-13 11:55:02 -07:00
Romain Guy
3e089c6c65 am aa03df8a: am 50e0d9ae: am 376722fc: am 4525c981: Merge "Fix regression introduced when fixing focus issue with ScrollView. Bug #2581646" into froyo 2010-04-10 11:59:16 -07:00
Romain Guy
2d4cff64b4 Fix regression introduced when fixing focus issue with ScrollView.
Bug #2581646

The correct fix is to make ScrollView ignore the BACK key instead of consuming it.

Change-Id: I5c029a5c60ae8e7791391f63672c44b5c96fec71
2010-04-09 15:39:00 -07:00
Romain Guy
c9c82b5669 Don't supply a null child to the click listener.
External bug #http://code.google.com/p/android/issues/detail?id=7644

Change-Id: Iea2c0d7fa02d355fd68750d6dccf8e6c6773ab6b
2010-04-09 14:08:26 -07:00
Adam Powell
57f65e04fd am 203cd5e0: am 85a650fe: am c696b0df: am eb3d47e4: Merge "Fix bug 2574860 - fix AbsListView.trackMotionScroll edge detection" into froyo 2010-04-07 10:01:53 -07:00
Adam Powell
91f234fe4d Fix bug 2574860 - fix AbsListView.trackMotionScroll edge detection
Change-Id: I0fc6d2b8547ab56937eeb5ef3438003a06b966ec
2010-04-06 19:35:32 -07:00
Adam Powell
702d985b5d am 942d070c: am 1f29b4cd: am 21990922: Merge "Fix AbsListView scrolling behavior at edges." into froyo 2010-04-02 11:19:10 -07:00
Adam Powell
b7795432a5 Fix AbsListView scrolling behavior at edges.
Allow the user to start scrolling back into content immediately
after dragging past the end of content.

Remove some dead code.

Change-Id: Ife8f60499ac58179ba1e2500ca8745916392a4bc
2010-04-02 10:21:55 -07:00
Jeff Hamilton
451513baa7 Add an option to not register the ContentObserver when creating a CursorAdapter.
Change-Id: Ic18f0307f5ba0d54f7270d8d1e032feff537360b
2010-04-01 15:30:00 -05:00
Romain Guy
f4d67ca61d Merge "Don't ignore the parameters passed to the load methods." 2010-04-01 01:02:01 -07:00
Romain Guy
43d390085d Don't ignore the parameters passed to the load methods.
Change-Id: Id2090a2a0a39dc19b821ee6a01dd206de366397e
2010-04-01 01:01:17 -07:00