Home
last modified time | relevance | path

Searched refs:SparseArray (Results 1 – 25 of 113) sorted by relevance

12345

/packages/apps/Terminal/src/com/android/terminal/
DTerminalActivity.java33 import android.util.SparseArray;
76 private SparseArray<SparseArray<Parcelable>>
77 mSavedState = new SparseArray<SparseArray<Parcelable>>();
96 final SparseArray<Parcelable> state = mSavedState.get(term.key);
111 SparseArray<Parcelable> state = mSavedState.get(key);
113 state = new SparseArray<Parcelable>();
DTerminalService.java23 import android.util.SparseArray;
30 private final SparseArray<Terminal> mTerminals = new SparseArray<Terminal>();
43 public SparseArray<Terminal> getTerminals() { in getTerminals()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DTypefaceUtils.java22 import android.util.SparseArray;
33 private static final SparseArray<Float> sTextHeightCache = new SparseArray<>();
53 private static final SparseArray<Float> sTextWidthCache = new SparseArray<>();
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateAppOpsBridge.java30 import android.util.SparseArray;
124 SparseArray<ArrayMap<String, PermissionState>> entries = getEntries(); in loadAllExtraInfo()
145 private SparseArray<ArrayMap<String, PermissionState>> getEntries() { in getEntries()
162 SparseArray<ArrayMap<String, PermissionState>> entries = new SparseArray<>(); in getEntries()
189 private void loadPermissionsStates(SparseArray<ArrayMap<String, PermissionState>> entries) { in loadPermissionsStates()
222 private void loadAppOpsStates(SparseArray<ArrayMap<String, PermissionState>> entries) { in loadAppOpsStates()
263 SparseArray<ArrayMap<String, PermissionState>> entries = getEntries(); in getNumPackagesDeclaredPermission()
276 SparseArray<ArrayMap<String, PermissionState>> entries = getEntries(); in getNumPackagesAllowedByAppOps()
DRunningState.java45 import android.util.SparseArray;
94 final SparseArray<HashMap<String, ProcessItem>> mServiceProcessesByName
95 = new SparseArray<HashMap<String, ProcessItem>>();
99 final SparseArray<ProcessItem> mServiceProcessesByPid
100 = new SparseArray<ProcessItem>();
111 final SparseArray<ProcessItem> mRunningProcesses
112 = new SparseArray<ProcessItem>();
122 final SparseArray<MergedItem> mOtherUserMergedItems = new SparseArray<MergedItem>();
126 final SparseArray<MergedItem> mOtherUserBackgroundItems = new SparseArray<MergedItem>();
139 final SparseArray<AppProcessInfo> mTmpAppProcesses = new SparseArray<AppProcessInfo>();
[all …]
DProcStatsData.java29 import android.util.SparseArray;
273 final SparseArray<SparseArray<ProcessStats.PackageState>> pkgUids = mStats.mPackages in getProcs()
276 final SparseArray<ProcessStats.PackageState> vpkgs = pkgUids.valueAt(iu); in getProcs()
314 SparseArray<SparseArray<ProcessStats.PackageState>> uids = mStats.mPackages.getMap() in getProcs()
317 SparseArray<ProcessStats.PackageState> vpkgs = uids.valueAt(iu); in getProcs()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java23 import android.util.SparseArray;
43 private final SparseArray<AreaConfig<T>> mSupportedAreas;
46 SparseArray<AreaConfig<T>> supportedAreas) { in CarPropertyConfig()
137 mSupportedAreas = new SparseArray<>(areaSize); in CarPropertyConfig()
236 private final SparseArray<AreaConfig<T>> mAreas;
243 mAreas = new SparseArray<>(areaCapacity);
245 mAreas = new SparseArray<>();
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailMessageCursor.java25 import android.util.SparseArray;
50 private final SparseArray<String> mTextParts;
51 private final SparseArray<String> mHtmlParts;
61 mHtmlParts = new SparseArray<String>(cursorSize); in EmailMessageCursor()
62 mTextParts = new SparseArray<String>(cursorSize); in EmailMessageCursor()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DViewsStateBundle.java21 import android.util.SparseArray;
115 SparseArray<Parcelable> container = childStates.getSparseParcelableArray(key); in loadView()
129 SparseArray<Parcelable> container = new SparseArray<Parcelable>(); in saveViewUnchecked()
/packages/apps/Nfc/src/com/android/nfc/
DForegroundUtils.java26 import android.util.SparseArray;
38 private final SparseArray<SparseBooleanArray> mForegroundUidPids =
39 new SparseArray<SparseBooleanArray>();
40 private final SparseArray<List<Callback>> mBackgroundCallbacks =
41 new SparseArray<List<Callback>>();
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java42 import android.util.SparseArray;
165 private final SparseArray<KeyChainConnection>
166 mKeyChainConnectionByProfileId = new SparseArray<KeyChainConnection>();
641 private final SparseArray<List<CertHolder>> mCertHoldersByUserId =
642 new SparseArray<List<CertHolder>>();
651 private class AliasLoader extends AsyncTask<Void, Integer, SparseArray<List<CertHolder>>> {
677 @Override protected SparseArray<List<CertHolder>> doInBackground(Void... params) { in doInBackground()
678 SparseArray<List<CertHolder>> certHoldersByProfile = in doInBackground()
679 new SparseArray<List<CertHolder>>(); in doInBackground()
685 SparseArray<List<ParcelableString>> aliasesByProfileId = new SparseArray< in doInBackground()
[all …]
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAidRoutingManager.java19 import android.util.SparseArray;
65 SparseArray<Set<String>> mAidRoutingTable =
66 new SparseArray<Set<String>>();
112 SparseArray<Set<String>> aidRoutingTable = new SparseArray<Set<String>>(aidMap.size()); in configureRouting()
/packages/apps/UnifiedEmail/src/com/android/mail/content/
DObjectCursor.java21 import android.util.SparseArray;
31 private final SparseArray<T> mCache;
42 mCache = new SparseArray<T>(cursor.getCount()); in ObjectCursor()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/service/
DSearchParams.java21 import android.util.SparseArray;
147 SparseArray<Object> dateWindow = new SparseArray<Object>(2); in writeToParcel()
166 SparseArray dateWindow = in.readSparseArray(this.getClass().getClassLoader()); in SearchParams()
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/
DSparseArray.java22 public class SparseArray<E> { class
26 public SparseArray() { in SparseArray() method in SparseArray
30 public SparseArray(final int initialCapacity) { in SparseArray() method in SparseArray
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DMediaCacheManager.java18 import android.util.SparseArray;
33 protected final SparseArray<MediaCache<?>> mCaches;
36 mCaches = new SparseArray<MediaCache<?>>(); in MediaCacheManager()
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
DPduCache.java26 import android.util.SparseArray;
48 private static final SparseArray<Integer> MATCH_TO_MSGBOX_ID_MAP;
67 MATCH_TO_MSGBOX_ID_MAP = new SparseArray<Integer>();
74 private final SparseArray<HashSet<Uri>> mMessageBoxes;
79 mMessageBoxes = new SparseArray<HashSet<Uri>>(); in PduCache()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadJobService.java27 import android.util.SparseArray;
39 private SparseArray<DownloadThread> mActiveThreads = new SparseArray<>();
/packages/apps/Gallery2/src/com/android/photos/shims/
DMediaItemsLoader.java26 import android.util.SparseArray;
62 private SparseArray<MediaItem> mMediaItems;
113 final SparseArray<MediaItem> mediaItems = new SparseArray<MediaItem>(); in loadInBackground()
/packages/apps/Camera2/src/com/android/camera/widget/
DExternalViewerButton.java21 import android.util.SparseArray;
39 private final SparseArray<Cling> mClingMap;
43 mClingMap = new SparseArray<Cling>(); in ExternalViewerButton()
/packages/apps/Messaging/src/android/support/v7/mms/
DDefaultCarrierConfigValuesLoader.java24 import android.util.SparseArray;
42 private final SparseArray<Bundle> mValuesCache;
46 mValuesCache = new SparseArray<>(); in DefaultCarrierConfigValuesLoader()
/packages/apps/Camera2/src/com/android/camera/app/
DModuleManagerImpl.java20 import android.util.SparseArray;
36 private final SparseArray<ModuleAgent> mRegisteredModuleAgents = new
37 SparseArray<ModuleAgent>(2);
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DCharacterSets.java21 import android.util.SparseArray;
399 private static final SparseArray<String> MIBENUM_TO_NAME_MAP;
405 MIBENUM_TO_NAME_MAP = new SparseArray<String>();
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DOverviewScreenAccessibilityDelegate.java23 import android.util.SparseArray;
38 private final SparseArray<AccessibilityAction> mActions = new SparseArray<>();
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DFakeUid.java23 import android.util.SparseArray;
57 public SparseArray<? extends Sensor> getSensorStats() { in getSensorStats()
62 public SparseArray<? extends Pid> getPidStats() { in getPidStats()

12345