/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/tests/src/com/android/launcher3/ui/ |
D | AbstractLauncherUiTest.java | 546 final int ordinal = stableState.ordinal; in checkLauncherIntegrity() local 554 assertTrue(TestProtocol.stateOrdinalToString(ordinal), in checkLauncherIntegrity() 555 ordinal == TestProtocol.NORMAL_STATE_ORDINAL); in checkLauncherIntegrity() 562 assertTrue(TestProtocol.stateOrdinalToString(ordinal), in checkLauncherIntegrity() 563 ordinal == TestProtocol.ALL_APPS_STATE_ORDINAL); in checkLauncherIntegrity() 570 assertTrue(TestProtocol.stateOrdinalToString(ordinal), in checkLauncherIntegrity() 571 ordinal == TestProtocol.OVERVIEW_STATE_ORDINAL); in checkLauncherIntegrity() 577 assertTrue(TestProtocol.stateOrdinalToString(ordinal), in checkLauncherIntegrity() 578 ordinal == TestProtocol.NORMAL_STATE_ORDINAL); in checkLauncherIntegrity()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/fallback/ |
D | RecentsState.java | 41 public final int ordinal; field in RecentsState 48 this.ordinal = id; in RecentsState() 55 return "Ordinal-" + ordinal; in toString()
|
/packages/apps/Car/Radio/src/com/android/car/radio/storage/ |
D | RadioStorage.java | 200 int value = mode.ordinal(); in setSkipMode() 204 SkipMode.DEFAULT_MODE.ordinal()) != value) { in setSkipMode() 215 int value = mPrefs.getInt(PREF_KEY_SKIP_MODE, SkipMode.DEFAULT_MODE.ordinal()); in getSkipMode()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherState.java | 129 public final int ordinal; field in LauncherState 147 this.ordinal = id; in LauncherState() 273 return TestProtocol.stateOrdinalToString(ordinal);
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 208 + newToState.ordinal + " " + getClass().getSimpleName()); in reinitCurrentAnimation() 529 return mToState.ordinal > mFromState.ordinal ? Direction.UP : Direction.DOWN; in getDirectionForLog() 579 targetState.containerType, mToState.ordinal > mFromState.ordinal in logReachedState()
|
/packages/apps/Launcher3/src/com/android/launcher3/testing/ |
D | TestProtocol.java | 41 public static String stateOrdinalToString(int ordinal) { in stateOrdinalToString() argument 42 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/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | PredictionUiStateManager.java | 213 mPredictionServicePredictions[client.ordinal()] = targets; in appPredictorCallback() 241 List<AppTarget> appTargets = mPredictionServicePredictions[mActiveClient.ordinal()]; in parseLastState()
|
/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/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | PortraitStatesTouchController.java | 276 totalShift = Math.signum(mFromState.ordinal - mToState.ordinal) in initCurrentAnimation()
|
/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/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/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()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | NoButtonQuickSwitchTouchController.java | 441 targetState.ordinal > mStartState.ordinal in onAnimationToStateCompleted()
|
/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/wifi/slice/ |
D | ContextualWifiSlice.java | 157 final int index = detailedState.ordinal(); in getSubtitle()
|
/packages/apps/Car/Calendar/src/com/android/car/calendar/ |
D | CarCalendarView.java | 201 return mRecyclerViewItems.get(position).getType().ordinal(); in getItemViewType()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | EnterpriseSetDefaultAppsListPreferenceController.java | 154 preference.setOrder(typeOfDefault.ordinal()); in createPreferences()
|