Home
last modified time | relevance | path

Searched refs:ordinal (Results 1 – 25 of 44) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DTabModel.java83 Tab getTab(int ordinal) { in getTab() argument
84 return Tab.values()[ordinal]; in getTab()
92 final int ordinal; in getTabAt() local
94 ordinal = getTabCount() - position - 1; in getTabAt()
96 ordinal = position; in getTabAt()
98 return getTab(ordinal); in getTabAt()
161 mTabScrolledToTop[tab.ordinal()] = scrolledToTop; in setTabScrolledToTop()
175 return mTabScrolledToTop[tab.ordinal()]; in isTabScrolledToTop()
DTabDAO.java37 final int ordinal = prefs.getInt(KEY_SELECTED_TAB, Tab.CLOCKS.ordinal()); in getSelectedTab() local
38 return Tab.values()[ordinal]; in getSelectedTab()
45 prefs.edit().putInt(KEY_SELECTED_TAB, tab.ordinal()).apply(); in setSelectedTab()
DUiDataModel.java245 public Tab getTab(int ordinal) { in getTab() argument
247 return mTabModel.getTab(ordinal); in getTab()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DStopwatchDAO.java59 final int stateIndex = prefs.getInt(STATE, RESET.ordinal()); in getStopwatch()
86 editor.putInt(STATE, stopwatch.getState().ordinal()) in setStopwatch()
DSettingsDAO.java89 final int defaultSortOrdinal = CitySort.NAME.ordinal(); in getCitySort()
100 prefs.edit().putInt(KEY_SORT_PREFERENCE, newSort.ordinal()).apply(); in toggleCitySort()
/packages/apps/Settings/src/com/android/settings/wifi/
DWpsDialog.java231 if (mDialogState.ordinal() >= state.ordinal()) { in updateDialog()
/packages/apps/Settings/src/com/android/settings/
DUserCredentialsSettings.java420 if ((typeBits & (1L << i.ordinal())) != 0L) { in Credential()
432 typeBits |= 1L << i.ordinal(); in writeToParcel()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DUriType.java26 public int ordinal(); in ordinal() method
DTypedUriMatcherImpl.java49 mUriMatcher.addURI(mAuthority, path, value.ordinal()); in addUriType()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlTree.java714 if (newSeparator.ordinal() > separator.ordinal()) { in setSeparator()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DAllIntentsActivity.java126 public static ContactsIntent get(int ordinal) { in get() argument
127 return values()[ordinal]; in get()
/packages/apps/Camera2/src/com/android/camera/data/
DFixedLastProxyAdapter.java134 return mLastData.getItemViewType().ordinal(); in getItemViewType()
DFixedFirstProxyAdapter.java125 return mFirstData.getItemViewType().ordinal(); in getItemViewType()
DSessionItem.java101 imageView.setTag(R.id.mediadata_tag_viewtype, getItemViewType().ordinal()); in getView()
DVideoItem.java159 view.setTag(R.id.mediadata_tag_viewtype, getItemViewType().ordinal()); in getView()
DPhotoItem.java124 imageView.setTag(R.id.mediadata_tag_viewtype, getItemViewType().ordinal()); in getView()
DCameraFilmstripDataAdapter.java110 return mFilmstripItems.get(index).getItemViewType().ordinal(); in getItemViewType()
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterpriseSetDefaultAppsListPreferenceController.java153 preference.setOrder(typeOfDefault.ordinal()); in createPreferences()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorExpr.java175 out.writeByte(TokenKind.CONSTANT.ordinal()); in write()
340 out.writeByte(TokenKind.PRE_EVAL.ordinal()); in write()
DCalculator.java310 CalculatorState.INPUT.ordinal())]; in restoreInstanceState()
465 outState.putInt(KEY_DISPLAY_STATE, mCurrentState.ordinal()); in onSaveInstanceState()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DBitmapDownloader.java249 .append(":").append(bitmapConfig == null ? "" : bitmapConfig.ordinal()) in getBucketKey()
DDrawableDownloader.java168 .append(":").append(bitmapConfig == null ? "" : bitmapConfig.ordinal()) in getBucketKey()
/packages/apps/Contacts/src/com/android/contacts/drawer/
DDrawerFragment.java200 outState.putInt(KEY_CONTACTS_VIEW, mCurrentContactsView.ordinal()); in onSaveInstanceState()
/packages/apps/Stk/src/com/android/stk/
DStkInputActivity.java438 return fontSizes[size.ordinal()]; in getFontSizeFactor()
/packages/apps/Gallery/src/com/android/camera/
DImageManager.java83 out.writeInt(mLocation.ordinal()); in writeToParcel()

12