Lines Matching refs:mTargets
69 private final ArrayList<SnapTarget> mTargets = new ArrayList<>();
135 mFirstSplitTarget = mTargets.get(1);
136 mLastSplitTarget = mTargets.get(mTargets.size() - 2);
137 mDismissStartTarget = mTargets.get(0);
138 mDismissEndTarget = mTargets.get(mTargets.size() - 1);
139 mMiddleTarget = mTargets.get(mTargets.size() / 2);
252 int size = mTargets.size();
254 SnapTarget target = mTargets.get(i);
264 return mTargets.get(minIndex);
268 mTargets.clear();
277 mTargets.add(new SnapTarget(startPos, startPos, SnapTarget.FLAG_DISMISS_START,
293 mTargets.add(new SnapTarget(dividerMax - navBarSize, dividerMax,
338 mTargets.add(new SnapTarget(position, position, SnapTarget.FLAG_NONE));
345 mTargets.add(new SnapTarget(position, position, SnapTarget.FLAG_NONE));
359 mTargets.add(new SnapTarget(position, position, SnapTarget.FLAG_NONE));
367 int index = mTargets.indexOf(snapTarget);
368 if (index != -1 && index < mTargets.size() - 1) {
369 return mTargets.get(index + 1);
375 int index = mTargets.indexOf(snapTarget);
377 return mTargets.get(index - 1);
387 return (mTargets.size() - 2) > 1;
403 int index = mTargets.indexOf(snapTarget);
405 SnapTarget newTarget = mTargets.get((index + mTargets.size() + increment)
406 % mTargets.size());