Home
last modified time | relevance | path

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

123

/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/Launcher3/src/com/android/launcher3/testing/
DTestProtocol.java38 public static String stateOrdinalToString(int ordinal) { in stateOrdinalToString() argument
39 switch (ordinal) { in stateOrdinalToString()
/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/Launcher3/src/com/android/launcher3/
DLauncherState.java117 public final int ordinal; field in LauncherState
195 this.ordinal = id; in LauncherState()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionUiStateManager.java203 mPredictionServicePredictions[client.ordinal()] = targets; in appPredictorCallback()
228 List<AppTarget> appTargets = mPredictionServicePredictions[mActiveClient.ordinal()]; in parseLastState()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DPortraitStatesTouchController.java235 totalShift = Math.signum(mFromState.ordinal - mToState.ordinal) in initCurrentAnimation()
/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/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java514 return mToState.ordinal > mFromState.ordinal ? Direction.UP : Direction.DOWN; in getDirectionForLog()
/packages/apps/Settings/src/com/android/settings/
DUserCredentialsSettings.java479 if ((typeBits & (1L << i.ordinal())) != 0L) { in Credential()
491 typeBits |= 1L << i.ordinal(); in writeToParcel()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUserCredentialsSettings.java479 if ((typeBits & (1L << i.ordinal())) != 0L) { in Credential()
491 typeBits |= 1L << i.ordinal(); in writeToParcel()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlTree.java714 if (newSeparator.ordinal() > separator.ordinal()) { in setSeparator()
/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()
/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/Settings/src/com/android/settings/enterprise/
DEnterpriseSetDefaultAppsListPreferenceController.java154 preference.setOrder(typeOfDefault.ordinal()); in createPreferences()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DEnterpriseSetDefaultAppsListPreferenceController.java154 preference.setOrder(typeOfDefault.ordinal()); in createPreferences()
/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseAdapter.java186 return getItem(position).mViewType.ordinal();
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DNavBarToHomeTouchController.java210 AccessibilityManagerCompat.sendStateEventToTest(mLauncher, targetState.ordinal); in onSwipeInteractionCompleted()

123