Alan Viverette
f1f8f318bb
Merge "Set transient state for focus container in ListView"
2013-07-18 22:06:22 +00:00
Alan Viverette
d44696c4cf
Set transient state for focus container in ListView
...
BUG: 9860185
Change-Id: I0c7035e5992c56110a0cc5c94aa778bbb999deea
2013-07-18 10:37:15 -07:00
Chet Haase
7a46dde1ae
Changed name of recent hasLayout() method to isLaidOut()
...
This new method on view reflects whether the view has been laid out
at least once since it was attached. hasLayout() seems too vague for that
meaning; every View that has a parent has a layout (since we use container,
parent, and layout interchangeably). The new version of the method
is closer to the actual meaning.
Change-Id: I519745739b6a6317faeb077aa61f994025cf81f3
2013-07-17 10:22:53 -07:00
Adam Powell
f52ae147fb
am 42658ed5: am 30ad7203: Merge "Consider mScrollX when drawing the checkMarkDrawable"
...
* commit '42658ed5182a75b82dd2b970a1f97fc30407d1e3':
Consider mScrollX when drawing the checkMarkDrawable
2013-07-16 17:12:49 -07:00
Adam Powell
42658ed518
am 30ad7203: Merge "Consider mScrollX when drawing the checkMarkDrawable"
...
* commit '30ad720304790b07112b87f973a7e6ed5e1e6ee5':
Consider mScrollX when drawing the checkMarkDrawable
2013-07-16 17:06:36 -07:00
Adam Powell
30ad720304
Merge "Consider mScrollX when drawing the checkMarkDrawable"
2013-07-17 00:04:28 +00:00
Alan Viverette
447cdf2c06
Add disabled state to FastScroller.
...
BUG: 9759511
Change-Id: I555f501b33029665d94a493ee5cab5741c843328
2013-07-15 17:47:34 -07:00
Romain Guy
5fade8c69a
Trace list view items management
...
Change-Id: If43ce115679c2bcacad26d6f59e3bfb655abff6e
2013-07-10 16:40:30 -07:00
Chet Haase
7df754e712
Remove unnecessary drawable code in CompoundButton
...
Some of the code in setButtonDrawable() was unnecessary, resetting
the button drawable state and then refreshing it. This caused many redundant
calls, which can add up, especially during inflation.
Change-Id: I873cf5eef697b5435a1b827cd68e5d836ee25124
2013-07-10 07:46:24 -07:00
Jean-Baptiste Queru
414b02380d
resolved conflicts for merge of 9058a6c8 to master
...
Change-Id: I361773dac17a551dd7b4c0b0e4e649ddf7612d90
2013-07-08 15:02:41 -07:00
Jean-Baptiste Queru
9058a6c881
am 7e683ec6: am fa42e774: Merge "FastScroller: Fix to use appropriate index"
...
* commit '7e683ec6a53b1581671ce72782e7b25a0ae705d0':
FastScroller: Fix to use appropriate index
2013-07-08 14:43:01 -07:00
Jean-Baptiste Queru
7e683ec6a5
am fa42e774: Merge "FastScroller: Fix to use appropriate index"
...
* commit 'fa42e774bc48c3172023c8c49610baa469c19e39':
FastScroller: Fix to use appropriate index
2013-07-08 14:28:45 -07:00
Jean-Baptiste Queru
fa42e774bc
Merge "FastScroller: Fix to use appropriate index"
2013-07-08 21:24:06 +00:00
Jean-Baptiste Queru
bb4991e6eb
am db550fc9: am 0e545bf5: am 9775203b: Merge "SectionIndexer: Update Javadoc for ExpandableListAdapters"
...
* commit 'db550fc900eaf3a5a845dcd0c0bb0ead2b1582d6':
SectionIndexer: Update Javadoc for ExpandableListAdapters
2013-07-08 12:44:50 -07:00
Jean-Baptiste Queru
db550fc900
am 0e545bf5: am 9775203b: Merge "SectionIndexer: Update Javadoc for ExpandableListAdapters"
...
* commit '0e545bf5502fde4fe2c96377829bd4c3f7c2d727':
SectionIndexer: Update Javadoc for ExpandableListAdapters
2013-07-08 12:40:28 -07:00
Jean-Baptiste Queru
0e545bf550
am 9775203b: Merge "SectionIndexer: Update Javadoc for ExpandableListAdapters"
...
* commit '9775203b610267bf8cecaf7c00db68b73b529ced':
SectionIndexer: Update Javadoc for ExpandableListAdapters
2013-07-08 12:37:27 -07:00
Jean-Baptiste Queru
9775203b61
Merge "SectionIndexer: Update Javadoc for ExpandableListAdapters"
2013-07-08 19:35:36 +00:00
Jean-Baptiste Queru
f5d6e24736
am 51ec7f37: am da52b9a2: am 8113b17c: Merge "Fixed incorrect calculation of dirty invalidation area"
...
* commit '51ec7f3725877a45b518299f279a68e6f5ea8e59':
Fixed incorrect calculation of dirty invalidation area
2013-07-02 15:02:17 -07:00
Jean-Baptiste Queru
51ec7f3725
am da52b9a2: am 8113b17c: Merge "Fixed incorrect calculation of dirty invalidation area"
...
* commit 'da52b9a28756e67daa03654953678dfa08e0ca5d':
Fixed incorrect calculation of dirty invalidation area
2013-07-02 15:00:01 -07:00
Jean-Baptiste Queru
da52b9a287
am 8113b17c: Merge "Fixed incorrect calculation of dirty invalidation area"
...
* commit '8113b17c473367bd1be7db707fc5b94121cb09e5':
Fixed incorrect calculation of dirty invalidation area
2013-07-02 14:58:22 -07:00
Johan Viktorsson
e9018f7716
Fixed incorrect calculation of dirty invalidation area
...
Padding was already taken into consideration before calling
invalidateDrawable in ProgressBar.
Change-Id: Id7f23bd15bb19e2294c07adb2acb397100ea97e8
2013-07-01 13:43:19 +09:00
Alan Viverette
57b867f3f5
Merge "Minor ListView clean up. Exposes View.pointInView() as hidden API."
2013-06-26 22:12:28 +00:00
Alan Viverette
3d15a2b8f4
Minor ListView clean up. Exposes View.pointInView() as hidden API.
...
Change-Id: Ia628f8438fac5af2471efd8558c8876fae3dafb0
2013-06-25 17:27:37 -07:00
Alan Viverette
6b40cc7f8a
Fix FastScroller for single-section lists and untitled sections.
...
Change-Id: I121d9427e87e1a9e09562642f6aa621fc1cc849a
2013-06-25 16:41:52 -07:00
Alan Viverette
db759c3f02
Merge "Implement FastScroller as an animated overlay."
2013-06-24 17:23:19 +00:00
Alan Viverette
0ebe81e8b1
Implement FastScroller as an animated overlay.
...
Bug: 9372090
Change-Id: I46cb67ef0482a4c8f721248d5f5e2e692144c3a1
2013-06-21 17:01:36 -07:00
Fabrice Di Meglio
1cc0a6514f
Merge "Fix potential NPE if there is no child in HorizontalScrollView"
2013-06-18 23:55:01 +00:00
Fabrice Di Meglio
f2fb76cc23
Fix potential NPE if there is no child in HorizontalScrollView
...
- related to the previous change for saving the scroll position
- also related to bug #9463581 NPE observed while launching News&Weather app from all apps tray
Change-Id: I9f2f8a246e793eefa1cf510e15a56a1058fb9c18
2013-06-18 15:49:16 -07:00
Fabrice Di Meglio
012416fdbb
Merge "Fix bug #9463581 NPE observed while launching News&Weather app from all apps tray"
2013-06-18 21:54:49 +00:00
Fabrice Di Meglio
d6d543977d
Fix bug #9463581 NPE observed while launching News&Weather app from all apps tray
...
- dont suppose that there will always be one child
Change-Id: I51c5cdf06294af25c992cfbaacabbc29dd1b9ad3
2013-06-18 14:09:07 -07:00
Adam Powell
90f339a5a3
Don't save ScrollView/HorizontalScrollView saved state for old apps
...
Older apps may have given IDs to ScrollViews and views of a different
class in layouts that vary by configuration. Now that ScrollViews save
state this causes ClassCastExceptions when trying to restore instance
state.
Only save new instance state for ScrollView/HorizontalScrollView for
apps targeting post-API 18.
Change-Id: Icaa095cd20bef35dddc225a17c5a8e30b3faea02
2013-06-13 17:44:04 -07:00
Alan Viverette
7d8885df35
Merge "Ensure page up/down always moves to first/last selectable item."
2013-06-13 20:32:20 +00:00
Alan Viverette
af9c5ea240
Ensure page up/down always moves to first/last selectable item.
...
Bug: 5088505
Change-Id: Ie73705f46602003b1c02fa08427dc940ad9f9b8a
2013-06-13 13:27:59 -07:00
Dave Burke
2ce9bae80c
am bafc8dcf: am 34bc73df: Merge "Revert "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"" into jb-mr2-dev
...
* commit 'bafc8dcf690776ec7fdcf26518f3aff47724871d':
Revert "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"
2013-06-12 21:13:51 -07:00
Dave Burke
bafc8dcf69
am 34bc73df: Merge "Revert "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"" into jb-mr2-dev
...
* commit '34bc73dff1f0c8402da3fc9bd1f0175bddcaa842':
Revert "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"
2013-06-12 21:11:12 -07:00
Fabrice Di Meglio
f649a06e6b
Merge "Fix bug #9302365 HorizontalScrollView is not RTL aware"
2013-06-13 01:32:45 +00:00
Fabrice Di Meglio
fafe88c3d9
Fix bug #9302365 HorizontalScrollView is not RTL aware
...
- follow up for cleaning the state
Change-Id: I850d0da5ff8813d1c7a6f2277bddba1b8ccc07ec
2013-06-12 18:18:08 -07:00
Fabrice Di Meglio
b57e2e3872
Merge "Save Scroller position"
2013-06-13 00:54:37 +00:00
Fabrice Di Meglio
d6befbdd17
Save Scroller position
...
- add SaveState with scroll position and use it during the first layout
Change-Id: I0806ddb9c52d70d32055f4b474d21f6e2e5a4ea8
2013-06-12 17:42:14 -07:00
Adam Powell
fc93d0c108
Revert "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"
...
This reverts commit ef2277ec58 .
This caused a regression for some apps relying on the old behavior.
Bug 9372495
2013-06-12 17:38:25 -07:00
Fabrice Di Meglio
4d5c4e21d3
Merge "Fix bug #9302365 HorizontalScrollView is not RTL aware"
2013-06-13 00:27:13 +00:00
Fabrice Di Meglio
c4d712237c
Fix bug #9302365 HorizontalScrollView is not RTL aware
...
- make FrameLayout capable of forcing a Gravity.LEFT (when there will be
only one child with Gravity.RIGHT and wider than its parent like for
HorizontalScrollView)
- fix onLayout() so that it is forcing Gravity.LEFT if needed and
setting correctly the initial mScrollX
- also add restore/save from an instance state (by saving if the layout
is RTL and the scroll position)
Change-Id: Ida7ff4654c6a54a1696c2575af46f044dd1aabc8
2013-06-12 16:54:31 -07:00
Alan Viverette
4602a709d8
Merge "Allow adding headers and footers to ListView after setAdapter()."
2013-06-12 21:12:54 +00:00
Alan Viverette
72e2f2a940
Allow adding headers and footers to ListView after setAdapter().
...
Bug: 6110394
Change-Id: I0238ff91b6ae3159b2350d5210545425ac7340f3
2013-06-12 12:56:29 -07:00
Alan Viverette
a6954f7e12
Merge "Add getters for ListView header & footer divider drawing attrs."
2013-06-12 19:49:13 +00:00
Alan Viverette
a420b53d37
Merge "Clean up FastScroller. Expand overlay to fit text content."
2013-06-12 19:48:53 +00:00
Alan Viverette
5542103589
Add getters for ListView header & footer divider drawing attrs.
...
Bug: 6104055
Change-Id: I874d631ec6fbb0e99790a3f37d00d589c1d63d34
2013-06-11 17:50:56 -07:00
Svetoslav
6b1d5a4ff2
Merge "Notification for changed subtree in accessibility mode not fired properly."
2013-06-10 19:55:39 +00:00
Svetoslav
00dbe81fea
Notification for changed subtree in accessibility mode not fired properly.
...
We fire notifications that the a view subtree changed for accessibility.
In some cases the notifications were fired if accessibility is not
enabled. This is now fixed. Also the runnable for making the recurring
subtree change was not dequeued if it was pending but we received a
request which we decided to run immediately.
bug:9337912
Change-Id: I27401b3d11f81c653e8761a704ee530263b08c3a
2013-06-10 12:51:14 -07:00
Romain Guy
f38fd87844
am 7a6e1297: am 8d8fc469: Merge "Don\'t orphan footers with transient state Bug #8725945 " into jb-mr2-dev
...
* commit '7a6e129759672f0c1b0ce462d389c0f469e7348f':
Don't orphan footers with transient state Bug #8725945
2013-06-10 11:12:09 -07:00