OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mFirstPosition
(Results
1 - 6
of
6
) sorted by null
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
RecyclerViewActivity.java
98
private int
mFirstPosition
;
124
for (int i = 0;
mFirstPosition
+ i < count && top < parentBottom; i++, top = bottom) {
125
View v = recycler.getViewForPosition(
mFirstPosition
+ i);
161
if (
mFirstPosition
> 0 && scrolled > dy) {
162
mFirstPosition
--;
163
View v = recycler.getViewForPosition(
mFirstPosition
);
182
if (scrolled < dy && state.getItemCount() >
mFirstPosition
+ getChildCount()) {
183
View v = recycler.getViewForPosition(
mFirstPosition
+ getChildCount());
213
while (
mFirstPosition
> 0 && newViewsHeight < mScrollDistance) {
214
mFirstPosition
--
[
all
...]
AnimatedRecyclerView.java
426
private int
mFirstPosition
;
459
for (int i = 0;
mFirstPosition
+ i < count && top < parentBottom; i++, top = bottom) {
460
View v = recycler.getViewForPosition(
mFirstPosition
+ i);
496
if (position <
mFirstPosition
) {
497
newTop = view.getHeight() * (position -
mFirstPosition
);
536
if (
mFirstPosition
> 0 && scrolled > dy) {
537
mFirstPosition
--;
538
View v = recycler.getViewForPosition(
mFirstPosition
);
556
if (scrolled < dy && state.getItemCount() >
mFirstPosition
+ getChildCount()) {
557
View v = recycler.getViewForPosition(
mFirstPosition
+ getChildCount())
[
all
...]
/frameworks/base/core/java/android/widget/
AdapterView.java
71
int
mFirstPosition
= 0;
643
return
mFirstPosition
+ i;
659
return
mFirstPosition
;
669
return
mFirstPosition
+ getChildCount() - 1;
[
all
...]
/packages/apps/Gallery2/src/com/android/photos/views/
GalleryThumbnailView.java
66
private int
mFirstPosition
;
187
fillRight(
mFirstPosition
+ getChildCount(), 0);
188
fillLeft(
mFirstPosition
- 1, 0);
399
overhang = fillLeft(
mFirstPosition
- 1, allowOverhang);
402
overhang = fillRight(
mFirstPosition
+ getChildCount(), allowOverhang);
435
* is always the view corresponding to position
mFirstPosition
+ i.
473
mFirstPosition
++;
528
mFirstPosition
= pos + 1;
671
mFirstPosition
= 0;
/packages/apps/PackageInstaller/src/android/support/wearable/view/
WearableListView.java
824
private int
mFirstPosition
;
[
all
...]
/frameworks/ex/widget/java/com/android/ex/widget/
StaggeredGridView.java
67
* -
mFirstPosition
is the adapter position of the View returned by getChildAt(0).
68
* - Any child index can be translated to an adapter position by adding
mFirstPosition
.
69
* - Any adapter position can be translated to a child index by subtracting
mFirstPosition
.
70
* - Views for items in the range [
mFirstPosition
,
mFirstPosition
+ getChildCount()) are
115
private int
mFirstPosition
;
275
return
mFirstPosition
;
398
overhang = fillUp(
mFirstPosition
- 1, allowOverhang);
401
overhang = fillDown(
mFirstPosition
+ getChildCount(), allowOverhang) + mItemMargin;
432
if (
mFirstPosition
!= 0 || getChildCount() != mItemCount)
[
all
...]
Completed in 140 milliseconds