Home
last modified time | relevance | path

Searched refs:rank (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/
DFolderPagedView.java176 int rank = getItemCount(); in allocateRankForNewItem() local
178 views.add(rank, null); in allocateRankForNewItem()
180 setCurrentPage(rank / mMaxItemsPerPage); in allocateRankForNewItem()
181 return rank; in allocateRankForNewItem()
184 public View createAndAddViewForRank(ShortcutInfo item, int rank) { in createAndAddViewForRank() argument
186 addViewForRank(icon, item, rank); in createAndAddViewForRank()
194 public void addViewForRank(View view, ShortcutInfo item, int rank) { in addViewForRank() argument
195 int pagePos = rank % mMaxItemsPerPage; in addViewForRank()
196 int pageNo = rank / mMaxItemsPerPage; in addViewForRank()
198 item.rank = rank; in addViewForRank()
[all …]
DHotseat.java80 int getCellXFromOrder(int rank) { in getCellXFromOrder() argument
81 return mHasVerticalHotseat ? 0 : rank; in getCellXFromOrder()
84 int getCellYFromOrder(int rank) { in getCellYFromOrder() argument
85 return mHasVerticalHotseat ? (mContent.getCountY() - (rank + 1)) : 0; in getCellYFromOrder()
88 public boolean isAllAppsButtonRank(int rank) { in isAllAppsButtonRank() argument
89 return rank == mAllAppsButtonRank; in isAllAppsButtonRank()
DItemInfo.java100 public int rank = 0; field in ItemInfo
140 rank = info.rank; in copyFrom()
167 values.put(LauncherSettings.Favorites.RANK, rank); in onAddToDatabase()
DAutoInstallsLayout.java233 long rank = Long.parseLong(getAttributeValue(parser, ATTR_RANK)); in parseContainerAndScreen() local
234 out[1] = (rank < mHotseatAllAppsRank) ? rank : (rank + 1); in parseContainerAndScreen()
589 int rank = 0; in parseAndAdd() local
597 mValues.put(Favorites.RANK, rank); in parseAndAdd()
604 rank++; in parseAndAdd()
DLauncherProvider.java1050 int rank = getMaxScreenRank() + 1; in addScreenIdIfNecessary() local
1054 v.put(LauncherSettings.WorkspaceScreens.SCREEN_RANK, rank); in addScreenIdIfNecessary()
1083 int rank = -1; in getMaxScreenRank() local
1085 rank = c.getInt(maxRankIndex); in getMaxScreenRank()
1091 return rank; in getMaxScreenRank()
1101 int rank = 0; in loadFavorites() local
1106 values.put(LauncherSettings.WorkspaceScreens.SCREEN_RANK, rank); in loadFavorites()
1111 rank++; in loadFavorites()
DFolder.java269 mEmptyCellRank = item.rank; in beginDrag()
872 views.add(info.rank, icon); in onDropCompleted()
961 info.rank = i; in updateItemLocationsInDatabaseBatch()
1450 if (lhs.rank != rhs.rank) {
1451 return lhs.rank - rhs.rank;
DLauncherBackupHelper.java818 favorite.rank = c.getInt(RANK_INDEX); in packFavorite()
906 values.put(Favorites.RANK, favorite.rank); in unpackFavorite()
990 screen.rank = c.getInt(SCREEN_RANK_INDEX); in packScreen()
1000 values.put(WorkspaceScreens.SCREEN_RANK, screen.rank); in unpackScreen()
DShortcutInfo.java287 return usingLowResIcon && container >= 0 && rank >= FolderIcon.NUM_ITEMS_IN_PREVIEW; in shouldUseLowResIcon()
DBubbleTextView.java544 if ((info.rank < FolderIcon.NUM_ITEMS_IN_PREVIEW) && (info.container >= 0)) { in reapplyItemInfo()
DLauncherModel.java206 public boolean isAllAppsButtonRank(int rank); in isAllAppsButtonRank() argument
796 values.put(LauncherSettings.Favorites.RANK, item.rank); in moveItemInDatabase()
830 values.put(LauncherSettings.Favorites.RANK, item.rank); in moveItemsInDatabase()
862 values.put(LauncherSettings.Favorites.RANK, item.rank); in modifyItemInDatabase()
2040 info.rank = c.getInt(rankIndex); in loadWorkspace()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/
DRankedComparatorTest.java89 return dummyObject.rank;
94 private final String rank; field in RankedComparatorTest.DummyObject
96 private DummyObject(String rank) { in DummyObject() argument
97 this.rank = rank; in DummyObject()
/packages/apps/Launcher2/src/com/android/launcher2/
DHotseat.java86 int getCellXFromOrder(int rank) { in getCellXFromOrder() argument
87 return hasVerticalHotseat() ? 0 : rank; in getCellXFromOrder()
89 int getCellYFromOrder(int rank) { in getCellYFromOrder() argument
90 return hasVerticalHotseat() ? (mContent.getCountY() - (rank + 1)) : 0; in getCellYFromOrder()
92 public boolean isAllAppsButtonRank(int rank) { in isAllAppsButtonRank() argument
93 return rank == mAllAppsButtonRank; in isAllAppsButtonRank()
/packages/apps/Settings/src/com/android/settings/search/
DIndex.java573 final int rank = (providerRank > 0) ? baseRank + providerRank : baseRank; in addIndexablesForXmlResourceUri() local
587 sir.rank = rank; in addIndexablesForXmlResourceUri()
620 final int rank = (providerRank > 0) ? baseRank + providerRank : baseRank; in addIndexablesForRawDataUri() local
643 data.rank = rank; in addIndexablesForRawDataUri()
748 raw.rank, in indexOneRaw()
790 sir.xmlResId, sir.className, sir.iconResId, sir.rank, in indexOneResource()
816 sir.iconResId, sir.rank, sir.enabled, nonIndexableKeys); in indexOneResource()
842 int xmlResId, String fragmentName, int iconResId, int rank, in indexFromResource() argument
882 fragmentName, screenTitle, iconResId, rank, in indexFromResource()
914 fragmentName, screenTitle, iconResId, rank, in indexFromResource()
[all …]
DRanking.java187 Integer rank = sRankMap.get(className); in getRankForClassName() local
188 return (rank != null) ? (int) rank: RANK_OTHERS; in getRankForClassName()
DSettingsSearchIndexablesProvider.java51 ref[COLUMN_INDEX_XML_RES_RANK] = val.rank; in queryXmlResources()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/
Dmove1.dot22 rank = same
40 rank = same
Dnormalparsing.dot17 rank = same
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DFrequentContactsCursorBuilder.java92 int rank = 0; in build() local
97 lookupKeyToRankMap.put(lookupKey, rank++); in build()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationStation.java264 final Ranking rank = new Ranking(); in loadNotifications() local
352 if (mRanking != null && mRanking.getRanking(sbn.getKey(), rank)) { in loadNotifications()
357 .append(Ranking.importanceToString(rank.getImportance())); in loadNotifications()
358 if (rank.getImportanceExplanation() != null) { in loadNotifications()
363 .append(rank.getImportanceExplanation()); in loadNotifications()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DWorkspaceAccessibilityHelper.java158 if (firstItem == null || firstItem.rank > shortcut.rank) { in getDescriptionForDropOver()
/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h118 static inline void dumpWordInfo(const int *word, const int length, const int rank, in dumpWordInfo() argument
123 AKLOGI("%2d [ %s ] (%d)", rank, charBuf, probability); in dumpWordInfo()
/packages/apps/Launcher3/protos/
Dbackup.proto107 optional int32 rank = 20; field
112 optional int32 rank = 2; field
/packages/services/Telephony/src/com/android/phone/
DPhoneSearchIndexablesProvider.java56 ref[COLUMN_INDEX_XML_RES_RANK] = INDEXABLE_RES[n].rank; in queryXmlResources()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSearchIndexableProvider.java61 ref[COLUMN_INDEX_XML_RES_RANK] = INDEXABLE_RES[n].rank; in queryXmlResources()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DManagedProfileHeuristic.java221 info.rank = startingRank++; in saveWorkFolderShortcuts()

12