HomeSort by relevance Sort by last modified time
    Searched refs:SparseArray (Results 1 - 25 of 586) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/transition/
TransitionValuesMaps.java 21 import android.util.SparseArray;
27 SparseArray<View> idValues = new SparseArray<View>();
  /frameworks/support/transition/ics/android/support/transition/
TransitionValuesMaps.java 21 import android.util.SparseArray;
28 public SparseArray<TransitionValues> idValues = new SparseArray<>();
  /frameworks/base/core/java/com/android/internal/app/
ProcessMap.java 20 import android.util.SparseArray;
23 final ArrayMap<String, SparseArray<E>> mMap
24 = new ArrayMap<String, SparseArray<E>>();
27 SparseArray<E> uids = mMap.get(name);
33 SparseArray<E> uids = mMap.get(name);
35 uids = new SparseArray<E>(2);
43 SparseArray<E> uids = mMap.get(name);
54 public ArrayMap<String, SparseArray<E>> getMap() {
  /external/regex-re2/util/
sparse_array.h 7 // SparseArray<T>(m) is a map from integers in [0, m) to T values.
27 // change after visiting. Thus SparseArray can be a convenient
30 // The SparseArray implementation is NOT thread-safe. It is up to the
35 // The SparseArray interface does not present all the usual STL bells and
55 // SparseArray uses a vector dense_ and an array sparse_to_dense_, both of
90 // destroyed when the SparseArray destructor is called.
100 class SparseArray {
102 SparseArray();
103 SparseArray(int max_size);
104 ~SparseArray();
    [all...]
  /frameworks/base/services/core/java/com/android/server/hdmi/
HdmiCecMessageCache.java 20 import android.util.SparseArray;
39 private final SparseArray<SparseArray<HdmiCecMessage>> mCache = new SparseArray<>();
54 SparseArray<HdmiCecMessage> messages = mCache.get(address);
91 SparseArray<HdmiCecMessage> messages = mCache.get(source);
93 messages = new SparseArray<>();
UnmodifiableSparseArray.java 19 import android.util.SparseArray;
22 * Unmodifiable version of {@link SparseArray}.
27 private final SparseArray<E> mArray;
29 public UnmodifiableSparseArray(SparseArray<E> array) {
HdmiMhlControllerStub.java 20 import android.util.SparseArray;
32 private static final SparseArray<HdmiMhlLocalDeviceStub> mLocalDevices = new SparseArray<>();
73 SparseArray<HdmiMhlLocalDeviceStub> getAllLocalDevices() {
  /frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/utils/
ResourceCache.java 17 import android.util.SparseArray;
26 private final SparseArray<View> mCachedViews = new SparseArray<View>();
  /frameworks/opt/net/ethernet/java/com/android/server/ethernet/
EthernetConfigStore.java 24 import android.util.SparseArray;
42 SparseArray<IpConfiguration> networks = readIpAndProxyConfigurations(ipConfigFile);
58 SparseArray<IpConfiguration> networks = new SparseArray<IpConfiguration>();
  /packages/apps/Terminal/src/com/android/terminal/
TerminalService.java 23 import android.util.SparseArray;
30 private final SparseArray<Terminal> mTerminals = new SparseArray<Terminal>();
43 public SparseArray<Terminal> getTerminals() {
  /frameworks/base/core/tests/utiltests/src/com/android/internal/util/
MessageUtilsTest.java 23 import android.util.SparseArray;
55 private SparseArray<String> makeSparseArray(int[] keys, String[] values) throws Exception {
57 SparseArray<String> out = new SparseArray<>();
65 SparseArray<String> a1, SparseArray<String> a2) throws Exception {
77 SparseArray<String> expected = makeSparseArray(
85 SparseArray<String> expected = makeSparseArray(
  /frameworks/base/core/java/com/android/internal/widget/
DecorContentParent.java 22 import android.util.SparseArray;
49 void saveToolbarHierarchyState(SparseArray<Parcelable> toolbarStates);
50 void restoreToolbarHierarchyState(SparseArray<Parcelable> toolbarStates);
  /frameworks/support/fragment/java/android/support/v4/app/
NoSaveStateFrameLayout.java 21 import android.util.SparseArray;
52 protected void dispatchSaveInstanceState(SparseArray<Parcelable> container) {
60 protected void dispatchRestoreInstanceState(SparseArray<Parcelable> container) {
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
ViewsStateBundle.java 19 import android.util.SparseArray;
51 private LruCache<String, SparseArray<Parcelable>> mChildStates;
77 Map<String, SparseArray<Parcelable>> snapshot = mChildStates.snapshot();
79 for (Iterator<Entry<String, SparseArray<Parcelable>>> i =
81 Entry<String, SparseArray<Parcelable>> e = i.next();
135 mChildStates = new LruCache<String, SparseArray<Parcelable>>(mLimitNumber);
139 mChildStates = new LruCache<String, SparseArray<Parcelable>>(UNLIMITED);
157 SparseArray<Parcelable> container = mChildStates.remove(key);
173 SparseArray<Parcelable> container = new SparseArray<Parcelable>()
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
DecorContentParent.java 23 import android.util.SparseArray;
51 void saveToolbarHierarchyState(SparseArray<Parcelable> toolbarStates);
52 void restoreToolbarHierarchyState(SparseArray<Parcelable> toolbarStates);
  /packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/
SparseIntArray.java 20 private final SparseArray<Integer> mArray;
27 mArray = new SparseArray<>(initialCapacity);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
ViewsStateBundle.java 21 import android.util.SparseArray;
115 SparseArray<Parcelable> container = childStates.getSparseParcelableArray(key);
129 SparseArray<Parcelable> container = new SparseArray<Parcelable>();
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
MockWifiMonitor.java 28 import android.util.SparseArray;
56 private final Map<String, SparseArray<Handler>> mHandlerMap = new HashMap<>();
59 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface);
61 ifaceHandlers = new SparseArray<>();
75 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface);
81 for (Map.Entry<String, SparseArray<Handler>> entry : mHandlerMap.entrySet()) {
90 private boolean sendMessage(SparseArray<Handler> ifaceHandlers, Message message) {
  /frameworks/base/core/java/com/android/internal/util/
MessageUtils.java 21 import android.util.SparseArray;
49 * @return a {@link SparseArray} mapping integer constants to their names.
51 public static SparseArray<String> findMessageNames(Class[] classes, String[] prefixes) {
52 SparseArray<String> messageNames = new SparseArray<>();
126 * @return a {@link SparseArray} mapping integer constants to their names.
128 public static SparseArray<String> findMessageNames(Class[] classNames) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
TypefaceUtils.java 22 import android.util.SparseArray;
33 private static final SparseArray<Float> sTextHeightCache = new SparseArray<>();
53 private static final SparseArray<Float> sTextWidthCache = new SparseArray<>();
  /frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
TestDocumentsAdapter.java 19 import android.util.SparseArray;
59 public SparseArray<String> hide(String... ids) {
  /packages/apps/Launcher3/src/com/android/launcher3/util/
ParcelableSparseArray.java 20 import android.util.SparseArray;
22 public class ParcelableSparseArray extends SparseArray<Parcelable> implements Parcelable {
  /frameworks/support/transition/src/android/support/transition/
Scene.java 24 import android.util.SparseArray;
104 SparseArray<Scene> scenes =
105 (SparseArray<Scene>) sceneRoot.getTag(R.id.transition_scene_layoutid_cache);
107 scenes = new SparseArray<>();
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSparseIntArray.java 3 import android.util.SparseArray;
13 private SparseArray<Integer> sparseArray = new SparseArray<Integer>();
25 return sparseArray.get( key, valueIfKeyNotFound );
30 sparseArray.put( key, value );
35 return sparseArray.size();
40 return sparseArray.indexOfValue( value );
45 return sparseArray.keyAt( index );
50 return sparseArray.valueAt( index )
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
ProtectedPackages.java 23 import android.util.SparseArray;
46 private SparseArray<String> mProfileOwnerPackages;
65 SparseArray<String> profileOwnerPackages) {

Completed in 1727 milliseconds

1 2 3 4 5 6 7 8 91011>>