/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
D | TabModel.java | 83 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()
|
D | TabDAO.java | 37 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()
|
D | UiDataModel.java | 245 public Tab getTab(int ordinal) { in getTab() argument 247 return mTabModel.getTab(ordinal); in getTab()
|
/packages/apps/Launcher3/src/com/android/launcher3/testing/ |
D | TestProtocol.java | 38 public static String stateOrdinalToString(int ordinal) { in stateOrdinalToString() argument 39 switch (ordinal) { in stateOrdinalToString()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | StopwatchDAO.java | 59 final int stateIndex = prefs.getInt(STATE, RESET.ordinal()); in getStopwatch() 86 editor.putInt(STATE, stopwatch.getState().ordinal()) in setStopwatch()
|
D | SettingsDAO.java | 89 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/ |
D | LauncherState.java | 117 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/ |
D | PredictionUiStateManager.java | 203 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/ |
D | PortraitStatesTouchController.java | 235 totalShift = Math.signum(mFromState.ordinal - mToState.ordinal) in initCurrentAnimation()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | UriType.java | 26 public int ordinal(); in ordinal() method
|
D | TypedUriMatcherImpl.java | 49 mUriMatcher.addURI(mAuthority, path, value.ordinal()); in addUriType()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 514 return mToState.ordinal > mFromState.ordinal ? Direction.UP : Direction.DOWN; in getDirectionForLog()
|
/packages/apps/Settings/src/com/android/settings/ |
D | UserCredentialsSettings.java | 479 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/ |
D | UserCredentialsSettings.java | 479 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/ |
D | HtmlTree.java | 714 if (newSeparator.ordinal() > separator.ordinal()) { in setSeparator()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | FixedLastProxyAdapter.java | 134 return mLastData.getItemViewType().ordinal(); in getItemViewType()
|
D | FixedFirstProxyAdapter.java | 125 return mFirstData.getItemViewType().ordinal(); in getItemViewType()
|
D | SessionItem.java | 101 imageView.setTag(R.id.mediadata_tag_viewtype, getItemViewType().ordinal()); in getView()
|
D | VideoItem.java | 159 view.setTag(R.id.mediadata_tag_viewtype, getItemViewType().ordinal()); in getView()
|
D | PhotoItem.java | 124 imageView.setTag(R.id.mediadata_tag_viewtype, getItemViewType().ordinal()); in getView()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
D | AllIntentsActivity.java | 126 public static ContactsIntent get(int ordinal) { in get() argument 127 return values()[ordinal]; in get()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | EnterpriseSetDefaultAppsListPreferenceController.java | 154 preference.setOrder(typeOfDefault.ordinal()); in createPreferences()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/ |
D | EnterpriseSetDefaultAppsListPreferenceController.java | 154 preference.setOrder(typeOfDefault.ordinal()); in createPreferences()
|
/packages/apps/Car/Media/src/com/android/car/media/browse/ |
D | BrowseAdapter.java | 186 return getItem(position).mViewType.ordinal();
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | NavBarToHomeTouchController.java | 210 AccessibilityManagerCompat.sendStateEventToTest(mLauncher, targetState.ordinal); in onSwipeInteractionCompleted()
|