Home
last modified time | relevance | path

Searched refs:mSortOrder (Results 1 – 11 of 11) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/preference/
DContactsPreferences.java38 private int mSortOrder = -1; field in ContactsPreferences
66 if (mSortOrder == -1) { in getSortOrder()
68 mSortOrder = Settings.System.getInt(mContext.getContentResolver(), in getSortOrder()
71 mSortOrder = getDefaultSortOrder(); in getSortOrder()
74 return mSortOrder; in getSortOrder()
78 mSortOrder = sortOrder; in setSortOrder()
125 mSortOrder = -1; in registerChangeListener()
150 mSortOrder = -1; in onChange()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
DMtpAdapter.java41 private SortOrder mSortOrder = SortOrder.Descending; field in MtpAdapter
87 return mModel.get(position, mSortOrder); in getItem()
164 return mModel.getFirstPositionForBucketNumber(section, mSortOrder); in getPositionForSection()
176 return mModel.getBucketNumberForPosition(position, mSortOrder); in getSectionForPosition()
181 return getCount() > 0 ? mModel.getBuckets(mSortOrder) : null; in getSections()
185 return mSortOrder; in getSortOrder()
190 return mModel.getPositionFromPositionWithoutLabels(position, mSortOrder); in translatePositionWithoutLabels()
DMtpPagerAdapter.java37 private SortOrder mSortOrder = SortOrder.Descending; field in MtpPagerAdapter
65 return mModel.getPositionWithoutLabelsFromPosition(position, mSortOrder); in translatePositionWithLabels()
96 MtpObjectInfo i = mModel.getWithoutLabels(position, mSortOrder); in instantiateItem()
/packages/apps/Settings/src/com/android/settings/applications/
DManageApplications.java173 private int mSortOrder = SORT_ORDER_ALPHA; field in ManageApplications
843 mSortOrder = SORT_ORDER_SIZE; in onCreate()
851 mSortOrder = savedInstanceState.getInt(EXTRA_SORT_ORDER, mSortOrder); in onCreate()
955 outState.putInt(EXTRA_SORT_ORDER, mSortOrder); in onSaveInstanceState()
1087 mOptionsMenu.findItem(SORT_ORDER_ALPHA).setVisible(mSortOrder != SORT_ORDER_ALPHA); in updateOptionsMenu()
1088 mOptionsMenu.findItem(SORT_ORDER_SIZE).setVisible(mSortOrder != SORT_ORDER_SIZE); in updateOptionsMenu()
1175 mCurTab.resume(mSortOrder); in onClick()
1190 mSortOrder = menuId; in onOptionsItemSelected()
1192 mCurTab.mApplications.rebuild(mSortOrder); in onOptionsItemSelected()
1230 mCurTab.resume(mSortOrder); in updateCurrentTab()
/packages/apps/Music/src/com/android/music/
DMusicPicker.java127 String mSortOrder; field in MusicPicker
437 mSortOrder = MediaStore.Audio.Media.TITLE_KEY; in onCreate()
542 mSortOrder = MediaStore.Audio.Media.TITLE_KEY; in setSortMode()
547 mSortOrder = MediaStore.Audio.Media.ALBUM_KEY + " ASC, " in setSortMode()
554 mSortOrder = MediaStore.Audio.Media.ARTIST_KEY + " ASC, " in setSortMode()
610 where.toString(), null, mSortOrder); in doQuery()
617 where.toString(), null, mSortOrder); in doQuery()
DTrackBrowserActivity.java97 private String mSortOrder; field in TrackBrowserActivity
1015 mSortOrder = MediaStore.Audio.Media.TITLE_KEY;
1025 mSortOrder = MediaStore.Audio.Genres.Members.DEFAULT_SORT_ORDER;
1027 mCursorCols, where.toString(), null, mSortOrder, async);
1065 mSortOrder = MediaStore.Audio.Playlists.Members.DEFAULT_SORT_ORDER;
1067 where.toString(), null, mSortOrder, async);
1072 mSortOrder = MediaStore.Audio.Media.TRACK + ", " + mSortOrder;
1083 mCursorCols, where.toString() , null, mSortOrder, async);
DMediaPickerActivity.java184 videocols, null , null, mSortOrder); in MakeCursor()
190 audiocols, mWhereClause , null, mSortOrder); in MakeCursor()
199 videocols, null , null, mSortOrder); in MakeCursor()
221 private String mSortOrder = MediaStore.Audio.Media.TITLE + " COLLATE UNICODE"; field in MediaPickerActivity
DVideoBrowserActivity.java101 mSortOrder = MediaStore.Video.Media.TITLE + " COLLATE UNICODE"; in MakeCursor()
104 cols, mWhereClause , null, mSortOrder); in MakeCursor()
118 private String mSortOrder; field in VideoBrowserActivity
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DMockContentProvider.java49 private String mSortOrder; field in MockContentProvider.Query
64 return queryToString(mUri, mProjection, mSelection, mSelectionArgs, mSortOrder); in toString()
94 mSortOrder = sortOrder; in withSortOrder()
141 if (!mAnySortOrder && !equals(sortOrder, mSortOrder)) { in equals()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactEntryListFragment.java116 private int mSortOrder; field in ContactEntryListFragment
657 return mSortOrder; in getSortOrder()
661 mSortOrder = sortOrder; in setSortOrder()
763 mAdapter.setSortOrder(mSortOrder); in configureAdapter()
DContactEntryListAdapter.java57 private int mSortOrder; field in ContactEntryListAdapter
263 return mSortOrder; in getSortOrder()
267 mSortOrder = sortOrder; in setSortOrder()