History log of /frameworks/base/core/java/android/widget/GridView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e56ffdc7b31b0937628609cc3bbaa15879023569 23-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #6427629 Clean up layout direction APIs

- rename getResolvedLayoutDirection() to getLayoutDirection()

Change-Id: I3afe56c0db0751952f5056c23893cb7455531d29
/frameworks/base/core/java/android/widget/GridView.java
75bea2e8d35044233ba892bedf102ed08406d653 26-Jul-2012 Scott Main <smain@google.com> am 7c00f816: am 2f5b61a7: Merge "docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch" into jb-dev

* commit '7c00f81606de1880c3f28e54cea064c3b90da3e7':
docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch
7c00f81606de1880c3f28e54cea064c3b90da3e7 25-Jul-2012 Scott Main <smain@google.com> am 2f5b61a7: Merge "docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch" into jb-dev

* commit '2f5b61a750e36169e37788a645f422cc8a8f7091':
docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch
4c359b76f9a030f92a302ba74a528faa170bad4e 25-Jul-2012 Scott Main <smain@google.com> docs: fix a bunch of links from javadocs to api guides
and add some attributes to Spinner and Switch

Change-Id: If015ad000c1a36e19904c132e98ebff1ceaf718b
/frameworks/base/core/java/android/widget/GridView.java
fce51d58739f05c9c4729a2d574024bea8bc8e91 18-Jun-2012 Jean-Baptiste Queru <jbq@google.com> am 98e955d2: am 20d6caf8: Merge "Fix issue #13366. Take account of stackFromBottom in computeVerticalScrollOffset()."

* commit '98e955d295441636ba19688e18a8223691256d2c':
Fix issue #13366. Take account of stackFromBottom in computeVerticalScrollOffset().
98e955d295441636ba19688e18a8223691256d2c 18-Jun-2012 Jean-Baptiste Queru <jbq@google.com> am 20d6caf8: Merge "Fix issue #13366. Take account of stackFromBottom in computeVerticalScrollOffset()."

* commit '20d6caf8888d4114b6ce79d93c7c9cf903ad8c22':
Fix issue #13366. Take account of stackFromBottom in computeVerticalScrollOffset().
bbf7b4cdcfbc5aa436500dad96e73f7a3b32e794 16-Jun-2012 Pieter-Jan Vandormael <ezelspinguin@gmail.com> Fix issue #13366. Take account of stackFromBottom in
computeVerticalScrollOffset().

Change-Id: I743708ef1ac05e358840f37010de36b7d0c6a346
Signed-off-by: Pieter-Jan Vandormael <ezelspinguin@gmail.com>
/frameworks/base/core/java/android/widget/GridView.java
a598720ad6ae21a07aaae50c9469dc3799c3fc30 09-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Make GridView widget aware of layout direction

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Id9ac26028c176e429a7f3ad76c0a428613e1afc8
/frameworks/base/core/java/android/widget/GridView.java
161abf3d44feebb8462f7d0cbee81574d666234b 24-May-2012 Adam Powell <adamp@google.com> Fix a bug with deferred position scrolling in lists while data changes
are pending

Save the pending position scroll until the data change is actually
serviced before posting it to run. This avoids handler loops on
GONE subtrees or when the view is detached.

Bug 6547649

Change-Id: Iab108cfcb7dd11ece703762d311a5f5985f38c3b
/frameworks/base/core/java/android/widget/GridView.java
1fa179ef41c06bd19da70fd9bf95741238791940 13-Apr-2012 Adam Powell <adamp@google.com> Fix some smooth scrolling bugs in lists and update on the animation
timer.

Change-Id: I0cb03c6da204a34c9e942c3953b87287c3d4763d
/frameworks/base/core/java/android/widget/GridView.java
0b7413d5d6239b7bc43816bea5187b323a633b11 21-Mar-2012 Adam Powell <adamp@google.com> GridView attribute updates

Bring GridView's API in sync with its supported style attributes.

Bug 6103758

Change-Id: Ib2c4d4d48061d23a7d886364965f0cb50c239e5d
/frameworks/base/core/java/android/widget/GridView.java
48774533f1cfe3036919a2f73631e07b7c284617 12-Mar-2012 Adam Powell <adamp@google.com> Respect default styles when constructing GridViews with 1-arg constructor

Fixes public bug http://code.google.com/p/android/issues/detail?id=26757

Change-Id: If78b6210485558c5630445bdd4d6312386aaf2b5
/frameworks/base/core/java/android/widget/GridView.java
aebd28f729fa28016d70551d0372ab7fcd56ee1a 22-Feb-2012 Adam Powell <adamp@google.com> Fix bug 6048643 - verify ListView layoutparams while tracking stable IDs

Account for adapters that don't inflate item views using the ListView as
a parent.

Unify how AbsListView and subclasses generate layoutparams.

Change-Id: I963a5fcb4d98b721210a4d92d0db307f56acdf59
/frameworks/base/core/java/android/widget/GridView.java
539ee8716b4f81260bab2e9f3dc5d88d81c99985 04-Feb-2012 Adam Powell <adamp@google.com> Add transient state tracking to Views

Transient state is temporary bookkeeping that Views need to perform
that the app should not need to be aware of. Examples include text
selection regions and animation state.

Transient state is a problem for AdapterViews like ListView that do
view recycling. Unless the app takes responsibility for tracking and
restoring transient state as if it were a part of the adapter's data
set, it cannot correctly recycle views. Selections disappear when an
EditText is scrolled out of sight and animations seem to play on the
wrong views.

Views can now flag themselves as having transient state. (As the name
implies, this should be a temporary condition.) If a ViewGroup
contains a child with transient state, that ViewGroup also has
transient state.

AbsListView's recycler now tracks views with transient state
separately. Views with transient state will be retained, and until a
data set change occurs the same view will be reused for that position
instead of calling the adapter's getView() method.

The API to set and check transient state is currently hidden.

Change-Id: Idfd8eaac2c548337686d8d9f98fda4c64be5b8a0
/frameworks/base/core/java/android/widget/GridView.java
0764dee89cc82dd53196cce2865d3cabafed208f 18-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "AccessibilityEvent/AccessibilityNodeInfo class name property should be set to only framework classes."
b967392e0170af8cfd8053fd43fcdf8c46f703e9 05-Jan-2012 Adam Cohen <adamcohen@google.com> Hinting RemoteViewsAdapter as to which views are visible

-> This prevents collection widgets from flashing loading
views when they are updated with new content

Change-Id: I1241ff9a09edfd990ad03f76449d18b9359246b4
/frameworks/base/core/java/android/widget/GridView.java
8a78fd4d9572dff95432fcc4ba0e87563415b728 17-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> AccessibilityEvent/AccessibilityNodeInfo class name property should be set to only framework classes.

AccessibilityEvent and AccessibilityNodeInfo have a property className which is set to the source
Java class. This is problematic since leads to leaking private classes which would allow an
accessibility service to load classes from other packages. This is strongly undesirable since
not trusted code can be loaded, and hence executed, in the accessibility service. To address
that the class name is set to the most concrete framework class extended by the info/event
source.

bug:5878943

Change-Id: I7b3114ece8772ea2773f5151e21b8a6f2006882a
/frameworks/base/core/java/android/widget/GridView.java
c0053223bedf33581b0830fb87be32c1f26e5372 13-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Add View.getResolvedLayoutDirection()

- update Callback2 interface
- update Gravity.getAbsoluteGravity() and Gravity.apply() to be more generic
by changing "boolean isRtl" parameter to "int layoutDirection"
- fix BiDiTests for RTL FrameLayout

Change-Id: I97bb456c22d5fd3ecb34f08564ce4dbed37e7459
/frameworks/base/core/java/android/widget/GridView.java
6a03640539405afbdefe72894759281b98aa6e6f 23-May-2011 Fabrice Di Meglio <fdimeglio@google.com> Add support for Gravity BEFORE and AFTER

- update layouts
- add Callback2 for RTL aware Drawable
- add unit tests

Change-Id: Ic64d0291e262170aff7297c6580b0b422eaa8d89
/frameworks/base/core/java/android/widget/GridView.java
84c6b95a7776ea5924a7c3e5a511c4df5c75924d 22-Feb-2011 Romain Guy <romainguy@google.com> Add documentation to GridView.

Change-Id: Ic81e498ad05f0c9c33580ecd6ce895ff1b6e00c4
/frameworks/base/core/java/android/widget/GridView.java
8d6d3b83fb765eefc6fd38de77f1f45d2523ab89 27-Jan-2011 Jeff Brown <jeffbrown@google.com> Fix down arrow in AutoCompleteTextView.

Bug: 3337416
Change-Id: I572d55c973b9adc68765ba02197e84f3558e65bc
/frameworks/base/core/java/android/widget/GridView.java
4e6319b73c85082e18d1c532b86336ddd1f8cfaa 13-Dec-2010 Jeff Brown <jeffbrown@google.com> Add initial support for TAB navigation.

Bug: 3286652
Change-Id: I813a0318b3b8d9c9bc791ea6a2427be11c08de00
/frameworks/base/core/java/android/widget/GridView.java
edd9508aba83a0e6ed49cce3840783c1c72d1430 08-Dec-2010 Adam Lesinski <adamlesinski@google.com> Modified GridView to report when to small

-With views being able to set MEASURED_STATE_TOO_SMALL
the GridView should do so when the determining its
column widths/stretch modes

Change-Id: Ib8433ffa9e489467ffe7ed8169d4e23d69658c6c
/frameworks/base/core/java/android/widget/GridView.java
189ee18d6c6483ad63cc864267328259e2e00b95 03-Dec-2010 Dianne Hackborn <hackbod@google.com> Implement smarter sizing of WRAP_CONTENT windows.

This extends the view hierarchy's measure pass to allow view to
propagate up to their parent additional information besides just
their measured size. They can now report that their measured width
and/or height should be larger than the size their parent is
limiting them to (even though by definition they need to contrain
their reported measurements to the limits imposed by the parent).

ViewRoot uses this information to determine if it should remeasure
the window with a larger size limit to try to make it fit.

Change-Id: I90af3b7a8ec45d0a5c003fb009857025209d83eb
/frameworks/base/core/java/android/widget/GridView.java
637d337b58d8eec6de19230a5dd5ca5581c0478d 25-Aug-2010 Adam Powell <adamp@google.com> Merge overscrolling from gingerbread.

Change-Id: I3eb4413261b38ddd8c609d6153bdfd4ae46c6a0f
/frameworks/base/core/java/android/widget/GridView.java
8c3e0fc84f69e9fe704dc20dd6c2bab1ce43fe93 18-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3207067 - adjust AbsListView content pop-in when clipToPadding=false

Known issue: Dividers are not drawn on top. This should be handled
once overscroll is merged in.

Change-Id: I778703601183f919e7c4345cfc4af6036b4ada4e
/frameworks/base/core/java/android/widget/GridView.java
2614c6c1f9fb19af21b901c16c443335bbc9d50b 05-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3167099 and bug 3009490 - GridView choice modes and
getCheckedItemCount after orientation change

Remove the restriction on choice modes for GridView - this is handled
by common code in AbsListView. Persist the checked item count in saved
instance state.

Change-Id: Iebb964bb3c43779c082a458ea3f2754ab694b69d
/frameworks/base/core/java/android/widget/GridView.java
079e23575024e103358c982152afb7a720ae1a8a 19-Oct-2010 Dianne Hackborn <hackbod@google.com> Add new fade in/out feature for drawable containers.

This is used to allow list view's pressed and activated indicators
to fade in an out, though of course it can be used elsewhere as well.

There is a lot of complexity in supporting this in list view. The
two main things that are being dealt with:

- When recycling views, we need to make sure that the view's drawable
state doesn't get animated from an old row's state. The recycler
now keeps track of which position a view was last in, and if it is
reused at a new position there is a new View/Drawable API to tell
it to jump to its current state instead of animating.

- For the pressed indicator to fade out, we need to keep displaying it
after it is hidden. There are new variables and code to keep track
of this state, and tweaks in various places to be able to remember
the last selected position and continue updating the drawable bounds
as needed.

Change-Id: Ic96aa1a3c05e519665abf3098892ff2cc4f0ef2f
/frameworks/base/core/java/android/widget/GridView.java
d0fa371f276fde32d81c037006941bc93da0bb03 15-Sep-2010 Dianne Hackborn <hackbod@google.com> Add a new "activated" state to View.

Use this in ListView and GridView if the top view is not checkable.

This allows PreferenceActivity to now highlight the current heading
that is being shown.

Change-Id: I0d28aded9a61a42962b4aece420ae4058712d963
/frameworks/base/core/java/android/widget/GridView.java
385a655b8e8bf85024e4f24f1d7f6c2d7d7e900d 21-Aug-2010 Scott Main <smain@google.com> am bb8d314b: am 70c9ffbc: am 11a72482: Merge "docs: add links from widget classes to tutorials" into froyo

Merge commit 'bb8d314b6c5ff9b51af29daa687d66dfd996914f'

* commit 'bb8d314b6c5ff9b51af29daa687d66dfd996914f':
docs: add links from widget classes to tutorials
64d50a67f44f6f8627b6d5203f0e3b26dc4f71e5 20-Aug-2010 Romain Guy <romainguy@google.com> GridView's pageScroll() would be offset by one item.

External issue #10580

Change-Id: Ie1b3ea8e1f7890b480d6ba8ff423024a5c4cd047
/frameworks/base/core/java/android/widget/GridView.java
41ec65355bd6ded652769725b276d47c54a0d913 20-Aug-2010 Scott Main <smain@google.com> docs: add links from widget classes to tutorials

Change-Id: I817e885524951853182b0458df4a32dea1614243
/frameworks/base/core/java/android/widget/GridView.java
f343e1ba7e796120eefa917dbf78348feea98e11 14-Aug-2010 Adam Powell <adamp@google.com> Add selection mode support to GridView.

Changed 9.xml to make update-api behave with the API change involved.
Several fields and methods moved from ListView to AbsListView. This
should not break source or binary compatibility.

Change-Id: Icad6e238522b8b7cc5bbc935ad89ac3e015572c1
/frameworks/base/core/java/android/widget/GridView.java
499cb9f516062b654952d282f211bee44c31a3c2 16-Jul-2010 Winson Chung <winsonc@google.com> Initial changes to allow collections in widgets.

Change-Id: I3cfa899bae88cd252912cecebc12e93c27a3b7c9
/frameworks/base/core/java/android/widget/GridView.java
df36b0579e1e550de3d66a20362717e49b23235c 20-May-2010 Romain Guy <romainguy@android.com> Prevent crash when changing adapter.
Bug #2697842

Change-Id: I3f94c7907c8881145638b9e9307458f1431d7e57
/frameworks/base/core/java/android/widget/GridView.java
8d9db8e4c774bb75bc8c08cc5309a7c0712ce017 14-May-2010 Andrew Sapperstein <asapperstein@google.com> Added getNumColumns function to GridView.java.

Change-Id: I1cec19c77d0ee47278d93c6b0a112edae777e4e9
/frameworks/base/core/java/android/widget/GridView.java
9d32d24dbd8a015c9d5c44ed4901d5a666eb8e7f 30-Mar-2010 Adam Powell <adamp@google.com> Remove overscrolling

Change-Id: I7e9db8d8a9b8ef67f0c0c82bf57c9155b7ebabea
/frameworks/base/core/java/android/widget/GridView.java
91c8613679959a5fde4f72fe6dd80023d9a1a9e7 27-Mar-2010 Romain Guy <romainguy@google.com> Don't assume there's a selected position in touch mode.
Bug #2520743

Bad GridView, bad!

Change-Id: Ideed32dc70a69c85df5afbf949e78b481e147b7f
/frameworks/base/core/java/android/widget/GridView.java
0bf88594c43ced48d862d122e3e84967b3b63658 02-Mar-2010 Romain Guy <romainguy@android.com> Make sure all list items know they are in a window.
Bug #2476671

If you had a ListView with a layout_height equals to WRAP_CONTENT, you would
get list children with a parent but not attached to the window. This was caused
by the onMeasure() code: that code was obtaining views from the adapter to
measure them and putting them in the recyler for later reuse. Unfortunately
the recycler assumes that views have been attached to the window but detached
from the parent, thus causing much grief. The fix simply forces measured views
to be added to the window the first time they come out of the recycler.

ListView, bow before me for I am your master!
/frameworks/base/core/java/android/widget/GridView.java
4cd47702f00a2fd6d6bc16c5398edb884d98bdca 25-Feb-2010 Adam Powell <adamp@google.com> HorizontalScrollView multitouch scroll and only grip on content
AbsListView multitouch scroll and only grip on content
/frameworks/base/core/java/android/widget/GridView.java
f2a204e792df5593cfe54efc95d04b7e764795c1 13-Feb-2010 Adam Powell <adamp@google.com> Added proper overscrolling scroll bar behavior to GridView
/frameworks/base/core/java/android/widget/GridView.java
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 09-Jan-2010 Romain Guy <romainguy@android.com> Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
/frameworks/base/core/java/android/widget/GridView.java
21875052adddf2b52bc57fea62bf097b8aa04cbf 07-Jan-2010 Romain Guy <romainguy@android.com> Fix two ListView bugs related to onAttachedToWindow/onDetachedFromWindow.
Bug: #2359368.

onDetachedFromWindow() would never be called for views living in the scrap heap, but onAttachedToWindow() could be called several times for views recycled from the scrap heap.
/frameworks/base/core/java/android/widget/GridView.java
8bcdc0764f2f569173863655f96cdec2aea2d0da 30-Sep-2009 Romain Guy <romainguy@android.com> Prevent NPE when doing a fillSpecific layout.

Change-Id: I67285c9a314400da11fdf158c413bf05fe6b982e
/frameworks/base/core/java/android/widget/GridView.java
b4c547a56caebb5900c132ec9d5ce953f89de14f 28-Sep-2009 Romain Guy <romainguy@android.com> Fix possible NPE in AbsListView.positionSelector().

ListView was being reckless and calling the method with a null object in some
situations.

Change-Id: Ibb595a1ff6f916c699e4af55450966dd7fd8c156
/frameworks/base/core/java/android/widget/GridView.java
f116bf8884b5b58aae261d148003811aa4a7c6e9 28-Sep-2009 Mike Cleron <mcleron@google.com> Fading scrollbars return. But you have to opt in.
/frameworks/base/core/java/android/widget/GridView.java
3616a412cbd620168fd87ce83978d83a9c0621c6 15-Sep-2009 Romain Guy <romainguy@android.com> Preserve ListView's pressed state when the adapter changes its content while the user is pressing an item.

Change-Id: Id5ac804a4053951430d16cf0d87fc7b64c816717
/frameworks/base/core/java/android/widget/GridView.java
51d154b82b5ed95edb0a869414ecbcd4faa6a62c 05-May-2009 Romain Guy <romainguy@android.com> Fixes #1603191. GridView could provoke NPEs during layout passes initiated from key events.
/frameworks/base/core/java/android/widget/GridView.java
4df2423a947bcd3f024cc3d3a1a315a8dc428598 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
/frameworks/base/core/java/android/widget/GridView.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/GridView.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/GridView.java
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/frameworks/base/core/java/android/widget/GridView.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/frameworks/base/core/java/android/widget/GridView.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/widget/GridView.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/widget/GridView.java