Searched defs:Bucket (Results 1 - 7 of 7) sorted by relevance

/frameworks/support/car/src/main/java/androidx/car/widget/
H A DIAlphaJumpAdapter.java28 interface Bucket { interface in interface:IAlphaJumpAdapter
49 Collection<Bucket> getAlphaJumpBuckets();
59 * @param bucket The {@link Bucket} that the user clicked on, and should be jumped to.
61 void onAlphaJumpLeave(Bucket bucket);
H A DAlphaJumpBucketer.java36 private final List<Bucket> mBuckets;
42 mBuckets.add(new Bucket("123", (String s) -> s.matches("^[0-9]")));
45 mBuckets.add(new Bucket(prefix, (String s) -> s.startsWith(prefix.toLowerCase())));
50 public AlphaJumpBucketer(Bucket[] buckets) {
55 * Creates a collection of {@link IAlphaJumpAdapter.Bucket}s from the given list of strings.
57 public Collection<IAlphaJumpAdapter.Bucket> createBuckets(String[] values) {
62 * Creates a collection of {@link IAlphaJumpAdapter.Bucket}s from the given iterable collection
65 public Collection<IAlphaJumpAdapter.Bucket> createBuckets(Iterable<String> values) {
70 * Creates the collection of {@link IAlphaJumpAdapter.Bucket}s from the given enumeration of
73 public Collection<IAlphaJumpAdapter.Bucket> createBucket
113 public static class Bucket implements IAlphaJumpAdapter.Bucket { class in class:AlphaJumpBucketer
119 Bucket(CharSequence label, Predicate<String> stringMatcher) { method in class:AlphaJumpBucketer.Bucket
[all...]
/frameworks/ex/common/tools/
H A Dmake-iana-tld-pattern.py52 class Bucket: class in inherits:
129 bucket = Bucket(letter)
/frameworks/base/core/java/com/android/internal/widget/
H A DChildHelper.java44 final Bucket mBucket;
50 mBucket = new Bucket();
395 static class Bucket { class in class:ChildHelper
403 Bucket mNext;
416 mNext = new Bucket();
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DChildHelper.java44 final Bucket mBucket;
50 mBucket = new Bucket();
395 static class Bucket { class in class:ChildHelper
403 Bucket mNext;
416 mNext = new Bucket();
/frameworks/base/core/java/android/app/usage/
H A DNetworkStats.java73 private int mState = Bucket.STATE_ALL;
133 public static class Bucket { class in class:NetworkStats
342 public Bucket() { method in class:NetworkStats.Bucket
352 * @return Bucket key.
360 * @return Bucket tag.
475 * @param bucketOut Bucket to be filled with data.
478 public boolean getNextBucket(Bucket bucketOut) {
522 * Collects device summary results into a Bucket.
525 Bucket getDeviceSummaryForNetwork() throws RemoteException {
552 Bucket
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
H A DBackgroundScanScheduler.java130 private class Bucket { class in class:BackgroundScanScheduler
136 Bucket(int period) { method in class:BackgroundScanScheduler.Bucket
146 Bucket(Bucket originalBucket) { method in class:BackgroundScanScheduler.Bucket
250 private final Comparator<Bucket> mTimePeriodSortComparator =
251 new Comparator<Bucket>() {
252 public int compare(Bucket b1, Bucket b2) {
256 private final Bucket[] mBuckets;
260 mBuckets = new Bucket[PREDEFINED_BUCKET_PERIOD
[all...]

Completed in 1011 milliseconds