OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:selectedPosition
(Results
1 - 11
of
11
) sorted by null
/frameworks/base/core/java/android/widget/
GridView.java
332
final int
selectedPosition
= mSelectedPosition;
337
boolean selected = pos ==
selectedPosition
;
431
final int
selectedPosition
= reconcileSelectedPosition();
439
rowStart =
selectedPosition
- (
selectedPosition
% numColumns);
441
final int invertedSelection = mItemCount - 1 -
selectedPosition
;
684
final int
selectedPosition
= mSelectedPosition;
692
rowStart =
selectedPosition
- (
selectedPosition
% numColumns);
694
int invertedSelection = mItemCount - 1 -
selectedPosition
;
[
all
...]
AbsSpinner.java
187
int
selectedPosition
= getSelectedItemPosition();
188
if (
selectedPosition
>= 0 && mAdapter != null &&
selectedPosition
< mAdapter.getCount()) {
190
View view = mRecycler.get(
selectedPosition
);
193
view = mAdapter.getView(
selectedPosition
, null, this);
202
mRecycler.put(
selectedPosition
, view);
ListView.java
808
final int
selectedPosition
= mSelectedPosition;
813
selectedPosition
);
815
selectedPosition
);
817
sel = makeAndAddView(
selectedPosition
, selectedTop, true, mListPadding.left, true);
848
fillAboveAndBelow(sel,
selectedPosition
);
864
* @param
selectedPosition
The position that will be selected
868
int
selectedPosition
) {
870
if (
selectedPosition
!= mItemCount - 1) {
881
* @param
selectedPosition
The position that will be selected
884
private int getTopSelectionPixel(int childrenTop, int fadingEdgeLength, int
selectedPosition
) {
[
all
...]
CalendarView.java
[
all
...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
AbsSpinnerICS.java
173
int
selectedPosition
= getSelectedItemPosition();
174
if (
selectedPosition
>= 0 && mAdapter != null &&
selectedPosition
< mAdapter.getCount()) {
176
View view = mRecycler.get(
selectedPosition
);
179
view = mAdapter.getView(
selectedPosition
, null, this);
184
mRecycler.put(
selectedPosition
, view);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAdapterView.java
32
private int
selectedPosition
;
165
return
selectedPosition
;
228
selectedPosition
= position;
230
if (
selectedPosition
>= 0) {
/packages/apps/Contacts/src/com/android/contacts/list/
ContactBrowseListFragment.java
456
final int
selectedPosition
= adapter.getSelectedContactPosition();
457
if (
selectedPosition
!= -1) {
458
mLastSelectedPosition =
selectedPosition
;
513
requestSelectionToScreen(
selectedPosition
);
561
protected void requestSelectionToScreen(int
selectedPosition
) {
562
if (
selectedPosition
!= -1) {
565
selectedPosition
+ listView.getHeaderViewsCount(), mSmoothScrollRequested);
/packages/apps/Calendar/src/com/android/calendar/month/
SimpleWeekView.java
504
int
selectedPosition
= mSelectedDay - mWeekStart;
505
if (
selectedPosition
< 0) {
506
selectedPosition
+= 7;
509
selectedPosition
++;
511
mSelectedLeft =
selectedPosition
* (mWidth - mPadding * 2) / mNumCells
513
mSelectedRight = (
selectedPosition
+ 1) * (mWidth - mPadding * 2) / mNumCells
MonthWeekEventsView.java
[
all
...]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DayPickerView.java
193
int
selectedPosition
;
195
selectedPosition
= getPositionForView(child);
197
selectedPosition
= 0;
209
if (position !=
selectedPosition
|| forceScroll) {
/packages/apps/Contacts/src/com/android/contacts/group/
GroupBrowseListFragment.java
263
int
selectedPosition
= mAdapter.getSelectedGroupPosition();
264
if (
selectedPosition
!= -1) {
265
mListView.requestPositionToScreen(
selectedPosition
,
Completed in 303 milliseconds