/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderGridOrganizer.java | 132 public boolean updateRankAndPos(ItemInfo item, int rank) { in updateRankAndPos() argument 133 Point pos = getPosForRank(rank); in updateRankAndPos() 134 if (!pos.equals(item.cellX, item.cellY) || rank != item.rank) { in updateRankAndPos() 135 item.rank = rank; in updateRankAndPos() 146 public Point getPosForRank(int rank) { in getPosForRank() argument 147 int pagePos = rank % mMaxItemsPerPage; in getPosForRank() 162 for (int i = start, rank = 0; i < end; i++, rank++) { in previewItemsForPage() 163 if (isItemInPreview(page, rank)) { in previewItemsForPage() 177 public boolean isItemInPreview(int rank) { in isItemInPreview() argument 178 return isItemInPreview(0, rank); in isItemInPreview() [all …]
|
D | FolderPagedView.java | 172 public View createAndAddViewForRank(WorkspaceItemInfo item, int rank) { in createAndAddViewForRank() argument 178 views.add(rank, icon); in createAndAddViewForRank() 187 public void addViewForRank(View view, WorkspaceItemInfo item, int rank) { in addViewForRank() argument 188 int pageNo = rank / mOrganizer.getMaxItemsPerPage(); in addViewForRank() 191 lp.setXY(mOrganizer.getPosForRank(rank)); in addViewForRank() 287 int rank = 0; in arrangeChildren() local 304 lp.setXY(mOrganizer.getPosForRank(rank)); in arrangeChildren() 307 if (mOrganizer.isItemInPreview(rank) && v instanceof BubbleTextView) { in arrangeChildren() 312 rank++; in arrangeChildren() 373 int rank = rankProvider.applyAsInt(container); in getViewInCurrentPage() local [all …]
|
D | Folder.java | 245 mEmptyCellRank = item.rank; in startDrag() 877 views.add(info.rank, icon); in onDropCompleted() 1172 pasi.rank = mEmptyCellRank; in onDrop() 1265 public void onAdd(WorkspaceItemInfo item, int rank) { in onAdd() argument 1268 verifier.updateRankAndPos(item, rank); in onAdd() 1274 mContent.createAndAddViewForRank(item, rank); in onAdd() 1426 if (lhs.rank != rhs.rank) { 1427 return lhs.rank - rhs.rank;
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/popup/ |
D | PopupPopulatorTest.java | 77 private String generateId(boolean isStatic, int rank) { in generateId() argument 78 return (isStatic ? "static" : "dynamic") + rank; in generateId() 112 int rank = shortcut.getRank(); in assertIsSorted() local 116 assertTrue(rank > lastStaticRank); in assertIsSorted() 117 lastStaticRank = rank; in assertIsSorted() 121 assertTrue(rank > lastDynamicRank); in assertIsSorted() 122 lastDynamicRank = rank; in assertIsSorted() 138 private ShortcutInfo createInfo(boolean isStatic, int rank) { in createInfo() argument 140 RuntimeEnvironment.application, generateId(isStatic, rank)) in createInfo() 141 .setRank(rank) in createInfo()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/ |
D | SearchResult.java | 69 public final int rank; field in SearchResult 97 rank = builder.mRank; in SearchResult() 108 return this.rank - searchResult.rank; in compareTo() 151 public Builder setRank(int rank) { in setRank() argument 152 if (rank >= 0 && rank <= 9) { in setRank() 153 mRank = rank; in setRank()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FolderInfo.java | 74 public void add(WorkspaceItemInfo item, int rank, boolean animate) { in add() argument 75 rank = Utilities.boundToRange(rank, 0, contents.size() + 1); in add() 76 contents.add(rank, item); in add() 78 mListeners.get(i).onAdd(item, rank); in add() 118 public void onAdd(WorkspaceItemInfo item, int rank); in onAdd() argument
|
D | ItemInfo.java | 99 public int rank = 0; field in ItemInfo 127 rank = info.rank; in copyFrom() 157 .put(LauncherSettings.Favorites.RANK, rank); in writeToValues() 168 rank = values.getAsInteger(LauncherSettings.Favorites.RANK); in readFromValues() 197 + " rank=" + rank in dumpProperties()
|
D | Hotseat.java | 53 int getCellXFromOrder(int rank) { in getCellXFromOrder() argument 54 return mHasVerticalHotseat ? 0 : rank; in getCellXFromOrder() 57 int getCellYFromOrder(int rank) { in getCellYFromOrder() argument 58 return mHasVerticalHotseat ? (getCountY() - (rank + 1)) : 0; in getCellYFromOrder()
|
D | AutoInstallsLayout.java | 605 int rank = 0; in parseAndAdd() local 613 mValues.put(Favorites.RANK, rank); in parseAndAdd() 620 rank++; in parseAndAdd()
|
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
D | VolumeItemParser.java | 68 int rank = 0; in loadAudioUsageItems() local 80 usage, rank, in loadAudioUsageItems() 83 rank++; in loadAudioUsageItems() 107 public VolumeItem(@AudioAttributes.AttributeUsage int usage, int rank, in VolumeItem() argument 110 mRank = rank; in VolumeItem()
|
D | VolumeSettingsPreferenceController.java | 189 int rank = Integer.MAX_VALUE; in getVolumeItemForUsages() local 193 if (volumeItem.getRank() < rank) { in getVolumeItemForUsages() 194 rank = volumeItem.getRank(); in getVolumeItemForUsages()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationStation.java | 320 final Ranking rank = new Ranking(); in generateExtraText() local 362 if (mRanking != null && mRanking.getRanking(sbn.getKey(), rank)) { in generateExtraText() 363 if (rank.getLastAudiblyAlertedMillis() > 0) { in generateExtraText() 425 if (mRanking != null && mRanking.getRanking(sbn.getKey(), rank)) { in generateExtraText() 430 .append(Ranking.importanceToString(rank.getImportance())); in generateExtraText() 431 if (rank.getImportanceExplanation() != null) { in generateExtraText() 436 .append(rank.getImportanceExplanation()); in generateExtraText() 442 .append(Boolean.toString(rank.canShowBadge())); in generateExtraText()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationStation.java | 320 final Ranking rank = new Ranking(); in generateExtraText() local 362 if (mRanking != null && mRanking.getRanking(sbn.getKey(), rank)) { in generateExtraText() 363 if (rank.getLastAudiblyAlertedMillis() > 0) { in generateExtraText() 425 if (mRanking != null && mRanking.getRanking(sbn.getKey(), rank)) { in generateExtraText() 430 .append(Ranking.importanceToString(rank.getImportance())); in generateExtraText() 431 if (rank.getImportanceExplanation() != null) { in generateExtraText() 436 .append(rank.getImportanceExplanation()); in generateExtraText() 442 .append(Boolean.toString(rank.canShowBadge())); in generateExtraText()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderTask.java | 538 info.rank = c.getInt(rankIndex); in loadWorkspace() 775 for (int rank = 0; rank < size; ++rank) { in loadWorkspace() 776 WorkspaceItemInfo info = folder.contents.get(rank); in loadWorkspace() 777 info.rank = rank; in loadWorkspace() 781 && verifier.isItemInPreview(info.rank)) { in loadWorkspace()
|
D | ModelWriter.java | 162 .put(Favorites.RANK, item.rank) in moveItemInDatabase() 182 values.put(Favorites.RANK, item.rank); in moveItemsInDatabase() 204 .put(Favorites.RANK, item.rank) in modifyItemInDatabase()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/ |
D | move1.dot | 22 rank = same 40 rank = same
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/instrumentation/ |
D | MetricsFeatureProvider.java | 71 int rank) { in logSearchResultClick() argument 76 event.searchResultMetadata.searchResultRank = rank; in logSearchResultClick()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | FrequentContactsCursorBuilder.java | 92 int rank = 0; in build() local 97 lookupKeyToRankMap.put(lookupKey, rank++); in build()
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | DynamicShortcuts.java | 117 int rank = 0; in refresh() local 128 .setRank(rank++) in refresh()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | LauncherLayoutBuilder.java | 71 public Location atHotseat(int rank) { in atHotseat() argument 74 l.items.put(ATTR_RANK, Integer.toString(rank)); in atHotseat()
|
/packages/inputmethods/LatinIME/native/jni/src/ |
D | defines.h | 120 static inline void dumpWordInfo(const int *word, const int length, const int rank, in dumpWordInfo() argument 125 AKLOGI("%2d [ %s ] (%d)", rank, charBuf, probability); in dumpWordInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | WorkspaceAccessibilityHelper.java | 181 if (firstItem == null || firstItem.rank > shortcut.rank) { in getDescriptionForDropOver()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/ |
D | CursorToSearchResultConverter.java | 141 final int rank = getRank(title, baseRank, key); in buildSingleSearchResultFromCursor() local 149 .setRank(rank) in buildSingleSearchResultFromCursor()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | PredictionUiStateManager.java | 352 .ifPresent((rank) -> target.predictedRank = rank); in fillInPredictedRank()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | PreprocessingManager.java | 136 rank(group(optimizeForDriving( in process() 456 private List<NotificationGroup> rank(List<NotificationGroup> notifications, in rank() method in PreprocessingManager
|