OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mFirstPosition
(Results
1 - 14
of
14
) sorted by null
/development/samples/Support7Demos/src/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
194
private int
mFirstPosition
;
227
for (int i = 0;
mFirstPosition
+ i < count && top < parentBottom; i++, top = bottom) {
228
View v = recycler.getViewForPosition(
mFirstPosition
+ i);
264
if (position <
mFirstPosition
) {
265
newTop = view.getHeight() * (position -
mFirstPosition
);
304
if (
mFirstPosition
> 0 && scrolled > dy) {
305
mFirstPosition
--;
306
View v = recycler.getViewForPosition(
mFirstPosition
);
324
if (scrolled < dy && state.getItemCount() >
mFirstPosition
+ getChildCount()) {
325
View v = recycler.getViewForPosition(
mFirstPosition
+ getChildCount())
[
all
...]
/frameworks/base/core/java/android/widget/
ListView.java
222
if (
mFirstPosition
!= 0) {
236
if (
mFirstPosition
+ childCount < mItemCount) {
556
return (
mFirstPosition
> 0) || (getChildAt(0).getTop() > listTop);
565
final int lastVisiblePosition =
mFirstPosition
+ childCount - 1;
666
fillDown(
mFirstPosition
+ count, startOffset);
675
fillUp(
mFirstPosition
- 1, startOffset);
711
setVisibleRangeHint(
mFirstPosition
,
mFirstPosition
+ getChildCount() - 1);
744
mFirstPosition
= pos + 1;
745
setVisibleRangeHint(
mFirstPosition
, mFirstPosition + getChildCount() - 1)
[
all
...]
Gallery.java
179
* If true,
mFirstPosition
is the position of the rightmost child, and
422
View extremeChild = getChildAt(extremeItemPosition -
mFirstPosition
);
486
int firstPosition =
mFirstPosition
;
527
mFirstPosition
+= count;
605
int newPos =
mFirstPosition
+ newSelectedChildIndex;
664
*
mFirstPosition
will be decreased as we add views to the left later
667
mFirstPosition
= mSelectedPosition;
711
curPosition =
mFirstPosition
+ numChildren;
715
mFirstPosition
= curPosition = mItemCount - 1;
740
curPosition =
mFirstPosition
- 1
[
all
...]
GridView.java
263
int position =
mFirstPosition
+ count;
276
int position =
mFirstPosition
;
319
setVisibleRangeHint(
mFirstPosition
,
mFirstPosition
+ getChildCount() - 1);
414
mFirstPosition
= pos;
420
mFirstPosition
= Math.max(0, pos + 1);
423
setVisibleRangeHint(
mFirstPosition
,
mFirstPosition
+ getChildCount() - 1);
428
* Fills the list from top to bottom, starting with
mFirstPosition
436
mFirstPosition
= Math.min(mFirstPosition, mSelectedPosition)
[
all
...]
AdapterView.java
69
int
mFirstPosition
= 0;
628
return
mFirstPosition
+ i;
644
return
mFirstPosition
;
654
return
mFirstPosition
+ getChildCount() - 1;
[
all
...]
AbsSpinner.java
256
final int position =
mFirstPosition
;
271
boolean shouldAnimate = animate &&
mFirstPosition
<= position &&
272
position <=
mFirstPosition
+ getChildCount() - 1;
306
return getChildAt(mSelectedPosition -
mFirstPosition
);
356
return
mFirstPosition
+ i;
AbsListView.java
[
all
...]
ExpandableListView.java
389
for (int i = 0, childFlPos =
mFirstPosition
- headerViewsCount; i < childCount;
522
int flatListPosition = childIndex +
mFirstPosition
;
[
all
...]
ListPopupWindow.java
[
all
...]
Spinner.java
635
mFirstPosition
= mSelectedPosition;
[
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;
/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
...]
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
StaggeredGridView.java
91
* -
mFirstPosition
is the adapter position of the View returned by getChildAt(0).
92
* - Any child index can be translated to an adapter position by adding
mFirstPosition
.
93
* - Any adapter position can be translated to a child index by subtracting
mFirstPosition
.
94
* - Views for items in the range [
mFirstPosition
,
mFirstPosition
+ getChildCount()) are
188
private int
mFirstPosition
;
477
* guards against jagged edges and just layout views on the screen starting from
mFirstPosition
830
return mAdapter.isDraggable(
mFirstPosition
+ i);
[
all
...]
Completed in 3305 milliseconds