/frameworks/support/collection/ktx/src/main/java/androidx/collection/ |
D | SparseArray.kt | 22 inline val <T> SparseArrayCompat<T>.size get() = size() 25 inline operator fun <T> SparseArrayCompat<T>.contains(key: Int) = indexOfKey(key) >= 0 in contains() 28 inline operator fun <T> SparseArrayCompat<T>.set(key: Int, value: T) = put(key, value) in contains() 31 operator fun <T> SparseArrayCompat<T>.plus(other: SparseArrayCompat<T>): SparseArrayCompat<T> { in contains() 32 val new = SparseArrayCompat<T>(size() + other.size()) in contains() 39 inline fun <T> SparseArrayCompat<T>.containsKey(key: Int) = indexOfKey(key) >= 0 in containsKey() 42 inline fun <T> SparseArrayCompat<T>.containsValue(value: T) = indexOfValue(value) != -1 in containsKey() 45 inline fun <T> SparseArrayCompat<T>.getOrDefault(key: Int, defaultValue: T) = in containsKey() 49 inline fun <T> SparseArrayCompat<T>.getOrElse(key: Int, defaultValue: () -> T) = in containsKey() 53 inline fun <T> SparseArrayCompat<T>.isNotEmpty() = size() != 0 in containsKey() [all …]
|
/frameworks/support/collection/ktx/src/test/java/androidx/collection/ |
D | SparseArrayTest.kt | 29 val array = SparseArrayCompat<String>() in <lambda>() 36 val array = SparseArrayCompat<String>() in <lambda>() 43 val array = SparseArrayCompat<String>() in <lambda>() 53 val array = SparseArrayCompat<String>() in <lambda>() 59 val first = SparseArrayCompat<String>().apply { put(1, "one") } in <lambda>() 60 val second = SparseArrayCompat<String>().apply { put(2, "two") } in <lambda>() 70 val array = SparseArrayCompat<String>() in <lambda>() 77 val array = SparseArrayCompat<String>() in <lambda>() 84 val array = SparseArrayCompat<Any>() in <lambda>() 92 val array = SparseArrayCompat<Any>() in <lambda>() [all …]
|
/frameworks/support/collection/src/main/java/androidx/collection/ |
D | SparseArrayCompat.java | 47 public class SparseArrayCompat<E> implements Cloneable { class 58 public SparseArrayCompat() { in SparseArrayCompat() method in SparseArrayCompat 69 public SparseArrayCompat(int initialCapacity) { in SparseArrayCompat() method in SparseArrayCompat 83 public SparseArrayCompat<E> clone() { in clone() 84 SparseArrayCompat<E> clone = null; in clone() 86 clone = (SparseArrayCompat<E>) super.clone(); in clone()
|
/frameworks/support/room/runtime/src/main/java/androidx/room/ |
D | RoomDatabase.java | 32 import androidx.collection.SparseArrayCompat; 642 private SparseArrayCompat<SparseArrayCompat<Migration>> mMigrations = 643 new SparseArrayCompat<>(); 660 SparseArrayCompat<Migration> targetMap = mMigrations.get(start); in addMigration() 662 targetMap = new SparseArrayCompat<>(); in addMigration() 696 SparseArrayCompat<Migration> targetNodes = mMigrations.get(start); in findUpMigrationPath()
|
/frameworks/support/collection/src/test/java/androidx/collection/ |
D | SparseArrayCompatTest.java | 27 SparseArrayCompat<String> sparseArrayCompat = new SparseArrayCompat<>(); in isEmpty()
|
/frameworks/support/customview/src/main/java/androidx/customview/widget/ |
D | ExploreByTouchHelper.java | 32 import androidx.collection.SparseArrayCompat; 344 private static final FocusStrategy.CollectionAdapter<SparseArrayCompat< 346 new FocusStrategy.CollectionAdapter<SparseArrayCompat< 350 SparseArrayCompat<AccessibilityNodeInfoCompat> collection, int index) { 355 public int size(SparseArrayCompat<AccessibilityNodeInfoCompat> collection) { 370 final SparseArrayCompat<AccessibilityNodeInfoCompat> allNodes = getAllNodes(); in moveFocus() 424 private SparseArrayCompat<AccessibilityNodeInfoCompat> getAllNodes() { in getAllNodes() 428 final SparseArrayCompat<AccessibilityNodeInfoCompat> allNodes = new SparseArrayCompat<>(); in getAllNodes()
|
/frameworks/support/navigation/common/src/main/java/androidx/navigation/ |
D | NavGraph.java | 27 import android.support.v4.util.SparseArrayCompat; 44 private final SparseArrayCompat<NavDestination> mNodes = new SparseArrayCompat<>();
|
D | NavDestination.java | 30 import android.support.v4.util.SparseArrayCompat; 77 private SparseArrayCompat<NavAction> mActions; 310 mActions = new SparseArrayCompat<>(); in putAction()
|
/frameworks/support/transition/src/androidTest/java/androidx/transition/ |
D | FragmentTransitionTest.java | 36 import androidx.collection.SparseArrayCompat; 173 SparseArrayCompat<Transition.TransitionListener> mListeners = new SparseArrayCompat<>();
|
/frameworks/support/collection/api/ |
D | current.txt | 140 public class SparseArrayCompat<E> implements java.lang.Cloneable { 141 ctor public SparseArrayCompat(); 142 ctor public SparseArrayCompat(int); 145 method public androidx.collection.SparseArrayCompat<E> clone();
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
D | AppCompatDrawableManager.java | 51 import androidx.collection.SparseArrayCompat; 173 private WeakHashMap<Context, SparseArrayCompat<ColorStateList>> mTintLists; 175 private SparseArrayCompat<String> mKnownDrawableIdTags; 320 mKnownDrawableIdTags = new SparseArrayCompat<>(); in loadDrawableFromDelegates() 561 final SparseArrayCompat<ColorStateList> tints = mTintLists.get(context); in getTintListFromCache() 572 SparseArrayCompat<ColorStateList> themeTints = mTintLists.get(context); in addTintListToCache() 574 themeTints = new SparseArrayCompat<>(); in addTintListToCache()
|
/frameworks/support/fragment/src/main/java/androidx/fragment/app/ |
D | FragmentActivity.java | 43 import androidx.collection.SparseArrayCompat; 128 SparseArrayCompat<String> mPendingFragmentActivityResults; 346 mPendingFragmentActivityResults = new SparseArrayCompat<>(requestCodes.length); in onCreate() 355 mPendingFragmentActivityResults = new SparseArrayCompat<>(); in onCreate()
|
/frameworks/support/loader/src/main/java/androidx/loader/app/ |
D | LoaderManagerImpl.java | 26 import androidx.collection.SparseArrayCompat; 295 private SparseArrayCompat<LoaderInfo> mLoaders = new SparseArrayCompat<>();
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 25 import android.support.v4.util.SparseArrayCompat; 194 private final SparseArrayCompat<LayoutRecord> mLayoutRecords = 195 new SparseArrayCompat<LayoutRecord>();
|
/frameworks/support/compat/api_legacy/ |
D | 26.1.0.txt | 1249 public class SparseArrayCompat<E> { 1250 ctor public SparseArrayCompat(); 1251 ctor public SparseArrayCompat(int); 1254 method public android.support.v4.util.SparseArrayCompat<E> clone();
|
D | 27.1.0.txt | 1288 public class SparseArrayCompat<E> implements java.lang.Cloneable { 1289 ctor public SparseArrayCompat(); 1290 ctor public SparseArrayCompat(int); 1293 method public android.support.v4.util.SparseArrayCompat<E> clone();
|
D | 27.0.0.txt | 1237 public class SparseArrayCompat<E> { 1238 ctor public SparseArrayCompat(); 1239 ctor public SparseArrayCompat(int); 1242 method public android.support.v4.util.SparseArrayCompat<E> clone();
|
D | 26.0.0.txt | 1249 public class SparseArrayCompat<E> { 1250 ctor public SparseArrayCompat(); 1251 ctor public SparseArrayCompat(int); 1254 method public android.support.v4.util.SparseArrayCompat<E> clone();
|
/frameworks/support/api/ |
D | 22.0.0.txt | 3160 public class SparseArrayCompat { 3161 ctor public SparseArrayCompat(); 3162 ctor public SparseArrayCompat(int); 3165 method public android.support.v4.util.SparseArrayCompat<E> clone();
|
D | 22.1.0.txt | 3341 public class SparseArrayCompat { 3342 ctor public SparseArrayCompat(); 3343 ctor public SparseArrayCompat(int); 3346 method public android.support.v4.util.SparseArrayCompat<E> clone();
|
D | 22.2.0.txt | 3738 public class SparseArrayCompat { 3739 ctor public SparseArrayCompat(); 3740 ctor public SparseArrayCompat(int); 3743 method public android.support.v4.util.SparseArrayCompat<E> clone();
|
D | 22.2.1.txt | 3767 public class SparseArrayCompat { 3768 ctor public SparseArrayCompat(); 3769 ctor public SparseArrayCompat(int); 3772 method public android.support.v4.util.SparseArrayCompat<E> clone();
|
D | 25.2.0.txt | 6319 public class SparseArrayCompat<E> { 6320 ctor public SparseArrayCompat(); 6321 ctor public SparseArrayCompat(int); 6324 method public android.support.v4.util.SparseArrayCompat<E> clone();
|
D | 25.0.0.txt | 5908 public class SparseArrayCompat<E> { 5909 ctor public SparseArrayCompat(); 5910 ctor public SparseArrayCompat(int); 5913 method public android.support.v4.util.SparseArrayCompat<E> clone();
|
/frameworks/support/jetifier/jetifier/core/src/main/resources/ |
D | default.generated.config | 3614 "android/support/v4/util/SparseArrayCompat": "androidx/collection/SparseArrayCompat",
|