Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
DMtpAdapter.java48 private SortOrder mSortOrder = SortOrder.DESCENDING; field in MtpAdapter
94 return mModel.get(position, mSortOrder); in getItem()
172 return mModel.getFirstPositionForBucketNumber(section, mSortOrder); in getPositionForSection()
184 return mModel.getBucketNumberForPosition(position, mSortOrder); in getSectionForPosition()
189 return getCount() > 0 ? mModel.getBuckets(mSortOrder) : null; in getSections()
193 return mSortOrder; in getSortOrder()
200 return mModel.getPositionFromPositionWithoutLabels(position, mSortOrder); in translatePositionWithoutLabels()
DMtpPagerAdapter.java43 private SortOrder mSortOrder = SortOrder.DESCENDING; field in MtpPagerAdapter
73 return mModel.getPositionWithoutLabelsFromPosition(position, mSortOrder); in translatePositionWithLabels()
104 IngestObjectInfo i = mModel.getWithoutLabels(position, mSortOrder); in instantiateItem()
/packages/apps/Contacts/src/com/android/contacts/preference/
DContactsPreferences.java80 private int mSortOrder = PREFERENCE_UNASSIGNED; field in ContactsPreferences
128 if (mSortOrder == PREFERENCE_UNASSIGNED) { in getSortOrder()
129 mSortOrder = mPreferences.getInt(SORT_ORDER_KEY, getDefaultSortOrder()); in getSortOrder()
131 return mSortOrder; in getSortOrder()
135 mSortOrder = sortOrder; in setSortOrder()
292 mSortOrder = PREFERENCE_UNASSIGNED; in registerChangeListener()
330 mSortOrder = PREFERENCE_UNASSIGNED; in refreshValue()
331 mSortOrder = getSortOrder(); in refreshValue()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DCursorQueryData.java41 protected final String mSortOrder; field in CursorQueryData
51 mSortOrder = sortOrder; in CursorQueryData()
56 mSelectionArgs, mSortOrder); in createBoundCursorLoader()
66 mSelectionArgs, mSortOrder); in performSynchronousQuery()
DFrequentContactsCursorQueryData.java112 mSelectionArgs, mSortOrder); in createBoundCursorLoader()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java199 int mSortOrder = R.id.sort_order_alpha; field in ManageApplications
290 mSortOrder = R.id.sort_order_size; in onCreate()
312 mSortOrder = R.id.sort_order_size; in onCreate()
330 mSortOrder = R.id.sort_order_recent_notification; in onCreate()
352 mSortOrder = savedInstanceState.getInt(EXTRA_SORT_ORDER, mSortOrder); in onCreate()
527 mApplications.resume(mSortOrder); in onStart()
536 outState.putInt(EXTRA_SORT_ORDER, mSortOrder); in onSaveInstanceState()
745 && mSortOrder != R.id.sort_order_alpha); in updateOptionsMenu()
747 && mSortOrder != R.id.sort_order_size); in updateOptionsMenu()
1156 mManageApplications.mSortOrder = sort; in rebuild()
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContentProvider.java53 private String mSortOrder; field in MockContentProvider.Query
77 return queryToString(mUri, mProjection, mSelection, mSelectionArgs, mSortOrder); in toString()
107 mSortOrder = sortOrder; in withSortOrder()
158 if (!mAnySortOrder && !Objects.equals(sortOrder, mSortOrder)) { in equals()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListFragment.java142 private int mSortOrder; field in ContactEntryListFragment
731 return mSortOrder;
735 mSortOrder = sortOrder;
844 mAdapter.setSortOrder(mSortOrder);
DContactEntryListAdapter.java62 private int mSortOrder; field in ContactEntryListAdapter
299 return mSortOrder; in getSortOrder()
303 mSortOrder = sortOrder; in setSortOrder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DManageApplicationsTest.java454 mFragment.mSortOrder = -1; in sortOrderSavedOnRebuild()
459 assertThat(mFragment.mSortOrder).isEqualTo(mSortRecent.getItemId()); in sortOrderSavedOnRebuild()
462 assertThat(mFragment.mSortOrder).isEqualTo(mSortFrequent.getItemId()); in sortOrderSavedOnRebuild()