Searched refs:rank (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/core/java/android/provider/
H A DSearchIndexableResource.java46 * @param rank the rank of the data.
52 public SearchIndexableResource(int rank, int xmlResId, String className, int iconResId) { argument
54 this.rank = rank;
H A DSearchIndexableData.java52 * The rank for the data. This is application specific.
54 public int rank; field in class:SearchIndexableData
152 sb.append("rank: ");
153 sb.append(rank);
/frameworks/base/core/java/com/android/internal/statusbar/
H A DNotificationVisibility.java34 public int rank; field in class:NotificationVisibility
42 private NotificationVisibility(String key, int rank, boolean visibile) { argument
45 this.rank = rank;
53 + " rank=" + rank
60 return obtain(this.key, this.rank, this.visible);
87 out.writeInt(this.rank);
93 this.rank = in.readInt();
101 public static NotificationVisibility obtain(String key, int rank, boolea argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutParser.java121 int rank = 0;
190 rank++;
207 service, attrs, packageName, activity, userId, rank);
289 @UserIdInt int userId, int rank) {
323 rank,
334 int rank, int iconResId, boolean enabled) {
360 rank,
287 parseShortcutAttributes(ShortcutService service, AttributeSet attrs, String packageName, ComponentName activity, @UserIdInt int userId, int rank) argument
331 createShortcutFromManifest(ShortcutService service, @UserIdInt int userId, String id, String packageName, ComponentName activityComponent, int titleResId, int textResId, int disabledMessageResId, int rank, int iconResId, boolean enabled) argument
H A DShortcutPackage.java88 private static final String ATTR_RANK = "rank";
290 si.setRank(0); // It may still be pinned, so clear the rank.
876 * non-manifest shortcuts, then sort by rank.
1051 * Used to sort shortcuts for rank auto-adjusting.
1054 // First, sort by rank.
1060 // e.g. when there are 3 shortcuts, "s1" "s2" and "s3" with rank 0, 1, 2 respectively,
1061 // adding a shortcut "s4" with rank 1 will "insert" it between "s1" and "s2", because
1062 // "s2" and "s4" have the same rank 1 but s4 has isRankChanged() set.
1063 // Similarly, updating s3's rank to 1 will insert it between s1 and s2.
1067 // If they're still tie, sort by implicit rank
[all...]
/frameworks/base/core/java/android/content/pm/
H A DShortcutInfo.java215 * Internally used for auto-rank-adjustment.
217 * RANK_CHANGED_BIT is used to denote that the rank of a shortcut is changing.
1023 public Builder setRank(int rank) { argument
1024 Preconditions.checkArgument((0 <= rank),
1026 mRank = rank;
1249 * shortcuts should be sorted by rank in ascending order.
1252 * have rank 0, because they aren't sorted.
1268 public void setRank(int rank) { argument
1269 mRank = rank;
1278 public void setImplicitRank(int rank) { argument
1908 ShortcutInfo( @serIdInt int userId, String id, String packageName, ComponentName activity, Icon icon, CharSequence title, int titleResId, String titleResName, CharSequence text, int textResId, String textResName, CharSequence disabledMessage, int disabledMessageResId, String disabledMessageResName, Set<String> categories, Intent[] intentsWithExtras, int rank, PersistableBundle extras, long lastChangedTimestamp, int flags, int iconResId, String iconResName, String bitmapPath) argument
[all...]
/frameworks/base/core/java/android/service/notification/
H A DNotificationListenerService.java1350 * Returns the rank of the notification.
1352 * @return the rank of the notification, that is the 0-based index in
1465 private void populate(String key, int rank, boolean matchesInterruptionFilter, argument
1471 mRank = rank;
1553 int rank = getRank(key);
1554 outRanking.populate(key, rank, !isIntercepted(key),
1559 return rank >= 0;
1568 Integer rank = mRanks.get(key);
1569 return rank != null ? rank
[all...]
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DInputMethodSubtypeSwitchingController.java339 final int rank = i;
341 pw.println(prefix + "rank=" + rank + " item=" + item);
436 final int rank = mUsageHistoryOfSubtypeListItemIndex[i];
438 pw.println(prefix + "rank=" + rank + " item=" + item);
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest3.java29 * Tests related to shortcut rank auto-adjustment.
45 private ShortcutInfo shortcut(String id, ComponentName activity, int rank) { argument
46 return makeShortcutWithActivityAndRank(id, activity, rank);
99 // Same rank, preserve the argument order.
328 // Change the activity without specifying a rank -> keep the same rank.
331 // Change the activity without specifying a rank -> assign a new rank.
340 // Interesting case: both x3 and s5 originally had rank=0, and in this case s5 has moved
341 // to A2 without changing the rank
[all...]
H A DBaseShortcutManagerTest.java1353 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0);
1360 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0);
1366 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0);
1375 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0);
1387 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0);
1398 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0);
1407 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0);
1431 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0);
1437 intent, /* rank =*/ 0);
1444 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank
1447 makeShortcutWithActivityAndRank(String id, ComponentName activity, int rank) argument
1457 makeShortcut(String id, String title, ComponentName activity, Icon icon, Intent intent, int rank) argument
1486 makeShortcut(String id, String title, ComponentName activity, Icon icon, Intent[] intents, int rank) argument
[all...]
/frameworks/base/tools/apilint/
H A Dapilint.py650 def rank(p): function in function:verify_layering
658 cr = rank(clazz.pkg.name)
662 ir = rank(f.typ)
667 ir = rank(m.typ)
671 ir = rank(arg)
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecord.java695 public void setVisibility(boolean visible, int rank) { argument
702 .addTaggedData(MetricsEvent.NOTIFICATION_SHADE_INDEX, rank));
710 rank);
H A DNotificationManagerService.java661 r.setVisibility(true, nv.rank);
671 r.setVisibility(false, nv.rank);
/frameworks/rs/script_api/
H A Drs_matrix.spec20 These functions let you manipulate square matrices of rank 2x2, 3x3, and 4x4.
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 974 milliseconds