OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:selectedPosition
(Results
1 - 16
of
16
) sorted by null
/frameworks/base/core/java/android/widget/
GridView.java
351
final int
selectedPosition
= mSelectedPosition;
357
boolean selected = pos ==
selectedPosition
;
451
final int
selectedPosition
= reconcileSelectedPosition();
459
rowStart =
selectedPosition
- (
selectedPosition
% numColumns);
461
final int invertedSelection = mItemCount - 1 -
selectedPosition
;
704
final int
selectedPosition
= mSelectedPosition;
712
rowStart =
selectedPosition
- (
selectedPosition
% numColumns);
714
int invertedSelection = mItemCount - 1 -
selectedPosition
;
[
all
...]
AbsSpinner.java
191
int
selectedPosition
= getSelectedItemPosition();
192
if (
selectedPosition
>= 0 && mAdapter != null &&
selectedPosition
< mAdapter.getCount()) {
194
View view = mRecycler.get(
selectedPosition
);
197
view = mAdapter.getView(
selectedPosition
, null, this);
206
mRecycler.put(
selectedPosition
, view);
DayPickerView.java
198
int
selectedPosition
;
200
selectedPosition
= getPositionForView(child);
202
selectedPosition
= 0;
211
if (position !=
selectedPosition
|| forceScroll) {
ListView.java
831
final int
selectedPosition
= mSelectedPosition;
836
selectedPosition
);
838
selectedPosition
);
840
sel = makeAndAddView(
selectedPosition
, selectedTop, true, mListPadding.left, true);
871
fillAboveAndBelow(sel,
selectedPosition
);
887
* @param
selectedPosition
The position that will be selected
891
int
selectedPosition
) {
893
if (
selectedPosition
!= mItemCount - 1) {
904
* @param
selectedPosition
The position that will be selecte
[
all
...]
CalendarView.java
[
all
...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
AbsSpinnerCompat.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
205
int
selectedPosition
;
207
selectedPosition
= getPositionForView(child);
209
selectedPosition
= 0;
221
if (position !=
selectedPosition
|| forceScroll) {
/packages/apps/Contacts/src/com/android/contacts/group/
GroupBrowseListFragment.java
265
int
selectedPosition
= mAdapter.getSelectedGroupPosition();
266
if (
selectedPosition
!= -1) {
267
mListView.requestPositionToScreen(
selectedPosition
,
/packages/apps/Settings/src/com/android/settings/accessibility/
ListDialogPreference.java
164
final int
selectedPosition
= getIndexForValue(mValue);
165
if (
selectedPosition
!= AbsListView.INVALID_POSITION) {
166
list.setSelection(
selectedPosition
);
/packages/apps/Settings/src/com/android/settings/wifi/
WifiConfigController.java
498
final int
selectedPosition
= mProxySettingsSpinner.getSelectedItemPosition();
501
if (
selectedPosition
== PROXY_STATIC && mProxyHostView != null) {
519
} else if (
selectedPosition
== PROXY_PAC && mProxyPacView != null) {
[
all
...]
/frameworks/opt/chips/src/com/android/ex/chips/
RecipientEditTextView.java
[
all
...]
/prebuilts/sdk/current/support/v7/appcompat/libs/
android-support-v7-appcompat.jar
Completed in 401 milliseconds