Scott Main
a51a6beeed
am 9e173ece: am 2213a4ac: am 462012db: am abdf0d53: docs: update search dev guide with SearcView widget
...
* commit '9e173ececf985c1dcd32e3cc2627499919fc329b':
docs: update search dev guide with SearcView widget
2011-03-14 15:19:21 -07:00
Scott Main
462012db70
am abdf0d53: docs: update search dev guide with SearcView widget
...
* commit 'abdf0d533c292709e51cee2c1213d5e44baca963':
docs: update search dev guide with SearcView widget
2011-03-14 14:36:56 -07:00
Michael Jurka
e3f075622d
Merge "Removing TextView predraw listeners sooner"
2011-03-14 14:23:47 -07:00
Michael Jurka
2b942d5329
Removing TextView predraw listeners sooner
...
Solves issue where the listeners were being run on every frame
2011-03-14 13:31:03 -07:00
Scott Main
abdf0d533c
docs: update search dev guide with SearcView widget
...
Change-Id: Ieb0ccdb78760a3c90df2381e647463f7532b0efc
2011-03-14 13:27:53 -07:00
Gilles Debunne
e1fb6ebd13
Merge "Removed empty block warnings in TextView"
2011-03-14 11:28:31 -07:00
Gilles Debunne
d40cc3c58a
Removed empty block warnings in TextView
...
Change-Id: Ieec52faa6fa7160fb3f8fca30cdd25125ccd51ee
2011-03-11 16:59:32 -08:00
Gilles Debunne
6a85508e94
Wrong null check in TextView
...
Bug 4087576
Change-Id: I907cb08b24b23715f3900bc076de2cc856650981
2011-03-11 16:51:41 -08:00
Gilles Debunne
05bb0105bf
Merge "Refactor in TextView's HandleViews."
2011-03-11 09:45:35 -08:00
Gilles Debunne
180bb1bf26
Refactor in TextView's HandleViews.
...
HandleView had a reference on its Controller, and Controller had
a reference to its HandleView.
This large refactoring breaks this dependency, creating smarter
HandleView subclasses that don't have to delegate to the controller
anymore.
Change-Id: I472621f747cdc78fd8b2bba84c0edc62cb2f6316
2011-03-10 16:55:28 -08:00
Gilles Debunne
52c7ba174b
Removed updateCursorControllerPositions hidden method.
...
This method is no longer needed since handles' positions are
updated in onPreDraw.
See CL 100549
Change-Id: I7f95d9850c866935c22ecc49c6f4ce89a87861ae
2011-03-10 10:50:09 -08:00
Gilles Debunne
9646145dec
Merge "Fixed TextView#onTextChanged documentation."
2011-03-10 10:21:20 -08:00
Gilles Debunne
4469e60e9e
Fixed TextView#onTextChanged documentation.
...
Bug https://code.google.com/p/android/issues/detail?id=14804
Change-Id: I3356800b680ff79cc2fe099845634bb8d9b96ec6
2011-03-09 17:20:36 -08:00
Adam Powell
8975157cd4
am 94929217: am 0175e945: Merge "Fix external bug http://code.google.com/p/android/issues/detail?id=15183 " into honeycomb-mr1
...
* commit '94929217ae3fd4c577ed8b0f0391958de95bfaec':
Fix external bug http://code.google.com/p/android/issues/detail?id=15183
2011-03-09 16:50:54 -08:00
Adam Powell
7ee1ff1450
Fix external bug http://code.google.com/p/android/issues/detail?id=15183
...
Prevent overflow in FastScroller indexing
Change-Id: I53f90feaefd49717a0bdaddcf9a4988318d40c7d
2011-03-09 16:35:13 -08:00
Amith Yamasani
ad8479ddcc
am f9b9bd53: am 1f111f11: Merge "Searchview layout cleanup. Some more tweaks required for Market." into honeycomb-mr1
...
* commit 'f9b9bd538d846d8931eb9cc4f05d51f4d19a318d':
Searchview layout cleanup. Some more tweaks required for Market.
2011-03-08 18:43:37 -08:00
Adam Cohen
00b9ea7daf
am d8bf8911: am f10615d8: Merge "Fixing inconsistency between invalidate region and draw region" into honeycomb-mr1
...
* commit 'd8bf89116b30a13ea48e3b057897ad83058095b1':
Fixing inconsistency between invalidate region and draw region
2011-03-08 18:41:29 -08:00
Romain Guy
cf0f9a0b62
am 1e415023: am 3d7796c1: Merge "Correctly handle opaque fading views Bug #3475554 " into honeycomb-mr1
...
* commit '1e415023ee4c8aef2bfcb51e4293e62eb32eb23f':
Correctly handle opaque fading views Bug #3475554
2011-03-08 18:41:15 -08:00
Amith Yamasani
1f111f1172
Merge "Searchview layout cleanup. Some more tweaks required for Market." into honeycomb-mr1
2011-03-08 16:34:11 -08:00
Amith Yamasani
79f7430bf9
Searchview layout cleanup. Some more tweaks required for Market.
...
Bug: 3321263
Submit area should be visible when the field has focus, irrespective of text content.
Make sure that the fields get highlighted when focused.
Also fix an issue with hint not being applied from the SearchableInfo.
Bug: 3470348
Change-Id: If399d9551f89312c19485e249043f5823a862499
2011-03-08 16:08:49 -08:00
Adam Cohen
f10615d8d8
Merge "Fixing inconsistency between invalidate region and draw region" into honeycomb-mr1
2011-03-08 14:59:51 -08:00
Adam Cohen
321aa2b025
Fixing inconsistency between invalidate region and draw region
...
Change-Id: I84458b31b4d3e8c305d64eb25e352fc4aba933d0
2011-03-08 14:13:29 -08:00
Romain Guy
2243e555b0
Correctly handle opaque fading views
...
Bug #3475554
Change-Id: Ia4915ada67046486103dfc6f08e4dac8564f85dd
2011-03-08 11:46:28 -08:00
Gilles Debunne
682e32b743
am 0a301f58: am 949d0c8c: Merge "Text handles positions\' are correctly updated." into honeycomb-mr1
...
* commit '0a301f58a2b09a3c8aa083574121d21f275f62b9':
Text handles positions' are correctly updated.
2011-03-08 10:27:47 -08:00
Gilles Debunne
949d0c8c38
Merge "Text handles positions' are correctly updated." into honeycomb-mr1
2011-03-08 10:21:54 -08:00
Gilles Debunne
716dbf63d4
Removed unnecessary memory allocation in TextView.
...
No other obvious unneeded memory allocation related to
text editing and selection was found.
Change-Id: I7d8c9210940982120caeb1e7b75d754557ebf6db
2011-03-07 18:19:36 -08:00
Gilles Debunne
cfc22c5332
Text handles positions' are correctly updated.
...
Bug 3510106
The CAB animation does not fire events, which does not update the
handles' positions.
The solution is to make the handle update their position before any
draw traversal, using an onPreDrawListener. The ScrollingPopupWindow
onScroll listener is no longer needed with this change. This is also
a more robust solution since other events (such as animations) may
change the TextView's position.
The cost is a recomputation of the Handles' positions at each redraw
which was not necessary with listeners. But as mentioned before, not
all possible events provide listeners or will in the future.
Change-Id: I0f46118de5f660a75d95eecb2cf987fcb4b3b322
2011-03-07 15:50:47 -08:00
Adam Powell
3ba8f5d675
Fix bug 4021346 - crash while navigating
...
Change-Id: Iff60c5f4214c56597f2a1b393982d023866e490e
2011-03-07 15:36:33 -08:00
Winson Chung
d452dbc2b6
Merge "Fixing issue where AppWidget service was being hit regardless of caching in RemoteViewsAdapter. (3467340)" into honeycomb-mr1
2011-03-07 10:21:11 -08:00
Winson Chung
7ab73e757a
Fixing issue where AppWidget service was being hit regardless of caching in RemoteViewsAdapter. (3467340)
...
Change-Id: Icbcbf6ef94a861d88243bd2d6587995991b53c82
2011-03-04 15:58:02 -08:00
Chet Haase
7840055f76
Fix problem with transparent background on Twitter app
...
ListViews whose items don't cover their entire content area should not
return true for isOpaque()
Change-Id: I9165c0315a49bb5774bdcd4c1b89c1be0ebfcebf
2011-03-04 09:08:07 -08:00
Bjorn Bringert
268c7111f6
Merge "Pass AppData to the app from SearchDialog queries."
2011-03-03 00:18:23 -08:00
Jim Miller
ffc4196c46
Fix 3502257: Fix glow calculation in EdgeGlow
...
Change-Id: I8e88c399c2b0dcba9f65d1bcf89fdddf432e4ed6
2011-03-02 20:50:58 -08:00
Amith Yamasani
940ef38c7c
Pass AppData to the app from SearchDialog queries.
...
Bug: 3494468
During migration of SearchDialog to use SearchView, the appdata was not
passed along. This fixes the loss.
Change-Id: Ia754086d2bb95294e1d29650a72e4fdddec9c899
2011-03-02 18:43:23 -08:00
Adam Powell
07d6f7bd75
Fix bug 3502257 - overscroll effect api
...
Change-Id: I3bf8bb653e96151c51fb94b4571a72b210615e62
2011-03-02 14:27:30 -08:00
Gilles Debunne
4797f020cd
DO NOT MERGE Cherry-pick of cd59febcea from master
...
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: If5015aaa2d5574939fd5d6c6362ed6db94d35d4a
2011-03-01 16:46:36 -08:00
Adam Powell
549d2b15b5
Merge "Fix bug 3501411 - ListView should ignore "up" events outside of its view"
2011-03-01 15:41:58 -08:00
Adam Powell
498e43dd8e
Fix bug 3501411 - ListView should ignore "up" events outside of its view
...
Do not dispatch item clicks if the up event occurs completely outside
of list bounds.
Change-Id: I2bc38040bcc98944e1449affcdbd75e0194637cf
2011-03-01 15:39:53 -08:00
Adam Cohen
e0d23e6fdc
Merge "Adding mouse scroll wheel support to StackView"
2011-03-01 15:27:19 -08:00
Adam Cohen
a8a7c92b36
Adding mouse scroll wheel support to StackView
...
Change-Id: I8ae5039606b3080059cea579547f6c61586641e3
2011-03-01 14:48:53 -08:00
Gilles Debunne
91b52b1895
Merge "AbsListView notifies scroll events to the ViewTreeObserver."
2011-03-01 13:55:16 -08:00
Gilles Debunne
0a1b818b8c
AbsListView notifies scroll events to the ViewTreeObserver.
...
ViewTreeObserver OnScrollChangedListener will then get notified.
The scroll values are not specified, since they are passed to the
base View.onScrollChanged method that simply sets the flags.
No need to throw these from a Runnable (in case this happens during
a relayout) since the listeners will be notified later from ViewRoot.draw().
Calling View.onScrollChanged in invokeOnItemScrollListener for normal scroll and
in onOverScrolled to handle mScroller animation.
Change-Id: Ib41434e5cd82e5a45ca6653db576746e89ef072d
2011-03-01 10:58:22 -08:00
Gilles Debunne
5bf7658cb8
Merge "Removed ViewTreeObserver null checks"
2011-03-01 10:50:00 -08:00
Gilles Debunne
0357e5b2fe
Merge "Scrollable tabs are correctly displayed."
2011-03-01 10:49:23 -08:00
Adam Powell
3e5e6aced9
Fix bug 3497341 - take list padding into account when drawing
...
ExpandableListView indicators
Change-Id: Idf4d4f28f495a453b871ac7dbe7059f38812ff87
2011-02-28 21:57:42 -08:00
Gilles Debunne
52a5e65883
Scrollable tabs are correctly displayed.
...
Bug 3495561
Change-Id: I1fe4962ddbe2435c335c76769d37f57f4b30a3b3
2011-02-28 18:41:46 -08:00
Adam Powell
f37fccd9d8
Merge "Change behavior of multitouch in scrolling views."
2011-02-28 18:16:14 -08:00
Adam Powell
9bc30d3132
Change behavior of multitouch in scrolling views.
...
New pointers touching the screen always become the active pointer.
Still to do: allow flings until another pointer moves enough to stop
it. Currently flings will be immediately stopped by the other pointers
still contacting the screen.
Change-Id: Ic1c7bf98dcf40252593cec0ab1f0d524aaeed8e4
2011-02-28 18:15:23 -08:00
Jeff Brown
bb57948049
Merge "Fix inverted scrolling condition in lists."
2011-02-28 17:50:33 -08:00
Jeff Brown
275d8238da
Fix inverted scrolling condition in lists.
...
Change-Id: Iaf0de1f7cad565b59e8347cb3634cb620d8016b0
2011-02-28 14:50:02 -08:00