OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:firstVisibleItem
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
GridScrollListenerTest.java
63
int
firstVisibleItem
= mFirstVisibleItem;
69
assertTrue("Arrow scroll did not happen", mFirstVisibleItem >
firstVisibleItem
);
71
firstVisibleItem
= mFirstVisibleItem;
75
assertTrue("Page scroll did not happen", mFirstVisibleItem >
firstVisibleItem
);
77
firstVisibleItem
= mFirstVisibleItem;
86
assertTrue("Full scroll did not happen", mFirstVisibleItem >
firstVisibleItem
);
95
int
firstVisibleItem
= mFirstVisibleItem;
98
assertTrue("Touch scroll did not happen", mFirstVisibleItem >
firstVisibleItem
);
102
public void onScroll(AbsListView view, int
firstVisibleItem
, int visibleItemCount, int totalItemCount) {
103
mFirstVisibleItem =
firstVisibleItem
;
[
all
...]
/frameworks/base/core/tests/coretests/src/android/widget/listview/
ListScrollListenerTest.java
62
int
firstVisibleItem
= mFirstVisibleItem;
67
assertTrue("Arrow scroll did not happen", mFirstVisibleItem >
firstVisibleItem
);
69
firstVisibleItem
= mFirstVisibleItem;
72
assertTrue("Page scroll did not happen", mFirstVisibleItem >
firstVisibleItem
);
74
firstVisibleItem
= mFirstVisibleItem;
83
assertTrue("Full scroll did not happen", mFirstVisibleItem >
firstVisibleItem
);
90
int
firstVisibleItem
= mFirstVisibleItem;
93
assertTrue("Touch scroll did not happen", mFirstVisibleItem >
firstVisibleItem
);
97
public void onScroll(AbsListView view, int
firstVisibleItem
, int visibleItemCount, int totalItemCount) {
98
mFirstVisibleItem =
firstVisibleItem
;
[
all
...]
/packages/apps/Calendar/src/com/android/calendar/agenda/
AgendaListView.java
384
View
firstVisibleItem
= getFirstVisibleView();
386
if (
firstVisibleItem
!= null) {
388
firstVisibleItem
.getLocalVisibleRect(r);
391
int position = getPositionForView(
firstVisibleItem
);
394
if (
firstVisibleItem
.getTag() instanceof AgendaAdapter.ViewHolder) {
395
ViewHolder viewHolder = (AgendaAdapter.ViewHolder)
firstVisibleItem
.getTag();
398
} else if (
firstVisibleItem
.getTag() instanceof AgendaByDayAdapter.ViewHolder) {
400
(AgendaByDayAdapter.ViewHolder)
firstVisibleItem
.getTag();
403
} else if (
firstVisibleItem
instanceof TextView) {
/frameworks/base/core/java/android/widget/
FastScroller.java
460
final int
firstVisibleItem
= mList.getFirstVisiblePosition();
461
setThumbPos(getPosFromItemCount(
firstVisibleItem
, childCount, itemCount));
837
public void onScroll(int
firstVisibleItem
, int visibleItemCount, int totalItemCount) {
845
setThumbPos(getPosFromItemCount(
firstVisibleItem
, visibleItemCount, totalItemCount));
850
if (mFirstVisibleItem !=
firstVisibleItem
) {
851
mFirstVisibleItem =
firstVisibleItem
;
[
all
...]
Completed in 89 milliseconds