Home
last modified time | relevance | path

Searched refs:IntArray (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/base/core/java/android/util/
DIntArray.java31 public class IntArray implements Cloneable { class
37 private IntArray(int[] array, int size) { in IntArray() method in IntArray
45 public IntArray() { in IntArray() method in IntArray
52 public IntArray(int initialCapacity) { in IntArray() method in IntArray
64 public static IntArray wrap(int[] array) { in wrap()
65 return new IntArray(array, array.length); in wrap()
71 public static IntArray fromArray(int[] array, int size) { in fromArray()
138 public void addAll(IntArray values) { in addAll()
170 public IntArray clone() throws CloneNotSupportedException { in clone()
171 final IntArray clone = (IntArray) super.clone(); in clone()
/frameworks/base/core/tests/utiltests/src/android/util/
DIntArrayTest.java34 IntArray a = new IntArray(); in testIntArray()
40 IntArray b = IntArray.fromArray(new int[]{4, 5, 6, 7, 8}, 3); in testIntArray()
65 a = IntArray.wrap(backingArray); in testIntArray()
81 public void verify(int[] expected, IntArray intArray) { in verify()
/frameworks/base/core/java/android/content/rollback/
DPackageRollbackInfo.java25 import android.util.IntArray;
64 private final IntArray mPendingBackups;
82 private final IntArray mInstalledUsers;
120 public IntArray getPendingBackups() { in getPendingBackups()
151 public IntArray getInstalledUsers() { in getInstalledUsers()
181 @NonNull IntArray pendingBackups, @NonNull ArrayList<RestoreInfo> pendingRestores, in PackageRollbackInfo()
182 boolean isApex, @NonNull IntArray installedUsers, in PackageRollbackInfo()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuare.kt31 private val data: IntArray = IntArray(width * height) in <lambda>()
32 private val user: IntArray = data.copyOf() in <lambda>()
98 fun errors(): IntArray { in <lambda>()
99 return IntArray(width * height) { in <lambda>()
104 fun getRowClue(y: Int): IntArray { in <lambda>()
107 fun getColumnClue(x: Int): IntArray { in <lambda>()
110 fun getClue(xSel: Int, ySel: Int): IntArray { in <lambda>()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPalette.kt22 var colors : IntArray
66 colors = IntArray(count)
71 colors = IntArray(count)
75 constructor(_colors: IntArray) {
/frameworks/base/services/core/java/com/android/server/media/
DAudioPlayerStateMonitor.java29 import android.util.IntArray;
107 final IntArray mSortedAudioPlaybackClientUids = new IntArray();
148 public IntArray getSortedAudioPlaybackClientUids() { in getSortedAudioPlaybackClientUids()
149 IntArray sortedAudioPlaybackClientUids = new IntArray(); in getSortedAudioPlaybackClientUids()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackStore.java27 import android.util.IntArray;
97 private static @NonNull IntArray convertToIntArray(@NonNull JSONArray jsonArray) in convertToIntArray()
100 return new IntArray(); in convertToIntArray()
108 return IntArray.wrap(ret); in convertToIntArray()
114 private static @NonNull JSONArray convertToJsonArray(@NonNull IntArray intArray) { in convertToJsonArray()
320 IntArray pendingBackups = info.getPendingBackups(); in toJson()
322 IntArray installedUsers = info.getInstalledUsers(); in toJson()
341 final IntArray pendingBackups = convertToIntArray( in packageRollbackInfoFromJson()
348 final IntArray installedUsers = convertToIntArray(json.getJSONArray("installedUsers")); in packageRollbackInfoFromJson()
DAppDataRollbackHelper.java22 import android.util.IntArray;
97 final IntArray pendingBackups = packageRollbackInfo.getPendingBackups(); in restoreAppData()
171 final IntArray pendingBackupUsers = info.getPendingBackups(); in computePendingBackups()
251 final IntArray pendingBackupUsers = info.getPendingBackups(); in commitPendingBackupAndRestoreForUser()
/frameworks/base/core/java/android/app/servertransaction/
DTransactionExecutorHelper.java33 import android.util.IntArray;
54 private IntArray mLifecycleSequence = new IntArray(6);
64 public IntArray getLifecyclePath(int start, int finish, boolean excludeLastState) { in getLifecyclePath()
201 private static boolean pathInvolvesDestruction(IntArray lifecycleSequence) { in pathInvolvesDestruction()
DTransactionExecutor.java36 import android.util.IntArray;
200 final IntArray path = mHelper.getLifecyclePath(start, finish, excludeLastState); in cycleToPath()
205 private void performLifecycleSequence(ActivityClientRecord r, IntArray path, in performLifecycleSequence()
/frameworks/base/media/java/android/media/
DAudioManagerInternal.java18 import android.util.IntArray;
49 public abstract void setAccessibilityServiceUids(IntArray uids); in setAccessibilityServiceUids()
/frameworks/base/core/java/android/net/metrics/
DConnectStats.java21 import android.util.IntArray;
42 public final IntArray latencies = new IntArray();
/frameworks/base/core/java/android/os/
DIncidentReportArgs.java23 import android.util.IntArray;
35 private final IntArray mSections = new IntArray();
/frameworks/base/core/java/android/view/contentcapture/
DDataRemovalRequest.java24 import android.util.IntArray;
114 private IntArray mFlags;
149 mFlags = new IntArray(); in addLocusId()
/frameworks/base/core/java/android/text/
DAutoGrowArray.java160 public static class IntArray { class in AutoGrowArray
168 public IntArray() { in IntArray() method in AutoGrowArray.IntArray
175 public IntArray(@IntRange(from = 0) int initialCapacity) { in IntArray() method in AutoGrowArray.IntArray
DMeasuredParagraph.java28 import android.text.AutoGrowArray.IntArray;
118 private @Nullable IntArray mSpanEndCache = new IntArray(4);
122 private @Nullable IntArray mFontMetrics = new IntArray(4 * 4);
227 public @NonNull IntArray getSpanEndCache() { in getSpanEndCache()
239 public @NonNull IntArray getFontMetrics() { in getFontMetrics()
/frameworks/base/core/java/android/content/pm/split/
DSplitDependencyLoader.java21 import android.util.IntArray;
75 final IntArray linearDependencies = new IntArray(); in loadDependenciesForSplit()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DSnoozeHelperTest.java39 import android.util.IntArray;
239 IntArray profileIds = new IntArray();
243 profileIds = new IntArray();
251 IntArray profileIds = new IntArray();
281 IntArray profileIds = new IntArray();
DNotificationAssistantsTest.java38 import android.util.IntArray;
107 IntArray profileIds = new IntArray(); in setUp()
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java22 import android.util.IntArray;
71 private IntArray mTempArray;
383 mTempArray = new IntArray(); in createNodeForHost()
387 final IntArray virtualViewIds = mTempArray; in createNodeForHost()
670 protected abstract void getVisibleVirtualViews(IntArray virtualViewIds); in getVisibleVirtualViews()
/frameworks/base/services/core/java/com/android/server/telecom/
DTelecomLoaderService.java34 import android.util.IntArray;
116 private IntArray mDefaultSimCallManagerRequests;
201 mDefaultSimCallManagerRequests = new IntArray(); in registerDefaultAppProviders()
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DAppDataRollbackHelperTest.java34 import android.util.IntArray;
103 new IntArray(), new ArrayList<>(), false, IntArray.wrap(installedUsers), in createPackageRollbackInfo()
117 IntArray pendingBackups = info.getPendingBackups(); in testRestoreAppDataSnapshot_pendingBackupForUser()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/util/
DIntArray.java19 public class IntArray { class
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java23 import android.util.IntArray;
187 public abstract void setDisplayAccessUIDs(SparseArray<IntArray> displayAccessUIDs); in setDisplayAccessUIDs()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuUidTimeReader.java25 import android.util.IntArray;
388 final IntArray numClusterFreqs = extractClusterInfoFromProcFileFreqs(); in readFreqs()
511 private IntArray extractClusterInfoFromProcFileFreqs() { in extractClusterInfoFromProcFileFreqs()
512 final IntArray numClusterFreqs = new IntArray(); in extractClusterInfoFromProcFileFreqs()

123