Home
last modified time | relevance | path

Searched refs:mSortOrder (Results 1 – 11 of 11) 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()
291 mSortOrder = PREFERENCE_UNASSIGNED; in registerChangeListener()
329 mSortOrder = PREFERENCE_UNASSIGNED; in refreshValue()
330 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.java177 int mSortOrder = R.id.sort_order_alpha; field in ManageApplications
265 mSortOrder = R.id.sort_order_size; in onCreate()
285 mSortOrder = R.id.sort_order_size; in onCreate()
288 mSortOrder = R.id.sort_order_size; in onCreate()
291 mSortOrder = R.id.sort_order_size; in onCreate()
302 mSortOrder = R.id.sort_order_recent_notification; in onCreate()
317 mSortOrder = savedInstanceState.getInt(EXTRA_SORT_ORDER, mSortOrder); in onCreate()
498 mApplications.resume(mSortOrder); in onStart()
507 outState.putInt(EXTRA_SORT_ORDER, mSortOrder); in onSaveInstanceState()
674 && mSortOrder != R.id.sort_order_alpha); in updateOptionsMenu()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/
DManageApplications.java174 int mSortOrder = R.id.sort_order_alpha; field in ManageApplications
259 mSortOrder = R.id.sort_order_size; in onCreate()
279 mSortOrder = R.id.sort_order_size; in onCreate()
282 mSortOrder = R.id.sort_order_size; in onCreate()
285 mSortOrder = R.id.sort_order_size; in onCreate()
296 mSortOrder = R.id.sort_order_recent_notification; in onCreate()
310 mSortOrder = savedInstanceState.getInt(EXTRA_SORT_ORDER, mSortOrder); in onCreate()
489 mApplications.resume(mSortOrder); in onStart()
498 outState.putInt(EXTRA_SORT_ORDER, mSortOrder); in onSaveInstanceState()
661 && mSortOrder != R.id.sort_order_alpha); in updateOptionsMenu()
[all …]
/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.java461 mFragment.mSortOrder = -1; in sortOrderSavedOnRebuild()
466 assertThat(mFragment.mSortOrder).isEqualTo(mSortRecent.getItemId()); in sortOrderSavedOnRebuild()
469 assertThat(mFragment.mSortOrder).isEqualTo(mSortFrequent.getItemId()); in sortOrderSavedOnRebuild()